MIPS: Wire FCSR.ABS2008 to FCSR.NAN2008
[glibc.git] / ChangeLog
blobd4dc8a447d3a318a784b50cfbf33841d61eaf51a
1 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
3         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
4         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
6 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
8         [BZ #14259]
9         * Makeconfig: Rename localedir to complocaledir.
10         Rename inst_localedir to inst_complocaledir.
11         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
12         * config.make.in: Use complocaledir and libc_cv_complocaledir.
13         * configure.ac: Use libc_cv_complocaledir.
14         * configure: Regenerate.
15         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
16         -DCOMPLOCALEDIR.
17         * locale/findlocale.c: Use COMPLOCALEDIR.
18         * locale/loadarchive.c: Likewise.
19         * locale/programs/locale.c: Likewise.
20         * locale/programs/localedef.c: Likewise.
21         * locale/programs/locarchive.c: Likewise.
22         * localedata/Makefile: Use inst_complocaledir.
23         * sysdeps/gnu/configure: Regenerate.
24         * sysdeps/hppa/configure: Regenerate.
25         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
26         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
27         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
28         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
29         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
30         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
31         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
33 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
35         [BZ #19058]
36         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
37         AS_NEEDED.
38         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
39         workaround.
40         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
41         libmvec-static-only-routines): Added new file.
42         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
44 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
47         of interrupted RPC instead of restoring it.
49         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
50         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
51         libc_hidden_def.
52         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
53         into initialized data instead of common. Define rtld_hidden_data_def.
54         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
55         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
56         libc_hidden_def.
57         (if_freenameindex): Add libc_hidden_weak.
58         (if_nameindex): Add libc_hidden_weak.
59         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
60         __open64.
61         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
62         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
63         * sysdeps/mach/nanosleep.c: Include <time.h>
64         (__nanosleep): Rename to __libc_nanosleep.
65         (__nanosleep): Add weak_alias.
66         (nanosleep): Update alias.
68 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
70         * stdlib/strtod_nan.c: New file.
71         * stdlib/strtod_nan_double.h: Likewise.
72         * stdlib/strtod_nan_float.h: Likewise.
73         * stdlib/strtod_nan_main.c: Likewise.
74         * stdlib/strtod_nan_narrow.h: Likewise.
75         * stdlib/strtod_nan_wide.h: Likewise.
76         * stdlib/strtof_nan.c: Likewise.
77         * stdlib/strtold_nan.c: Likewise.
78         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
79         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
80         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
81         * wcsmbs/wcstod_nan.c: Likewise.
82         * wcsmbs/wcstof_nan.c: Likewise.
83         * wcsmbs/wcstold_nan.c: Likewise.
84         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
85         strtold_nan.
86         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
87         wcstof_nan.
88         * include/stdlib.h (__strtof_nan): Declare and use
89         libc_hidden_proto.
90         (__strtod_nan): Likewise.
91         (__strtold_nan): Likewise.
92         (__wcstof_nan): Likewise.
93         (__wcstod_nan): Likewise.
94         (__wcstold_nan): Likewise.
95         * include/wchar.h (____wcstoull_l_internal): Declare.
96         * stdlib/strtod_l.c: Do not include <ieee754.h>.
97         (____strtoull_l_internal): Remove declaration.
98         (STRTOF_NAN): Define macro.
99         (SET_MANTISSA): Remove macro.
100         (STRTOULL): Likewise.
101         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
102         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
103         (STRTOF_NAN): Define macro.
104         (SET_MANTISSA): Remove macro.
105         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
106         (SET_MANTISSA): Remove macro.
107         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
108         macro.
109         (SET_MANTISSA): Remove macro.
110         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
111         macro.
112         (SET_MANTISSA): Remove macro.
113         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
114         (SET_MANTISSA): Remove macro.
115         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
116         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
117         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
119         [BZ #19266]
120         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
121         upper case and lower case letters inside NAN(), not using TOLOWER.
122         * stdlib/tst-strtod-nan-locale-main.c: New file.
123         * stdlib/tst-strtod-nan-locale.c: Likewise.
124         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
125         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
126         Depend on $(gen-locales).
127         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
128         * wcsmbs/tst-wcstod-nan-locale.c: New file.
129         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
130         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
131         Depend on $(gen-locales).
132         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
134 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
136         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
138         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
139         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
140         __finitel, __isinfl, and __isnanl.
141         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
142         Likewise.
143         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
144         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
145         __finitel.
146         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
147         Likewise.
148         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
150 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
152         * malloc/memusage.c (me): Remove redundant getenv call.
154 2015-10-24  Florian Weimer  <fweimer@redhat.com>
156         [BZ #19143]
157         [BZ #19164]
158         * nptl/check-cpuset.h: Remove.
159         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
160         Remove CPU set size check.
161         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
162         Likewise.
163         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
164         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
165         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
166         (__pthread_setaffinity_new): Remove CPU set size check.
167         * sysdeps/unix/sysv/linux/sched_setaffinity.c
168         (__kernel_cpumask_size): Remove.
169         (__sched_setaffinity_new): Remove CPU set size check.
170         * manual/threads.texi (Default Thread Attributes): Remove stale
171         reference to check_cpuset_attr, determine_cpumask_size in comment.
172         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
173         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
174         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
175         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
176         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
177         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
178         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
179         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
180         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
181         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
182         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
183         skeleton test file.
184         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
185         tst-affinity-pid.
187 2015-11-24  Florian Weimer  <fweimer@redhat.com>
189         * scripts/update-abilist.sh: New file.
190         * Makefile (+subdir_targets): Add subdir_update-all-abi.
191         * Makerules (update-all-abi-%, update-all-abi)
192         (subdir_update-all-abi): New targets.
193         * elf/Makefile (update-all-abi): New target.
195 2015-11-24  Florian Weimer  <fweimer@redhat.com>
197         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
198         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
199         (__libc_lock_define_initialized): Use it.
200         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
201         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
202         * malloc/malloc.c (main_arena): Likewise.
203         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
204         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
206 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
208         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
209         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
210         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
211         (PTRACE_O_MASK): Update value.
212         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
213         New value in enum __ptrace_setoptions.
214         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
215         (PTRACE_O_MASK): Update value.
216         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
217         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
218         (PTRACE_O_MASK): Update value.
219         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
220         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
221         (PTRACE_O_MASK): Update value.
222         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
223         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
224         (PTRACE_O_MASK): Update value.
225         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
226         New value in enum __ptrace_setoptions.
227         (PTRACE_O_MASK): Update value.
228         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
229         New value in enum __ptrace_setoptions.
230         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
231         (PTRACE_O_MASK): Update value.
233         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
234         New macro.
235         (PACKET_AUXDATA): Likewise.
236         (PACKET_ORIGDEV): Likewise.
237         (PACKET_VERSION): Likewise.
238         (PACKET_HDRLEN): Likewise.
239         (PACKET_RESERVE): Likewise.
240         (PACKET_TX_RING): Likewise.
241         (PACKET_LOSS): Likewise.
242         (PACKET_VNET_HDR): Likewise.
243         (PACKET_TX_TIMESTAMP): Likewise.
244         (PACKET_TIMESTAMP): Likewise.
245         (PACKET_FANOUT): Likewise.
246         (PACKET_TX_HAS_OFF): Likewise.
247         (PACKET_QDISC_BYPASS): Likewise.
248         (PACKET_ROLLOVER_STATS): Likewise.
249         (PACKET_FANOUT_DATA): Likewise.
250         (PACKET_MR_UNICAST): Likewise.
252         [BZ #19242]
253         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
254         (TOUPPER): Likewise.
255         * stdlib/tst-strtol-locale-main.c: New file.
256         * stdlib/tst-strtol-locale.c: Likewise.
257         * stdlib/Makefile (tests): Add tst-strtol-locale.
258         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
259         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
260         Depend on $(gen-locales).
261         * wcsmbs/tst-wcstol-locale.c: New file.
262         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
263         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
264         tr_TR.ISO-8859-9.
265         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
266         Depend on $(gen-locales).
268 2015-11-20  Roland McGrath  <roland@hack.frob.com>
270         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
271         __glibc_likely instead of __builtin_expect.  After falling back to
272         dyncode_create in a non-ET_DYN case, use the allocate_code_data
273         system interface to register the code pages as occupied.
275 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
277         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
278         [!ARM_MATH_PRIVATE_H].
279         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
280         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
281         [!HPPA_MATH_PRIVATE_H].
282         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
283         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
284         to [!I386_MATH_PRIVATE_H].
285         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
286         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
287         Change guard to [!M68K_MATH_PRIVATE_H].
288         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
289         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
290         guard to [!MICROBLAZE_MATH_PRIVATE_H].
291         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
292         macro.
293         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
294         [!MIPS_MATH_PRIVATE_H].
295         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
296         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
297         [!NIO2_MATH_PRIVATE_H].
298         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
299         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
300         [!TILE_MATH_PRIVATE_H].
301         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
303         [BZ #15421]
304         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
305         initialize with 0 and define as weak alias of __signgam.
306         * include/math.h [!_ISOMAC] (__signgam): Declare.
307         * math/Makefile (libm-calls): Add w_lgamma_compat.
308         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
309         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
310         test-signgam-ullong-init.
311         (tests-static): Add test-signgam-uchar-static,
312         test-signgam-uchar-init-static, test-signgam-uint-static,
313         test-signgam-uint-init-static, test-signgam-ullong-static and
314         test-signgam-ullong-init-static.
315         (CFLAGS-test-signgam-uchar.c): New variable.
316         (CFLAGS-test-signgam-uchar-init.c): Likewise.
317         (CFLAGS-test-signgam-uchar-static.c): Likewise.
318         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
319         (CFLAGS-test-signgam-uint.c): Likewise.
320         (CFLAGS-test-signgam-uint-init.c): Likewise.
321         (CFLAGS-test-signgam-uint-static.c): Likewise.
322         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
323         (CFLAGS-test-signgam-ullong.c): Likewise.
324         (CFLAGS-test-signgam-ullong-init.c): Likewise.
325         (CFLAGS-test-signgam-ullong-static.c): Likewise.
326         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
327         * math/Versions (libm): Add GLIBC_2.23.
328         * math/lgamma-compat.h: New file.
329         * math/test-signgam-main.c: Likewise.
330         * math/test-signgam-uchar-init-static.c: Likewise.
331         * math/test-signgam-uchar-init.c: Likewise.
332         * math/test-signgam-uchar-static.c: Likewise.
333         * math/test-signgam-uchar.c: Likewise.
334         * math/test-signgam-uint-init-static.c: Likewise.
335         * math/test-signgam-uint-init.c: Likewise.
336         * math/test-signgam-uint-static.c: Likewise.
337         * math/test-signgam-uint.c: Likewise.
338         * math/test-signgam-ullong-init-static.c: Likewise.
339         * math/test-signgam-ullong-init.c: Likewise.
340         * math/test-signgam-ullong-static.c: Likewise.
341         * math/test-signgam-ullong.c: Likewise.
342         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
343         wrapper of w_lgamma_main.c.
344         * math/w_lgamma_compat.c: New file.
345         * math/w_lgamma_compatf.c: Likewise.
346         * math/w_lgamma_compatl.c: Likewise.
347         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
348         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
349         defining compatibility symbols.
350         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
351         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
352         wrapper of w_lgammaf_main.c.
353         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
354         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
355         defining compatibility symbols.
356         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
357         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
358         wrapper of w_lgammal_main.c.
359         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
360         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
361         defining compatibility symbols.
362         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
363         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
364         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
365         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
366         <lgamma-compat.h>.
367         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
368         (__ieee754_gamma): Define as alias.
369         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
370         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
371         <lgamma-compat.h>.
372         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
373         (__ieee754_gammaf): Define as alias.
374         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
375         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
376         <lgamma-compat.h>.
377         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
378         (__ieee754_gammal): Define as alias.
379         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
380         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
381         <math/w_lgamma_compat.c>.
382         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
383         Define as alias of __lgamma_compat and use in defining lgammal.
384         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
385         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
386         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
387         (USE_AS_COMPAT): New macro.
388         (LGAMMA_OLD_VER): Undefine and redefine.
389         (lgammal): Do not define here.
390         (gammal): Only define here if [GAMMA_ALIAS].
391         * conform/linknamespace.pl (@whitelist): Remove signgam.
392         * sysdeps/nacl/libm.abilist: Update.
393         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
394         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
395         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
396         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
397         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
398         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
399         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
400         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
401         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
402         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
403         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
404         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
406         Likewise.
407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
408         Likewise.
409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
410         Likewise.
411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
412         Likewise.
413         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
414         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
415         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
416         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
417         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
418         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
419         Likewise.
420         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
421         Likewise.
422         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
423         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
424         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
426 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
428         [BZ #16364]
429         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
430         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
432 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
434         * sysdeps/s390/fpu/bits/mathinline.h:
435         Use __asm__ [__volatile__] instead of asm [volatile].
436         * sysdeps/s390/abort-instr.h: Likewise.
437         * sysdeps/s390/atomic-machine.h: Likewise.
438         * sysdeps/s390/bits/string.h: Likewise.
439         * sysdeps/s390/dl-tls.h: Likewise.
440         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
441         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
442         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
443         * sysdeps/s390/fpu/fesetround.c: Likewise.
444         * sysdeps/s390/fpu/fpu_control.h: Likewise.
445         * sysdeps/s390/fpu/s_fma.c: Likewise.
446         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
447         * sysdeps/s390/memusage.h: Likewise.
448         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
449         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
450         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
451         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
452         * sysdeps/s390/nptl/tls.h: Likewise.
453         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
454         * sysdeps/s390/s390-32/backtrace.c: Likewise.
455         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
456         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
457         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
458         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
459         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
460         * sysdeps/s390/s390-64/backtrace.c: Likewise.
461         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
462         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
463         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
464         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
465         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
466         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
467         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
468         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
469         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
470         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
471         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
472         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
473         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
474         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
475         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
477 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
478             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
480         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
481         Add lwarx hint, and use macro for acquire instruction.
482         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
483         Likewise.
484         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
485         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
486         update to use new atomic macros.
488 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
490         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
491         (__lll_trylock_elision): Fix setting of adapt_count.
492         * sysdeps/unix/sysv/linux/powerpc/htm.h
493         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
494         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
495         (_ABORT_SYSCALL): Renumber, and clarify definition.
496         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
498 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
500         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
501         after system headers to prevent MIN/MAX redefinition.  Define
502         HAVE_ALLOCA to preserve builtin alloca usage.
504 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
506         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
507         static and don't set or restore rounding.
508         (__cos)[IN_SINCOS]: Likewise.
509         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
510         (__sincos): Set and restore rounding mode.  Remove check for infinite
511         or NaN input.
513         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
515         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
516         as used.
518 2015-11-16  Florian Weimer  <fweimer@redhat.com>
520         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
522 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
524         * config.make.in (have-glob-dat-reloc): New.
525         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
526         target supports GLOB_DAT relocaton. AC_SUBST.
527         * configure: Regenerated.
528         * elf/Makefile (tests): Add tst-prelink.
529         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
530         (tst-prelink-ENV): New.
531         ($(objpfx)tst-prelink-conflict.out): Likewise.
532         ($(objpfx)tst-prelink-cmp.out): Likewise.
533         * sysdeps/x86/tst-prelink.c: Moved to ...
534         * elf/tst-prelink.c: Here.
535         * sysdeps/x86/tst-prelink.exp: Moved to ...
536         * elf/tst-prelink.exp: Here.
537         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
538         (tst-prelink-ENV): Removed.
539         ($(objpfx)tst-prelink-conflict.out): Likewise.
540         ($(objpfx)tst-prelink-cmp.out): Likewise.
541         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
543 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
545         [BZ #14551]
546         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
547         (__mpn_construct_long_double): If high part overflows to infinity,
548         set errno and recompute overflowed result of the correct sign.
549         * sysdeps/ieee754/ldbl-128ibm/Makefile
550         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
551         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
552         $(libm).
553         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
555 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
557         [BZ #15479]
558         [BZ #19238]
559         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
560         floating-point state after first operation on input.  Restore full
561         state rather than just rounding mode.
562         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
563         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
564         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
566         [BZ #19235]
567         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
568         add 0.5 to integer arguments.
569         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
570         Likewise.
571         (.LC2): New object.
573 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
575         * scripts/pylintrc (reports): Set to no.
577 2015-11-10  Roland McGrath  <roland@hack.frob.com>
579         * elf/dl-load.c (open_verify): Take new argument FD.
580         Skip __open call if passed FD is not -1.
581         (_dl_map_object, open_path): Update callers.
582         * elf/dl-sysdep-open.h: New file.
583         * elf/dl-load.c: Include it.
584         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
585         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
586         * sysdeps/nacl/dl-sysdep-open.h: New file.
587         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
588         from libc to rtld.
590 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
592         [BZ #19228]
593         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
594         and restore full floating-point state.
595         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
596         Likewise.
597         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
598         Likewise.
599         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
600         Likewise.
601         * math/test-nearbyint-except-2.c: New file.
602         * math/Makefile (tests): Add test-nearbyint-except-2.
604 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
606         [BZ #19178]
607         * sysdeps/x86/Makefile (tests): Add tst-prelink.
608         (tst-prelink-ENV): New.
609         ($(objpfx)tst-prelink-conflict.out): Likewise.
610         ($(objpfx)tst-prelink-cmp.out): Likewise.
611         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
612         * sysdeps/x86/tst-prelink.c: New file.
613         * sysdeps/x86/tst-prelink.exp: Likewise.
615 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
617         * math/auto-libm-test-in: Add another test of pow.
618         * math/auto-libm-test-out: Regenerated.
619         * math/libm-test.inc (pow_test_data): Add another test.
621 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
623         [BZ #19219]
624         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
625         weak_alias to nearbyintl.
627 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
629         * sysdeps/aarch64/bits/string.h: New file.
630         (_STRING_ARCH_unaligned): Define.
632 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
634         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
635         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
636         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
637         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
640 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
642         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
643         for original name of the DSO.  Add it to the name list of the DSO
644         if it is actually given.
645         (_dl_map_object): Keep track of whether an audit module rewrote
646         the file name.  If yes, pass the original name to
647         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
648         debugging is enabled, log the change of the file name.
649         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
650         _dl_map_object_from_fd.
651         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
652         * elf/tst-audit11.c: New file
653         * elf/tst-auditmod11.c: New file.
654         * elf/tst-audit11mod1.c: New file.
655         * elf/tst-audit11mod2.c: New file.
656         * elf/tst-audit11mod2.map: New file.
657         * elf/tst-audit12.c: New file
658         * elf/tst-auditmod12.c: New file.
659         * elf/tst-audit12mod1.c: New file.
660         * elf/tst-audit12mod2.c: New file.
661         * elf/tst-audit12mod2.map: New file.
662         * elf/tst-audit12mod3.c: New file.
664 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
666         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
667         Don't create weak aliases,
668         because versioned symbols are created later.
669         * sysdeps/s390/s390-32/setjmp.S
670         (setjmp, _setjmp): Remove weak and rename to an unique name
671         in SHARED case due to existing versioned symbols.
672         * sysdeps/s390/s390-64/setjmp.S: Likewise.
673         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
674         (getcontext): Create weak alias only in non SHARED case.
675         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
677 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
679         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
680         (__ASSUME_*_SYSCALL) Define new macros.
681         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
682         Remove socketcall syscalls.
683         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
684         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
685         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
686         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
687         * sysdeps/unix/sysv/linux/send.c (__libc_send):
688         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
690 2015-11-09  Florian Weimer  <fweimer@redhat.com>
692         [BZ #12926]
693         Terminate process on invalid netlink response.
694         * sysdeps/unix/sysv/linux/netlinkaccess.h
695         (__netlink_assert_response): Declare.
696         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
697         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
698         (sysdep_routines): Add netlink_assert_response.
699         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
700         __netlink_assert_response.
701         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
702         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
703         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
704         __netlink_assert_response.
706 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
708         [BZ #19178]
709         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
710         (RTYPE_CLASS_PLT): Likewise.
711         (RTYPE_CLASS_COPY): Likewise.
712         (RTYPE_CLASS_TLS): Likewise.
713         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
714         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
715         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
716         DL_DEBUG_PRELINK.
718 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
720         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
721         calls with argument -0.5.
722         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
724         * configure.ac (libc_cv_z_nodelete): Remove configure test.
725         (libc_cv_z_nodlopen): Likewise.
726         (libc_cv_z_initfirst): Likewise.
727         * configure: Regenerated.
729 2015-11-06  Florian Weimer  <fweimer@redhat.com>
731         Simplify abilist format to be line-based.
732         * scripts/abilist.awk: Collect descriptors in the descs variable.
733         (emit): Write descs variable and sort it
734         externally, with sort.
735         * sysdeps/**/*.abilist: Convert to new format.
737 2015-11-06  Mark Wielaard  <mjw@redhat.com>
739         [BZ #11460]
740         * io/Makefile (routines): Add fts64.
741         (tests): Add tst-fts and tst-fts-lfs.
742         (CFLAGS-fts64.c): New.
743         * io/Versions (GLIBC_2.23): New.
744         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
745         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
746         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
747         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
748         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
749         (FTSENT64): Likewise.
750         (fts64_children): Likewise.
751         (fts64_close): Likewise.
752         (fts64_open): Likewise.
753         (fts64_read): Likewise.
754         (fts64_set): Likewise.
755         * io/fts64.c: New file.
756         * io/tst-fts.c: New test.
757         * io/tst-fts-lfs.c: Likewise.
758         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
759         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
760         fts64_set.
761         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
762         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
763         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
764         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
765         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
766         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
767         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
768         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
769         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
770         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
771         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
772         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
773         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
775         Likewise.
776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
777         Likewise.
778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
780         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
781         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
782         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
783         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
784         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
785         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
786         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
787         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
788         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
789         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
790         * sysdeps/wordsize-64/fts.c: New file.
791         * sysdeps/wordsize-64/fts64.c: Likewise.
792         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
793         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
794         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
795         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
797 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
799         * math/libm-test.inc (NON_FINITE): New macro.
800         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
801         * math/gen-libm-test.pl (show_exceptions): Add argument
802         $non_finite.
803         (parse_args): Update call to show_exceptions.
804         * math/test-math-finite.h: New file.
805         * math/test-math-no-finite.h: Likewise.
806         * math/test-double-finite.c: Likewise.
807         * math/test-float-finite.c: Likewise.
808         * math/test-ldouble-finite.c: Likewise.
809         * math/test-double.c: Include "test-math-no-finite.h".
810         * math/test-float.c: Include "test-math-no-finite.h".
811         * math/test-ldouble.c: Include "test-math-no-finite.h".
812         * math/test-math-inline.h (TEST_FINITE): New macro.
813         * math/test-math-vector.h (TEST_FINITE): Likewise.
814         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
815         (libm-tests): Add test-float-finite and test-double-finite.
816         ($(objpfx)test-float-finite.o): New dependency on
817         $(objpfx)libm-test.stmp.
818         ($(objpfx)test-double-finite.o): Likewise.
819         ($(objpfx)test-ldouble-finite.o): Likewise.
820         (libm-test-no-inline-cflags): New variable.
821         (libm-test-finite-cflags): Likewise.
822         (CFLAGS-test-float-finite.c): Likewise.
823         (CFLAGS-test-double-finite.c): Likewise.
824         (CFLAGS-test-ldouble-finite.c): Likewise.
825         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
826         (CFLAGS-test-double.c): Likewise.
827         (CFLAGS-test-ldouble.c): Likewise.
829 2015-11-05  Roland McGrath  <roland@hack.frob.com>
831         * io/fcntl.c (__fcntl): Add ... to prototype.
832         * misc/ioctl.c (__ioctl): Likewise.
833         * misc/syscall.c (syscall): Likewise.
835 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
837         * scripts/list-fixed-bugs.py: New file.
839         [BZ #19213]
840         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
841         returned for argument 1.
842         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
843         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
844         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
845         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
846         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
847         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
849         [BZ #19211]
850         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
851         __USE_XOPEN], not if [!__USE_ISOC99].
852         (lgammaf): Likewise.
853         (lgammal): Likewise.
854         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
855         (gammaf): Likewise.
856         (gammal): Likewise.
857         * math/test-signgam-finite-c11.c: New file.
858         * math/test-signgam-finite-c99.c: Likewise.
859         * math/test-signgam-finite.c: Likewise.
860         * math/Makefile (tests): Add test-signgam-finite,
861         test-signgam-finite-c99 and test-signgam-finite-c11.
862         (CFLAGS-test-signgam-finite.c): New variable.
863         (CFLAGS-test-signgam-finite-c99.c): Likewise.
864         (CFLAGS-test-signgam-finite-c11.c): Likewise.
866         [BZ #19212]
867         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
868         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
869         500].
870         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
871         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
872         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
873         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
874         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
875         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
876         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
877         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
878         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
879         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
881         [BZ #19209]
882         * math/bits/math-finite.h (ldexp): Remove declaration.
883         (ldexpf): Likewise.
884         (ldexpl): Likewise.
886         [BZ #19205]
887         * math/bits/math-finite.h (acosf): Condition declaration on
888         [__USE_ISOC99].
889         (acosl): Likewise.
890         (acoshf): Likewise.
891         (acoshl): Likewise.
892         (asinf): Likewise.
893         (asinl): Likewise.
894         (atan2f): Likewise.
895         (atan2l): Likewise.
896         (atanhf): Likewise.
897         (atanhl): Likewise.
898         (coshf): Likewise.
899         (coshl): Likewise.
900         (expf): Likewise.
901         (expl): Likewise.
902         (fmodf): Likewise.
903         (fmodl): Likewise.
904         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
905         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
906         (j0l): Likewise.
907         (y0f): Likewise.
908         (y0l): Likewise.
909         (j1f): Likewise.
910         (j1l): Likewise.
911         (y1f): Likewise.
912         (y1l): Likewise.
913         (jnf): Likewise.
914         (jnl): Likewise.
915         (ynf): Likewise.
916         (ynl): Likewise.
917         (lgammaf_r): Condition declaration on [__USE_ISOC99].
918         (lgammal_r): Likewise.
919         (__lgamma_r_finite): New declaration.
920         (__lgammaf_r_finite): Likewise.
921         (__lgammal_r_finite): Likewise.
922         (lgamma): Use __lgamma_r_finite.
923         (lgammaf): Condition definition on [__USE_ISOC99].  Use
924         __lgammaf_r_finite.
925         (lgammal): Condition definition on [__USE_ISOC99].  Use
926         __lgammal_r_finite.
927         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
928         __lgamma_r_finite.
929         (gammaf): Condition definition on [__USE_ISOC99].  Use
930         __lgammaf_r_finite.
931         (gammal): Condition definition on [__USE_ISOC99].  Use
932         __lgammal_r_finite.
933         (logf): Condition declaration on [__USE_ISOC99].
934         (logl): Likewise.
935         (log10f): Likewise.
936         (log10l): Likewise.
937         (ldexpf): Likewise.
938         (ldexpl): Likewise.
939         (powf): Likewise.
940         (powl): Likewise.
941         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
942         __USE_ISOC99].
943         (remainderf): Condition declaration on [__USE_ISOC99].
944         (remainderl): Likewise.
945         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
946         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
947         (scalbl): Likewise.
948         (sinhf): Condition declaration on [__USE_ISOC99].
949         (sinhl): Likewise.
950         (sqrtf): Likewise.
951         (sqrtl): Likewise.
953 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
955         * sysdeps/arm/atomic-machine.h
956         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
957         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
958         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
959         Remove conditional code.
960         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
961         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
962         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
963         Change conditional to [__ASSEMBLER__].
964         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
965         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
966         [!__ASSEMBLER__].
967         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
968         code.
969         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
970         conditional macro definitions.
971         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
972         (__arch_compare_and_exchange_val_16_acq): Likewise.
973         (__arch_compare_and_exchange_val_32_acq): Likewise.
974         (atomic_exchange_and_add): Likewise.
975         (atomic_add): Likewise.
976         (atomic_add_negative): Likewise.
977         (atomic_add_zero): Likewise.
978         (atomic_bit_set): Likewise.
979         (atomic_bit_test_set): Likewise.
980         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
981         code unconditional.
982         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
984         * math/test-math-errno.h: New file.
985         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
986         empty.
987         (TEST_ERRNO): New macro.
988         (TEST_EXCEPTIONS): Likewise.
989         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
990         (TEST_EXCEPTIONS): Likewise.
991         * math/test-math-vector.h (TEST_ERRNO): Likewise.
992         * math/test-double.c: Include "test-math-errno.h".
993         * math/test-float.c: Likewise.
994         * math/test-ldouble.c: Likewise.
995         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
996         code unconditional.
997         (test_exceptions): Only run code if TEST_EXCEPTIONS.
998         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
999         unconditional.
1000         (test_errno): Only run code if TEST_ERRNO.
1001         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
1003 2015-11-04  Florian Weimer  <fweimer@redhat.com>
1005         * nptl/tst-once5.cc: Remove attribution.
1007 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
1009         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
1010         sqrt, tan, tanh, y0, y1 and yn.
1011         * math/auto-libm-test-out: Regenerated.
1012         * math/libm-test.inc (scalb_test_data): Add more tests.
1013         (scalbn_test_data): Likewise.
1014         (scalbln_test_data): Likewise.
1015         (signbit_test_data): Likewise.
1016         (sin_test_data): Likewise.
1017         (sincos_test_data): Likewise.
1018         (sinh_test_data): Likewise.
1019         (sqrt_test_data): Likewise.
1020         (tan_test_data): Likewise.
1021         (tanh_test_data): Likewise.
1022         (tgamma_test_data): Likewise.
1023         (y0_test_data): Likewise.
1024         (y1_test_data): Likewise.
1025         (yn_test_data): Likewise.
1026         (significand_test_data): Likewise.
1027         * sysdeps/i386/fpu/libm-test-ulps: Update.
1029 2015-11-03  David Kastrup  <dak@gnu.org>
1031         [BZ #18604]
1032         * assert/assert.h (assert): Don't macro-expand failed assertion
1033         expression in error message.
1034         * malloc/malloc.c (assert): Likewise.
1036 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
1038         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
1039         test.
1040         * configure: Regenerated.
1042 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
1044         * math/libm-test.inc (modf_test_data): Add more tests.
1045         (nearbyint_test_data): Likewise.
1046         (nextafter_test_data): Likewise.
1047         (nexttoward_test_data): Likewise.
1048         (pow_test_data): Likewise.
1049         (remainder_test_data): Likewise.
1050         (remquo_test_data): Likewise.
1051         (rint_test_data): Likewise.
1053         [BZ #19201]
1054         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
1055         Check for zero remainder in case of large exponents and ensure
1056         correct sign of result in that case.
1057         * math/libm-test.inc (remainder_test_data): Add more tests.
1059         [BZ #6799]
1060         * math/s_nextafter.c: Include <errno.h>.
1061         (__nextafter): Set errno on overflow and underflow.
1062         * math/s_nexttowardf.c: Include <errno.h>.
1063         (__nexttowardf): Set errno on overflow and underflow.
1064         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
1065         (__nextafterl): Set errno on overflow and underflow.
1066         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
1067         (__nexttoward): Set errno on overflow and underflow.
1068         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
1069         (__nexttowardf): Set errno on overflow and underflow.
1070         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
1071         (__nextafterf): Set errno on overflow and underflow.
1072         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
1073         (__nextafterl): Set errno on overflow and underflow.
1074         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
1075         (__nexttoward): Set errno on overflow and underflow.
1076         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
1077         (__nexttowardf): Set errno on overflow and underflow.
1078         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
1079         (__nextafterl): Set errno on overflow and underflow.
1080         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
1081         (__nexttoward): Set errno on overflow and underflow.
1082         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
1083         (__nexttowardf): Set errno on overflow and underflow.
1084         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
1085         (__nexttoward): Set errno on overflow and underflow.
1086         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
1087         (__nexttowardf): Set errno on overflow and underflow.
1088         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
1089         (__nldbl_nexttowardf): Set errno on overflow and underflow.
1090         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
1091         (__nextafterl): Set errno on overflow and underflow.
1092         * math/libm-test.inc (nextafter_test_data): Do not allow errno
1093         setting to be missing on overflow.  Add more tests.
1094         (nexttoward_test_data): Likewise.
1096         * configure.ac (libc_cv_initfini_array): Remove configure test.
1097         * configure: Regenerated.
1099 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
1101         [BZ #19189]
1102         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
1103         non-finite argument handle arguments with negative sign.
1105         * math/libm-test.inc (j0_test_data): Do not test sign of zero
1106         result from infinite argument.
1107         (j1_test_data): Likewise.
1108         (jn_test_data): Likewise.
1109         (y0_test_data): Likewise.
1110         (y1_test_data): Likewise.
1111         (yn_test_data): Likewise.
1113         [BZ #16171]
1114         * math/w_remainder.c (drem): Define as weak alias of __remainder.
1115         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
1116         * math/w_remainderf.c (dremf): Define as weak alias of
1117         __remainderf.
1118         * math/w_remainderl.c (dreml): Define as weak alias of
1119         __remainderl.
1120         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
1121         __remainder.
1122         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
1123         __remainderf.
1124         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
1125         __remainderl.
1126         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
1127         weak alias of remainderl.
1128         * sysdeps/ieee754/ldbl-opt/w_remainder.c
1129         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
1130         alias of __remainder.
1131         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
1132         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
1133         strong alias of __remainderl.
1134         (dreml): Use long_double_symbol.
1135         * math/Makefile (libm-calls): Remove w_drem.
1136         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
1137         (CFLAGS-nldbl-drem.c): Remove variable.
1138         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
1139         * math/w_drem.c: Remove file.
1140         * math/w_dremf.c: Likewise.
1141         * math/w_dreml.c: Likewise.
1142         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
1143         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
1144         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
1146         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
1147         * sysdeps/i386/configure: Regenerated.
1148         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
1149         * sysdeps/x86_64/configure: Regenerated.
1151         * configure.ac (libc_cv_asm_protected_directive): Remove configure
1152         test.
1153         (libc_cv_visibility_attribute): Likewise.
1154         (libc_cv_protected_data): Test unconditionally.
1155         (libc_cv_broken_visibility_attribute): Remove configure test.
1156         (libc_cv_have_sdata_section): Test unconditionally.
1157         * configure: Regenerated.
1159         * include/libc-internal.h (libc_max_align_t): Remove typedef.
1160         * include/scratch_buffer.h: Include <stddef.h> instead of
1161         <libc-internal.h>.
1162         (struct scratch_buffer): Use max_align_t instead of
1163         libc_max_align_t.
1165 2015-10-29  Florian Weimer  <fweimer@redhat.com>
1167         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
1168         instead of extend_alloca.  Change control flow to avoid a goto.
1169         Remove assert which is trivially always true.
1171 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
1173         [BZ #16068]
1174         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
1175         (FE_ALL_EXCEPT_X86): New macro.
1176         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
1177         FE_ALL_EXCEPT.  Ensure precision control is included in
1178         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
1179         handle "denormal operand exception" and clear FZ and DAZ bits.
1180         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
1181         (FE_ALL_EXCEPT_X86): New macro.
1182         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
1183         FE_ALL_EXCEPT.  Ensure precision control is included in
1184         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
1185         handle "denormal operand exception" and clear FZ and DAZ bits.
1186         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
1187         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
1188         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1189         test-fenv-x87 and test-fenv-sse-2.
1190         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
1192         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
1193         * math/test-double.h (BUILD_COMPLEX): New macro.
1194         * math/test-float.h (BUILD_COMPLEX): Likewise.
1195         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
1197         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
1198         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
1199         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
1200         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
1201         instead of DBL_DENORM_MIN in comment.
1202         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
1203         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
1204         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
1205         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
1206         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
1207         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
1209 2015-10-28  Florian Weimer  <fweimer@redhat.com>
1211         [BZ# 19048]
1212         * malloc/malloc.c (struct malloc_state): Update comment.  Add
1213         attached_threads member.
1214         (main_arena): Initialize attached_threads.
1215         * malloc/arena.c (list_lock): Update comment.
1216         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
1217         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
1218         (deattach_arena): New function.
1219         (_int_new_arena): Initialize arena reference count and deattach
1220         replaced arena.
1221         (get_free_list, reused_arena): Update reference count and deattach
1222         replaced arena.
1223         (arena_thread_freeres): Update arena reference count and only put
1224         unreferenced arenas on the free list.
1226 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
1228         [BZ #19181]
1229         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
1230         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
1231         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
1232         * math/test-fenv-clear-main.c: New file.
1233         * math/test-fenv-clear.c: Likewise.
1234         * math/Makefile (tests): Add test-fenv-clear.
1235         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
1236         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1237         test-fenv-clear-sse.
1238         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
1240         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
1241         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
1242         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
1244 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1246         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
1247         static libc.
1249 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
1251         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
1252         test.
1253         * sysdeps/i386/configure: Regenerated.
1254         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
1255         test.
1256         * sysdeps/x86_64/configure: Regenerated.
1257         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
1258         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1259         memset-avx2 unconditionally instead of conditionally on
1260         [$(config-cflags-avx2) = yes].
1261         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1262         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
1263         unconditional.
1264         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
1265         * sysdeps/x86_64/multiarch/memset_chk.S
1266         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
1267         to [IS_IN (libc) && SHARED].
1269 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
1271         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
1272         configure test.
1273         * sysdeps/arm/configure: Regenerated.
1274         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
1275         Define variable if not already defined.
1277         [BZ #17404]
1278         * sysdeps/mips/atomic-machine.h
1279         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
1280         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
1281         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
1283         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
1284         unconditional.
1285         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
1286         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1287         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
1288         unconditional.
1289         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1290         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
1291         unconditional.
1292         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1293         * stdlib/setenv.c
1294         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
1295         code unconditional.
1296         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
1297         Remove conditional code.
1298         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
1299         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
1300         unconditional.
1301         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
1302         code.
1303         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
1304         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
1305         unconditional.
1306         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
1307         code.
1308         * sysdeps/ieee754/ldbl-128/k_tanl.c
1309         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
1310         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1311         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
1312         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
1313         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1314         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
1315         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
1316         unconditional.
1317         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
1318         code.
1319         * sysdeps/ieee754/ldbl-96/k_tanl.c
1320         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
1321         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1323         * nptl/tst-initializers1-c11.c: New file.
1324         * nptl/tst-initializers1-gnu11.c: Likewise.
1325         * nptl/Makefile (tests): Add these new tests.
1326         (CFLAGS-tst-initializers1-c11.c): New variable.
1327         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
1329         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
1330         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
1331         instead of -std=gnu99.
1332         * configure.ac (systemtap): Test with -std=gnu11 instead of
1333         -std=gnu99.
1334         * configure: Regenerated.
1335         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
1336         in compilation command in comment.
1338         * sysdeps/nptl/configure.ac: Remove file.
1339         * sysdeps/nptl/configure: Remove generated file.
1340         * configure.ac (libc_cv_forced_unwind): Do not substitute.
1341         * configure: Regenerated.
1342         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
1343         * config.make.in (have-forced-unwind): Remove variable.
1344         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
1345         unconditional.
1346         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
1347         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
1348         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
1349         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
1350         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
1351         unconditional.
1353 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1355         [BZ #19174]
1356         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
1357         .skip_lock_out_of_tbegin_retries.
1358         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1359         (__lll_lock_elision): Likewise, and respect a value of
1360         try_tbegin <= 0.
1362 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1364         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
1365         statement.
1367 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
1369         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
1370         variable.
1371         (test-xfail-ISO11/stdalign.h/conform): Likewise.
1372         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1374         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
1375         of -std=c1x -D_ISOC11_SOURCE.
1377         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
1378         * configure: Regenerated.
1379         * manual/install.texi (Tools for Compilation): Document
1380         requirement for GCC 4.7 or later.
1381         * INSTALL: Regenerated.
1383 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
1385         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
1386         on CNT to a conditional jump to 'puntdata'.
1388 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
1390         * configure.ac (libc_cv_gcc___thread): Remove configure test.
1391         (libc_cv_gcc_tls_model_attr): Likewise.
1392         * configure: Regenerated.
1394         * configure.ac (libc_cv_need_minus_P): Remove configure test.
1395         * configure: Regenerated.
1396         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
1398 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
1400         * configure.ac (old_glibc_headers): Remove configure test.
1401         * configure: Regenerated.
1402         * config.make.in (old-glibc-headers): Remove variable.
1403         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
1404         (install): Remove dependency on remove-old-headers.
1405         (headers2_0): Remove variable.
1406         (remove-old-headers): Remove rule.
1408         * configure.ac (libc_cv_dot_text): Remove configure test.
1409         (libc_cv_asm_set_directive): Use .text instead of
1410         ${libc_cv_dot_text} in configure test.
1411         * configure: Regenerated.
1413 2015-10-26  Florian Weimer  <fweimer@redhat.com>
1415         [BZ #19168]
1416         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1418 2015-10-26  Florian Weimer  <fweimer@redhat.com>
1420         * configure.ac (CXX): Clear the variable if the C++ toolchain does
1421         not support static linking.
1422         * configure: Regenerate.
1424 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
1426         * math/libm-test.inc (check_float_internal): Do not special-case
1427         errors up to 0.5 ulp.
1429         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1430         log2.
1431         * math/auto-libm-test-out: Regenerated.
1432         * math/libm-test.inc (MAX_EXP): New macro.
1433         (ilogb_test_data): Add more tests.
1434         (isfinite_test_data): Likewise.
1435         (isgreater_test_data): Likewise.
1436         (isgreaterequal_test_data): Likewise.
1437         (isinf_test_data): Likewise.
1438         (isless_test_data): Likewise.
1439         (islessequal_test_data): Likewise.
1440         (islessgreater_test_data): Likewise.
1441         (isnan_test_data): Likewise.
1442         (isnormal_test_data): Likewise.
1443         (issignaling_test_data): Likewise.
1444         (isunordered_test_data): Likewise.
1445         (j0_test_data): Likewise.
1446         (j1_test_data): Likewise.
1447         (jn_test_data): Likewise.
1448         (lgamma_test_data): Likewise.
1449         (log_test_data): Likewise.
1450         (log10_test_data): Likewise.
1451         (log1p_test_data): Likewise.
1452         (log2_test_data): Likewise.
1453         (logb_test_data): Likewise.
1454         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1456         [BZ #18611]
1457         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
1458         avoid excess range and precision on underflow.
1459         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
1460         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
1461         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1462         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
1463         underflow.
1464         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1465         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1466         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
1467         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1468         * math/auto-libm-test-in: Do not allow missing errno setting for
1469         tests of j1 and jn.
1470         * math/auto-libm-test-out: Regenerated.
1472 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
1474         [BZ #15491]
1475         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
1476         floating-point environment instead of clearing all exceptions.
1477         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
1478         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
1479         merging in "invalid" exceptions from frndint.
1480         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
1481         * math/test-nearbyint-except.c: New file.
1482         * math/Makefile (tests): Add test-nearbyint-except.
1484 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
1486         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
1488         * sysdeps/tile/libm-test-ulps: Regenerated.
1490 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
1493         (__NR_sync_file_range2): Assume it is always defined.
1494         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
1495         (__NR_sync_file_range): Assume it is always defined.
1497 2015-10-22  Andreas Schwab  <schwab@suse.de>
1499         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
1500         INTERNAL_SYSCALL_ERRNO.
1501         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1502         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
1503         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1504         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
1505         Likewise.
1506         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1508 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
1510         * io/tst-fcntl.c (fd): New static variable.
1511         (do_prepare): Open temporary file here....
1512         (do_test): ...not here.
1514         * io/ftwtest-sh: Also trap on exit to remove temporary files.
1516 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
1518         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
1519         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
1520         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
1521         Moved before "#ifdef __ASSEMBLER__".
1523 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
1525         [BZ #19156]
1526         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
1527         arguments very close to 0.
1529 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
1531         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
1532         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
1534 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
1536         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
1537         New.  Defined for GCC 5 and above when not compiling for
1538         profiling.
1539         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
1541         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
1542         Renamed to ...
1543         (CFLAGS-epoll_pwait.o): This.
1544         (CFLAGS-mmap.c): Renamed to ...
1545         (CFLAGS-mmap.o): This.
1546         (CFLAGS-mmap64.c): Renamed to ...
1547         (CFLAGS-mmap64.o): This.
1548         (CFLAGS-epoll_pwait.os): New.
1549         (CFLAGS-mmap.os): Likewise.
1550         (CFLAGS-mmap64.os): Likewise.
1551         (CFLAGS-semtimedop.os): Likewise.
1552         (CFLAGS-semtimedop.c): Renamed to ...
1553         (CFLAGS-semtimedop.o): This.
1555 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1557         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
1558         warning message.
1560 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
1562         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
1563         * Makefile ($(objpfx)c++-types-check.out): Filter out
1564         $(+gccwarn-c) instead of -Wstrict-prototypes.
1566         * io/fts.c (fts_open): Convert to prototype-style function
1567         definition.
1568         * malloc/mcheck.c (mcheck): Likewise.
1569         (mcheck_pedantic): Likewise.
1570         * posix/regexec.c (re_search_2_stub): Likewise.  Use
1571         internal_function.
1572         (re_search_internal): Likewise.
1573         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
1574         prototype-style function definition.
1575         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
1576         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
1577         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
1578         (xdr_utmpptr): Likewise.
1579         (xdr_utmparr): Likewise.
1580         (xdr_utmpidle): Likewise.
1581         (xdr_utmpidleptr): Likewise.
1582         (xdr_utmpidlearr): Likewise.
1584         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
1585         log, log10 and log2.
1586         * math/auto-libm-test-out: Regenerated.
1587         * math/libm-test.inc (fmod_test_data): Add more tests.
1588         (fpclassify_test_data): Likewise.
1589         (frexp_test_data): Likewise.
1590         (hypot_test_data): Likewise.
1591         (ilogb_test_data): Likewise.
1593 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
1595         * debug/fortify_fail.c (__fortify_fail): Convert to
1596         prototype-style function definition.  Use internal_function.
1597         * libio/genops.c (save_for_backup): Convert to prototype-style
1598         function definition.
1599         * libio/wgenops.c (save_for_wbackup): Likewise.
1600         * login/grantpt.c (grantpt): Likewise.
1601         * login/ptsname.c (ptsname): Likewise.
1602         (__ptsname_r): Likewise.
1603         * login/unlockpt.c (unlockpt): Likewise.
1604         * mach/msgserver.c (__mach_msg_server): Likewise.
1605         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
1606         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
1607         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
1608         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
1609         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
1610         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
1611         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
1612         Likewise.
1613         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
1614         internal_function.
1615         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
1616         prototype-style function definition.
1617         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
1618         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
1619         (__pthread_create_2_0): Likewise.
1620         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
1621         * nptl/register-atfork.c (__register_atfork): Likewise.
1622         * posix/glob.c (glob): Likewise.
1623         * posix/regcomp.c (re_comp): Likewise.
1624         * posix/regexec.c (re_exec): Likewise.
1625         * stdlib/add_n.c [__STDC__]: Make code unconditional.
1626         [!__STDC__]: Remove conditional code.
1627         * stdlib/cmp.c [__STDC__]: Make code unconditional.
1628         [!__STDC__]: Remove conditional code.
1629         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
1630         [!__STDC__]: Remove conditional code.
1631         * stdlib/divrem.c [__STDC__]: Make code unconditional.
1632         [!__STDC__]: Remove conditional code.
1633         * stdlib/lshift.c [__STDC__]: Make code unconditional.
1634         [!__STDC__]: Remove conditional code.
1635         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
1636         [!__STDC__]: Remove conditional code.
1637         * stdlib/mul.c [__STDC__]: Make code unconditional.
1638         [!__STDC__]: Remove conditional code.
1639         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
1640         [!__STDC__]: Remove conditional code.
1641         * stdlib/rshift.c [__STDC__]: Make code unconditional.
1642         [!__STDC__]: Remove conditional code.
1643         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
1644         function definition.
1645         (STRTOF): Likewise.
1646         * stdlib/strtod_l.c (__STRTOF): Likewise.
1647         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
1648         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
1649         (__strtol_l): Likewise.
1650         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
1651         [!__STDC__]: Remove conditional code.
1652         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
1653         definition.
1654         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
1655         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
1656         type.
1657         (__strcasecmp): Convert to prototype-style function definition.
1658         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
1659         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
1660         type.
1661         (__strncasecmp): Convert to prototype-style function definition.
1662         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
1663         * sunrpc/xdr.c (xdr_union): Likewise.
1664         * sunrpc/xdr_array.c (xdr_array): Likewise.
1665         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
1666         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
1667         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
1668         Likewise.
1669         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
1670         Likewise.
1671         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
1672         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
1673         Likewise.
1674         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
1675         (LOCALE_PARAM_PROTO): Likewise.
1676         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
1677         argument type.
1678         (ut_argument_spec): Remove macro.
1679         (ut_argument_spec_iso): Rename to ut_argument_spec.
1680         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
1681         prototype-style function definition.
1682         (memcpy_uppcase): Likewise.
1683         (__strftime_internal): Likewise.
1684         (my_strftime): Likewise.
1685         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
1686         (LOCALE_PARAM_DECL): Likewise.
1687         [_LIBC] (LOCALE_PARAM): Include argument type.
1688         (__strptime_internal): Convert to prototype-style function
1689         definition.
1690         (strptime): Likewise.
1691         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
1692         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
1693         type.
1694         (__wcscasecmp): Convert to prototype-style function definition.
1695         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
1696         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
1697         type.
1698         (__wcsncasecmp): Convert to prototype-style function definition.
1700         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
1701         function definition.
1702         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1703         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1704         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
1705         * elf/dl-minimal.c (_itoa): Likewise.
1706         * hurd/hurdmalloc.c (malloc): Likewise.
1707         (free): Likewise.
1708         (realloc): Likewise.
1709         * inet/inet6_option.c (inet6_option_space): Likewise.
1710         (inet6_option_init): Likewise.
1711         (inet6_option_append): Likewise.
1712         (inet6_option_alloc): Likewise.
1713         (inet6_option_next): Likewise.
1714         (inet6_option_find): Likewise.
1715         * io/ftw.c (FTW_NAME): Likewise.
1716         (NFTW_NAME): Likewise.
1717         (NFTW_NEW_NAME): Likewise.
1718         (NFTW_OLD_NAME): Likewise.
1719         * libio/iofwide.c (_IO_fwide): Likewise.
1720         * libio/strops.c (_IO_str_init_static_internal): Likewise.
1721         (_IO_str_init_static): Likewise.
1722         (_IO_str_init_readonly): Likewise.
1723         (_IO_str_overflow): Likewise.
1724         (_IO_str_underflow): Likewise.
1725         (_IO_str_count): Likewise.
1726         (_IO_str_seekoff): Likewise.
1727         (_IO_str_pbackfail): Likewise.
1728         (_IO_str_finish): Likewise.
1729         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
1730         (_IO_wstr_overflow): Likewise.
1731         (_IO_wstr_underflow): Likewise.
1732         (_IO_wstr_count): Likewise.
1733         (_IO_wstr_seekoff): Likewise.
1734         (_IO_wstr_pbackfail): Likewise.
1735         (_IO_wstr_finish): Likewise.
1736         * locale/programs/localedef.c (normalize_codeset): Likewise.
1737         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
1738         (add_locales_to_archive): Likewise.
1739         (delete_locales_from_archive): Likewise.
1740         * malloc/malloc.c (__libc_mallinfo): Likewise.
1741         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
1742         * misc/tsearch.c (__tfind): Likewise.
1743         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
1744         * nptl/pthread_attr_getdetachstate.c
1745         (__pthread_attr_getdetachstate): Likewise.
1746         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
1747         Likewise.
1748         * nptl/pthread_attr_getinheritsched.c
1749         (__pthread_attr_getinheritsched): Likewise.
1750         * nptl/pthread_attr_getschedparam.c
1751         (__pthread_attr_getschedparam): Likewise.
1752         * nptl/pthread_attr_getschedpolicy.c
1753         (__pthread_attr_getschedpolicy): Likewise.
1754         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
1755         Likewise.
1756         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
1757         Likewise.
1758         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
1759         Likewise.
1760         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
1761         Likewise.
1762         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
1763         (__pthread_attr_init_2_0): Likewise.
1764         * nptl/pthread_attr_setdetachstate.c
1765         (__pthread_attr_setdetachstate): Likewise.
1766         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
1767         Likewise.
1768         * nptl/pthread_attr_setinheritsched.c
1769         (__pthread_attr_setinheritsched): Likewise.
1770         * nptl/pthread_attr_setschedparam.c
1771         (__pthread_attr_setschedparam): Likewise.
1772         * nptl/pthread_attr_setschedpolicy.c
1773         (__pthread_attr_setschedpolicy): Likewise.
1774         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
1775         Likewise.
1776         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
1777         Likewise.
1778         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
1779         Likewise.
1780         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
1781         Likewise.
1782         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
1783         Likewise.
1784         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
1785         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
1786         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
1787         use internal_function.
1788         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
1789         prototype-style function definition.
1790         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
1791         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
1792         internal_function.
1793         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
1794         Convert to prototype-style function definition.
1795         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1796         Likewise.
1797         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
1798         Likewise.
1799         (__pthread_mutex_unlock): Likewise.
1800         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
1801         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
1802         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
1803         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
1804         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
1805         * nss/makedb.c (process_input): Likewise.
1806         * posix/fnmatch.c (__strchrnul): Likewise.
1807         (__wcschrnul): Likewise.
1808         (fnmatch): Likewise.
1809         * posix/fnmatch_loop.c (FCT): Likewise.
1810         * posix/glob.c (globfree): Likewise.
1811         (__glob_pattern_type): Likewise.
1812         (__glob_pattern_p): Likewise.
1813         * posix/regcomp.c (re_compile_pattern): Likewise.
1814         (re_set_syntax): Likewise.
1815         (re_compile_fastmap): Likewise.
1816         (regcomp): Likewise.
1817         (regerror): Likewise.
1818         (regfree): Likewise.
1819         * posix/regexec.c (regexec): Likewise.
1820         (re_match): Likewise.
1821         (re_search): Likewise.
1822         (re_match_2): Likewise.
1823         (re_search_2): Likewise.
1824         (re_search_stub): Likewise.  Use internal_function
1825         (re_copy_regs): Likewise.
1826         (re_set_registers): Convert to prototype-style function
1827         definition.
1828         (prune_impossible_nodes): Likewise.  Use internal_function.
1829         * resolv/inet_net_pton.c (inet_net_pton): Convert to
1830         prototype-style function definition.
1831         (inet_net_pton_ipv4): Likewise.
1832         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1833         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
1834         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
1835         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
1836         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
1837         Make variadic.
1838         * time/strptime_l.c (localtime_r): Convert to prototype-style
1839         function definition.
1840         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
1841         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
1842         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
1843         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
1845         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
1846         definition.
1847         (_ufc_doit_r): Likewise.
1848         * crypt/crypt_util.c (_ufc_copymem): Likewise.
1849         (_ufc_output_conversion_r): Likewise.
1850         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
1851         * inet/rcmd.c (rcmd_af): Likewise.
1852         (rcmd): Likewise.
1853         (ruserok_af): Likewise.
1854         (ruserok): Likewise.
1855         (ruserok2_sa): Likewise.
1856         (ruserok_sa): Likewise.
1857         (iruserok_af): Likewise.
1858         (iruserok): Likewise.
1859         (__ivaliduser): Likewise.
1860         (__validuser2_sa): Likewise.
1861         * inet/rexec.c (rexec_af): Likewise.
1862         (rexec): Likewise.
1863         * inet/ruserpass.c (ruserpass): Likewise.
1864         * locale/programs/xmalloc.c (xcalloc): Likewise.
1865         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
1866         * math/w_drem.c (__drem): Likewise.
1867         * math/w_dremf.c (__dremf): Likewise.
1868         * math/w_dreml.c (__dreml): Likewise.
1869         * misc/daemon.c (daemon): Likewise.
1870         * resolv/res_debug.c (p_fqnname): Likewise.
1871         * stdlib/div.c (div): Likewise.
1872         * string/memcmp.c (memcmp_bytes): Likewise.
1873         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
1874         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
1876         * crypt/cert.c (main): Convert to prototype-style function
1877         definition.
1878         * io/pipe.c (__pipe): Likewise.
1879         * io/pipe2.c (__pipe2): Likewise.
1880         * misc/futimesat.c (futimesat): Likewise.
1881         * misc/utimes.c (__utimes): Likewise.
1882         * posix/execve.c (__execve): Likewise.
1883         * posix/execvp.c (execvp): Likewise.
1884         * posix/execvpe.c (__execvpe): Likewise.
1885         * posix/fexecve.c (fexecve): Likewise.
1886         * socket/socketpair.c (socketpair): Likewise.
1887         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
1888         * stdlib/erand48.c (erand48): Likewise.
1889         * stdlib/erand48_r.c (__erand48_r): Likewise.
1890         * stdlib/jrand48.c (jrand48): Likewise.
1891         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
1892         * stdlib/lcong48.c (lcong48): Likewise.
1893         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
1894         * stdlib/nrand48.c (nrand48): Likewise.
1895         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
1896         * stdlib/seed48.c (seed48): Likewise.
1897         * stdlib/seed48_r.c (__seed48_r): Likewise.
1898         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
1899         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
1900         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
1902 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
1904         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
1905         * configure: Regenerated.
1906         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
1907         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
1908         unconditional.
1909         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
1910         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
1911         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
1912         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
1913         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
1914         unconditional.
1915         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
1917         * posix/Makefile (CFLAGS-regex.c): Remove variable.
1918         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
1920         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
1921         function definition.
1922         * crypt/crypt_util.c (__encrypt_r): Likewise.
1923         * libio/genops.c (_IO_no_init): Likewise.
1924         * libio/iofopncook.c (_IO_fopencookie): Likewise.
1925         (_IO_old_fopencookie): Likewise.
1926         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
1927         * libio/iogetline.c (_IO_getline): Likewise.
1928         (_IO_getline_info): Likewise.
1929         * libio/iogetwline.c (_IO_getwline): Likewise.
1930         (_IO_getwline_info): Likewise.
1931         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
1932         * libio/vswprintf.c (_IO_vswprintf): Likewise.
1933         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
1934         (find_entry): Likewise.
1935         (iterate_table): Likewise.
1936         (lookup): Likewise.
1937         * login/forkpty.c (forkpty): Likewise.
1938         * misc/hsearch_r.c (__hsearch_r): Likewise.
1939         * misc/select.c (__select): Likewise.
1940         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
1941         Likewise.
1942         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
1943         Likewise.
1944         * nptl/old_pthread_cond_timedwait.c
1945         (__pthread_cond_timedwait_2_0): Likewise.
1946         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
1947         * nptl/pthread_barrierattr_getpshared.c
1948         (pthread_barrierattr_getpshared): Likewise.
1949         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
1950         Likewise.
1951         * nptl/pthread_mutex_setprioceiling.c
1952         (pthread_mutex_setprioceiling): Likewise.
1953         * nptl/pthread_mutexattr_getprioceiling.c
1954         (pthread_mutexattr_getprioceiling): Likewise.
1955         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
1956         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1957         Likewise.
1958         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1959         Likewise.
1960         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
1961         Likewise.
1962         * socket/recvfrom.c (__recvfrom): Likewise.
1963         * socket/sendto.c (__sendto): Likewise.
1964         * socket/setsockopt.c (__setsockopt): Likewise.
1965         * stdio-common/_itoa.c (_itoa): Likewise.
1966         * stdio-common/_itowa.c (_itowa): Likewise.
1967         * stdio-common/reg-printf.c (__register_printf_specifier):
1968         Likewise.
1969         (__register_printf_function): Likewise.
1970         * stdio-common/tempname.c (__path_search): Likewise.
1971         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
1972         * stdlib/mul_1.c (mpn_mul_1): Likewise.
1973         * stdlib/random_r.c (__initstate_r): Likewise.
1974         * stdlib/setenv.c (__add_to_environ): Likewise.
1975         * stdlib/submul_1.c (mpn_submul_1): Likewise.
1976         * streams/getpmsg.c (getpmsg): Likewise.
1977         * streams/putmsg.c (putmsg): Likewise.
1978         * streams/putpmsg.c (putpmsg): Likewise.
1979         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
1980         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
1981         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
1982         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
1983         * sunrpc/pm_getport.c (pmap_getport): Likewise.
1984         * sunrpc/svc_udp.c (cache_get): Likewise.
1985         * sunrpc/xdr_array.c (xdr_vector): Likewise.
1986         * sysdeps/mach/hurd/getcwd.c
1987         (__canonicalize_directory_name_internal): Likewise.
1988         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
1989         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
1990         * sysdeps/mach/hurd/select.c (__select): Likewise.
1991         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
1992         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
1993         * sysdeps/sparc/nptl/pthread_barrier_init.c
1994         (__pthread_barrier_init): Likewise.
1995         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
1996         (__pthread_cond_timedwait): Likewise.
1997         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
1998         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
1999         Likewise.
2000         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
2001         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
2002         Likewise.
2003         * sysvipc/semtimedop.c (semtimedop): Likewise.
2004         * time/setitimer.c (__setitimer): Likewise.
2005         * time/strftime_l.c (emacs_strftime): Likewise.
2007 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
2009         * config.make.in (have-ssp): Delete.
2010         (stack-protector): New variable.
2011         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
2012         cache test for -fstack-protector-strong.  Export stack_protector to
2013         the best ssp flag.
2014         * configure: Regenerated.
2015         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
2016         * nscd/Makefile (CFLAGS-nscd): Likewise.
2017         * resolv/Makefile (CFLAGS-libresolv): Likewise.
2019 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
2021         [BZ #19122]
2022         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
2023         attribute_hidden.
2025 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2027         [BZ #18743]
2028         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
2029         code to...
2030         (ELIDE_LOCK): ...here.
2031         (__get_new_count): New function with part of the code from
2032         __elide_lock that updates the value of adapt_count after a
2033         transaction abort.
2034         (__elided_trylock): Moved this code to...
2035         (ELIDE_TRYLOCK): ...here.
2037 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
2039         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
2040         * configure: Regenerate.
2041         * INSTALL: Regenerate.
2042         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
2043         and tweak grammar.
2045 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
2047         * login/programs/pt_chown.c: Include signal.h
2048         (main): Clear any signal mask from the parent process.
2050 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
2052         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
2053         * configure: Regenerated.
2054         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
2055         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
2056         $(gnu89-inline-CFLAGS).
2058         * configure.ac (libc_cv_asm_weak_directive): Remove configure
2059         test.
2060         (libc_cv_asm_weakext_directive): Likewise.
2061         * configure: Regenerated.
2062         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
2063         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
2064         * include/libc-symbols.h
2065         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
2066         #error.
2067         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
2068         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
2070         * sysdeps/arm/backtrace.c (__backtrace): Convert to
2071         prototype-style function definition.
2072         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
2073         * sysdeps/i386/ffs.c (__ffs): Likewise.
2074         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
2075         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
2076         Likewise.
2077         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
2078         Likewise.
2079         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
2080         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2081         Likewise.
2082         * sysdeps/m68k/ffs.c (__ffs): Likewise.
2083         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
2084         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
2085         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
2086         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
2087         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
2088         * sysdeps/mach/hurd/access.c (__access): Likewise.
2089         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
2090         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
2091         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
2092         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
2093         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
2094         (cthread_getspecific): Likewise.
2095         (cthread_setspecific): Likewise.
2096         (__libc_getspecific): Likewise.
2097         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
2098         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
2099         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
2100         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
2101         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
2102         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
2103         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
2104         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
2105         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
2106         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
2107         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
2108         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
2109         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
2110         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
2111         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
2112         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
2113         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
2114         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
2115         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
2116         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
2117         * sysdeps/mach/hurd/link.c (__link): Likewise.
2118         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
2119         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
2120         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
2121         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
2122         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
2123         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
2124         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
2125         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
2126         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
2127         * sysdeps/mach/hurd/rename.c (rename): Likewise.
2128         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
2129         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
2130         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
2131         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
2132         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
2133         * sysdeps/mach/hurd/send.c (__send): Likewise.
2134         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
2135         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
2136         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
2137         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
2138         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
2139         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
2140         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
2141         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
2142         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
2143         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
2144         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
2145         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
2146         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
2147         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
2148         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
2149         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
2150         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
2151         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
2152         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
2153         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
2154         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
2155         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
2156         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
2157         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
2158         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
2159         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
2160         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
2161         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
2162         * sysdeps/posix/alarm.c (alarm): Likewise.
2163         * sysdeps/posix/cuserid.c (cuserid): Likewise.
2164         * sysdeps/posix/dirfd.c (dirfd): Likewise.
2165         * sysdeps/posix/dup.c (__dup): Likewise.
2166         * sysdeps/posix/dup2.c (__dup2): Likewise.
2167         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
2168         (main): Likewise.
2169         * sysdeps/posix/flock.c (__flock): Likewise.
2170         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
2171         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
2172         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
2173         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
2174         * sysdeps/posix/isatty.c (__isatty): Likewise.
2175         * sysdeps/posix/killpg.c (killpg): Likewise.
2176         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
2177         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
2178         * sysdeps/posix/raise.c (raise): Likewise.
2179         * sysdeps/posix/remove.c (remove): Likewise.
2180         * sysdeps/posix/rename.c (rename): Likewise.
2181         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
2182         * sysdeps/posix/seekdir.c (seekdir): Likewise.
2183         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
2184         * sysdeps/posix/sigignore.c (sigignore): Likewise.
2185         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
2186         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
2187         * sysdeps/posix/sigset.c (sigset): Likewise.
2188         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
2189         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
2190         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
2191         * sysdeps/posix/time.c (time): Likewise.
2192         * sysdeps/posix/ttyname.c (getttyname): Likewise.
2193         (ttyname): Likewise.
2194         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
2195         * sysdeps/posix/utime.c (utime): Likewise.
2196         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
2197         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
2198         Likewise.
2199         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
2200         (pthread_spin_trylock): Likewise.
2201         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
2202         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
2203         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
2204         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
2205         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
2206         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
2207         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
2208         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
2209         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
2210         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
2211         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
2212         * sysdeps/s390/ffs.c (__ffs): Likewise.
2213         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
2214         Likewise.
2215         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
2216         Likewise.
2217         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
2218         Likewise.
2219         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
2220         (pthread_barrier_destroy): Likewise.
2221         * sysdeps/sparc/nptl/pthread_barrier_wait.c
2222         (__pthread_barrier_wait): Likewise.
2223         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
2224         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
2225         (__pthread_barrier_wait): Likewise.
2226         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
2227         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
2228         (memcmp_not_common_alignment): Likewise.
2229         (MEMCMP): Likewise.
2230         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
2231         (_wordcopy_fwd_dest_aligned): Likewise.
2232         (_wordcopy_bwd_aligned): Likewise.
2233         (_wordcopy_bwd_dest_aligned): Likewise.
2234         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
2235         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
2236         * sysdeps/unix/bsd/stty.c (stty): Likewise.
2237         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
2238         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
2239         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
2240         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
2241         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
2242         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
2243         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
2244         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
2245         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
2246         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
2247         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
2248         * sysdeps/unix/stime.c (stime): Likewise.
2249         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
2250         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
2251         Likewise.  Use internal_function.
2252         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
2253         Convert to prototype-style function definition.
2254         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
2255         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
2256         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
2257         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2258         Likewise.  Use internal_function.
2259         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
2260         prototype-style function definition
2261         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
2262         Likewise.
2263         (__getlogin_r): Likewise.
2264         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
2265         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
2266         (__pthread_cond_broadcast): Likewise.
2267         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
2268         (__pthread_cond_destroy): Likewise.
2269         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
2270         (__pthread_cond_init): Likewise.
2271         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
2272         (__pthread_cond_signal): Likewise.
2273         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
2274         (__pthread_cond_wait): Likewise.
2275         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
2276         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
2277         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
2278         Likewise.
2279         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
2280         Likewise.
2281         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
2282         Likewise.
2283         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
2284         Likewise.
2285         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
2286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
2287         (__ftruncate64): Likewise.
2288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
2289         (truncate64): Likewise.
2290         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
2291         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
2292         (pthread_getcpuclockid): Likewise.
2293         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
2294         Likewise.
2295         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
2296         Likewise.
2297         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
2298         Likewise.
2299         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
2300         Likewise.
2301         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
2302         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
2303         (__libc_sigaction): Likewise.
2304         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
2305         Likewise.
2306         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
2307         (__sigprocmask): Likewise.
2308         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
2309         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
2310         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
2311         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
2312         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2313         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
2314         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2315         Likewise.
2316         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
2317         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
2318         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2319         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
2320         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
2321         Likewise.
2322         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
2323         (__sigprocmask): Likewise.
2324         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
2325         (cfgetispeed): Likewise.
2326         (cfsetospeed): Likewise.
2327         (cfsetispeed): Likewise.
2328         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
2329         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
2330         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
2331         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
2332         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
2333         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
2334         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
2335         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
2336         Likewise.
2337         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
2338         Likewise.
2339         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
2340         Likewise.
2341         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
2342         Likewise.
2343         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
2345 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2347         sunrpc: Rewrite with explicit TLS access using __thread.
2348         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
2349         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
2350         directly.
2351         (__rpc_thread_variables): Access thread_rpc_vars directly.
2352         Eliminate redundant assignment of the tvp variable.
2354 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2356         malloc: Rewrite with explicit TLS access using __thread.
2357         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
2358         (tsd_setspecific, tsd_getspecific): Remove.
2359         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
2360         (tsd_setspecific, tsd_getspecific): Likewise.
2361         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
2362         (tsd_setspecific, tsd_getspecific): Likewise.
2363         * malloc/arena.c (thread_arena): New TLS variable.
2364         (arena_key): Remove variable.
2365         (arena_get): Use thread_arena.
2366         (arena_lookup): Remove macro.
2367         (malloc_atfork, free_atfork, ptmalloc_lock_all)
2368         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
2369         (_int_new_arena, get_free_list, reused_arena)
2370         (arena_thread_freeres): Use thread_arena.
2371         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
2372         tsd_getspecific, tsd_setspecific from safety annotations.
2373         (Allocating Cleared Space): Remove arena_lookup from safety
2374         annotations.
2376 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2378         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
2379         struct scratch_buffer instead of extend_alloca.
2381 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2383         * sysdeps/unix/sysv/linux/kernel-features.h
2384         (__ASSUME_SOCK_CLOEXEC): Remove.
2385         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
2386         (__have_paccept): Remove unused macro.
2387         * include/unistd.h (__have_sock_cloexec): Remove declaration.
2388         * misc/syslog.c (openlog_internal): Remove fallback code for
2389         !__ASSUME_SOCK_CLOEXEC.
2390         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
2391         missing SOCK_CLOEXEC.
2392         * nscd/connections.c (have_sock_cloexec): Remove definition.
2393         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
2394         * nscd/nscd_helper.c (open_socket): Remove fallback code for
2395         !__ASSUME_SOCK_CLOEXEC.
2396         * resolv/res_send.c (__have_o_nonblock): Remove definition.
2397         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
2398         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
2399         definition.
2400         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
2401         code for !__ASSUME_SOCK_CLOEXEC.
2403 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2405         [BZ #18982]
2406         * manual/stdio.texi (Variable Arguments Output): Add portability
2407         note, explaining that vfprintf clobbers the va_list pointer.
2409 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
2411         * math/libm-test.inc (fabs_test_data): Add more tests.
2412         (fdim_test_data): Likewise.
2413         (fma_test_data): Likewise.
2414         (fmax_test_data): Likewise.
2415         (fmin_test_data): Likewise.
2416         (fmod_test_data): Likewise.
2418 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
2420         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
2421         data.
2423 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
2425         * math/libm-test.inc (ceil_test_data): Add more tests and more
2426         expectations for "inexact".
2427         (floor_test_data): Add more tests.
2428         (round_test_data): Likewise.
2429         (trunc_test_data): Likewise.
2431         * crypt/cert.c (good_bye): Convert to prototype-style function
2432         definition.
2433         (get8): Likewise.
2434         (put8): Likewise.
2435         * crypt/crypt-entry.c (crypt): Likewise.
2436         (__fcrypt): Likewise.
2437         * crypt/crypt_util.c (_ufc_prbits): Likewise.
2438         (_ufc_set_bits): Likewise.
2439         (_ufc_clearmem): Likewise.
2440         (__init_des_r): Likewise.
2441         (shuffle_sb): Likewise.
2442         (shuffle_sb): Likewise.
2443         (_ufc_setup_salt_r): Likewise.
2444         (_ufc_mk_keytab_r): Likewise.
2445         (_ufc_dofinalperm_r): Likewise.
2446         (encrypt): Likewise.
2447         (__setkey_r): Likewise.
2448         (setkey): Likewise.
2449         * crypt/md5.c (md5_init_ctx): Likewise.
2450         (md5_read_ctx): Likewise.
2451         (md5_finish_ctx): Likewise.
2452         (md5_stream): Likewise.
2453         (md5_buffer): Likewise.
2454         (md5_process_bytes): Likewise.
2455         * crypt/sha256.c (__sha256_init_ctx): Likewise.
2456         (__sha256_finish_ctx): Likewise.
2457         (__sha256_process_bytes): Likewise.
2458         * crypt/sha512.c (__sha512_init_ctx): Likewise.
2459         (__sha512_finish_ctx): Likewise.
2460         (__sha512_process_bytes): Likewise.
2461         * ctype/isctype.c (__isctype): Likewise.
2462         * debug/backtrace.c (__backtrace): Likewise.
2463         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
2464         * debug/fgets_chk.c (__fgets_chk): Likewise.
2465         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
2466         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
2467         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2468         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2469         * debug/memset_chk.c (__memset_chk): Likewise.
2470         * debug/strcat_chk.c (__strcat_chk): Likewise.
2471         * debug/strncat_chk.c (__strncat_chk): Likewise.
2472         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
2473         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
2474         * dirent/dirfd.c (dirfd): Likewise.
2475         * dirent/getdents.c (__getdirentries): Likewise.
2476         * dirent/getdents64.c (getdirentries64): Likewise.
2477         * dirent/rewinddir.c (__rewinddir): Likewise.
2478         * dirent/seekdir.c (seekdir): Likewise.
2479         * dirent/telldir.c (telldir): Likewise.
2480         * elf/sln.c (makesymlinks): Likewise.
2481         (makesymlink): Likewise.
2482         * gmon/gmon.c (__moncontrol): Likewise.
2483         (__monstartup): Likewise.
2484         (write_hist): Likewise.
2485         (write_call_graph): Likewise.
2486         (write_bb_counts): Likewise.
2487         * grp/setgroups.c (setgroups): Likewise.
2488         * inet/inet_lnaof.c (inet_lnaof): Likewise.
2489         * inet/inet_net.c (inet_network): Likewise.
2490         * inet/inet_netof.c (inet_netof): Likewise.
2491         * inet/rcmd.c (rresvport_af): Likewise.
2492         (rresvport): Likewise.
2493         * io/access.c (__access): Likewise.
2494         * io/chdir.c (__chdir): Likewise.
2495         * io/chmod.c (__chmod): Likewise.
2496         * io/chown.c (__chown): Likewise.
2497         * io/close.c (__close): Likewise.
2498         * io/creat.c (creat): Likewise.
2499         * io/creat64.c (creat64): Likewise.
2500         * io/dup.c (__dup): Likewise.
2501         * io/dup2.c (__dup2): Likewise.
2502         * io/dup3.c (__dup3): Likewise.
2503         * io/euidaccess.c (__euidaccess): Likewise.
2504         * io/faccessat.c (faccessat): Likewise.
2505         * io/fchmod.c (__fchmod): Likewise.
2506         * io/fchmodat.c (fchmodat): Likewise.
2507         * io/fchown.c (__fchown): Likewise.
2508         * io/fchownat.c (fchownat): Likewise.
2509         * io/fcntl.c (__fcntl): Likewise.
2510         * io/flock.c (__flock): Likewise.
2511         * io/fts.c (fts_load): Likewise.
2512         (fts_close): Likewise.
2513         (fts_read): Likewise.
2514         (fts_set): Likewise.
2515         (fts_children): Likewise.
2516         (fts_build): Likewise.
2517         (fts_stat): Likewise.
2518         (fts_sort): Likewise.
2519         (fts_alloc): Likewise.
2520         (fts_lfree): Likewise.
2521         (fts_palloc): Likewise.
2522         (fts_padjust): Likewise.
2523         (fts_maxarglen): Likewise.
2524         (fts_safe_changedir): Likewise.
2525         * io/getwd.c (getwd): Likewise.
2526         * io/isatty.c (__isatty): Likewise.
2527         * io/lchown.c (__lchown): Likewise.
2528         * io/link.c (__link): Likewise.
2529         * io/linkat.c (linkat): Likewise.
2530         * io/lseek.c (__libc_lseek): Likewise.
2531         * io/mkdir.c (__mkdir): Likewise.
2532         * io/mkdirat.c (mkdirat): Likewise.
2533         * io/mkfifo.c (mkfifo): Likewise.
2534         * io/mkfifoat.c (mkfifoat): Likewise.
2535         * io/open.c (__libc_open): Likewise.
2536         * io/open64.c (__libc_open64): Likewise.
2537         * io/readlink.c (__readlink): Likewise.
2538         * io/readlinkat.c (readlinkat): Likewise.
2539         * io/rmdir.c (__rmdir): Likewise.
2540         * io/symlink.c (__symlink): Likewise.
2541         * io/symlinkat.c (symlinkat): Likewise.
2542         * io/ttyname.c (ttyname): Likewise.
2543         * io/ttyname_r.c (__ttyname_r): Likewise.
2544         * io/umask.c (__umask): Likewise.
2545         * io/unlink.c (__unlink): Likewise.
2546         * io/unlinkat.c (unlinkat): Likewise.
2547         * io/utime.c (utime): Likewise.
2548         * libio/clearerr.c (clearerr): Likewise.
2549         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
2550         * libio/feof.c (_IO_feof): Likewise.
2551         * libio/feof_u.c (feof_unlocked): Likewise.
2552         * libio/ferror.c (_IO_ferror): Likewise.
2553         * libio/ferror_u.c (ferror_unlocked): Likewise.
2554         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
2555         * libio/fileno.c (__fileno): Likewise.
2556         * libio/fputc.c (fputc): Likewise.
2557         * libio/fputc_u.c (fputc_unlocked): Likewise.
2558         * libio/fputwc.c (fputwc): Likewise.
2559         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
2560         * libio/freopen.c (freopen): Likewise.
2561         * libio/freopen64.c (freopen64): Likewise.
2562         * libio/fseek.c (fseek): Likewise.
2563         * libio/fseeko.c (fseeko): Likewise.
2564         * libio/fseeko64.c (fseeko64): Likewise.
2565         * libio/ftello.c (__ftello): Likewise.
2566         * libio/ftello64.c (ftello64): Likewise.
2567         * libio/fwide.c (fwide): Likewise.
2568         * libio/genops.c (_IO_un_link): Likewise.
2569         (_IO_link_in): Likewise.
2570         (_IO_least_marker): Likewise.
2571         (_IO_switch_to_main_get_area): Likewise.
2572         (_IO_switch_to_backup_area): Likewise.
2573         (_IO_switch_to_get_mode): Likewise.
2574         (_IO_free_backup_area): Likewise.
2575         (_IO_switch_to_put_mode): Likewise.
2576         (__overflow): Likewise.
2577         (__underflow): Likewise.
2578         (__uflow): Likewise.
2579         (_IO_setb): Likewise.
2580         (_IO_doallocbuf): Likewise.
2581         (_IO_default_underflow): Likewise.
2582         (_IO_default_uflow): Likewise.
2583         (_IO_default_xsputn): Likewise.
2584         (_IO_sgetn): Likewise.
2585         (_IO_default_xsgetn): Likewise.
2586         (_IO_sync): Likewise.
2587         (_IO_default_setbuf): Likewise.
2588         (_IO_default_seekpos): Likewise.
2589         (_IO_default_doallocate): Likewise.
2590         (_IO_init): Likewise.
2591         (_IO_old_init): Likewise.
2592         (_IO_default_sync): Likewise.
2593         (_IO_default_finish): Likewise.
2594         (_IO_default_seekoff): Likewise.
2595         (_IO_sputbackc): Likewise.
2596         (_IO_sungetc): Likewise.
2597         (_IO_set_column): Likewise.
2598         (_IO_set_column): Likewise.
2599         (_IO_adjust_column): Likewise.
2600         (_IO_get_column): Likewise.
2601         (_IO_init_marker): Likewise.
2602         (_IO_remove_marker): Likewise.
2603         (_IO_marker_difference): Likewise.
2604         (_IO_marker_delta): Likewise.
2605         (_IO_seekmark): Likewise.
2606         (_IO_unsave_markers): Likewise.
2607         (_IO_nobackup_pbackfail): Likewise.
2608         (_IO_default_pbackfail): Likewise.
2609         (_IO_default_seek): Likewise.
2610         (_IO_default_stat): Likewise.
2611         (_IO_default_read): Likewise.
2612         (_IO_default_write): Likewise.
2613         (_IO_default_showmanyc): Likewise.
2614         (_IO_default_imbue): Likewise.
2615         (_IO_iter_next): Likewise.
2616         (_IO_iter_file): Likewise.
2617         * libio/getc.c (_IO_getc): Likewise.
2618         * libio/getwc.c (_IO_getwc): Likewise.
2619         * libio/iofclose.c (_IO_new_fclose): Likewise.
2620         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
2621         * libio/iofflush.c (_IO_fflush): Likewise.
2622         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
2623         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
2624         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
2625         * libio/iofgets.c (_IO_fgets): Likewise.
2626         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
2627         * libio/iofgetws.c (fgetws): Likewise.
2628         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
2629         * libio/iofopen64.c (_IO_fopen64): Likewise.
2630         * libio/iofopncook.c (_IO_cookie_read): Likewise.
2631         (_IO_cookie_write): Likewise.
2632         (_IO_cookie_seek): Likewise.
2633         (_IO_cookie_close): Likewise.
2634         (_IO_cookie_seekoff): Likewise.
2635         (_IO_old_cookie_seek): Likewise.
2636         * libio/iofputs.c (_IO_fputs): Likewise.
2637         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
2638         * libio/iofputws.c (fputws): Likewise.
2639         * libio/iofputws_u.c (fputws_unlocked): Likewise.
2640         * libio/iofread.c (_IO_fread): Likewise.
2641         * libio/iofread_u.c (__fread_unlocked): Likewise.
2642         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
2643         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
2644         * libio/ioftell.c (_IO_ftell): Likewise.
2645         * libio/iofwrite.c (_IO_fwrite): Likewise.
2646         * libio/iogetdelim.c (_IO_getdelim): Likewise.
2647         * libio/iogets.c (_IO_gets): Likewise.
2648         * libio/iopadn.c (_IO_padn): Likewise.
2649         * libio/iopopen.c (_IO_new_proc_open): Likewise.
2650         (_IO_new_popen): Likewise.
2651         (_IO_new_proc_close): Likewise.
2652         * libio/ioputs.c (_IO_puts): Likewise.
2653         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
2654         (_IO_seekoff): Likewise.
2655         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
2656         (_IO_seekpos): Likewise.
2657         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
2658         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
2659         * libio/ioungetc.c (_IO_ungetc): Likewise.
2660         * libio/ioungetwc.c (ungetwc): Likewise.
2661         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
2662         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
2663         * libio/iowpadn.c (_IO_wpadn): Likewise.
2664         * libio/libc_fatal.c (__libc_fatal): Likewise.
2665         * libio/memstream.c (__open_memstream): Likewise.
2666         (_IO_mem_sync): Likewise.
2667         (_IO_mem_finish): Likewise.
2668         * libio/oldfileops.c (_IO_old_file_init): Likewise.
2669         (_IO_old_file_close_it): Likewise.
2670         (_IO_old_file_finish): Likewise.
2671         (_IO_old_file_fopen): Likewise.
2672         (_IO_old_file_attach): Likewise.
2673         (_IO_old_file_setbuf): Likewise.
2674         (_IO_old_do_write): Likewise.
2675         (old_do_write): Likewise.
2676         (_IO_old_file_underflow): Likewise.
2677         (_IO_old_file_overflow): Likewise.
2678         (_IO_old_file_sync): Likewise.
2679         (_IO_old_file_seekoff): Likewise.
2680         (_IO_old_file_write): Likewise.
2681         (_IO_old_file_xsputn): Likewise.
2682         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
2683         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
2684         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
2685         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
2686         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2687         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
2688         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
2689         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
2690         (_IO_old_popen): Likewise.
2691         (_IO_old_proc_close): Likewise.
2692         * libio/oldpclose.c (__old_pclose): Likewise.
2693         * libio/pclose.c (__new_pclose): Likewise.
2694         * libio/peekc.c (_IO_peekc_locked): Likewise.
2695         * libio/putc.c (_IO_putc): Likewise.
2696         * libio/putc_u.c (putc_unlocked): Likewise.
2697         * libio/putchar.c (putchar): Likewise.
2698         * libio/putchar_u.c (putchar_unlocked): Likewise.
2699         * libio/putwc.c (putwc): Likewise.
2700         * libio/putwc_u.c (putwc_unlocked): Likewise.
2701         * libio/putwchar.c (putwchar): Likewise.
2702         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
2703         * libio/rewind.c (rewind): Likewise.
2704         * libio/setbuf.c (setbuf): Likewise.
2705         * libio/setlinebuf.c (setlinebuf): Likewise.
2706         * libio/vasprintf.c (_IO_vasprintf): Likewise.
2707         * libio/vscanf.c (_IO_vscanf): Likewise.
2708         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
2709         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
2710         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
2711         * libio/wgenops.c (_IO_least_wmarker): Likewise.
2712         (_IO_switch_to_main_wget_area): Likewise.
2713         (_IO_switch_to_wbackup_area): Likewise.
2714         (_IO_wsetb): Likewise.
2715         (_IO_wdefault_pbackfail): Likewise.
2716         (_IO_wdefault_finish): Likewise.
2717         (_IO_wdefault_uflow): Likewise.
2718         (__woverflow): Likewise.
2719         (__wuflow): Likewise.
2720         (__wunderflow): Likewise.
2721         (_IO_wdefault_xsputn): Likewise.
2722         (_IO_wdefault_xsgetn): Likewise.
2723         (_IO_wdoallocbuf): Likewise.
2724         (_IO_wdefault_doallocate): Likewise.
2725         (_IO_switch_to_wget_mode): Likewise.
2726         (_IO_free_wbackup_area): Likewise.
2727         (_IO_switch_to_wput_mode): Likewise.
2728         (_IO_sputbackwc): Likewise.
2729         (_IO_sungetwc): Likewise.
2730         (_IO_adjust_wcolumn): Likewise.
2731         (_IO_init_wmarker): Likewise.
2732         (_IO_wmarker_delta): Likewise.
2733         (_IO_seekwmark): Likewise.
2734         (_IO_unsave_wmarkers): Likewise.
2735         * libio/wmemstream.c (open_wmemstream): Likewise.
2736         (_IO_wmem_sync): Likewise.
2737         (_IO_wmem_finish): Likewise.
2738         * locale/nl_langinfo.c (nl_langinfo): Likewise.
2739         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
2740         * locale/programs/simple-hash.c (init_hash): Likewise.
2741         (delete_hash): Likewise.
2742         (insert_entry): Likewise.
2743         (set_entry): Likewise.
2744         (next_prime): Likewise.
2745         (is_prime): Likewise.
2746         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
2747         (xmalloc): Likewise.
2748         (xrealloc): Likewise.
2749         * locale/programs/xstrdup.c (xstrdup): Likewise.
2750         * localedata/collate-test.c (xstrcoll): Likewise.
2751         * localedata/xfrm-test.c (xstrcmp): Likewise.
2752         * login/getlogin_r.c (__getlogin_r): Likewise.
2753         * login/getpt.c (__posix_openpt): Likewise.
2754         * login/login_tty.c (login_tty): Likewise.
2755         * login/setlogin.c (setlogin): Likewise.
2756         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
2757         (mach_msg_destroy_port): Likewise.
2758         (mach_msg_destroy_memory): Likewise.
2759         * malloc/mcheck.c (flood): Likewise.
2760         * misc/acct.c (acct): Likewise.
2761         * misc/brk.c (__brk): Likewise.
2762         * misc/chflags.c (chflags): Likewise.
2763         * misc/chroot.c (chroot): Likewise.
2764         * misc/fchflags.c (fchflags): Likewise.
2765         * misc/fstab.c (getfsspec): Likewise.
2766         (getfsfile): Likewise.
2767         * misc/fsync.c (fsync): Likewise.
2768         * misc/ftruncate.c (__ftruncate): Likewise.
2769         * misc/ftruncate64.c (__ftruncate64): Likewise.
2770         * misc/getdomain.c (getdomainname): Likewise.
2771         (getdomainname): Likewise.
2772         * misc/gethostname.c (__gethostname): Likewise.
2773         * misc/getpass.c (getpass): Likewise.
2774         * misc/getttyent.c (skip): Likewise.
2775         (value): Likewise.
2776         * misc/gtty.c (gtty): Likewise.
2777         * misc/hsearch.c (hsearch): Likewise.
2778         (hcreate): Likewise.
2779         * misc/hsearch_r.c (__hcreate_r): Likewise.
2780         (__hdestroy_r): Likewise.
2781         * misc/ioctl.c (__ioctl): Likewise.
2782         * misc/mkdtemp.c (mkdtemp): Likewise.
2783         * misc/mkostemp.c (mkostemp): Likewise.
2784         * misc/mkostemp64.c (mkostemp64): Likewise.
2785         * misc/mkostemps.c (mkostemps): Likewise.
2786         * misc/mkostemps64.c (mkostemps64): Likewise.
2787         * misc/mkstemp.c (mkstemp): Likewise.
2788         * misc/mkstemp64.c (mkstemp64): Likewise.
2789         * misc/mkstemps.c (mkstemps): Likewise.
2790         * misc/mkstemps64.c (mkstemps64): Likewise.
2791         * misc/mktemp.c (__mktemp): Likewise.
2792         * misc/preadv.c (preadv): Likewise.
2793         * misc/preadv64.c (preadv64): Likewise.
2794         * misc/pwritev.c (pwritev): Likewise.
2795         * misc/pwritev64.c (pwritev64): Likewise.
2796         * misc/readv.c (__readv): Likewise.
2797         * misc/revoke.c (revoke): Likewise.
2798         * misc/setdomain.c (setdomainname): Likewise.
2799         * misc/setegid.c (setegid): Likewise.
2800         * misc/seteuid.c (seteuid): Likewise.
2801         * misc/sethostid.c (sethostid): Likewise.
2802         * misc/sethostname.c (sethostname): Likewise.
2803         * misc/setregid.c (__setregid): Likewise.
2804         * misc/setreuid.c (__setreuid): Likewise.
2805         * misc/sstk.c (sstk): Likewise.
2806         * misc/stty.c (stty): Likewise.
2807         * misc/syscall.c (syscall): Likewise.
2808         * misc/syslog.c (setlogmask): Likewise.
2809         * misc/truncate.c (__truncate): Likewise.
2810         * misc/truncate64.c (truncate64): Likewise.
2811         * misc/ualarm.c (ualarm): Likewise.
2812         * misc/usleep.c (usleep): Likewise.
2813         * misc/ustat.c (ustat): Likewise.
2814         * misc/writev.c (__writev): Likewise.
2815         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
2816         * nptl/old_pthread_cond_broadcast.c
2817         (__pthread_cond_broadcast_2_0): Likewise.
2818         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
2819         Likewise.
2820         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
2821         Likewise.
2822         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
2823         Likewise.
2824         * nptl/pt-raise.c (raise): Likewise.
2825         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
2826         Likewise.
2827         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
2828         * nptl/pthread_barrierattr_destroy.c
2829         (pthread_barrierattr_destroy): Likewise.
2830         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
2831         Likewise.
2832         * nptl/pthread_barrierattr_setpshared.c
2833         (pthread_barrierattr_setpshared): Likewise.
2834         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
2835         Likewise.
2836         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
2837         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
2838         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
2839         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
2840         Likewise.
2841         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
2842         Likewise.
2843         * nptl/pthread_condattr_getpshared.c
2844         (pthread_condattr_getpshared): Likewise.
2845         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
2846         Likewise.
2847         * nptl/pthread_condattr_setpshared.c
2848         (pthread_condattr_setpshared): Likewise.
2849         * nptl/pthread_detach.c (pthread_detach): Likewise.
2850         * nptl/pthread_equal.c (__pthread_equal): Likewise.
2851         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
2852         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
2853         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
2854         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
2855         Likewise.
2856         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
2857         Likewise.
2858         * nptl/pthread_mutex_getprioceiling.c
2859         (pthread_mutex_getprioceiling): Likewise.
2860         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
2861         Likewise.
2862         * nptl/pthread_mutexattr_getprotocol.c
2863         (pthread_mutexattr_getprotocol): Likewise.
2864         * nptl/pthread_mutexattr_getpshared.c
2865         (pthread_mutexattr_getpshared): Likewise.
2866         * nptl/pthread_mutexattr_getrobust.c
2867         (pthread_mutexattr_getrobust): Likewise.
2868         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
2869         Likewise.
2870         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
2871         Likewise.
2872         * nptl/pthread_mutexattr_setprioceiling.c
2873         (pthread_mutexattr_setprioceiling): Likewise.
2874         * nptl/pthread_mutexattr_setprotocol.c
2875         (pthread_mutexattr_setprotocol): Likewise.
2876         * nptl/pthread_mutexattr_setpshared.c
2877         (pthread_mutexattr_setpshared): Likewise.
2878         * nptl/pthread_mutexattr_setrobust.c
2879         (pthread_mutexattr_setrobust): Likewise.
2880         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
2881         Likewise.
2882         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
2883         Likewise.
2884         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
2885         Likewise.
2886         * nptl/pthread_rwlockattr_getkind_np.c
2887         (pthread_rwlockattr_getkind_np): Likewise.
2888         * nptl/pthread_rwlockattr_getpshared.c
2889         (pthread_rwlockattr_getpshared): Likewise.
2890         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
2891         Likewise.
2892         * nptl/pthread_rwlockattr_setkind_np.c
2893         (pthread_rwlockattr_setkind_np): Likewise.
2894         * nptl/pthread_rwlockattr_setpshared.c
2895         (pthread_rwlockattr_setpshared): Likewise.
2896         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
2897         Likewise.
2898         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
2899         Likewise.
2900         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
2901         Likewise.
2902         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
2903         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
2904         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
2905         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
2906         * nptl/sem_close.c (sem_close): Likewise.
2907         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
2908         * nptl/sem_init.c (__old_sem_init): Likewise.
2909         * nptl/sigaction.c (__sigaction): Likewise.
2910         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
2911         * posix/_exit.c (_exit): Likewise.
2912         * posix/alarm.c (alarm): Likewise.
2913         * posix/confstr.c (confstr): Likewise.
2914         * posix/fpathconf.c (__fpathconf): Likewise.
2915         * posix/getgroups.c (__getgroups): Likewise.
2916         * posix/getpgid.c (__getpgid): Likewise.
2917         * posix/group_member.c (__group_member): Likewise.
2918         * posix/pathconf.c (__pathconf): Likewise.
2919         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
2920         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
2921         * posix/setgid.c (__setgid): Likewise.
2922         * posix/setpgid.c (__setpgid): Likewise.
2923         * posix/setuid.c (__setuid): Likewise.
2924         * posix/sleep.c (__sleep): Likewise.
2925         * posix/sysconf.c (__sysconf): Likewise.
2926         * posix/times.c (__times): Likewise.
2927         * posix/uname.c (__uname): Likewise.
2928         * posix/waitid.c (__waitid): Likewise.
2929         * pwd/getpw.c (__getpw): Likewise.
2930         * resolv/base64.c (b64_pton): Likewise.
2931         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
2932         * resolv/gethnamaddr.c (Dprintf): Likewise.
2933         (gethostbyname): Likewise.
2934         (gethostbyname2): Likewise.
2935         (gethostbyaddr): Likewise.
2936         (_sethtent): Likewise.
2937         (_gethtbyname): Likewise.
2938         (_gethtbyname2): Likewise.
2939         (_gethtbyaddr): Likewise.
2940         (map_v4v6_address): Likewise.
2941         (map_v4v6_hostent): Likewise.
2942         (addrsort): Likewise.
2943         (ht_sethostent): Likewise.
2944         (ht_gethostbyname): Likewise.
2945         (ht_gethostbyaddr): Likewise.
2946         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
2947         (inet_net_ntop_ipv4): Likewise.
2948         * resolv/inet_neta.c (inet_neta): Likewise.
2949         * resolv/inet_ntop.c (inet_ntop): Likewise.
2950         (inet_ntop4): Likewise.
2951         (inet_ntop6): Likewise.
2952         * resolv/inet_pton.c (__inet_pton): Likewise.
2953         (inet_pton4): Likewise.
2954         (inet_pton6): Likewise.
2955         * resolv/res_debug.c (loc_aton): Likewise.
2956         (loc_ntoa): Likewise.
2957         * resource/getpriority.c (__getpriority): Likewise.
2958         * resource/getrusage.c (__getrusage): Likewise.
2959         * resource/nice.c (nice): Likewise.
2960         * resource/setpriority.c (__setpriority): Likewise.
2961         * resource/setrlimit64.c (setrlimit64): Likewise.
2962         * resource/vlimit.c (vlimit): Likewise.
2963         * resource/vtimes.c (vtimes): Likewise.
2964         * rt/aio_error.c (aio_error): Likewise.
2965         * rt/aio_return.c (aio_return): Likewise.
2966         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
2967         * signal/kill.c (__kill): Likewise.
2968         * signal/killpg.c (killpg): Likewise.
2969         * signal/raise.c (raise): Likewise.
2970         * signal/sigaction.c (__sigaction): Likewise.
2971         * signal/sigaddset.c (sigaddset): Likewise.
2972         * signal/sigaltstack.c (sigaltstack): Likewise.
2973         * signal/sigandset.c (sigandset): Likewise.
2974         * signal/sigblock.c (__sigblock): Likewise.
2975         * signal/sigdelset.c (sigdelset): Likewise.
2976         * signal/sigempty.c (sigemptyset): Likewise.
2977         * signal/sigfillset.c (sigfillset): Likewise.
2978         * signal/sighold.c (sighold): Likewise.
2979         * signal/sigignore.c (sigignore): Likewise.
2980         * signal/sigintr.c (siginterrupt): Likewise.
2981         * signal/sigisempty.c (sigisemptyset): Likewise.
2982         * signal/sigismem.c (sigismember): Likewise.
2983         * signal/signal.c (signal): Likewise.
2984         * signal/sigorset.c (sigorset): Likewise.
2985         * signal/sigpause.c (__sigpause): Likewise.
2986         * signal/sigpending.c (sigpending): Likewise.
2987         * signal/sigprocmask.c (__sigprocmask): Likewise.
2988         * signal/sigrelse.c (sigrelse): Likewise.
2989         * signal/sigreturn.c (__sigreturn): Likewise.
2990         * signal/sigset.c (sigset): Likewise.
2991         * signal/sigsetmask.c (__sigsetmask): Likewise.
2992         * signal/sigstack.c (sigstack): Likewise.
2993         * signal/sigsuspend.c (__sigsuspend): Likewise.
2994         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
2995         * signal/sysv_signal.c (__sysv_signal): Likewise.
2996         * socket/accept.c (accept): Likewise.
2997         * socket/accept4.c (__libc_accept4): Likewise.
2998         * socket/bind.c (__bind): Likewise.
2999         * socket/connect.c (__connect): Likewise.
3000         * socket/getpeername.c (getpeername): Likewise.
3001         * socket/getsockname.c (__getsockname): Likewise.
3002         * socket/getsockopt.c (getsockopt): Likewise.
3003         * socket/listen.c (__listen): Likewise.
3004         * socket/recv.c (__recv): Likewise.
3005         * socket/recvmsg.c (__recvmsg): Likewise.
3006         * socket/send.c (__send): Likewise.
3007         * socket/sendmsg.c (__sendmsg): Likewise.
3008         * socket/shutdown.c (shutdown): Likewise.
3009         * socket/sockatmark.c (sockatmark): Likewise.
3010         * socket/socket.c (__socket): Likewise.
3011         * stdio-common/ctermid.c (ctermid): Likewise.
3012         * stdio-common/cuserid.c (cuserid): Likewise.
3013         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
3014         * stdio-common/remove.c (remove): Likewise.
3015         * stdio-common/rename.c (rename): Likewise.
3016         * stdio-common/renameat.c (renameat): Likewise.
3017         * stdio-common/tempname.c (__gen_tempname): Likewise.
3018         * stdio-common/xbug.c (InitBuffer): Likewise.
3019         (AppendToBuffer): Likewise.
3020         (ReadFile): Likewise.
3021         * stdlib/a64l.c (a64l): Likewise.
3022         * stdlib/drand48_r.c (drand48_r): Likewise.
3023         * stdlib/getcontext.c (getcontext): Likewise.
3024         * stdlib/getenv.c (getenv): Likewise.
3025         * stdlib/l64a.c (l64a): Likewise.
3026         * stdlib/llabs.c (llabs): Likewise.
3027         * stdlib/lldiv.c (lldiv): Likewise.
3028         * stdlib/lrand48_r.c (lrand48_r): Likewise.
3029         * stdlib/mrand48_r.c (mrand48_r): Likewise.
3030         * stdlib/putenv.c (putenv): Likewise.
3031         * stdlib/random.c (__srandom): Likewise.
3032         (__initstate): Likewise.
3033         (__setstate): Likewise.
3034         * stdlib/random_r.c (__srandom_r): Likewise.
3035         (__setstate_r): Likewise.
3036         (__random_r): Likewise.
3037         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
3038         * stdlib/setcontext.c (setcontext): Likewise.
3039         * stdlib/setenv.c (setenv): Likewise.
3040         (unsetenv): Likewise.
3041         * stdlib/srand48.c (srand48): Likewise.
3042         * stdlib/srand48_r.c (__srand48_r): Likewise.
3043         * stdlib/swapcontext.c (swapcontext): Likewise.
3044         * stdlib/system.c (__libc_system): Likewise.
3045         * stdlib/tst-strtod.c (expand): Likewise.
3046         * stdlib/tst-strtol.c (expand): Likewise.
3047         * stdlib/tst-strtoll.c (expand): Likewise.
3048         * streams/fattach.c (fattach): Likewise.
3049         * streams/fdetach.c (fdetach): Likewise.
3050         * streams/getmsg.c (getmsg): Likewise.
3051         * streams/isastream.c (isastream): Likewise.
3052         * string/ffs.c (__ffs): Likewise.
3053         * string/ffsll.c (ffsll): Likewise.
3054         * string/memcmp.c (memcmp_common_alignment): Likewise.
3055         (memcmp_not_common_alignment): Likewise.
3056         (MEMCMP): Likewise.
3057         * string/memcpy.c (memcpy): Likewise.
3058         * string/memmove.c (MEMMOVE): Likewise.
3059         * string/memset.c (memset): Likewise.
3060         * string/rawmemchr.c (RAWMEMCHR): Likewise.
3061         * string/strchrnul.c (STRCHRNUL): Likewise.
3062         * string/strerror.c (strerror): Likewise.
3063         * string/strndup.c (__strndup): Likewise.
3064         * string/strverscmp.c (__strverscmp): Likewise.
3065         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
3066         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
3067         (clnttcp_freeres): Likewise.
3068         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
3069         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
3070         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
3071         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
3072         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
3073         (xdr_callhdr): Likewise.
3074         * sunrpc/rpcinfo.c (udpping): Likewise.
3075         (tcpping): Likewise.
3076         (pstatus): Likewise.
3077         (pmapdump): Likewise.
3078         (brdcst): Likewise.
3079         (deletereg): Likewise.
3080         (getprognum): Likewise.
3081         (getvers): Likewise.
3082         (get_inet_address): Likewise.
3083         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
3084         * sunrpc/svc_udp.c (svcudp_create): Likewise.
3085         (svcudp_stat): Likewise.
3086         (svcudp_recv): Likewise.
3087         (svcudp_reply): Likewise.
3088         (svcudp_getargs): Likewise.
3089         (svcudp_freeargs): Likewise.
3090         (svcudp_destroy): Likewise.
3091         * sunrpc/xdr.c (xdr_bytes): Likewise.
3092         (xdr_netobj): Likewise.
3093         (xdr_string): Likewise.
3094         (xdr_wrapstring): Likewise.
3095         * sunrpc/xdr_float.c (xdr_float): Likewise.
3096         (xdr_double): Likewise.
3097         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
3098         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
3099         * sysvipc/ftok.c (ftok): Likewise.
3100         * sysvipc/msgctl.c (msgctl): Likewise.
3101         * sysvipc/msgget.c (msgget): Likewise.
3102         * sysvipc/msgrcv.c (msgrcv): Likewise.
3103         * sysvipc/msgsnd.c (msgsnd): Likewise.
3104         * sysvipc/semget.c (semget): Likewise.
3105         * sysvipc/semop.c (semop): Likewise.
3106         * sysvipc/shmat.c (shmat): Likewise.
3107         * sysvipc/shmctl.c (shmctl): Likewise.
3108         * sysvipc/shmdt.c (shmdt): Likewise.
3109         * sysvipc/shmget.c (shmget): Likewise.
3110         * termios/cfmakeraw.c (cfmakeraw): Likewise.
3111         * termios/speed.c (cfgetospeed): Likewise.
3112         (cfgetispeed): Likewise.
3113         (cfsetospeed): Likewise.
3114         (cfsetispeed): Likewise.
3115         * termios/tcflow.c (tcflow): Likewise.
3116         * termios/tcflush.c (tcflush): Likewise.
3117         * termios/tcgetattr.c (__tcgetattr): Likewise.
3118         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
3119         * termios/tcgetsid.c (tcgetsid): Likewise.
3120         * termios/tcsendbrk.c (tcsendbreak): Likewise.
3121         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
3122         * time/adjtime.c (__adjtime): Likewise.
3123         * time/dysize.c (dysize): Likewise.
3124         * time/ftime.c (ftime): Likewise.
3125         * time/getitimer.c (__getitimer): Likewise.
3126         * time/gettimeofday.c (__gettimeofday): Likewise.
3127         * time/gmtime.c (__gmtime_r): Likewise.
3128         (gmtime): Likewise.
3129         * time/localtime.c (__localtime_r): Likewise.
3130         (localtime): Likewise.
3131         * time/offtime.c (__offtime): Likewise.
3132         * time/settimeofday.c (__settimeofday): Likewise.
3133         * time/stime.c (stime): Likewise.
3134         * time/strftime_l.c (tm_diff): Likewise.
3135         (iso_week_days): Likewise.
3136         * time/strptime.c (strptime): Likewise.
3137         * time/time.c (time): Likewise.
3138         * time/timespec_get.c (timespec_get): Likewise.
3139         * time/tzset.c (tzset_internal): Likewise.
3140         (compute_change): Likewise.
3141         (__tz_compute): Likewise.
3142         * wcsmbs/btowc.c (__btowc): Likewise.
3143         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
3144         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
3145         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
3146         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
3147         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
3148         * wcsmbs/wcscat.c (__wcscat): Likewise.
3149         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
3150         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
3151         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
3152         * wcsmbs/wcscspn.c (wcscspn): Likewise.
3153         * wcsmbs/wcsdup.c (wcsdup): Likewise.
3154         * wcsmbs/wcslen.c (__wcslen): Likewise.
3155         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
3156         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
3157         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
3158         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
3159         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
3160         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
3161         * wcsmbs/wcsspn.c (wcsspn): Likewise.
3162         * wcsmbs/wcsstr.c (wcsstr): Likewise.
3163         * wcsmbs/wcstok.c (wcstok): Likewise.
3164         * wcsmbs/wctob.c (wctob): Likewise.
3165         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
3166         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3167         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
3168         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
3169         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
3170         * wcsmbs/wmemset.c (__wmemset): Likewise.
3171         * wctype/wcfuncs.c (__towlower): Likewise.
3172         (__towupper): Likewise.
3174         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
3175         (lll_unlock_elision): Add adapt_count parameter.
3177 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
3179         * sysdeps/nptl/configure.ac: Do not give errors based on the
3180         results of top-level configure tests.
3181         * sysdeps/nptl/configure: Regenerated.
3183         * configure.ac (libc_cv_Bgroup): Remove configure test.
3184         * configure: Regenerated.
3185         * config.make.in (have-Bgroup): Remove variable.
3187         * configure.ac (sizeof_long_double): Remove configure test.
3188         * configure: Regenerated.
3189         * config.make.in (sizeof-long-double): Remove variable.
3191         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
3192         * configure: Regenerated.
3193         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
3194         variable.
3195         (exceptions): Likewise.
3196         * sysdeps/arm/configure: Regenerated.
3197         * config.make.in (exceptions): Remove variable.
3198         * Makeconfig (uses-callbacks): Use -fexceptions instead of
3199         $(exceptions).
3200         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
3201         (CFLAGS-vdprintf_chk.c): Likewise.
3202         (CFLAGS-printf_chk.c): Likewise.
3203         (CFLAGS-fprintf_chk.c): Likewise.
3204         (CFLAGS-vprintf_chk.c): Likewise.
3205         (CFLAGS-vfprintf_chk.c): Likewise.
3206         (CFLAGS-gets_chk.c): Likewise.
3207         (CFLAGS-fgets_chk.c): Likewise.
3208         (CFLAGS-fgets_u_chk.c): Likewise.
3209         (CFLAGS-fread_chk.c): Likewise.
3210         (CFLAGS-fread_u_chk.c): Likewise.
3211         (CFLAGS-wprintf_chk.c): Likewise.
3212         (CFLAGS-fwprintf_chk.c): Likewise.
3213         (CFLAGS-vwprintf_chk.c): Likewise.
3214         (CFLAGS-vfwprintf_chk.c): Likewise.
3215         (CFLAGS-fgetws_chk.c): Likewise.
3216         (CFLAGS-fgetws_u_chk.c): Likewise.
3217         * libio/Makefile (CFLAGS-fileops.c): Likewise.
3218         (CFLAGS-fputc.c): Likewise.
3219         (CFLAGS-fputwc.c): Likewise.
3220         (CFLAGS-freopen64.c): Likewise.
3221         (CFLAGS-freopen.c): Likewise.
3222         (CFLAGS-fseek.c): Likewise.
3223         (CFLAGS-fseeko64.c): Likewise.
3224         (CFLAGS-fseeko.c): Likewise.
3225         (CFLAGS-ftello64.c): Likewise.
3226         (CFLAGS-ftello.c): Likewise.
3227         (CFLAGS-fwide.c): Likewise.
3228         (CFLAGS-genops.c): Likewise.
3229         (CFLAGS-getc.c): Likewise.
3230         (CFLAGS-getchar.c): Likewise.
3231         (CFLAGS-getwc.c): Likewise.
3232         (CFLAGS-getwchar.c): Likewise.
3233         (CFLAGS-iofclose.c): Likewise.
3234         (CFLAGS-iofflush.c): Likewise.
3235         (CFLAGS-iofgetpos64.c): Likewise.
3236         (CFLAGS-iofgetpos.c): Likewise.
3237         (CFLAGS-iofgets.c): Likewise.
3238         (CFLAGS-iofgetws.c): Likewise.
3239         (CFLAGS-iofputs.c): Likewise.
3240         (CFLAGS-iofputws.c): Likewise.
3241         (CFLAGS-iofread.c): Likewise.
3242         (CFLAGS-iofsetpos64.c): Likewise.
3243         (CFLAGS-iofsetpos.c): Likewise.
3244         (CFLAGS-ioftell.c): Likewise.
3245         (CFLAGS-iofwrite.c): Likewise.
3246         (CFLAGS-iogetdelim.c): Likewise.
3247         (CFLAGS-iogetline.c): Likewise.
3248         (CFLAGS-iogets.c): Likewise.
3249         (CFLAGS-iogetwline.c): Likewise.
3250         (CFLAGS-ioputs.c): Likewise.
3251         (CFLAGS-ioseekoff.c): Likewise.
3252         (CFLAGS-ioseekpos.c): Likewise.
3253         (CFLAGS-iosetbuffer.c): Likewise.
3254         (CFLAGS-iosetvbuf.c): Likewise.
3255         (CFLAGS-ioungetc.c): Likewise.
3256         (CFLAGS-ioungetwc.c): Likewise.
3257         (CFLAGS-oldfileops.c): Likewise.
3258         (CFLAGS-oldiofclose.c): Likewise.
3259         (CFLAGS-oldiofgetpos64.c): Likewise.
3260         (CFLAGS-oldiofgetpos.c): Likewise.
3261         (CFLAGS-oldiofsetpos64.c): Likewise.
3262         (CFLAGS-oldiofsetpos.c): Likewise.
3263         (CFLAGS-peekc.c): Likewise.
3264         (CFLAGS-putc.c): Likewise.
3265         (CFLAGS-putchar.c): Likewise.
3266         (CFLAGS-putwc.c): Likewise.
3267         (CFLAGS-putwchar.c): Likewise.
3268         (CFLAGS-rewind.c): Likewise.
3269         (CFLAGS-wfileops.c): Likewise.
3270         (CFLAGS-wgenops.c): Likewise.
3271         (CFLAGS-oldiofopen.c): Likewise.
3272         (CFLAGS-iofopen.c): Likewise.
3273         (CFLAGS-iofopen64.c): Likewise.
3274         (CFLAGS-oldtmpfile.c): Likewise.
3275         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
3276         (CFLAGS-fprintf.c): Likewise.
3277         (CFLAGS-printf.c): Likewise.
3278         (CFLAGS-vfwprintf.c): Likewise.
3279         (CFLAGS-vfscanf.c): Likewise.
3280         (CFLAGS-vfwscanf.c): Likewise.
3281         (CFLAGS-fscanf.c): Likewise.
3282         (CFLAGS-scanf.c): Likewise.
3283         (CFLAGS-isoc99_vfscanf.c): Likewise.
3284         (CFLAGS-isoc99_vscanf.c): Likewise.
3285         (CFLAGS-isoc99_fscanf.c): Likewise.
3286         (CFLAGS-isoc99_scanf.c): Likewise.
3287         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
3288         (CFLAGS-isoc99_fwscanf.c): Likewise.
3289         (CFLAGS-isoc99_vwscanf.c): Likewise.
3290         (CFLAGS-isoc99_vfwscanf.c): Likewise.
3292         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
3293         after mkstemp64.
3294         * login/tst-utmp.c (do_prepare): Likewise.
3295         * rt/tst-aio.c (do_prepare): Likewise.
3296         * rt/tst-aio64.c (do_prepare): Likewise.
3298 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3300         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3301         (__lll_lock_elision): Remove adapt_count decrement...
3302         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3303         (__lll_trylock_elision): Likewise.
3304         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
3305         (__lll_unlock_elision): ... to here. And utilize
3306         new adapt_count parameter.
3307         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
3308         (__lll_unlock_elision): Update to include adapt_count
3309         parameter.
3310         (lll_unlock_elision): Pass pointer to adapt_count
3311         variable.
3313 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3315         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
3316         Add elision adapt_count parameter to list of arguments.
3317         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
3318         (lll_unlock_elision): Update with new parameter list
3319         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
3320         (lll_unlock_elision): Likewise
3321         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
3322         (lll_unlock_elision): Likewise
3324 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
3326         [BZ #19122]
3327         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
3328         attribute_hidden.
3330         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
3331         attribute_hidden.
3332         [IS_IN (rtld)] (__strdup): Likewise.
3333         [IS_IN (rtld)] (__strerror_r): Likewise.
3334         [IS_IN (rtld)] (__strsep_g): Likewise.
3335         [IS_IN (rtld)] (memchr): Likewise.
3336         [IS_IN (rtld)] (memcmp): Likewise.
3337         [IS_IN (rtld)] (memcpy): Likewise.
3338         [IS_IN (rtld)] (memmove): Likewise.
3339         [IS_IN (rtld)] (memset): Likewise.
3340         [IS_IN (rtld)] (rawmemchr): Likewise.
3341         [IS_IN (rtld)] (stpcpy): Likewise.
3342         [IS_IN (rtld)] (strchr): Likewise.
3343         [IS_IN (rtld)] (strcmp): Likewise.
3344         [IS_IN (rtld)] (strlen): Likewise.
3345         [IS_IN (rtld)] (strnlen): Likewise.
3346         [IS_IN (rtld)] (strsep): Likewise.
3348         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
3349         attribute_hidden.
3350         [IS_IN (rtld)] (__strtoul_internal): Likewise.
3352         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
3353         attribute_hidden.
3354         [IS_IN (rtld)] (__libc_sigaction): Likewise.
3356         * include/setjmp.h (__longjmp): Add attribute_hidden.
3357         [IS_IN (rtld)] (__sigsetjmp): Likewise.
3359         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
3360         Add attribute_hidden.
3362         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
3363         [IS_IN (rtld)] (__open): Likewise.
3364         [IS_IN (rtld)] (__fcntl): Likewise.
3366         * include/dirent.h (__opendirat): Add attribute_hidden.
3367         (__getdents): Likewise.
3368         (__getdents64): Likewise.
3369         (__alloc_dir): Likewise.
3370         [IS_IN (rtld)] (__closedir): Likewise.
3371         [IS_IN (rtld)] (__fdopendir): Likewise.
3372         [IS_IN (rtld)] (__readdir): Likewise.
3373         [IS_IN (rtld)] (__readdir64): Likewise.
3374         [IS_IN (rtld)] (__rewinddir): Likewise.
3376         * include/dlfcn.h (_dl_catch_error): Moved to ...
3377         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
3378         attribute_hidden.
3380         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
3381         (_itoa_word): Likewise.
3383         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
3384         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
3385         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
3386         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
3387         (_dl_higher_prime_number): Likewise.
3388         (_dl_debug_printf_c): Likewise.
3389         (_dl_signal_cerror): Likewise.
3390         (_dl_receive_error): Likewise.
3391         (_dl_reloc_bad_type): Likewise.
3392         (_dl_resolve_conflicts): Likewise.
3393         (_dl_check_all_versions): Likewise.
3394         (_dl_check_map_versions): Likewise.
3395         (_dl_sort_fini): Likewise.
3396         (_dl_debug_initialize): Likewise.
3397         (_dl_init_paths): Likewise.
3398         (_dl_show_auxv): Likewise.
3399         (_dl_next_ld_env_entry): Likewise.
3400         (_dl_important_hwcaps): Likewise.
3401         (_dl_load_cache_lookup): Likewise.
3402         (_dl_update_slotinfo): Likewise.
3403         (_dl_show_scope): Likewise.
3405         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
3406         attribute_hidden.
3407         (_wordcopy_fwd_dest_aligned): Likewise.
3408         (_wordcopy_bwd_aligned): Likewise.
3409         (_wordcopy_bwd_dest_aligned): Likewise.
3411         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
3412         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
3413         Likewise.
3414         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
3415         Likewise.
3416         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
3418 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
3420         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
3421         GCC 5 requirement.
3423 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
3425         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
3426         test.
3427         * sysdeps/i386/configure: Regenerated.
3428         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
3429         code unconditional.
3431         * configure.ac (libc_cv_asm_previous_directive): Remove configure
3432         test.
3433         (libc_cv_asm_popsection_directive): Likewise.
3434         * configure: Regenerated.
3435         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
3436         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
3437         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
3438         (__make_section_unallocated): Make definition unconditional.
3439         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
3440         Remove conditional definition.
3441         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
3442         (__make_section_unallocated): Likewise.
3444         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
3445         * configure: Regenerated.
3446         * config.make.in (static-libgcc): Remove variable.
3447         * Makerules (build-shlib-helper): Use -static-libgcc instead of
3448         $(static-libgcc).
3449         (build-module-helper): Likewise.
3451         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
3452         * configure: Regenerated.
3454 2015-10-15  Florian Weimer  <fweimer@redhat.com>
3456         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
3457         (struct char_buffer): New type.
3458         (char_buffer_start, char_buffer_size, char_buffer_error)
3459         (char_buffer_rewind, char_buffer_add): New functions.
3460         (ADDW): Remove macro, replaced by the char_buffer_add function.
3461         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
3462         of extend_alloca.  Make control flow more explicit.
3464 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
3466         [BZ #19137]
3467         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
3468         Add -fomit-frame-pointer.
3469         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
3471 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
3473         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
3474         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
3475         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
3476         only if !__GNUC_PREREQ (5,0).
3477         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
3478         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
3479         (INTERNAL_SYSCALL_NCS): Likewise.
3480         (LOADREGS_0): New macro for GCC 5.
3481         (ASMARGS_0): Likewise.
3482         (LOADREGS_1): Likewise.
3483         (ASMARGS_1): Likewise.
3484         (LOADREGS_2): Likewise.
3485         (ASMARGS_2): Likewise.
3486         (LOADREGS_3): Likewise.
3487         (ASMARGS_3): Likewise.
3488         (LOADREGS_4): Likewise.
3489         (ASMARGS_4): Likewise.
3490         (LOADREGS_5): Likewise.
3491         (ASMARGS_5): Likewise.
3492         (LOADREGS_6): Likewise.
3493         (ASMARGS_6): Likewise.
3495 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
3497         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
3498         -fomit-frame-pointer.
3499         (CFLAGS-mmap64.c): Likewise.
3500         (CFLAGS-semtimedop.c): Likewise.
3501         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
3502         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
3503         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3504         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
3506 2015-10-15  Florian Weimer  <fweimer@redhat.com>
3508         [BZ #18928]
3509         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
3510         _dl_pointer_guard member.
3511         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
3512         initializer.
3513         (security_init): Always set up pointer guard.
3514         (process_envvars): Do not process LD_POINTER_GUARD.
3516 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
3518         [BZ #19134]
3519         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
3520         (.LC2): Likewise.
3521         (.LC3): Likewise.
3522         (__lround): Do not add 0.5 to integer or out-of-range arguments.
3524 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3526         [BZ #19129]
3527         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
3528         r0 and r1.
3530 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
3532         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
3534 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
3536         * include/stap-probe.h: Fix macro definition formatting.
3538 2015-10-14  Florian Weimer  <fweimer@redhat.com>
3540         [BZ #19074]
3541         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
3542         load and store num_ifs.
3544 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
3546         [BZ #18822]
3547         * sysdeps/unix/sysv/linux/sched_getaffinity.c
3548         (__sched_getaffinity_new): Add libc_hidden_proto and
3549         libc_hidden_def.
3551 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
3553         [BZ #19007]
3554         * scripts/localplt.awk: Also allow GOT references.
3555         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
3556         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
3557         with "+ REL R_386_GLOB_DAT".
3558         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
3559         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
3561 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
3563         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
3564         INLINE_SYSCALL_ERROR_RETURN_VALUE.
3565         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
3566         Likewise.
3567         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
3568         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
3569         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
3570         INTERNAL_SYSCALLINTERNAL_SYSCALL and
3571         INLINE_SYSCALL_ERROR_RETURN_VALUE.
3572         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
3573         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3574         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
3575         Likewise.
3576         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3578 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
3580         [BZ #19125]
3581         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
3582         <math_private.h> and <stdint.h>.
3583         (__llround): Avoid conversions to and from long long int, and
3584         subtractions, where those might raise spurious exceptions.
3585         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
3586         <math_private.h> and <stdint.h>.
3587         (__llroundf): Avoid conversions to and from long long int, and
3588         subtractions, where those might raise spurious exceptions.
3590 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
3592         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
3593         INLINE_SYSCALL_ERROR_RETURN_VALUE.
3594         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
3595         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
3596         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3597         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3598         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
3599         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
3600         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
3601         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3602         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3603         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3604         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
3605         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3606         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3607         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
3608         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
3609         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
3610         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
3611         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
3612         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
3613         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
3614         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
3615         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
3616         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
3617         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
3618         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
3619         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
3620         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3621         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
3622         (__xstat64_conv): Likewise.
3623         (__xstat32_conv): Likewise.
3625 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
3627         * sysdeps/unix/sysv/linux/sysdep.h: New file.
3628         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
3629         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
3630         <sysdeps/unix/sysv/linux/sysdep.h>.
3631         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3632         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
3633         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
3634         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3635         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3636         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
3637         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
3638         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
3639         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
3640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3642         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3643         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3644         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3645         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
3646         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3647         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
3648         (sysdep-dl-routines): Add sysdep.
3649         [$(subdir) == nptl] (libpthread-routines): Likewise.
3650         [$(subdir) == rt] (librt-routines): Likewise.
3651         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
3652         PIC when branching to SYSCALL_ERROR_LABEL.
3653         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
3654         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
3655         <sysdeps/unix/sysv/linux/sysdep.h>.
3656         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
3657         (SYSCALL_ERROR_ERRNO): Removed.
3658         (SYSCALL_ERROR_HANDLER): Changed to empty.
3659         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
3660         (__syscall_error): New prototype.
3661         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
3662         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
3664 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
3666         [BZ #19124]
3667         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
3668         (_dl_runtime_resolve_avx512): Make it a hidden alias of
3669         _dl_runtime_resolve_avx.
3670         (_dl_runtime_profile_avx512): Make it a hidden alias of
3671         _dl_runtime_profile_avx.
3673 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
3675         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
3676         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
3677         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
3678         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
3680         [BZ #16422]
3681         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
3682         New configure test.
3683         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
3684         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
3685         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
3686         <math_private.h> and <stdint.h>.
3687         (__llrint): Avoid conversions to long long int where those might
3688         raise spurious exceptions.
3689         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
3690         <math_private.h> and <stdint.h>.
3691         (__llrintf): Avoid conversions to long long int where those might
3692         raise spurious exceptions.
3694 2015-10-12  Andreas Schwab  <schwab@suse.de>
3696         [BZ #18969]
3697         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
3698         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
3699         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
3700         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
3701         $(gen-locales).
3702         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
3703         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
3704         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
3705         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
3706         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
3707         $(gen-locales).
3708         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
3709         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
3710         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
3711         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
3712         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
3713         ($(objpfx)tst-ftell-active-handler.out)
3714         ($(objpfx)tst-ftell-append.out)
3715         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
3716         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
3717         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
3718         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
3719         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
3720         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
3721         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
3722         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
3723         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
3724         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
3725         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
3726         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
3727         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
3728         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
3729         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
3730         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
3731         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
3732         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
3733         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
3734         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
3735         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
3736         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
3737         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
3738         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
3739         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
3740         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
3741         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
3742         $(gen-locales).
3743         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
3744         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
3745         $(gen-locales).
3746         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
3747         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
3748         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
3749         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
3750         $(gen-locales).
3751         * libio/tst_wprintf2.c (main): Use explicit locale.
3752         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
3754 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3756         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
3757         __msg_sig_post.
3758         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
3760 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
3762         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3763         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3765         * sysdeps/arm/libm-test-ulps: Regenerated.
3767         [BZ #15470]
3768         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
3770         [BZ #16399]
3771         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
3772         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
3773         and <fix-fp-int-convert-overflow.h>.
3774         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
3775         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3776         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
3777         and <fix-fp-int-convert-overflow.h>.
3778         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
3779         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3780         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
3781         <fix-fp-int-convert-overflow.h>.
3782         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
3783         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3784         * sysdeps/ieee754/dbl-64/s_lround.c: Include
3785         <fix-fp-int-convert-overflow.h>.
3786         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
3787         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3788         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
3789         and <fix-fp-int-convert-overflow.h>.
3790         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
3791         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3792         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
3793         <limits.h> and <fix-fp-int-convert-overflow.h>.
3794         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
3795         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3796         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
3797         and <fix-fp-int-convert-overflow.h>.
3798         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
3799         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3800         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
3801         and <fix-fp-int-convert-overflow.h>.
3802         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
3803         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3804         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
3806 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
3808         [BZ #18589]
3809         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
3810         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
3811         $(gen-locales).
3813 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3814             Phil Blundell <pb@pbcl.net>
3816         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
3817         * nptl/tst-cancel26.c: New file.
3818         * nptl/tst-cancel27.c: Likewise.
3820 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
3822         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
3823         __ILP32__ isn't defined.
3824         (lrint): Likewise.
3825         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
3826         (lrintf): Likewise.
3827         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
3828         (lrintl): Likewise.
3829         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
3830         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
3831         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
3833 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3835         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
3836         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
3838         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
3839         file.
3840         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
3841         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
3843 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
3845         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
3846         configure test.
3847         * sysdeps/i386/configure: Regenerated.
3848         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
3849         configure test.
3850         * sysdeps/x86_64/configure: Regenerated.
3851         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
3852         Make code unconditional.
3854         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
3855         test.
3856         * sysdeps/i386/configure: Regenerated.
3857         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
3858         test.
3859         * sysdeps/x86_64/configure: Regenerated.
3860         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
3861         Make code unconditional.
3862         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
3863         Likewise.
3864         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
3865         Likewise.
3866         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3867         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
3868         code unconditional.
3869         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3870         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
3871         code unconditional.
3872         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3873         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
3874         code unconditional.
3875         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
3876         code unconditional.
3877         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3878         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
3879         code unconditional.
3880         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3881         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
3882         code unconditional.
3883         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3884         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
3885         code unconditional.
3886         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3887         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
3888         code unconditional.
3889         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3890         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
3892         [BZ #19095]
3893         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
3894         mantissa to long int before shifting left.
3896 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
3898         [BZ #19094]
3899         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
3900         <limits.h>.
3901         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3902         when result overflows but exception would not result from cast.
3903         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
3904         <limits.h>.
3905         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3906         when result overflows but exception would not result from cast.
3907         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
3908         <limits.h>.
3909         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3910         when result overflows but exception would not result from cast.
3911         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
3912         <limits.h>.
3913         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3914         when result overflows but exception would not result from cast.
3915         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
3916         <limits.h>.
3917         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3918         when result overflows but exception would not result from cast.
3919         * math/libm-test.inc (lrint_test_data): Add more tests.
3920         (llrint_test_data): Likewise.
3922 2015-10-08  Roland McGrath  <roland@hack.frob.com>
3924         [BZ #18872]
3925         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
3926         Move out from under [$(run-built-tests) = yes] conditional.
3927         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
3928         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
3930 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
3932         [BZ #18589]
3933         * string/Makefile (tests): Add bug-strcoll2.
3934         (LOCALES): Add cs_CZ.UTF-8.
3935         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
3937         [BZ #18589]
3938         * string/bug-strcoll2.c: New file.
3939         * locale/categories.def: Revert commit
3940         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
3941         * locale/langinfo.h: Likewise.
3942         * locale/localeinfo.h: Likewise.
3943         * locale/C-collate.c: Likewise.
3944         * locale/programs/ld-collate.c (collate_output): Likewise.
3945         * string/strcoll_l.c (STRDIFF): Likewise.
3946         (STRCOLL): Likewise.
3947         * wcsmbs/wcscoll_l.c: Likewise.
3949 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
3951         * math/libm-test.inc (lround_test_data): Do not expect the absence
3952         of "inexact" for some tests with non-integer arguments.
3953         (llround_test_data): Likewise.
3955         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
3956         test.
3957         (libc_cv_cc_sse2avx): Likewise.
3958         * sysdeps/i386/configure: Regenerated.
3959         * sysdeps/i386/i686/multiarch/Makefile
3960         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
3961         [$(subdir) = math].
3962         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
3963         code unconditional.
3964         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
3965         Likewise.
3966         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
3967         Likewise.
3968         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
3969         Likewise.
3970         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
3971         test.
3972         (libc_cv_cc_sse2avx): Likewise.
3973         * sysdeps/x86_64/configure: Regenerated.
3974         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
3975         unconditional.
3976         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
3977         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
3978         unconditional.
3979         (_dl_runtime_profile)
3980         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
3981         conditional code.
3982         * sysdeps/x86_64/fpu/multiarch/Makefile
3983         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
3984         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
3985         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3986         * sysdeps/x86_64/fpu/multiarch/e_exp.c
3987         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3988         * sysdeps/x86_64/fpu/multiarch/e_log.c
3989         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3990         * sysdeps/x86_64/fpu/multiarch/s_atan.c
3991         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3992         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
3993         Likewise.
3994         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
3995         Likewise.
3996         * sysdeps/x86_64/fpu/multiarch/s_sin.c
3997         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3998         * sysdeps/x86_64/fpu/multiarch/s_tan.c
3999         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4000         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
4001         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
4002         (HAVE_SSE2AVX_SUPPORT): Likewise.
4004 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
4006         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
4007         instead of #pragma optimize.
4009 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
4011         [BZ #17195]
4012         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
4013         as is similarly done in systrim and _int_free already.
4015 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4017         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
4019 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
4021         [BZ #19088]
4022         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
4023         <limits.h>.
4024         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
4025         overflows but exception would not result from cast.
4026         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
4027         and <limits.h>.
4028         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
4029         overflows but exception would not result from cast.
4030         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
4031         <limits.h>.
4032         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
4033         overflows but exception would not result from cast.
4034         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
4035         <limits.h>.
4036         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
4037         overflows but exception would not result from cast.
4038         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
4039         <limits.h>.
4040         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
4041         overflows but exception would not result from cast.
4042         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
4043         <limits.h>.
4044         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
4045         overflows but exception would not result from cast.
4046         * math/libm-test.inc (lround_test_data): Add more tests.
4047         (llround_test_data): Likewise.
4049 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
4051         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
4052         (CFLAGS-ialloc.c): Ditto.
4053         (CFLAGS-scheck.c): Ditto.
4055 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
4057         [BZ #19086]
4058         * manual/filesys.texi (Storage Allocation): Fix argument order for
4059         posix_fallocate64.
4061 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
4063         [BZ #19085]
4064         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
4065         exponent below 48 inside case for non-overflowing exponent.
4066         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
4068 2015-10-07  Florian Weimer  <fweimer@redhat.com>
4070         * iconvdata/cp737.h (from_idx): Add const.
4071         * iconvdata/cp775.h (from_idx): Likewise.
4073 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
4075         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
4076         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
4077         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
4079         [BZ #19079]
4080         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
4081         file, conditioned on [!_LP64].
4082         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
4083         [!_LP64] (__lround): Do not define as function or alias.
4084         [!_LP64] (lround): Likewise.
4085         [!_LP64] (__lroundl): Likewise.
4086         [!_LP64] (lroundl): Likewise.
4087         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
4088         macro.
4089         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
4090         Likewise.
4092 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
4094         * math/libm-test.inc (lrint_test_data): Add more tests.
4095         (llrint_test_data): Likewise.
4096         (lround_test_data): Likewise.
4097         (llround_test_data): Likewise.
4099         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
4100         (llrint_test_data): Add tests used for lrint.
4102         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
4103         test.
4104         * sysdeps/i386/configure: Regenerated.
4105         * sysdeps/i386/i686/multiarch/Makefile
4106         [$(config-cflags-sse4) = yes]: Make code unconditional.
4107         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
4108         Likewise.
4109         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
4110         Likewise.
4111         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
4112         test.
4113         * sysdeps/x86_64/configure: Regenerated.
4114         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
4115         Make code unconditional.
4116         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
4117         Likewise.
4118         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
4119         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
4121         * scripts/rpm2dynsym.sh: Remove file.
4123 2015-10-06  Florian Weimer  <fweimer@redhat.com>
4125         * configure.ac (libc_cv_cxx_thread_local): Define.
4126         * configure: Regenerate.
4127         * config.make.in (have-cxx-thread_local): Define.
4128         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
4129         (LDLIBS-tst-thread_local1): Define.
4130         (tests): Add tst-thread_local1.
4131         [have-cxx-thread_local != yes] (tests-unsupported): Add
4132         tst-thread_local1.
4133         * nptl/tst-thread_local1.cc: New file.
4135 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
4137         [BZ #19078]
4138         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
4139         (u_thres): Likewise.
4140         (__expl): Determine whether to call __kernel_standard_l based on
4141         value of result, not argument.
4143         * math/libm-test.inc (scalb_test_data): Add more expectations for
4144         the "inexact" exception.
4146         [BZ #19077]
4147         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
4148         0.0L for argument 1.0L.
4150         [BZ #19076]
4151         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
4152         constant 0.0L when computing infinite result.
4154 2015-10-06  Florian Weimer  <fweimer@redhat.com>
4156         [BZ #10432]
4157         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
4158         malloc_usable_size.
4160 2015-10-06  Florian Weimer  <fweimer@redhat.com>
4162         [BZ #19018]
4163         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
4164         Mangle function pointer before storing it.
4165         (__call_tls_dtors): Demangle function pointer before calling it.
4167 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4169         [BZ #19012]
4170         * iconv/gconv_db.c (gen_steps): Check for additional errors.
4171         Clean up on failure.
4173 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
4175         [BZ #19071]
4176         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
4177         long int variable to store possibly incremented high part of
4178         mantissa.
4179         * math/libm-test.inc (lround_test_data): Add tests used for
4180         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
4181         for tests requiring 64-bit long.  Do not condition tests on
4182         [TEST_FLOAT] unnecessarily.
4183         (llround_test_data): Add tests used for lround.  Add another
4184         expectation for the "inexact" exception.  Do not condition tests
4185         on [TEST_FLOAT] unnecessarily.
4187         [BZ #887]
4188         [BZ #19049]
4189         [BZ #19050]
4190         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
4191         * sysdeps/ieee754/dbl-64/e_log10.c: Include
4192         <fix-int-fp-convert-zero.h>.
4193         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4194         * sysdeps/ieee754/dbl-64/e_log2.c: Include
4195         <fix-int-fp-convert-zero.h>.
4196         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4197         * sysdeps/ieee754/dbl-64/s_erf.c: Include
4198         <fix-int-fp-convert-zero.h>.
4199         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4200         * sysdeps/ieee754/dbl-64/s_logb.c: Include
4201         <fix-int-fp-convert-zero.h>.
4202         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4203         * sysdeps/ieee754/flt-32/e_log10f.c: Include
4204         <fix-int-fp-convert-zero.h>.
4205         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4206         * sysdeps/ieee754/flt-32/e_log2f.c: Include
4207         <fix-int-fp-convert-zero.h>.
4208         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4209         * sysdeps/ieee754/flt-32/s_erff.c: Include
4210         <fix-int-fp-convert-zero.h>.
4211         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4212         * sysdeps/ieee754/flt-32/s_logbf.c: Include
4213         <fix-int-fp-convert-zero.h>.
4214         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4215         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
4216         <fix-int-fp-convert-zero.h>.
4217         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4218         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
4219         <fix-int-fp-convert-zero.h>.
4220         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4221         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
4222         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
4223         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
4224         file.
4225         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
4227 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
4229         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4231 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
4233         [BZ #19059]
4234         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
4235         overflowing computation.
4236         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4237         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
4238         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4239         Likewise.
4240         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4241         Likewise.
4242         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
4243         Likewise.
4244         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4245         Likewise.
4246         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4247         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4248         Likewise.
4249         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4250         Likewise.
4251         * math/libm-test.inc (nexttoward_test_data): Add more tests.
4253         * nss/rewrite_field.c (__nss_rewrite_field): Use
4254         internal_function.
4255         * nss/valid_field.c (__nss_valid_field): Likewise.
4256         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
4258 2015-10-02  Florian Weimer  <fweimer@redhat.com>
4260         [BZ #18724]
4261         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
4262         (__nss_invalid_field_characters, __nss_valid_field)
4263         (__nss_valid_list_field, __nss_rewrite_field): Declare.
4264         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
4265         tst-field.c: New file.
4266         * nss/Makefile (routines): Add valid_field, rewrite_field.
4267         (tests-static): Define unconditionally.
4268         (tests): Include tests-static.
4269         [build-static-nss] (tests-static): Use append.
4270         [build-static-nss] (tests): Remove modification.
4271         * nss/getent.c (print_group): Call putgrent.  Report error.
4272         (print_gshadow): Call putsgent.  Report error.
4273         (print_passwd): Call putpwent.  Report error.
4274         (print_shadow): Call putspent.  Report error.
4275         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
4276         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
4277         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
4278         name, password, directory, shell fields for valid syntax.  Rewrite
4279         GECOS field to match syntax.
4280         * pwd/Makefile (tests): Add tst-putpwent.
4281         * pwd/tst-putpwent.c: New file.
4282         * grp/putgrent.c (putgrent): Convert to ISO function definition.
4283         Check grName, grpasswd, gr_mem fields for valid syntax.
4284         Change loop variable i to size_t.
4285         * grp/Makefile (tests): Add tst-putgrent.
4286         * grp/tst-putgrent.c: New file.
4287         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
4288         valid syntax.
4289         * shadow/Makefile (tests): Add tst-putspent.
4290         * shadow/tst-putspent.c: New file.
4291         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
4292         sg_mem fields for valid syntax.
4293         * gshadow/Makefile (tests): Add tst-putsgent.
4294         * gshadow/tst-putsgent.c: New file.
4296 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4298         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
4299         assembly instructions.
4301 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4303         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
4304         prefix from operands.
4306 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
4308         [BZ #16347]
4309         [BZ #19046]
4310         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
4311         <libc-internal.h>.
4312         (MAXLGM): Do not use diagnostic control macros.
4313         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
4314         threshold for ldbl-128ibm.
4315         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
4316         instead of multiplying by log then subtracting.
4317         * math/auto-libm-test-in: Add more tests of lgamma.
4318         * math/auto-libm-test-out: Regenerated.
4320         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
4321         (TYPE_HEX_DIG): Likewise.
4322         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
4323         precisions when printing floating-point numbers.
4324         (check_float_internal): Likewise.
4326 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
4328         [BZ #16620]
4329         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
4330         of log (10) rounded downward to 48 bits.
4331         (log10_low): Use corresponding low part of log (10).
4333         [BZ #19032]
4334         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
4335         compute result as (x - x) / (x - x) not as 0 / 0.
4336         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4337         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
4339         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4340         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
4341         and expm1.
4342         * math/auto-libm-test-out: Regenerated.
4343         * math/libm-test.inc (acos_test_data): Add more tests.
4344         (asin_test_data): Likewise.
4345         (asinh_test_data): Likewise.
4346         (atan_test_data): Likewise.
4347         (atanh_test_data): Likewise.
4348         (atan2_test_data): Likewise.
4349         (cbrt_test_data): Likewise.
4350         (ceil_test_data): Likewise.
4351         (copysign_test_data): Likewise.
4352         (cos_test_data): Likewise.
4353         (cosh_test_data): Likewise.
4354         (erf_test_data): Likewise.
4355         (erfc_test_data): Likewise.
4356         (exp_test_data): Likewise.
4357         (exp10_test_data): Likewise.
4358         (exp2_test_data): Likewise.
4359         (expm1_test_data): Likewise.
4360         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4362 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
4364         [BZ #19006]
4365         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
4366         to ...
4367         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
4368         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
4369         to ...
4370         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
4371         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
4372         to ...
4373         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
4374         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
4375         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
4376         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
4377         to ...
4378         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
4379         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4380         Moved to ...
4381         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
4382         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4383         Moved to ...
4384         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
4385         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
4386         to ...
4387         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
4388         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4389         Moved to ...
4390         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
4391         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
4392         to ...
4393         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
4394         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
4395         Removed.
4396         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
4397         Likewise.
4398         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
4399         Likewise.
4400         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
4401         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
4402         Likewise.
4403         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4404         Likewise.
4405         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4406         Likewise.
4407         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4408         Likewise.
4409         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4410         Likewise.
4411         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
4412         Likewise.
4413         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
4414         Likewise.
4415         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
4416         Likewise.
4417         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
4418         Likewise.
4419         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
4420         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
4421         Likewise.
4422         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4423         Likewise.
4424         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4425         Likewise.
4426         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4427         Likewise.
4428         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
4429         Likewise.
4430         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4431         Replace ../i486/pthread_cond_timedwait.S with
4432         ../pthread_cond_timedwait.S.
4434 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
4436         * math/libm-test.inc (acos_test_data): Refine expectations for
4437         errno and "inexact" exceptions.
4438         (acosh_test_data): Likewise.
4439         (asin_test_data): Likewise.
4440         (asinh_test_data): Likewise.
4441         (atan_test_data): Likewise.
4442         (atanh_test_data): Likewise.
4443         (atan2_test_data): Likewise.
4444         (cbrt_test_data): Likewise.
4445         (ceil_test_data): Likewise.
4446         (copysign_test_data): Likewise.
4447         (cosh_test_data): Likewise.
4448         (erf_test_data): Likewise.
4449         (erfc_test_data): Likewise.
4450         (exp_test_data): Likewise.
4451         (exp10_test_data): Likewise.
4452         (exp2_test_data): Likewise.
4453         (expm1_test_data): Likewise.
4454         (fabs_test_data): Likewise.
4455         (floor_test_data): Likewise.
4456         (fma_test_data): Likewise.
4457         (fmax_test_data): Likewise.
4458         (fmin_test_data): Likewise.
4459         (fmod_test_data): Likewise.
4460         (fpclassify_test_data): Likewise.
4461         (frexp_test_data): Likewise.
4462         (hypot_test_data): Likewise.
4463         (ilogb_test_data): Likewise.
4464         (isgreater_test_data): Likewise.
4465         (isgreaterequal_test_data): Likewise.
4466         (isinf_test_data): Likewise.
4467         (isless_test_data): Likewise.
4468         (islessequal_test_data): Likewise.
4469         (islessgreater_test_data): Likewise.
4470         (isnan_test_data): Likewise.
4471         (isnormal_test_data): Likewise.
4472         (issignaling_test_data): Likewise.
4473         (isunordered_test_data): Likewise.
4474         (j0_test_data): Likewise.
4475         (j1_test_data): Likewise.
4476         (jn_test_data): Likewise.
4477         (lgamma_test_data): Likewise.
4478         (lrint_test_data): Likewise.
4479         (llrint_test_data): Likewise.
4480         (log_test_data): Likewise.
4481         (log10_test_data): Likewise.
4482         (log1p_test_data): Likewise.
4483         (log2_test_data): Likewise.
4484         (logb_test_data): Likewise.
4485         (lround_test_data): Likewise.
4486         (llround_test_data): Likewise.
4487         (modf_test_data): Likewise.
4488         (nearbyint_test_data): Likewise.
4489         (nextafter_test_data): Likewise.
4490         (nexttoward_test_data): Likewise.
4491         (pow_test_data): Likewise.
4492         (remainder_test_data): Likewise.
4493         (remquo_test_data): Likewise.
4494         (rint_test_data): Likewise.
4495         (round_test_data): Likewise.
4496         (signbit_test_data): Likewise.
4497         (sinh_test_data): Likewise.
4498         (sqrt_test_data): Likewise.
4499         (tanh_test_data): Likewise.
4500         (tgamma_test_data): Likewise.
4501         (trunc_test_data): Likewise.
4502         (y0_test_data): Likewise.
4503         (y1_test_data): Likewise.
4504         (yn_test_data): Likewise.
4505         (significand_test_data): Likewise.
4507 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
4509         * manual/filesys.texi (Storage Allocation): Document that
4510         posix_fallocate emulation fails when fd is open with O_WRONLY.
4512 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
4514         [BZ #19016]
4515         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
4516         allow more cases with X^2 + Y^2 >= 0.5.
4517         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
4518         normal element in sum instead of special-casing based on values of
4519         arguments.
4520         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
4521         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
4522         -1 as normal element in sum instead of special-casing based on
4523         values of arguments.
4524         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
4525         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
4526         (__x2y2m1): Update comment.
4527         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
4528         as normal element in sum instead of special-casing based on values
4529         of arguments.
4530         * math/s_clog.c (__clog): Handle more cases using log1p without
4531         hypot.
4532         * math/s_clog10.c (__clog10): Likewise.
4533         * math/s_clog10f.c (__clog10f): Likewise.
4534         * math/s_clog10l.c (__clog10l): Likewise.
4535         * math/s_clogf.c (__clogf): Likewise.
4536         * math/s_clogl.c (__clogl): Likewise.
4537         * math/auto-libm-test-in: Add more tests of clog and clog10.
4538         * math/auto-libm-test-out: Regenerated.
4539         * sysdeps/i386/fpu/libm-test-ulps: Update.
4540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4542 2015-09-28  Martin Sebor  <msebor@redhat.com>
4544         [BZ #18969]
4545         * string/Makefile (LOCALES): Define.
4546         (gen-locales.mk): Include.
4547         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
4548         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
4549         * string/tst-strxfrm2.c (do_test): Print the name of the locale
4550         on setlocale failure.
4552 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
4554         [BZ #18985]
4555         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
4556         (__strftime_internal): Likewise.
4557         * time/tst-strftime.c (do_bz18985): New test.
4558         (do_test): Call it.
4560 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
4562         [BZ #18956]
4563         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
4564         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
4565         extracting high part.
4566         * math/auto-libm-test-in: Add another test of pow.
4567         * math/auto-libm-test-out: Regenerated.
4568         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4570 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
4572         [BZ #18825]
4573         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
4574         New macro.
4575         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
4576         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
4577         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
4578         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
4579         DBL_NARROW_EVAL, reloading the PIC register as needed.
4580         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
4581         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
4582         FLT_NARROW_EVAL.  Use separate return path for case when first
4583         argument is NaN.
4584         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
4585         DEFINE_LDBL_MIN.
4586         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
4587         PIC register.
4588         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
4589         math_check_force_underflow_nonneg.
4590         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
4591         underflow for subnormal result.
4592         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
4593         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
4594         math_check_force_underflow_nonneg.
4595         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
4596         math_check_force_underflow.
4597         * sysdeps/x86_64/fpu/x86_64-math-asm.h
4598         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
4599         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
4600         DEFINE_LDBL_MIN.
4601         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
4602         * math/auto-libm-test-in: Add more tests of pow.
4603         * math/auto-libm-test-out: Regenerated.
4605 2015-09-25  Florian Weimer  <fweimer@redhat.com>
4607         * nss/bug17079.c (init_test_items): Add diagnostic for
4608         inconsistent entries.
4609         (test_buffer_size): Skip inconsistent entries.
4611 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
4613         [BZ #13304]
4614         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
4615         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
4616         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
4618         [BZ #13304]
4619         * sysdeps/microblaze/s_fma.c: New file.
4620         * sysdeps/microblaze/s_fmaf.c: Likewise.
4621         * sysdeps/microblaze/sfp-machine.h: Likewise.
4623 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
4625         [BZ #17250]
4626         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
4627         member.
4629 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
4631         [BZ #18803]
4632         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
4633         (MO): New macro.
4634         (__ieee754_hypot) [PIC]: Load PIC register.
4635         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
4636         DBL_NARROW_EVAL.
4637         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
4638         math_check_force_underflow_nonneg in case where result might be
4639         tiny.
4640         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
4641         Likewise.
4642         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4643         Likewise.
4644         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
4645         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
4646         * math/auto-libm-test-in: Add more tests of hypot.
4647         * math/auto-libm-test-out: Regenerated.
4649 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
4651         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
4653 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
4655         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
4656         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
4657         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
4658         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
4659         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
4660         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
4661         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
4663         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
4664         LOAD_PIC_REG.
4666         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
4667         (FLT_CHECK_FORCE_UFLOW): Likewise.
4668         (DBL_CHECK_FORCE_UFLOW): Likewise.
4669         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
4670         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
4671         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
4672         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
4673         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
4674         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
4675         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
4676         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
4677         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
4678         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4679         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
4680         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
4681         (flt_min): Replace with use of DEFINE_FLT_MIN.
4682         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
4683         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
4684         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4685         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
4686         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
4687         (flt_min): Replace with use of DEFINE_FLT_MIN.
4688         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
4689         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
4690         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4691         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
4692         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
4693         (flt_min): Replace with use of DEFINE_FLT_MIN.
4694         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
4695         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
4696         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
4697         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
4698         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
4699         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
4700         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
4701         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
4702         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4703         (__atan): Use DBL_CHECK_FORCE_UFLOW.
4704         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
4705         (flt_min): Replace with use of DEFINE_FLT_MIN.
4706         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
4707         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
4708         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4709         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
4710         main computation.
4711         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
4712         (flt_min): Replace with use of DEFINE_FLT_MIN.
4713         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
4714         main computation.
4715         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
4716         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4717         (MO): New macro.
4718         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
4719         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
4720         (flt_min): Replace with use of DEFINE_FLT_MIN.
4721         (MO): New macro.
4722         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
4723         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
4724         (__log1pl): Use MO.
4726         [BZ #19003]
4727         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
4728         $(config-cflags-nofma).
4730 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4732         * sysdeps/aarch64/libm-test-ulps: Regenerated.
4734 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
4736         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
4737         (TWO127): Likewise.
4739         * sysdeps/generic/math_private.h (fabs_tg): New macro.
4740         (min_of_type): Likewise.
4741         (math_check_force_underflow): Likewise.
4742         (math_check_force_underflow_nonneg): Likewise.
4743         (math_check_force_underflow_complex): Likewise.
4744         * math/e_exp2l.c (__ieee754_exp2l): Use
4745         math_check_force_underflow_nonneg.
4746         * math/k_casinh.c (__kernel_casinh): Likewise.
4747         * math/k_casinhf.c (__kernel_casinhf): Likewise.
4748         * math/k_casinhl.c (__kernel_casinhl): Likewise.
4749         * math/s_catan.c (__catan): Use
4750         math_check_force_underflow_complex.
4751         * math/s_catanf.c (__catanf): Likewise.
4752         * math/s_catanh.c (__catanh): Likewise.
4753         * math/s_catanhf.c (__catanhf): Likewise.
4754         * math/s_catanhl.c (__catanhl): Likewise.
4755         * math/s_catanl.c (__catanl): Likewise.
4756         * math/s_ccosh.c (__ccosh): Likewise.
4757         * math/s_ccoshf.c (__ccoshf): Likewise.
4758         * math/s_ccoshl.c (__ccoshl): Likewise.
4759         * math/s_cexp.c (__cexp): Likewise.
4760         * math/s_cexpf.c (__cexpf): Likewise.
4761         * math/s_cexpl.c (__cexpl): Likewise.
4762         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
4763         * math/s_clog10.c (__clog10): Likewise.
4764         * math/s_clog10f.c (__clog10f): Likewise.
4765         * math/s_clog10l.c (__clog10l): Likewise.
4766         * math/s_clogf.c (__clogf): Likewise.
4767         * math/s_clogl.c (__clogl): Likewise.
4768         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
4769         * math/s_csinf.c (__csinf): Likewise.
4770         * math/s_csinh.c (__csinh): Likewise.
4771         * math/s_csinhf.c (__csinhf): Likewise.
4772         * math/s_csinhl.c (__csinhl): Likewise.
4773         * math/s_csinl.c (__csinl): Likewise.
4774         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
4775         * math/s_csqrtf.c (__csqrtf): Likewise.
4776         * math/s_csqrtl.c (__csqrtl): Likewise.
4777         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
4778         * math/s_ctanf.c (__ctanf): Likewise.
4779         * math/s_ctanh.c (__ctanh): Likewise.
4780         * math/s_ctanhf.c (__ctanhf): Likewise.
4781         * math/s_ctanhl.c (__ctanhl): Likewise.
4782         * math/s_ctanl.c (__ctanl): Likewise.
4783         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
4784         instead of volatile.
4785         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
4786         math_check_force_underflow.
4787         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4788         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
4789         volatile when forcing underflow.
4790         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4791         math_check_force_underflow_nonneg.
4792         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
4793         Likewise.
4794         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
4795         math_check_force_underflow.
4796         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
4797         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4798         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4799         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
4800         math_check_force_underflow_nonneg.
4801         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
4802         math_check_force_underflow.
4803         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
4804         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
4805         instead of volatile.
4806         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
4807         math_check_force_underflow.
4808         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4809         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4810         math_check_force_underflow_nonneg.
4811         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
4812         math_check_force_underflow.
4813         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
4814         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4815         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
4816         math_check_force_underflow_nonneg.
4817         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
4818         Likewise.
4819         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
4820         math_check_force_underflow.
4821         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4822         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
4823         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
4824         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
4825         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
4826         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
4827         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
4828         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
4829         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4830         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
4831         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
4832         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
4833         Likewise.
4834         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
4835         math_check_force_underflow_nonneg.
4836         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
4837         Likewise.
4838         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
4839         math_check_force_underflow.
4840         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4841         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
4842         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
4843         Likewise.
4844         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
4845         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
4846         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
4847         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
4848         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
4849         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
4850         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
4851         instead of volatile.
4852         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
4853         math_check_force_underflow.
4854         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
4855         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
4856         math_check_force_underflow.
4857         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
4858         Likewise.
4859         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4860         Use math_check_force_underflow_nonneg.
4861         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
4862         math_check_force_underflow.
4863         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
4864         Likewise.
4865         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
4866         Likewise.
4867         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4868         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4869         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4870         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4871         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
4872         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4873         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
4874         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
4875         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
4876         math_check_force_underflow_nonneg.
4877         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
4878         math_check_force_underflow.
4879         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4880         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
4881         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
4882         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
4883         math_check_force_underflow_nonneg.
4884         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
4885         math_check_force_underflow.
4886         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
4887         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
4888         instead of volatile.
4889         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
4890         math_check_force_underflow.
4892         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
4893         * stdlib/strtod_l.c: Include <math_private.h>.
4894         (overflow_value): Use math_narrow_eval.
4895         (underflow_value): Likewise.
4896         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4897         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
4898         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
4899         (__ieee754_gamma_r): Likewise.
4900         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
4901         Likewise.
4902         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
4903         Likewise.
4904         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
4905         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
4906         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
4907         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
4908         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
4909         (__ieee754_gammaf_r): Likewise.
4910         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
4911         Likewise.
4912         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
4913         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
4914         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
4915         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
4916         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
4917         volatile.
4918         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
4919         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
4920         math_narrow_eval.
4921         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
4922         Likewise.
4923         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4924         Likewise.
4925         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
4926         Likewise.
4927         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
4928         volatile.
4929         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
4930         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
4931         math_narrow_eval.
4932         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4933         Likewise.
4934         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4935         Likewise.
4937 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
4939         * nptl/Versions: Remove ignored symbols.
4941 2015-09-22  Florian Weimer  <fweimer@redhat.com>
4943         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
4944         * nss/Makefile (tests): Update.
4946 2015-09-22  Florian Weimer  <fweimer@redhat.com>
4948         * nss/bug18287.c: New file.
4949         * nss/Makefile (tests): Add bug18287.
4951 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4953         * mach/Versions (__mach_host_self_): Add symbol.
4955 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4957         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
4958         vm_page_size.
4960 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4962         Really fix sysdeps/i386/fpu/s_scalbn.S build
4964         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
4965         (libc: GLIBC_2_22): Remove unused version set.
4967 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
4969         * config.make.in (enable-timezone-tools): New variable.
4970         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
4971         (enable_timezone_tools): Export to generated files.
4972         * configure: Regenerate.
4973         * INSTALL: Regenerate.
4974         * manual/install.texi (--disable-timezone-tools): Document new flag.
4975         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
4976         ifeq ($(enable-timezone-tools),yes) check.
4978 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
4980         * timezone/Makefile: Revert previous change.
4982         [BZ #18980]
4983         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
4984         (DEFINE_DBL_MIN): Likewise.
4985         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
4986         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
4987         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
4988         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
4989         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
4990         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4991         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
4992         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
4993         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
4994         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4995         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
4996         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
4997         (flt_min): Replace with use of DEFINE_FLT_MIN.
4998         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
4999         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
5000         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5001         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
5002         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
5003         (flt_min): Replace with use of DEFINE_FLT_MIN.
5004         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
5005         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
5006         (flt_min): Replace with use of DEFINE_FLT_MIN.
5007         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
5008         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
5009         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
5010         (__ieee754_hypot): Use DBL_NARROW_EVAL.
5011         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
5012         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
5013         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
5014         (__ieee754_pow): Use DBL_NARROW_EVAL.
5015         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
5016         (__ieee754_powf): Use FLT_NARROW_EVAL.
5017         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
5018         (__ieee754_expf_sse2): Convert double-precision result to single
5019         precision.
5020         * sysdeps/i386/fpu/libm-test-ulps: Update.
5022 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5024         * timezone/Makefile: Ignore unused variable errors due to private.h
5025         (time_t_min) and (time_t_max).
5026         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
5027         Likewise.
5029 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
5031         [BZ #18981]
5032         * sysdeps/i386/fpu/i386-math-asm.h: New file.
5033         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
5034         (__ieee754_scalb): Use DBL_NARROW_EVAL.
5035         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
5036         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
5037         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
5038         (__scalbn): Use DBL_NARROW_EVAL.
5039         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
5040         (__scalbnf): Use FLT_NARROW_EVAL.
5042 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5044         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
5045         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
5046         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
5047         * stdio-common/printf_fp.c (___printf_fp):
5048         Use signbit to get the sign. Use isinf macro to allow inlining.
5049         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
5050         * stdio-common/printf_size.c (__printf_size): Likewise.
5052 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
5054         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
5056 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
5058         [BZ #18980]
5059         * sysdeps/generic/math_private.h: Include <float.h>.
5060         (math_narrow_eval): New macro.
5061         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
5062         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
5063         math_narrow_eval on overflowing return value.
5064         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
5065         Likewise.
5066         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5067         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
5068         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
5069         Likewise.
5070         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
5072 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5074         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
5075         * math/Makefile: Remove isinf_ns.c.
5076         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
5077         * math/multc3.c (__multc3): Likewise.
5078         * math/s_casin.c (__casin): Likewise.
5079         * math/s_casinf.c (__casinf): Likewise.
5080         * math/s_casinl.c (__casinl): Likewise.
5081         * math/s_cproj.c (__cproj): Likewise.
5082         * math/s_cprojf.c (__cprojf): Likewise.
5083         * math/s_cprojl.c (__cprofl): Likewise.
5084         * math/s_ctan.c (__ctan): Likewise.
5085         * math/s_ctanf.c (__ctanf): Likewise.
5086         * math/s_ctanh.c (__ctanh): Likewise.
5087         * math/s_ctanhf.c (__ctanhf): Likewise.
5088         * math/s_ctanhl.c (__ctanhl): Likewise.
5089         * math/s_ctanl.c (__ctanl): Likewise.
5090         * math/w_fmod.c (__fmod): Likewise.
5091         * math/w_fmodf.c (__fmodf): Likewise.
5092         * math/w_fmodl.c (_fmodl): Likewise.
5093         * math/w_remainder.c (__remainder): Likewise.
5094         * math/w_remainderf.c (__remainderf): Likewise.
5095         * math/w_remainderl.c (__remainderl): Likewise.
5096         * math/w_scalb.c (__scalb): Likewise.
5097         * math/w_scalbf.c (__scalbf): Likewise.
5098         * math/w_scalbl.c (__scalbl): Likewise.
5099         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
5100         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
5101         with isinf.
5102         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
5103         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
5104         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
5105         __isinf_nsf with isinf.
5106         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
5107         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
5108         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
5109         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
5110         with isinf.
5111         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
5112         __isinf_nsl with isinf.
5113         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
5114         with isinf.
5115         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
5116         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
5117         __isinf_nsl with isinf.
5118         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
5119         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
5120         with isinf.
5122 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5124         * resolv/base64.c (rcsid): Remove unused static.
5125         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
5126         static.  (tqpi1): Likewise.
5127         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
5128         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
5129         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
5130         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
5131         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
5132         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
5133         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
5134         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
5135         Likewise.
5137 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
5139         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
5140         <nptl/pthreadP.h>.
5141         (_longjmp_unwind): Use __libc_ptf_call.
5142         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
5144 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
5146         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
5147         * sysdeps/arm/__longjmp.S: Likewise
5149 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5151         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
5152         Use __builtin_signbit.
5153         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
5154         Use __builtin_signbitf.
5155         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
5156         Use __builtin_signbitl.
5157         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5158         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
5160 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5162         [BZ #15367]
5163         [BZ #17441]
5165         * math/Makefile: Build test-snan.c with -fsignaling-nans.
5166         * math/math.h (fpclassify): Use __builtin_fpclassify when
5167         available.  (signbit): Use __builtin_signbit(f/l).
5168         (isfinite): Use__builtin_isfinite.  (isnormal): Use
5169         __builtin_isnormal.  (isnan): Use __builtin_isnan.
5170         (isinf): Use __builtin_isinf_sign.
5172 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5174         * benchtests/Makefile: Add bench-math-inlines, link with libm.
5175         * benchtests/bench-math-inlines.c: New benchmark.
5176         * benchtests/bench-util.h: New file.
5177         * benchtests/bench-util.c: New file.
5178         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
5180 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
5182         * elf/tst-dlmopen1.c: Define TEST_SO.
5183         (do_test): Use TEST_SO.
5185         * elf/dl-load.c: Include libc-internal.h.
5186         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
5188 2015-09-18  Vincent Bernat  <vincent@bernat.im>
5190         [BZ #17887]
5191         * time/strptime_l.c (__strptime_internal): Make %z accept
5192         [+-]HH:MM time zones.
5194 2015-09-18  Vincent Bernat  <vincent@bernat.im>
5196         [BZ #17886]
5197         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
5198         valid time zone.
5200 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
5202         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
5203         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
5204         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5205         (__ASSUME_FDATASYNC): Delete.
5207 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
5209         * conform/linknamespace.pl: Require weak undefined symbols to be
5210         in the standard namespace.
5211         (%strong_syms): Rename to %seen_syms.
5212         (%strong_seen): Rename to %seen_where.
5214 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
5216         [BZ #18970]
5217         * misc/error.c (error): Replace pthread_setcancelstate with
5218         __pthread_setcancelstate.
5219         (error_at_line): Likewise.
5220         * posix/wordexp.c (parse_comm): Likewise.
5221         * stdlib/fmtmsg.c (fmtmsg): Likewise.
5222         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
5223         (__pthread_setcancelstate): This.
5224         (pthread_setcancelstate): Add an alias.
5225         * nptl/nptl-init.c (pthread_functions): Replace
5226         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
5227         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
5228         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
5229         hidden_proto.
5230         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
5231         it with hidden_def.
5232         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
5233         (pthread_setcancelstate): Renamed to ...
5234         (__pthread_setcancelstate): This.
5235         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
5236         __libc_ptf_call with __pthread_setcancelstate.
5238 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
5239             Andreas Schwab  <schwab@suse.de>
5241         [BZ #17118]
5242         * math/s_ctan.c (__ctan): Determine sign of zero real part of
5243         result when imaginary part of argument is infinite using sine and
5244         cosine.
5245         * math/s_ctanf.c (__ctanf): Likewise.
5246         * math/s_ctanl.c (__ctanl): Likewise.
5247         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
5248         of result when real part of argument is infinite using sine and
5249         cosine.
5250         * math/s_ctanhf.c (__ctanhf): Likewise.
5251         * math/s_ctanhl.c (__ctanhl): Likewise.
5252         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
5253         (ctanh_test_data): Add more tests of ctanh.
5255 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
5257         [BZ #15384]
5258         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
5259         bit-mask as in subtraction.
5260         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
5261         Likewise.
5262         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
5263         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
5264         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
5266         [BZ #18951]
5267         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
5268         underflow exception for small results.
5269         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5270         Likewise.
5271         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5272         Likewise.
5273         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5274         Likewise.
5275         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5276         Likewise.
5277         * math/auto-libm-test-in: Add more tests of tgamma.
5278         * math/auto-libm-test-out: Regenerated.
5280 2015-09-17  Andreas Schwab  <schwab@suse.de>
5282         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
5284 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
5286         [BZ #18977]
5287         * math/bits/mathcalls.h
5288         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
5289         not declare.
5290         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
5291         Likewise.
5292         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
5293         Likewise.
5294         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
5295         Likewise.
5296         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
5297         Likewise.
5298         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
5299         Likewise.
5300         * conform/data/math.h-data
5301         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
5302         function.
5303         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
5304         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
5305         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
5306         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
5307         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
5308         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
5309         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
5310         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
5311         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
5312         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
5313         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
5315         [BZ #6803]
5316         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
5317         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
5318         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
5319         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
5320         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
5321         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
5322         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
5323         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
5324         [NO_LONG_DOUBLE] (scalbnl): Likewise.
5325         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
5326         Likewise.
5327         [NO_LONG_DOUBLE] (scalbnl): Likewise.
5328         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
5329         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
5330         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
5331         long_double_symbol calls.
5332         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
5333         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
5334         strong alias of __ldexpl.
5335         (scalbnl): Define using long_double_symbol.
5336         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
5337         Remove alias.
5338         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
5339         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
5340         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
5341         (scalbln_test_data): Add more errno expectations.
5343 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
5345         Cache the host port like we cache the task port.  This way we do not
5346         need to call the kernel just to get the port.  Furthermore, we no
5347         longer increase the reference count on every invocation of
5348         `mach_host_self'.
5350         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
5351         Protect declarations against the macro expansion.
5352         * mach/mach_init.c (__mach_host_self_): New variable.
5353         (mach_init): Initialize `__mach_host_self_'.
5354         * mach/mach_init.h (__mach_host_self_): New declaration.
5355         (__mach_host_self, mach_host_self): New macros.
5356         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
5357         Release reference.
5359 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
5361         [BZ #4404]
5362         * po/de.po: Update from Translation Project.
5364         [BZ #16415]
5365         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
5366         (__expm1l): Remove code to handle positive infinity and overflow.
5367         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
5368         variable.
5369         (__expm1l): Remove code to handle positive infinity and overflow.
5371 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
5372             Paul Pluzhnikov  <ppluzhnikov@google.com>
5374         [BZ #18872]
5375         * stdio-common/Makefile (tst-printf-bz18872): New test.
5376         (tst-printf-bz18872-mem.out): Likewise.
5377         * stdio-common/tst-printf-bz18872.sh: Generate new test.
5378         * stdio-common/vfprintf.c: Fix memory leaks.
5380 2015-09-16  Andreas Schwab  <schwab@suse.de>
5382         [BZ #17244]
5383         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
5384         Remove extra va_start/va_end calls.
5386         [BZ #17243]
5387         * posix/execl.c (execl): Add missing va_end.
5388         * posix/execle.c (execle): Likewise.
5389         * posix/execlp.c (execlp): Likewise.
5391 2015-09-15  Roland McGrath  <roland@hack.frob.com>
5393         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
5394         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
5396 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
5398         [BZ #18967]
5399         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
5400         undefine around includes of <bits/mathcalls.h>.
5401         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
5402         not declare function.
5403         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
5404         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
5405         (scalb): Likewise.
5406         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
5407         not define macro.
5408         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
5409         variable.
5410         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5411         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5412         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5414         [BZ #18857]
5415         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
5416         return non-finite argument without doing ordered comparisons on
5417         it.
5419         [BZ #16296]
5420         * math/fenv.h (fegetround): Use __attribute_pure__.
5421         * include/fenv.h (__fegetround): Likewise.
5423         [BZ #18595]
5424         * math/s_ctan.c (__ctan): Force underflow exception for results
5425         whose real or imaginary part has small absolute value.
5426         * math/s_ctanf.c (__ctanf): Likewise.
5427         * math/s_ctanh.c (__ctanh): Likewise.
5428         * math/s_ctanhf.c (__ctanhf): Likewise.
5429         * math/s_ctanhl.c (__ctanhl): Likewise.
5430         * math/s_ctanl.c (__ctanl): Likewise.
5431         * math/auto-libm-test-in: Do not allow missing underflow for ctan
5432         and ctanh.  Add more tests of ctan and ctanh.
5434         [BZ #15918]
5435         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
5436         handling of cases where one argument is an infinity.
5438         [BZ #18875]
5439         [BZ #18966]
5440         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
5441         (MO): New macro.
5442         (__ieee754_exp10): For small results, force underflow exception
5443         and remove excess range and precision from return value.
5444         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
5445         (MO): New macro.
5446         (__ieee754_exp10f): For small results, force underflow exception
5447         and remove excess range and precision from return value.
5448         * math/auto-libm-test-in: Add more tests of exp10.
5449         * math/auto-libm-test-out: Regenerated.
5451 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
5453         [BZ #18875]
5454         [BZ #18961]
5455         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
5456         (MO): New macro.
5457         (__ieee754_exp): For small results, force underflow exception and
5458         remove excess range and precision from return value.
5459         (__exp_finite): Likewise.
5460         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
5461         (MO): New macro.
5462         (__ieee754_expf): For small results, force underflow exception and
5463         remove excess range and precision from return value.
5464         (__expf_finite): Likewise.
5465         * math/auto-libm-test-in: Add more tests of exp.
5466         * math/auto-libm-test-out: Regenerated.
5468         [BZ #16521]
5469         [BZ #18875]
5470         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
5471         small results.
5472         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
5473         (MO): New macro.
5474         (__ieee754_exp2): For small results, force underflow exception and
5475         remove excess range and precision from return value.
5476         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
5477         (MO): New macro.
5478         (__ieee754_exp2f): For small results, force underflow exception
5479         and remove excess range and precision from return value.
5480         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
5481         (MO): New macro.
5482         (__ieee754_exp2l): Force underflow exception for small results.
5483         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5484         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5485         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
5486         (MO): New macro.
5487         (__ieee754_exp2l): Force underflow exception for small results.
5488         * math/auto-libm-test-in: Add more tests or exp2.
5489         * math/auto-libm-test-out: Regenerated.
5491 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
5493         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
5495         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
5496         /dev/null.
5498 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5500         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
5501         io fs process)): Drop spurious backslash.
5503 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
5505         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
5506         Use sysinfo system call instead of parsing /proc/meminfo.
5507         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
5508         Likewise.
5510 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
5512         [BZ #16985]
5513         * programs/localedef.c (main): Display argv[remaining] when
5514         output_path is NULL.
5516 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
5518         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5519         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
5520         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
5521         tanh.
5522         * math/auto-libm-test-out: Regenerated.
5523         * sysdeps/i386/fpu/libm-test-ulps: Update.
5524         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5525         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5528 2015-09-11  Roland McGrath  <roland@hack.frob.com>
5530         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
5531         Use 'override' keyword to freeze the value here, preventing
5532         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
5534 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
5536         [BZ #14912]
5537         * sysdeps/aarch64/bits/atomic.h: Move to ...
5538         * sysdeps/aarch64/atomic-machine.h: ...here.
5539         (_AARCH64_BITS_ATOMIC_H): Rename macro to
5540         _AARCH64_ATOMIC_MACHINE_H.
5541         * sysdeps/alpha/bits/atomic.h: Move to ...
5542         * sysdeps/alpha/atomic-machine.h: ...here.
5543         * sysdeps/arm/bits/atomic.h: Move to ...
5544         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
5545         * bits/atomic.h: Move to ...
5546         * sysdeps/generic/atomic-machine.h: ...here.
5547         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5548         * sysdeps/i386/bits/atomic.h: Move to ...
5549         * sysdeps/i386/atomic-machine.h: ...here.
5550         * sysdeps/ia64/bits/atomic.h: Move to ...
5551         * sysdeps/ia64/atomic-machine.h: ...here.
5552         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
5553         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
5554         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5555         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
5556         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
5557         * sysdeps/microblaze/bits/atomic.h: Move to ...
5558         * sysdeps/microblaze/atomic-machine.h: ...here.
5559         * sysdeps/mips/bits/atomic.h: Move to ...
5560         * sysdeps/mips/atomic-machine.h: ...here.
5561         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
5562         * sysdeps/powerpc/bits/atomic.h: Move to ...
5563         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
5564         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
5565         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
5566         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
5567         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
5568         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
5569         <atomic-machine.h> instead of <bits/atomic.h>.
5570         * sysdeps/s390/bits/atomic.h: Move to ...
5571         * sysdeps/s390/atomic-machine.h: ...here.
5572         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
5573         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
5574         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5575         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
5576         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
5577         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
5578         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
5579         * sysdeps/tile/bits/atomic.h: Move to ...
5580         * sysdeps/tile/atomic-machine.h: ...here.
5581         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
5582         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
5583         <sysdeps/tile/atomic-machine.h> instead of
5584         <sysdeps/tile/bits/atomic.h>.
5585         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5586         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
5587         * sysdeps/tile/tilepro/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/unix/sysv/linux/arm/bits/atomic.h: Move to ...
5592         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
5593         <sysdeps/arm/atomic-machine.h> instead of
5594         <sysdeps/arm/bits/atomic.h>.
5595         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
5596         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
5597         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5598         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
5599         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
5600         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5601         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
5602         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
5603         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
5604         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
5605         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
5606         * sysdeps/x86_64/bits/atomic.h: Move to ...
5607         * sysdeps/x86_64/atomic-machine.h: ...here.
5608         * include/atomic.h: Include <atomic-machine.h> instead of
5609         <bits/atomic.h>.
5611         * sysdeps/mips/mips32/libm-test-ulps: Update.
5612         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5614         [BZ #18952]
5615         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
5616         not convert non-integer negative arguments to int to determine the
5617         value of signgam.
5618         * math/auto-libm-test-in: Add more tests of lgamma.
5619         * math/auto-libm-test-out: Regenerated.
5621         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
5622         cosh, csqrt, erfc, expm1 and lgamma.
5623         * math/auto-libm-test-out: Regenerated.
5624         * sysdeps/i386/fpu/libm-test-ulps: Update.
5625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5627 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
5629         [BZ #2542]
5630         [BZ #2543]
5631         [BZ #2558]
5632         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
5633         __lgamma_neg for arguments from -28.0 to -2.0.
5634         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
5635         __lgamma_negf for arguments from -15.0 to -2.0.
5636         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5637         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
5638         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
5639         Call __lgamma_negl for arguments from -33.0 to -2.0.
5640         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
5641         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
5642         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
5643         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
5644         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
5645         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
5646         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
5647         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
5648         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
5649         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
5650         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
5651         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
5652         (__lgamma_neg): Likewise.
5653         (__lgamma_negl): Likewise.
5654         (__lgamma_product): Likewise.
5655         (__lgamma_productl): Likewise.
5656         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
5657         * math/auto-libm-test-in: Add more tests of lgamma.
5658         * math/auto-libm-test-out: Regenerated.
5659         * sysdeps/i386/fpu/libm-test-ulps: Update.
5660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5662 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
5664         [BZ #18675]
5665         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
5667 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
5669         [BZ #14912]
5670         * bits/libc-lock.h: Move to ...
5671         * sysdeps/generic/libc-lock.h: ...here.
5672         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
5673         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
5674         * sysdeps/mach/hurd/libc-lock.h: ...here.
5675         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
5676         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
5677         * sysdeps/mach/bits/libc-lock.h: Move to ...
5678         * sysdeps/mach/libc-lock.h: ...here.
5679         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
5680         * sysdeps/nptl/bits/libc-lock.h: Move to ...
5681         * sysdeps/nptl/libc-lock.h: ...here.
5682         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
5683         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
5684         * sysdeps/nptl/libc-lockP.h: ...here.
5685         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
5686         * crypt/crypt_util.c: Include <libc-lock.h> instead of
5687         <bits/libc-lock.h>.
5688         * dirent/scandir-tail.c: Likewise.
5689         * dlfcn/dlerror.c: Likewise.
5690         * elf/dl-close.c: Likewise.
5691         * elf/dl-iteratephdr.c: Likewise.
5692         * elf/dl-lookup.c: Likewise.
5693         * elf/dl-open.c: Likewise.
5694         * elf/dl-support.c: Likewise.
5695         * elf/dl-writev.h: Likewise.
5696         * elf/rtld.c: Likewise.
5697         * grp/fgetgrent.c: Likewise.
5698         * gshadow/fgetsgent.c: Likewise.
5699         * gshadow/sgetsgent.c: Likewise.
5700         * iconv/gconv_conf.c: Likewise.
5701         * iconv/gconv_db.c: Likewise.
5702         * iconv/gconv_dl.c: Likewise.
5703         * iconv/gconv_int.h: Likewise.
5704         * iconv/gconv_trans.c: Likewise.
5705         * include/link.h: Likewise.
5706         * inet/getnameinfo.c: Likewise.
5707         * inet/getnetgrent.c: Likewise.
5708         * inet/getnetgrent_r.c: Likewise.
5709         * intl/bindtextdom.c: Likewise.
5710         * intl/dcigettext.c: Likewise.
5711         * intl/finddomain.c: Likewise.
5712         * intl/gettextP.h: Likewise.
5713         * intl/loadmsgcat.c: Likewise.
5714         * intl/localealias.c: Likewise.
5715         * intl/textdomain.c: Likewise.
5716         * libidn/idn-stub.c: Likewise.
5717         * libio/libioP.h: Likewise.
5718         * locale/duplocale.c: Likewise.
5719         * locale/freelocale.c: Likewise.
5720         * locale/newlocale.c: Likewise.
5721         * locale/setlocale.c: Likewise.
5722         * login/getutent_r.c: Likewise.
5723         * login/getutid_r.c: Likewise.
5724         * login/getutline_r.c: Likewise.
5725         * login/utmp-private.h: Likewise.
5726         * login/utmpname.c: Likewise.
5727         * malloc/mtrace.c: Likewise.
5728         * misc/efgcvt.c: Likewise.
5729         * misc/error.c: Likewise.
5730         * misc/fstab.c: Likewise.
5731         * misc/getpass.c: Likewise.
5732         * misc/mntent.c: Likewise.
5733         * misc/syslog.c: Likewise.
5734         * nis/nis_call.c: Likewise.
5735         * nis/nis_callback.c: Likewise.
5736         * nis/nss-default.c: Likewise.
5737         * nis/nss_compat/compat-grp.c: Likewise.
5738         * nis/nss_compat/compat-initgroups.c: Likewise.
5739         * nis/nss_compat/compat-pwd.c: Likewise.
5740         * nis/nss_compat/compat-spwd.c: Likewise.
5741         * nis/nss_nis/nis-alias.c: Likewise.
5742         * nis/nss_nis/nis-ethers.c: Likewise.
5743         * nis/nss_nis/nis-grp.c: Likewise.
5744         * nis/nss_nis/nis-hosts.c: Likewise.
5745         * nis/nss_nis/nis-network.c: Likewise.
5746         * nis/nss_nis/nis-proto.c: Likewise.
5747         * nis/nss_nis/nis-pwd.c: Likewise.
5748         * nis/nss_nis/nis-rpc.c: Likewise.
5749         * nis/nss_nis/nis-service.c: Likewise.
5750         * nis/nss_nis/nis-spwd.c: Likewise.
5751         * nis/nss_nisplus/nisplus-alias.c: Likewise.
5752         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
5753         * nis/nss_nisplus/nisplus-grp.c: Likewise.
5754         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
5755         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
5756         * nis/nss_nisplus/nisplus-network.c: Likewise.
5757         * nis/nss_nisplus/nisplus-proto.c: Likewise.
5758         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
5759         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
5760         * nis/nss_nisplus/nisplus-service.c: Likewise.
5761         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
5762         * nis/ypclnt.c: Likewise.
5763         * nptl/libc_pthread_init.c: Likewise.
5764         * nss/getXXbyYY.c: Likewise.
5765         * nss/getXXent.c: Likewise.
5766         * nss/getXXent_r.c: Likewise.
5767         * nss/nss_db/db-XXX.c: Likewise.
5768         * nss/nss_db/db-netgrp.c: Likewise.
5769         * nss/nss_db/nss_db.h: Likewise.
5770         * nss/nss_files/files-XXX.c: Likewise.
5771         * nss/nss_files/files-alias.c: Likewise.
5772         * nss/nsswitch.c: Likewise.
5773         * posix/regex_internal.h: Likewise.
5774         * posix/wordexp.c: Likewise.
5775         * pwd/fgetpwent.c: Likewise.
5776         * resolv/res_hconf.c: Likewise.
5777         * resolv/res_libc.c: Likewise.
5778         * shadow/fgetspent.c: Likewise.
5779         * shadow/lckpwdf.c: Likewise.
5780         * shadow/sgetspent.c: Likewise.
5781         * socket/opensock.c: Likewise.
5782         * stdio-common/reg-modifier.c: Likewise.
5783         * stdio-common/reg-printf.c: Likewise.
5784         * stdio-common/reg-type.c: Likewise.
5785         * stdio-common/vfprintf.c: Likewise.
5786         * stdio-common/vfscanf.c: Likewise.
5787         * stdlib/abort.c: Likewise.
5788         * stdlib/cxa_atexit.c: Likewise.
5789         * stdlib/fmtmsg.c: Likewise.
5790         * stdlib/random.c: Likewise.
5791         * stdlib/setenv.c: Likewise.
5792         * string/strsignal.c: Likewise.
5793         * sunrpc/auth_none.c: Likewise.
5794         * sunrpc/bindrsvprt.c: Likewise.
5795         * sunrpc/create_xid.c: Likewise.
5796         * sunrpc/key_call.c: Likewise.
5797         * sunrpc/rpc_thread.c: Likewise.
5798         * sysdeps/arm/backtrace.c: Likewise.
5799         * sysdeps/generic/ldsodefs.h: Likewise.
5800         * sysdeps/generic/stdio-lock.h: Likewise.
5801         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
5802         * sysdeps/i386/backtrace.c: Likewise.
5803         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
5804         * sysdeps/m68k/backtrace.c: Likewise.
5805         * sysdeps/mach/hurd/cthreads.c: Likewise.
5806         * sysdeps/mach/hurd/dirstream.h: Likewise.
5807         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
5808         * sysdeps/nptl/malloc-machine.h: Likewise.
5809         * sysdeps/nptl/stdio-lock.h: Likewise.
5810         * sysdeps/posix/dirstream.h: Likewise.
5811         * sysdeps/posix/getaddrinfo.c: Likewise.
5812         * sysdeps/posix/system.c: Likewise.
5813         * sysdeps/pthread/aio_suspend.c: Likewise.
5814         * sysdeps/s390/s390-32/backtrace.c: Likewise.
5815         * sysdeps/s390/s390-64/backtrace.c: Likewise.
5816         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5817         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
5818         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
5819         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
5820         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
5821         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
5822         * sysdeps/unix/sysv/linux/system.c: Likewise.
5823         * sysdeps/x86_64/backtrace.c: Likewise.
5824         * time/alt_digit.c: Likewise.
5825         * time/era.c: Likewise.
5826         * time/tzset.c: Likewise.
5827         * wcsmbs/wcsmbsload.c: Likewise.
5828         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
5829         instead of <bits/libc-lock.h> in comment.
5831 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
5833         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
5834         Only use .set mips2 if the current ISA is below mips2.
5835         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
5836         Likewise.
5837         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
5838         mips32r2 if the current ISA is below mips32r2.
5839         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
5840         (TLS_IE): Updated to use the TLD_RDHWR macro.
5841         (TLS_LE): Likewise.
5842         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
5843         __ASSEMBLER__ condition.
5845 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5847         Fix parallel build of before-compile targets.
5849         * sysdeps/mach/Makefile ($(patsubst
5850         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
5851         mach-before-compile target.
5852         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
5853         io fs process)): Move rule to dedicated hurd-before-compile target.
5855 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5857         Fix rules generating headers in hurd/ and mach/ when initial make call
5858         has subdir= explicitly set.
5860         * sysdeps/mach/Makefile ($(patsubst
5861         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
5862         calling $(MAKE).
5863         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
5864         io fs process)): Force subdir to hurd when calling $(MAKE).
5865         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
5866         subdir to mach when calling $(MAKE).
5868 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
5870         Check sysheaders when looking for Mach and Hurd headers
5872         * sysdeps/mach/configure.ac: Add sysheaders check.
5873         * sysdeps/mach/configure: Regenerate.
5874         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
5875         * sysdeps/mach/hurd/configure: Regenerate.
5877 2015-09-04  Roland McGrath  <roland@hack.frob.com>
5879         [BZ #18921]
5880         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
5881         Fix inverted sense of test of 'o_directory_works' value.
5882         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
5883         Bernhard Voelker <mail@bernhard-voelker.de>.
5885 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
5887         [BZ #14912]
5888         * bits/linkmap.h: Move to ...
5889         * sysdeps/generic/linkmap.h: ...here.
5890         * sysdeps/aarch64/bits/linkmap.h: Move to ...
5891         * sysdeps/aarch64/linkmap.h: ...here.
5892         * sysdeps/arm/bits/linkmap.h: Move to ...
5893         * sysdeps/arm/linkmap.h: ...here.
5894         * sysdeps/hppa/bits/linkmap.h: Move to ...
5895         * sysdeps/hppa/linkmap.h: ...here.
5896         * sysdeps/ia64/bits/linkmap.h: Move to ...
5897         * sysdeps/ia64/linkmap.h: ...here.
5898         * sysdeps/mips/bits/linkmap.h: Move to ...
5899         * sysdeps/mips/linkmap.h: ...here.
5900         * sysdeps/s390/bits/linkmap.h: Move to ...
5901         * sysdeps/s390/linkmap.h: ...here.
5902         * sysdeps/sh/bits/linkmap.h: Move to ...
5903         * sysdeps/sh/linkmap.h: ...here.
5904         * sysdeps/x86/bits/linkmap.h: Move to ...
5905         * sysdeps/x86/linkmap.h: ...here.
5906         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
5908 2015-09-04  Andreas Schwab  <schwab@suse.de>
5910         [BZ #18635]
5911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
5912         (__makecontext): Terminate FDE before return label.
5913         (__novec_makecontext): Likewise.
5915 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5917         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
5918         first member of struct sv in syscall macro.
5920 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
5922         [BZ #14912]
5923         * bits/stdio-lock.h: Move to ...
5924         * sysdeps/generic/stdio-lock.h: ...here.
5925         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
5926         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
5927         * sysdeps/nptl/stdio-lock.h: ...here.
5928         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
5929         * include/libio.h: Include <stdio-lock.h> instead of
5930         <bits/stdio-lock.h>.
5931         * sysdeps/nptl/fork.c: Likewise.
5932         * sysdeps/pthread/flockfile.c: Likewise.
5933         * sysdeps/pthread/ftrylockfile.c: Likewise.
5934         * sysdeps/pthread/funlockfile.c: Likewise.
5936         [BZ #14912]
5937         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
5938         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
5939         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
5940         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
5941         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
5942         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
5943         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
5945 2015-09-03  Roland McGrath  <roland@hack.frob.com>
5947         * elf/Makefile (test-xfail-tst-protected1a): New variable.
5948         (test-xfail-tst-protected1b): New variable.
5950 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
5952         [BZ #14912]
5953         * bits/libc-tsd.h: Move to ...
5954         * sysdeps/generic/libc-tsd.h: ...here.
5955         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
5956         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
5957         * sysdeps/mach/hurd/libc-tsd.h: ...here.
5958         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
5959         * include/ctype.h: Include <libc-tsd.h> instead of
5960         <bits/libc-tsd.h>.
5961         * include/rpc/rpc.h: Likewise.
5962         * locale/localeinfo.h: Likewise.
5963         * sunrpc/rpc_thread.c: Likewise.
5964         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
5965         * sysdeps/nptl/malloc-machine.h: Likewise.
5967         * Makefile (headers): Remove bits/libc-lock.h.
5968         * libio/Makefile (headers): Remove bits/stdio-lock.h.
5970         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
5971         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
5972         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
5973         <bits/stdio-lock.h>.
5974         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
5975         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
5977 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
5979         [BZ #18757]
5980         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
5981         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
5982         BZ #18757.
5984 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
5986         * malloc/mtrace.pl: Filter out NULL entries.
5988 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
5990         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
5991         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
5992         macro.
5994         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
5995         (TCP_CC_INFO): Likewise.
5996         (TCP_SAVE_SYN): Likewise.
5997         (TCP_SAVED_SYN): Likewise.
5999 2015-08-31  Brett Neumeier <brett@neumeier.us>
6001         [BZ #18870]
6002         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
6004 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
6006         [BZ #18873]
6007         Fix broken overflow check in posix_fallocate
6008         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
6009         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
6010         Fix parenthesization typo.
6012 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
6014         [BZ #18887]
6015         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
6016         tst-mntent-blank-passno.
6017         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
6018         * misc/tst-mntent-blank-corrupt.c: New test.
6019         * misc/tst-mntent-blank-passno.c: New test ripped from ...
6020         * misc/tst-mntent.c (do_test): ... here.
6022 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
6024         [BZ #4404]
6025         * po/de.po: Fix SIGALRM typo.
6027 2015-08-28  James Perkins  <james@loowit.net>
6029         * time/tst-strptime2.c (tests): Replace short list of test
6030         strings for strptime %z specifier with code which exhaustively
6031         tests every combination of sign and 0 to 5 digits. Tests for
6032         rejection of invalid strings.
6034 2015-08-28  James Perkins  <james@loowit.net>
6036         [BZ #16141]
6037         * time/strptime_l.c (__strptime_internal): Fix %z minutes
6038         calculation, removing incorrect decimal time rounding, so that
6039         all minute values result in a valid seconds value.
6040         * time/strptime_l.c (__strptime_internal): Extend %z time zone
6041         offset range limits to UTC-99:59 through UTC+99:59 to parse
6042         current and historical use cases.
6043         * time/tst-strptime2.c (tests): Modify and add tests for the
6044         strptime %z input field descriptor, specifically conversion of
6045         minutes to seconds and validating an offset range of -9959 to
6046         +9959.
6048 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6049             Dmitry V. Levin  <ldv@altlinux.org>
6051         [BZ #18877]
6052         * posix/Makefile (tests): Add tst-mmap-offset.
6053         * posix/tst-mmap.c: New file.
6054         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
6055         offset calculation for negative values.
6057 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6059         * sysdeps/i386/init-arch.h: New file.
6060         * sysdeps/i386/i586/init-arch.h: Likewise.
6061         * sysdeps/i386/i686/init-arch.h: Likewise.
6062         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
6063         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
6064         * sysdeps/x86/cpu-features.h (bit_I586): New.
6065         (bit_I686): Likewise.
6066         (bit_CX8): Likewise.
6067         (bit_CMOV): Likewise.
6068         (index_CX8): Likewise.
6069         (index_CMOV): Likewise.
6070         (index_I586): Likewise.
6071         (index_I686): Likewise.
6072         (reg_CX8): Likewise.
6073         (reg_CMOV): Likewise.
6074         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
6075         available at compile-time.
6076         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
6077         available at compile-time.
6078         * sysdeps/x86/init-arch.h (USE_I586): New macro.
6079         (USE_I686): Likewise.
6081 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6083         * sysdeps/i386/bcopy.S: New file.
6084         * sysdeps/i386/bzero.S: Likewise.
6085         * sysdeps/i386/memcpy.S: Likewise.
6086         * sysdeps/i386/memmove.S: Likewise.
6087         * sysdeps/i386/mempcpy.S: Likewise.
6088         * sysdeps/i386/memset.S: Likewise.
6089         * sysdeps/i386/bzero.c: Removed.
6090         * sysdeps/i386/memset.c: Likewise.
6091         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
6092         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
6093         * sysdeps/i386/i586/memset_chk.S: Likewise.
6094         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
6095         * sysdeps/i386/memcpy_chk.S: Here.
6096         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
6097         * sysdeps/i386/memmove_chk.S: Here.
6098         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
6099         * sysdeps/i386/mempcpy_chk.S: Likewise.
6100         * sysdeps/i386/i686/memset_chk.S: Moved to ...
6101         * sysdeps/i386/memset_chk.S: Likewise.
6103 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
6105         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
6106         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
6107         file, move DIAG_POP_NEEDS_COMMENT to end of file.
6108         * soft-fp/fmadf4.c: Ditto.
6109         * soft-fp/fmatf4.c: Ditto.
6111 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6113         * sysdeps/i386/i586/Implies: Removed.
6114         * sysdeps/i386/i686/Implies: Likewise.
6116 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6118         * sysdeps/i386/i486/strlen.S: Moved to ...
6119         * sysdeps/i386/strlen.S: Here.
6121 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6123         * sysdeps/i386/i486/strcat.S: Moved to ...
6124         * sysdeps/i386/strcat.S: Here.
6126 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6128         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
6129         * sysdeps/i386/pthread_spin_trylock.S: Here.
6130         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
6131         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
6133 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6135         * sysdeps/i386/i486/string-inlines.c: Moved to ...
6136         * sysdeps/i386/string-inlines.c: Here.
6138 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6140         * sysdeps/i386/i486/htonl.S: Moved ...
6141         * sysdeps/i386/htonl.S: here.
6143 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6145         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
6146         * sysdeps/i386/bits/atomic.h: Here.
6148 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6150         * sysdeps/i386/i486/Versions: Removed.
6152 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
6154         [BZ #2898]
6155         * misc/mktemp.c: Add mkdtemp to the link_warning message.
6156         Based on patch by Aurelien Jarno.
6158 2015-08-26  Stan Shebs  <stanshebs@google.com>
6160         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
6161         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
6163 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6165         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
6166         * sysdeps/powerpc/dl-procinfo.c:
6167         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
6168         feature so it shows when LD_SHOW_AUXV=1.
6170 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6172         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
6173         (__arch_compare_and_exchange_val_32_acq): Remove and use common
6174         definition.  ISA 2.07B no longer requires full sync.
6176 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
6178         [BZ #18863]
6179         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
6180         (si_call_addr): Define.
6181         (si_syscall): Define.
6182         (si_arch): Define.
6184 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
6186         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
6187         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
6188         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
6189         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
6190         (__memset_zero_constant_len_parameter): New.
6191         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
6192         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
6193         (__memset_zero_constant_len_parameter): Don't define if
6194         __memset_chk or USE_AS_BZERO are defined.
6196         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
6197         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
6198         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
6200         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
6201         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
6202         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
6203         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
6204         comments.
6205         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
6206         -mno-mmx for $(all-rtld-routines).
6207         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
6208         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
6209         i386.
6211 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
6213         * sysdeps/generic/unwind.h
6214         (_Unwind_Word): Use __mode__(__unwind_word__)
6215         instead of __mode__(__word__).
6216         (_Unwind_Sword): Likewise.
6218         * sysdeps/s390/s390-64/utf8-utf16-z9.c
6219         (MAX_NEEDED_INPUT): New define.
6220         (MAX_NEEDED_OUTPUT): New define.
6222         * NEWS: New item for IBM z13 string optimizations.
6224         * sysdeps/s390/multiarch/memrchr-c.c: New File.
6225         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
6226         * sysdeps/s390/multiarch/memrchr.c: Likewise.
6227         * sysdeps/s390/multiarch/Makefile
6228         (sysdep_routines): Add memrchr functions.
6229         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6230         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
6232         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
6233         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
6234         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
6235         * sysdeps/s390/multiarch/Makefile
6236         (sysdep_routines): Add wmemcmp functions.
6237         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6238         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
6239         * benchtests/bench-wmemcmp.c: New File.
6240         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
6242         * sysdeps/s390/multiarch/wmemset-c.c: New File.
6243         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
6244         * sysdeps/s390/multiarch/wmemset.c: Likewise.
6245         * sysdeps/s390/multiarch/Makefile
6246         (sysdep_routines): Add wmemset functions.
6247         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6248         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
6249         * wcsmbs/wmemset.c: Use WMEMSET if defined.
6250         * string/test-memset.c: Add wmemset support.
6251         * wcsmbs/test-wmemset.c: New File.
6252         * wcsmbs/Makefile (strop-tests): Add wmemset.
6253         * benchtests/bench-memset.c: Add wmemset support.
6254         * benchtests/bench-wmemset.c: New File.
6255         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
6257         * sysdeps/s390/multiarch/memccpy-c.c: New File.
6258         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
6259         * sysdeps/s390/multiarch/memccpy.c: Likewise.
6260         * sysdeps/s390/multiarch/Makefile
6261         (sysdep_routines): Add memccpy functions.
6262         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6263         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
6264         * string/memccpy.c: Use MEMCCPY if defined.
6266         * sysdeps/s390/multiarch/memchr-vx.S: New File.
6267         * sysdeps/s390/multiarch/memchr.c: Likewise.
6268         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
6269         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
6270         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
6271         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
6272         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
6273         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
6274         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
6275         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
6276         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
6277         and rawmemchr functions.
6278         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6279         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
6280         and wmemchr.
6281         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
6282         * string/test-memchr.c: Add wmemchr support.
6283         * wcsmbs/test-wmemchr.c: New File.
6284         * wcsmbs/Makefile (strop-tests): Add wmemchr.
6285         * benchtests/bench-memchr.c: Add wmemchr support.
6286         * benchtests/bench-wmemchr.c: New File.
6287         * benchtests/Makefile (wcsmbs-bench): wmemchr.
6289         * sysdeps/s390/multiarch/strcspn-c.c: New File.
6290         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
6291         * sysdeps/s390/multiarch/strcspn.c: Likewise.
6292         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
6293         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
6294         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
6295         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
6296         wcscspn functions.
6297         * sysdeps/s390/multiarch/ifunc-impl-list.c
6298         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
6299         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
6300         * string/test-strcspn.c: Add wcscspn support.
6301         * wcsmbs/test-wcscspn.c: New File.
6302         * wcsmbs/Makefile (strop-tests): Add wcscspn.
6303         * benchtests/bench-strcspn.c: Add wcscspn support.
6304         * benchtests/bench-wcscspn.c: New File.
6305         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
6307         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
6308         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
6309         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
6310         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
6311         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
6312         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
6313         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
6314         wcspbrk functions.
6315         * sysdeps/s390/multiarch/ifunc-impl-list.c
6316         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
6317         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
6318         * string/test-strpbrk.c: Add wcspbrk support.
6319         * wcsmbs/test-wcspbrk.c: New File.
6320         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
6321         * benchtests/bench-strpbrk.c: Add wcspbrk support.
6322         * benchtests/bench-wcspbrk.c: New File.
6323         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
6325         * sysdeps/s390/multiarch/strspn-c.c: New File.
6326         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
6327         * sysdeps/s390/multiarch/strspn.c: Likewise.
6328         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
6329         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
6330         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
6331         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
6332         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
6333         wcsspn functions.
6334         * sysdeps/s390/multiarch/ifunc-impl-list.c
6335         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
6336         * string/test-strspn.c: Add wcsspn support.
6337         * wcsmbs/test-wcsspn.c: New File.
6338         * wcsmbs/Makefile (strop-tests): Add wcsspn.
6339         * benchtests/bench-strspn.c: Add wcsspn support.
6340         * benchtests/bench-wcsspn.c: New File.
6341         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
6343         * sysdeps/s390/multiarch/strrchr-c.c: New File.
6344         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
6345         * sysdeps/s390/multiarch/strrchr.c: Likewise.
6346         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
6347         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
6348         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
6349         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
6350         wcsrchr functions.
6351         * sysdeps/s390/multiarch/ifunc-impl-list.c
6352         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
6353         * benchtests/bench-wcsrchr.c: New File.
6354         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
6356         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
6357         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
6358         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
6359         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
6360         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
6361         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
6362         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
6363         wcschrnul functions.
6364         * sysdeps/s390/multiarch/ifunc-impl-list.c
6365         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
6366         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
6367         * string/test-strchr.c: Add wcschrnul support.
6368         * wcsmbs/test-wcschrnul.c: New File.
6369         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
6370         * benchtests/bench-strchr.c: Add wcschrnul support.
6371         * benchtests/bench-wcschrnul.c: New File.
6372         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
6374         * sysdeps/s390/multiarch/strchr-c.c: New File.
6375         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
6376         * sysdeps/s390/multiarch/strchr.c: Likewise.
6377         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
6378         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
6379         * sysdeps/s390/multiarch/wcschr.c: Likewise.
6380         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
6381         wcschr functions.
6382         * sysdeps/s390/multiarch/ifunc-impl-list.c
6383         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
6384         * string/strchr.c (STRCHR): Define and use macro.
6385         * benchtests/bench-wcschr.c: New File.
6386         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
6388         * sysdeps/s390/multiarch/strncmp-c.c: New File.
6389         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
6390         * sysdeps/s390/multiarch/strncmp.c: Likewise.
6391         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
6392         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
6393         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
6394         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
6395         wcsncmp functions.
6396         * sysdeps/s390/multiarch/ifunc-impl-list.c
6397         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
6398         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
6399         * benchtests/bench-strncmp.c: Add wcsncmp support.
6400         * benchtests/bench-wcsncmp.c: New File.
6401         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
6403         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
6404         * sysdeps/s390/multiarch/strcmp.c: Likewise.
6405         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
6406         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
6407         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
6408         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
6409         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
6410         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
6411         wcscmp functions.
6412         * sysdeps/s390/multiarch/ifunc-impl-list.c
6413         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
6414         * string/strcmp.c (STRCMP): Define and use macro.
6415         * benchtests/bench-wcscmp.c: New File.
6416         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
6417         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
6418         instead of _HAVE_STRING_ARCH_memchr.
6420         * sysdeps/s390/multiarch/strncat-c.c: New File.
6421         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
6422         * sysdeps/s390/multiarch/strncat.c: Likewise.
6423         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
6424         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
6425         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
6426         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
6427         wcsncat functions.
6428         * sysdeps/s390/multiarch/ifunc-impl-list.c
6429         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
6430         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
6431         * string/test-strncat.c: Add wcsncat support.
6432         * wcsmbs/test-wcsncat.c: New File.
6433         * wcsmbs/Makefile (strop-tests): Add wcsncat.
6434         * benchtests/bench-strncat.c: Add wcsncat support.
6435         * benchtests/bench-wcsncat.c: New File.
6436         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
6438         * sysdeps/s390/multiarch/strcat-c.c: New File.
6439         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
6440         * sysdeps/s390/multiarch/strcat.c: Likewise.
6441         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
6442         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
6443         * sysdeps/s390/multiarch/wcscat.c: Likewise.
6444         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
6445         wcscat functions.
6446         * sysdeps/s390/multiarch/ifunc-impl-list.c
6447         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
6448         * string/strcat.c (STRCAT): Define and use macro.
6449         * wcsmbs/wcscat.c: Use WCSCAT if defined.
6450         * string/test-strcat.c: Add wcscat support.
6451         * wcsmbs/test-wcscat.c: New File.
6452         * wcsmbs/Makefile (strop-tests): Add wcscat.
6453         * benchtests/bench-strcat.c: Add wcscat support.
6454         * benchtests/bench-wcscat.c: New File.
6455         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
6457         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
6458         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
6459         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
6460         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
6461         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
6462         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
6463         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
6464         wcpncpy functions.
6465         * sysdeps/s390/multiarch/ifunc-impl-list.c
6466         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
6467         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
6468         * string/test-stpncpy.c: Add wcpncpy support.
6469         * wcsmbs/test-wcpncpy.c: New File.
6470         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
6471         * benchtests/bench-stpncpy.c: Add wcpncpy support.
6472         * benchtests/bench-wcpncpy.c: New File.
6473         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
6475         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
6476         * sysdeps/s390/multiarch/strncpy.c: Likewise.
6477         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
6478         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
6479         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
6480         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
6481         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
6482         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
6483         wcsncpy functions.
6484         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
6485         * sysdeps/s390/multiarch/ifunc-impl-list.c
6486         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
6487         * string/test-strncpy.c: Add wcsncpy support.
6488         * wcsmbs/test-wcsncpy.c: New File.
6489         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
6490         * benchtests/bench-strncpy.c: Add wcsncpy support.
6491         * benchtests/bench-wcsncpy.c: New File.
6492         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
6494         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
6495         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
6496         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
6497         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
6498         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
6499         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
6500         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
6501         wcpcpy functions.
6502         * string/stpcpy.c: Use STPCPY if defined.
6503         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
6504         * sysdeps/s390/multiarch/ifunc-impl-list.c
6505         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
6506         * string/test-stpcpy.c: Add wcpcpy support.
6507         * wcsmbs/test-wcpcpy.c: New File.
6508         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
6509         * benchtests/bench-stpcpy.c: Add wcpcpy support.
6510         * benchtests/bench-wcpcpy.c: New File.
6511         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
6513         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
6514         * sysdeps/s390/multiarch/strcpy.c: Likewise.
6515         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
6516         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
6517         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
6518         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
6519         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
6520         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
6521         wcscpy functions.
6522         * sysdeps/s390/multiarch/ifunc-impl-list.c
6523         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
6524         * benchtests/bench-wcscpy.c: New File.
6525         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
6527         * sysdeps/s390/multiarch/strnlen-c.c: New File.
6528         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
6529         * sysdeps/s390/multiarch/strnlen.c: Likewise.
6530         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
6531         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
6532         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
6533         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
6534         wcsnlen functions.
6535         * sysdeps/s390/multiarch/ifunc-impl-list.c
6536         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
6537         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
6538         * string/test-strnlen.c: Add wcsnlen support.
6539         * wcsmbs/test-wcsnlen.c: New File.
6540         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
6541         * benchtests/bench-strnlen.c: Add wcsnlen support.
6542         * benchtests/bench-wcsnlen.c: New File.
6543         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
6545         * sysdeps/s390/multiarch/Makefile: New File.
6546         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
6547         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
6548         * sysdeps/s390/multiarch/strlen.c: Likewise.
6549         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
6550         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
6551         * sysdeps/s390/multiarch/wcslen.c: Likewise.
6552         * string/strlen.c (STRLEN): Define and use macro.
6553         * sysdeps/s390/multiarch/ifunc-impl-list.c
6554         (IFUNC_VX_IMPL): New macro function.
6555         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
6556         * benchtests/Makefile (wcsmbs-bench): New variable.
6557         (string-bench-all): Added wcsmbs-bench.
6558         * benchtests/bench-wcslen.c: New File.
6560         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
6561         s390_vx_libc_ifunc2): New macro function.
6563         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
6564         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
6565         assembler support.
6566         * sysdeps/s390/configure: Regenerated.
6568         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
6569         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
6571         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
6572         * sysdeps/s390/dl-procinfo.h: Add vector capability.
6573         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
6575         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
6576         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
6577         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
6578         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
6579         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
6580         (memcmp, bcmp): Use __memcmp_default as alias source.
6581         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
6582         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
6583         Rename to __memcmp_default.
6584         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
6585         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
6586         (memcpy): Use __memcpy_default as alias source.
6587         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
6588         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
6589         Rename to __memcpy_default.
6590         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
6591         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
6592         (memset): Use __memset_default as alias source.
6593         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
6594         * sysdeps/s390/s390-32/memset.S (__memset_g5):
6595         Rename to __memset_default.
6596         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
6597         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
6598         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
6599         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
6600         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
6601         (memcmp, bcmp): Use __memcmp_default as alias source.
6602         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
6603         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
6604         Rename to __memcmp_default.
6605         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
6606         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
6607         (memcpy): Use __memcpy_default as alias source.
6608         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
6609         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
6610         Rename to __memcpy_default.
6611         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
6612         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
6613         (memset): Use __memset_default as alias source.
6614         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
6615         * sysdeps/s390/s390-64/memset.S (__memset_z900):
6616         Rename to __memset_default.
6617         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
6618         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
6620         [BZ #18610]
6621         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
6622         __ieee_instruction_pointer to __unused.
6623         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
6624         __ieee_instruction_pointer.
6625         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
6626         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
6627         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
6628         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
6629         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
6630         Mark dxc-field as reserved.
6632 2015-08-25  Roland McGrath  <roland@hack.frob.com>
6634         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
6635         if the weak reference is not null.
6637 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
6639         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
6641         [BZ #11214]
6642         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
6644 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6646         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
6647         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
6648         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
6649         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
6650         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
6651         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
6652         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
6653         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
6654         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
6655         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
6656         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
6657         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
6658         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
6659         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
6660         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
6661         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
6662         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
6663         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
6665 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6667         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
6668         register other than r0 for tabort, it has special meaning.
6669         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
6670         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
6671         transaction before starting syscall.
6673 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6675         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
6677 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
6679         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
6681         * sysdeps/x86_64/rtld-memcmp.c: Removed.
6682         * sysdeps/x86_64/rtld-memset.S: Likewise.
6683         * sysdeps/x86_64/rtld-strchr.S: Likewise.
6684         * sysdeps/x86_64/rtld-strlen.S: Likewise.
6685         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
6686         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
6688         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
6690 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
6692         * debug/strcpy_chk.c: Improve performance.
6693         * debug/stpcpy_chk.c: Likewise.
6694         * sysdeps/x86_64/strcpy_chk.S: Remove.
6695         * sysdeps/x86_64/stpcpy_chk.S: Remove.
6697         [BZ #18240]
6698         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
6700 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
6702         [BZ #15128]
6703         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
6704         ifuncmain8.
6705         (modules-names): Add ifuncmod8.
6706         ($(objpfx)ifuncmain8): New rule.
6707         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
6708         <cpuid.h>.
6709         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
6710         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
6711         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
6712         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
6713         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
6714         * sysdeps/x86_64/dl-trampoline.h: Likewise.
6715         * sysdeps/x86_64/ifuncmain8.c: New file.
6716         * sysdeps/x86_64/ifuncmod8.c: Likewise.
6717         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
6718         Removed.
6719         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
6720         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
6721         Change rtld_savespace_sse to __glibc_unused2.
6722         (RTLD_CHECK_FOREIGN_CALL): Removed.
6723         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
6724         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
6725         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
6727 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
6729         * sysdeps/aarch64/bzero.S (__bzero): Remove.
6731 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
6733         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
6734         Unconditionally set __fpcr to avoid uninialized warning.
6735         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
6737 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6739         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
6740         is corrupt.
6742         * malloc/arena.c (arena_get2): Drop unused argument.
6743         (arena_lock): Adjust.
6744         (arena_get_retry): Likewise.
6746 2015-08-24  Andreas Schwab  <schwab@suse.de>
6748         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
6749         Don't define.
6750         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6751         (__ASSUME_IPC64): Don't undef.
6752         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
6753         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
6754         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
6755         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
6756         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
6757         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
6758         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
6759         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
6760         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
6761         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
6762         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
6763         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
6764         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
6765         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
6766         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
6767         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
6768         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
6769         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
6770         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
6771         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
6772         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
6774 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
6776         * manual/Makefile (install): Only build manual when perl is available.
6778 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6780         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
6781         '#undef memcpy' by '#undef memchr'.
6783 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6785         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
6786         memchr not point to the internal __GI_memchr implementation.
6788 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
6790         * timezone/Makefile (CFLAGS-zdump.c): Remove
6791         -Wno-strict-prototypes.
6792         (CFLAGS-zic.c): Likewise.
6793         (CFLAGS-ialloc.c): Likewise.
6794         (CFLAGS-scheck.c): Likewise.
6796         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
6797         -Wno-error=undef.
6799 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
6801         * i386/i686/multiarch/strcasestr-c.c: Removed.
6802         * x86_64/multiarch/strcasestr.c: Likewise.
6803         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6804         Remove strcasestr.
6806 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
6808         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
6810         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
6811         variables for high and low parts before possibly modifying them.
6813 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
6815         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
6816         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
6817         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
6818         of "multiarch/init-arch.h".
6819         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
6820         * sysdeps/x86/init-arch.h: This.
6822 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
6824         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
6825         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
6827 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
6829         [BZ #17787]
6830         * manual/macros.texi: Add twoexp macro.
6831         * manual/filesys.texi: Fix exponents.
6832         * manual/llio.texi: Likewise.
6833         * manual/stdio.texi: Likewise.
6835 2015-08-20  Florian Weimer  <fweimer@redhat.com>
6837         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
6838         incorrect use.
6840 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
6842         [BZ #18370]
6843         * math/s_csqrt.c (__csqrt): Force underflow exception for results
6844         whose real or imaginary part has small absolute value.
6845         * math/s_csqrtf.c (__csqrtf): Likewise.
6846         * math/s_csqrtl.c (__csqrtl): Likewise.
6847         * math/auto-libm-test-in: Add more tests of csqrt.
6848         * math/auto-libm-test-out: Regenerated.
6849         * sysdeps/i386/fpu/libm-test-ulps: Update.
6851 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6853         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
6854         __ppc_set_ppr_very_low): New functions.
6855         * manual/platform.texi: Add documentation about
6856         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
6858 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
6860         * string/stpncpy.c (stpncpy): Improve performance using
6861         __strnlen/memcpy/memset.
6863 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6865         [BZ #18796]
6866         * scripts/test-installation.pl: Don't add -lmvec to build options if
6867         libmvec wasn't built.
6869 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
6871         [BZ #14341]
6872         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
6873         case when there is a gap between DT_REL and DT_JMPREL sections.
6874         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
6875         (LDFLAGS-tst-split-dynreloc): New.
6876         (tst-split-dynreloc-ENV): Likewise.
6877         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
6878         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
6880 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
6882         [BZ #18822]
6883         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
6884         attribute_hidden.
6885         (__xstat64_conv): Likewise.
6886         (__xstat32_conv): Likewise.
6888 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
6890         [BZ #18822]
6891         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
6892         Don't load %ebx when calling __setcontext.  Call __setcontext
6893         with HIDDEN_JUMPTARGET.
6894         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
6895         libc_hidden_def.
6897 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
6899         * sysdeps/i386/i686/Makefile
6900         [$(subdir) == string] (sysdep_routines): Moved to ...
6901         * sysdeps/i386/Makefile: Here.
6902         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
6903         * sysdeps/i386/cacheinfo.c: Here.
6904         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
6905         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
6906         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
6907         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
6909 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
6911         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
6912         __i586__ is defined.
6913         (HAS_I686): Defined to 1 if __i686__ is defined.
6915 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
6917         * elf/Makefile [$(have-z-execstack) = yes]
6918         (CPPFLAGS-tst-execstack.c): New variable.
6920         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
6921         conditional to [defined UTMPX || _HAVE_UT_TYPE].
6922         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
6923         UTMPX || _HAVE_UT_TV].
6924         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
6925         UTMPX || _HAVE_UT_TV - 0].
6927 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
6929         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
6930         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
6931         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
6933 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6935         * sysdeps/powerpc/dl-procinfo.c:
6936         (_dl_powerpc_cap_flags): Added missing strings for some
6937         hwcap features.
6938         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
6940 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
6942         Port the 0x7efe...feff pattern to GCC 6.
6943         See Steve Ellcey's bug report in:
6944         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
6945         * string/memrchr.c (MEMRCHR):
6946         * string/rawmemchr.c (RAWMEMCHR):
6947         * string/strchr.c (strchr):
6948         * string/strchrnul.c (STRCHRNUL):
6949         Rewrite code to avoid issues with signed shift overflow.
6951 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
6953         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
6954         whether cpuid is available only if HAS_CPUID is 0.
6955         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
6956         (HAS_I586): Likewise.
6957         (HAS_I686): Likewise.
6959 2015-08-18  Zack Weinberg  <zackw@panix.com>
6961         * misc/Versions (libc): Add GLIBC_2.23.
6963 2015-08-18  Alan Modra  <amodra@gmail.com>
6965         [BZ #18421]
6966         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
6967         .Lp__global.
6968         (_start): Load %dp via .Lp__global.
6969         [!SHARED]: Use .section .rodata.
6971 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6973         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
6974         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
6976 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6978         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
6979         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
6981 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6983         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
6984         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
6986 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6988         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
6989         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
6991 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6993         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
6994         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
6996 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6998         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
6999         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
7001 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7003         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
7005 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7007         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
7008         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
7009         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7010         (__ASSUME_LWS_CAS): Delete.
7012 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7014         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
7015         * sysdeps/hppa/configure: Regenerated.
7016         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
7017         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
7018         * sysdeps/hppa/nptl/tls.h: Likewise.
7020 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
7022         [BZ #18823]
7023         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
7024         for scaling up small arguments.
7025         * math/s_csqrtf.c (__csqrtf): Likewise.
7026         * math/s_csqrtl.c (__csqrtl): Likewise.
7027         * math/auto-libm-test-in: Add more tests of csqrt.
7028         * math/auto-libm-test-out: Regenerated.
7030 2015-08-17  Andreas Schwab  <schwab@suse.de>
7032         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
7033         version set GLIBC_2.19.
7035 2015-08-16  Zack Weinberg  <zackw@panix.com>
7037         [BZ #18681]
7038         * misc/regexp.h: This interface is no longer supported.
7039         Remove all contents, leaving only an #error directive.
7040         * misc/regexp.c (loc1, loc2, locs, step, advance):
7041         Demote to compatibility symbols.
7043 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
7045         [BZ #18084]
7046         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
7047         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
7048         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
7049         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
7050         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
7051         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
7052         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
7053         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
7054         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
7056 2015-08-15  Zack Weinberg  <zackw@panix.com>
7058         [BZ #18795]
7059         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
7060         buffer length is known to be too large, not if it's known to be
7061         small enough.
7062         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
7063         overflow at runtime, involving a length parameter, twice: once
7064         with a compile-time constant length parameter, once without.
7066 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
7068         [BZ #18824]
7069         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
7070         scaling x * y up instead of down.
7071         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7072         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7073         * math/auto-libm-test-in: Add more tests of fma.
7074         * math/auto-libm-test-out: Regenerated.
7076 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
7078         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7080 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7082         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
7083         unnecessary movq.
7084         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
7085         Likewise.
7087 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
7089         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7090         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
7091         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
7092         and tgamma.
7093         * math/auto-libm-test-out: Regenerated.
7094         * sysdeps/i386/fpu/libm-test-ulps: Update.
7095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7097         [BZ #16520]
7098         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
7099         (__tanh): Force underflow exception for arguments with small
7100         absolute value.
7101         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
7102         (__tanhf): Force underflow exception for arguments with small
7103         absolute value.
7104         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
7105         (__tanhl): Force underflow exception for arguments with small
7106         absolute value.
7107         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
7108         (__tanhl): Force underflow exception for arguments with small
7109         absolute value.
7110         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
7111         (__tanhl): Force underflow exception for arguments with small
7112         absolute value.
7113         * math/auto-libm-test-in: Add more tests of tanh.
7114         * math/auto-libm-test-out: Regenerated.
7115         * sysdeps/i386/fpu/libm-test-ulps: Update.
7117 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7119         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
7120         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
7122 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7124         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
7125         <cpuid.h>.
7127 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7129         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
7130         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
7132 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7134         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
7135         Remove $(objpfx)init-arch.o.
7136         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
7137         init-arch.
7138         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
7139         (INIT_ARCH_EXT): Defined as empty.
7140         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
7141         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
7142         __init_cpu_features call.  Replace HAS_XXX with
7143         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7144         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
7145         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
7146         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
7147         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
7148         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
7149         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
7150         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
7151         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
7152         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
7153         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
7154         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
7155         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
7156         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
7157         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
7158         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
7159         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
7160         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
7161         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
7162         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
7163         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
7164         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
7165         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
7166         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
7167         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
7168         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
7169         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
7170         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
7171         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
7172         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
7173         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
7174         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
7175         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
7176         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
7177         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
7178         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
7180 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7182         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
7183         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7184         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
7185         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
7186         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
7187         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
7188         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
7189         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
7190         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
7191         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
7192         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
7193         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
7194         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7195         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7196         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7197         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7198         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7199         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7200         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7201         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7202         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7203         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7204         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7205         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7206         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7207         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7208         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7209         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7210         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7211         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7212         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7213         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7214         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7215         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7216         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7217         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7218         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7219         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7220         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7221         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7222         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7223         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7224         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7226 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7228         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
7229         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7230         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7231         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7232         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7233         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
7234         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7235         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
7236         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
7237         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7238         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7239         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
7240         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
7241         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
7242         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
7243         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
7244         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
7245         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
7246         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
7247         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
7248         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
7249         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
7250         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
7251         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7252         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7253         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
7254         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
7255         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
7256         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7257         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7258         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7259         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7260         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7261         * sysdeps/x86_64/multiarch/memset.S: Likewise.
7262         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7263         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7264         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7265         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7266         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7267         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7268         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7269         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7270         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7272 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7274         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
7275         (dl_platform_init): Call init_cpu_features.
7276         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
7277         * sysdeps/i386/i686/cacheinfo.c
7278         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
7279         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
7280         * sysdeps/i386/i686/multiarch/Versions: Removed.
7281         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
7282         Removed.
7283         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
7284         * sysdeps/unix/sysv/linux/x86/Makefile
7285         (libpthread-sysdep_routines): Remove init-arch.
7286         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
7287         <sysdeps/x86_64/dl-procinfo.c> instead of
7288         sysdeps/generic/dl-procinfo.c>.
7289         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
7290         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
7291         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
7292         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
7293         [$(subdir) == elf] (tests-static): Add
7294         tst-get-cpu-features-static.
7295         * sysdeps/x86/Versions: New file.
7296         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
7297         * sysdeps/x86/cpu-features.c: Likewise.
7298         * sysdeps/x86/cpu-features.h: Likewise.
7299         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
7300         * sysdeps/x86/libc-start.c: Likewise.
7301         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
7302         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
7303         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
7304         * sysdeps/x86_64/dl-procinfo.c: Likewise.
7305         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
7306         Assume USE_MULTIARCH is defined and don't check it.
7307         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
7308         (is_amd): Likewise.
7309         (max_cpuid): Likewise.
7310         (intel_check_word): Likewise.
7311         (__cache_sysconf): Don't call __init_cpu_features.
7312         (__x86_preferred_memory_instruction): Removed.
7313         (init_cacheinfo): Don't call __init_cpu_features. Replace
7314         __cpu_features with GLRO(dl_x86_cpu_features).
7315         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
7316         (dl_platform_init): Call init_cpu_features.
7317         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
7318         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
7319         * sysdeps/x86_64/multiarch/Versions: Removed.
7320         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
7321         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
7322         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
7323         Removed.
7324         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
7326 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
7328         [BZ #18820]
7329         * libio/Makefile (test-fmemopen-mem): New test.
7330         * libio/test-fmemopen.c (do_bz18820): New test.
7331         * libio/fmemopen.c (__fmemopen): Fix memory leak.
7332         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
7334 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
7336         [BZ #16734]
7337         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
7338         (FREE_BUF): Delete.
7339         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
7340         * libio/genops.c (_IO_setb): Use malloc and free directly.
7341         (_IO_default_doallocate, _IO_default_finish): Likewise.
7342         ( _IO_unbuffer_all): Likewise.
7343         ( libc_freeres_fn): Likewise.
7344         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7345         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
7346         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
7347         (_IO_wdefault_doallocate): Likewise.
7349 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
7351         [BZ #18086]
7352         * sysdeps/posix/nice.c (nice): Restore old errno.
7353         * posix/tst-nice.c (do_test): Add test for BZ #18086.
7355 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
7357         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
7359 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7361         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
7362         __bcopy and add a weak_alias to bcopy.
7363         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
7364         for static build.
7366         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
7367         cleanup macro usage.
7368         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
7369         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
7370         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
7371         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
7372         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
7373         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
7374         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
7375         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
7376         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
7377         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
7378         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
7379         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
7380         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
7381         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
7382         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
7383         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
7384         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
7385         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
7386         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
7388         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
7389         libc_hidden_def.
7390         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
7392         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
7393         (sysdep_routines): Add strstr-ppc64.
7394         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
7396 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
7398         [BZ #18778]
7399         * elf/Makefile (tests): Add Add tst-nodelete2.
7400         (modules-names): Add tst-nodelete2mod.
7401         (tst-nodelete2mod.so-no-z-defs): New.
7402         ($(objpfx)tst-nodelete2): Likewise.
7403         ($(objpfx)tst-nodelete2.out): Likewise.
7404         (LDFLAGS-tst-nodelete2): Likewise.
7405         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
7406         out of loop through all loaded libraries.
7407         * elf/tst-nodelete2.c: New file.
7408         * elf/tst-nodelete2mod.c: Likewise.
7409         * elf/tst-znodelete-zlib.cc: Delete.
7411 2015-08-11  Andreas Schwab  <schwab@suse.de>
7413         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
7414         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
7415         (__openat64_nocancel): Likewise.
7417 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
7419         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
7420         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
7421         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
7422         * math/auto-libm-test-out: Regenerated.
7423         * sysdeps/i386/fpu/libm-test-ulps: Update.
7424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7426 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
7428         [BZ #18790]
7429         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
7430         threshold for returning +/- 1.
7431         * math/auto-libm-test-in: Add more tests of tanh.
7432         * math/auto-libm-test-out: Regenerated.
7433         * sysdeps/i386/fpu/libm-test-ulps: Update.
7435 2015-08-10  Andreas Schwab  <schwab@suse.de>
7437         [BZ #18781]
7438         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
7439         MORE_OFLAGS to oflag.
7440         * io/test-lfs.c (do_test): Test openat64.
7442 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
7444         [BZ #18789]
7445         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
7446         smaller threshold for returning the argument.
7447         * math/auto-libm-test-in: Add more tests of sinh.
7448         * math/auto-libm-test-out: Regenerated.
7449         * sysdeps/i386/fpu/libm-test-ulps: Update.
7451 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
7453         [BZ #18674]
7454         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
7455         break.
7457 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
7459         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
7460         (generated): Don't add $(addprefix z.,$(tzfiles)).
7462 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
7464         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
7465         * scripts/sysd-rules.awk: Likewise.
7467 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
7469         * iconvdata/tst-tables.sh: Change echo -n to printf.
7470         * nss/db-Makefile: Likewise.
7471         * posix/tst-getconf.sh: Likewise.
7472         * stdio-common/tst-unbputc.sh: Likewise.
7474 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
7476         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
7477         MADV_*_PAGES defines behind this feature check.
7479 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
7481         [BZ #18480]
7482         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
7483         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
7484         Define.
7485         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
7486         LOAD_REGS_5, LOAD_REGS_6): Update.
7487         (INTERNAL_SYSCALL): Update using new LOAD defines.
7488         (INTERNAL_SYSCALL_NCS): Likewise.
7489         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
7491 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
7493         [BZ #16734]
7494         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
7496 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
7498         [BZ #17905]
7499         * catgets/Makefile (tst-catgets-mem): New test.
7500         * catgets/catgets.c (catopen): Don't use unbounded alloca.
7501         * catgets/open_catalog.c (__open_catalog): Likewise.
7502         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
7504 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
7506         [BZ #18787]
7507         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
7508         clobber registers.
7509         (atomic_compare_and_exchange_val_acq): Use register asms to assign
7510         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
7511         Cast return to __typeof (oldval).
7513 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
7515         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
7516         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
7517         and delete sys/syscall.h include.
7519 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
7521         [BZ #16517]
7522         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
7523         (tan): Force underflow exception for arguments with small absolute
7524         value.
7525         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
7526         (__kernel_tanf): Force underflow exception for arguments with
7527         small absolute value.
7528         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
7529         (__kernel_tanl): Force underflow exception for arguments with
7530         small absolute value.
7531         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
7532         (__kernel_tanl): Force underflow exception for arguments with
7533         small absolute value.
7534         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
7535         (__kernel_tanl): Force underflow exception for arguments with
7536         small absolute value.
7537         * math/auto-libm-test-in: Add more tests of tan.
7538         * math/auto-libm-test-out: Regenerated.
7540 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7542         Fix sysdeps/i386/fpu/s_scalbn.S build
7544         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
7546 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
7548         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
7550 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7552         Fix gcrt0.o compilation
7554         When static-start-installed-name is different from
7555         start-installed-name, we must not use the shared objects.
7557         * csu/Makefile
7558         (extra-objs): Add gmon-start.o when building shared library and
7559         $(static-start-installed-name) is different from
7560         $(start-installed-name).
7561         $(objpfx)g$(static-start-installed-name): When building shared
7562         library and $(static-start-installed-name) is different from
7563         $(static-start-installed-name), revert to non-shared rule,
7564         i.e. using $(objpfx)% and gmon-start.o.
7566 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
7568         [BZ #16519]
7569         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
7570         (__ieee754_sinh): Force underflow exception for arguments with
7571         small absolute value.
7572         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
7573         (__ieee754_sinhf): Force underflow exception for arguments with
7574         small absolute value.
7575         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
7576         (__ieee754_sinhl): Force underflow exception for arguments with
7577         small absolute value.
7578         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
7579         (__ieee754_sinhl): Force underflow exception for arguments with
7580         small absolute value.
7581         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
7582         (__ieee754_sinhl): Force underflow exception for arguments with
7583         small absolute value.
7584         * math/auto-libm-test-in: Add more tests of sinh.
7585         * math/auto-libm-test-out: Regenerated.
7586         * sysdeps/i386/fpu/libm-test-ulps: Update.
7588 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
7590         * libio/oldfileops.c: Include unistd.h.
7592 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
7594         * stdlib/isomac.c: Include ctype.h.
7596 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
7598         * dirent/tst-seekdir.c (main): Converted to ...
7599         (do_test): ... this.
7600         (TEST_FUNCTION): New macro.
7601         Include test-skeleton.c.
7602         * elf/tst-dlmodcount.c (main): Converted to ...
7603         (do_test): ... this.
7604         (TEST_FUNCTION): New macro.
7605         Include test-skeleton.c.
7606         * elf/tst-order-main.c (main): Converted to ...
7607         (do_test): ... this.
7608         (TEST_FUNCTION): New macro.
7609         Include test-skeleton.c.
7610         * elf/tst-pie2.c (main): Converted to ...
7611         (do_test): ... this.
7612         (TEST_FUNCTION): New macro.
7613         Include test-skeleton.c.
7614         * inet/tst-ether_aton.c (main): Converted to ...
7615         (do_test): ... this.
7616         (TEST_FUNCTION): New macro.
7617         Include test-skeleton.c.
7618         * misc/tst-mntent.c (main): Converted to ...
7619         (do_test): ... this.
7620         (TEST_FUNCTION): New macro.
7621         Include test-skeleton.c.
7622         * misc/tst-tsearch.c (main): Converted to ...
7623         (do_test): ... this.
7624         (TEST_FUNCTION): New macro.
7625         Include test-skeleton.c.
7626         * posix/tst-regexloc.c (main): Converted to ...
7627         (do_test): ... this.
7628         (TEST_FUNCTION): New macro.
7629         Include test-skeleton.c.
7630         * resolv/tst-aton.c (main): Converted to ...
7631         (do_test): ... this.
7632         (TEST_FUNCTION): New macro.
7633         Include test-skeleton.c.
7634         * stdio-common/test-fwrite.c (main): Converted to ...
7635         (do_test): ... this.
7636         (TEST_FUNCTION): New macro.
7637         Include test-skeleton.c.
7638         * stdio-common/tst-ferror.c (main): Converted to ...
7639         (do_test): ... this.
7640         (TEST_FUNCTION): New macro.
7641         Include test-skeleton.c.
7642         * stdio-common/tst-printf.c (main): Converted to ...
7643         (do_test): ... this.
7644         (TEST_FUNCTION): New macro.
7645         Include test-skeleton.c.
7646         * stdio-common/tst-printfsz.c (main): Converted to ...
7647         (do_test): ... this.
7648         (TEST_FUNCTION): New macro.
7649         Include test-skeleton.c.
7650         * stdlib/tst-strtod.c (main): Converted to ...
7651         (do_test): ... this.
7652         (TEST_FUNCTION): New macro.
7653         Include test-skeleton.c.
7654         * string/tst-strlen.c (main): Converted to ...
7655         (do_test): ... this.
7656         (TEST_FUNCTION): New macro.
7657         Include test-skeleton.c.
7658         * string/tst-svc.c (main): Converted to ...
7659         (do_test): ... this.
7660         (TEST_FUNCTION): New macro.
7661         Include test-skeleton.c.
7662         * time/tst-strptime.c (main): Converted to ...
7663         (do_test): ... this.
7664         (TEST_FUNCTION): New macro.
7665         Include test-skeleton.c.
7666         * timezone/tst-timezone.c (main): Converted to ...
7667         (do_test): ... this.
7668         (TEST_FUNCTION): New macro.
7669         Include test-skeleton.c.
7671 2015-08-05  Zack Weinberg  <zackw@panix.com>
7673         * misc/regexp.h: Update comments.
7675 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
7677         [BZ #18635]
7678         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
7679         before return label.
7681 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7683         [BZ #18661]
7684         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
7685         when calling __errno_location.
7686         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
7687         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
7689 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7691         [BZ #18661]
7692         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
7693         (__lll_timedwait_tid): Align stack to 16 bytes when calling
7694         __gettimeofday.
7696 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7698         [BZ #18661]
7699         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7700         (__start_context): Don't use pop to restore %rdi so that stack
7701         is aligned to 16 bytes when calling __setcontext.
7703 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7705         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
7706         only for libc.
7707         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
7709 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7711         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
7712         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
7713         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
7715 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7717         * string/memccpy.c (memccpy):
7718         Improve performance by using memchr/memcpy/__mempcpy.
7720 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7722         * string/strncpy.c (strncpy):
7723         Improve performance by using __strnlen/memcpy.
7725 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7727         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7728         Optimize to avoid an unnecessary FPCR read.
7730 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7732         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
7733         Optimize to reduce FPCR/FPSR accesses.
7735 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7737         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
7738         dead->data[category] != NULL.
7740 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
7742         [BZ #18647]
7743         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
7744         and |x| close to 1, use absolute value of x when computing log.
7745         * math/auto-libm-test-in: Add more tests of pow.
7746         * math/auto-libm-test-out: Regenerated.
7748 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7750         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
7751         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
7752         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
7754 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
7756         [BZ #18525]
7757         * locales/km_KH: Remove timezone definition.
7758         * locales/lo_LA: Likewise.
7759         * locales/my_MM: Likewise.
7760         * locales/nan_TW@latin: Likewise.
7761         * locales/th_TH: Likewise.
7762         * locales/uk_UA: Likewise.
7764 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
7766         [BZ #18265]
7767         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
7768         (wcsncat): Likewise.
7769         (wcscmp): Likewise.
7770         (wcsncmp): Likewise.
7772 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
7774         * test-skeleton.c (usage): New function.
7775         (main): Call usage when opt is '?'.
7777 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
7779         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
7780         before first use.
7782 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
7784         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
7785         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
7786         in there too.
7788 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
7790         * version.h (RELEASE): Set to "development".
7791         (VERSION): Set to "2.22.90"
7793         * version.h (RELEASE): Set to "stable".
7794         (VERSION): Set to "2.22"
7795         * include/features.h (__GLIBC_MINOR__): Set to 22.
7797 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
7799         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
7800         Restructure macro to avoid "value computed is not used" warning.
7801         (atomic_compare_and_exchange_val_acq): Likewise.
7803 2015-08-04  Andreas Schwab  <schwab@suse.de>
7805         [BZ #18635]
7806         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
7807         ret.
7808         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
7810 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
7812         * po/pl.po: Updated translation.
7813         * po/uk.po: Likewise.
7814         * po/fi.po: Likewise.
7815         * po/ko.po: Likewise.
7816         * po/ru.po: Likewise.
7817         * po/vi.po: Likewise.
7819 2015-07-31  Zack Weinberg  <zackw@panix.com>
7821         [BZ #18681]
7822         * regexp.h: Add unconditional #warning stating that this header
7823         will be removed soon.  Revise banner comment to match.
7824         (compile): Consistently use ERROR instead of RETURN to report
7825         errors (partial fix for bz#18681).
7826         * regexp.c: Don't include regexp.h. Remove some unnecessary
7827         declarations.
7829 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
7831         * po/libc.pot: Regenerated.
7833 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
7835         [BZ #18740]
7836         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
7837         float-vlen4-arch-ext-cflags): Removed.
7838         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
7839         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
7841 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
7843         [BZ #14113]
7844         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
7845         aligned to __aligned__.
7846         (pthread_cond_t, pthread_rwlock_t): Likewise.
7848 2015-07-30  Torvald Riegel  <triegel@redhat.com>
7850         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
7852 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
7854         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
7855         (struct sigaction): Change sa_flags from a long to an int, and add
7856         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
7858 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
7860         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
7861         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
7862         sysdeps/generic/sysdep.h include.
7863         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
7864         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
7865         sysdeps/hppa/sysdep.h.
7866         (ENTRY, PSEUDO): Undefine before defining.
7868 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
7870         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
7871         from scratch to use INTERNAL_SYSCALL.
7873 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
7875         [BZ #18078]
7876         * scripts/check-localplt.awk: Support alternate relocations.
7877         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
7878         sections.
7879         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
7880         malloc entries with + REL R_386_GLOB_DAT.
7881         * sysdeps/x86_64/localplt.data: New file.
7883 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
7885         [BZ #18731]
7886         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
7887         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
7888         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
7890 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
7892         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
7894 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
7896         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
7897         directly in terms of __sync_fetch_and_add and delete (int) cast.
7899 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
7901         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
7902         the -D_ASM_IA64_CURRENT_H flag.
7904 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
7906         [BZ #18641]
7907         * pwd/pwd.h (putpwent): Delete __nonnull markings.
7909 2015-07-27  Andreas Schwab  <schwab@suse.de>
7911         * conform/conformtest.pl (checknamespace): Filter out string
7912         literals while tokenizing.
7914 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
7916         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
7917         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
7918         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
7920 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
7922         * nptl/tst-join7mod.c: Add #include <string.h>.
7924 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
7926         * sysdeps/nios2/libm-test-ulps: Update.
7928 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
7930         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
7931         Fix order of arguments to the rt_sigprocmask syscall.
7932         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
7933         Likewise.
7935 2015-07-24  Roland McGrath  <roland@hack.frob.com>
7937         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
7939 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7941         [BZ #18457]
7942         * nptl/Makefile (tests): New test case tst-join7.
7943         (modules-names): New test case module tst-join7mod.
7944         * nptl/tst-join7.c: New file.
7945         * nptl/tst-join7mod.c: New file.
7946         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
7947         all translation units in libc.so, libpthread.so and rtld.
7949 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7951         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7953 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
7955         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
7956         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
7957         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
7958         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
7959         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
7960         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
7961         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
7962         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
7963         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
7964         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
7965         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
7966         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
7967         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
7968         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
7969         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
7970         implementation.
7972 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7974         [BZ #17711]
7975         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
7976         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
7977         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
7978         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
7979         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
7980         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
7982 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7984         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
7985         instead of just saying load lock in the comments.
7987 2015-07-23  Roland McGrath  <roland@hack.frob.com>
7989         * sysdeps/unix/Subdirs: Moved ...
7990         * sysdeps/posix/Subdirs: ... here.
7991         * login/pty.h (struct termios, struct winsize): Add forward decls.
7992         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
7993         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
7994         * sysdeps/arm/nacl/libc.abilist: Updated.
7995         * sysdeps/nacl/libutil.abilist: New file.
7997         * bits/signum.h: Update comments to mention 1003.1-2013 too.
7998         (SIGWINCH): New macro.
8000         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
8001         * sysdeps/arm/nacl/libc.abilist: Add it.
8003 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
8005         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
8007 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
8009         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
8010         Swap __glibc_reserved0 and sa_flags order.
8012 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
8014         [BZ #18657]
8015         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
8016         are pending TLS destructor calls.
8017         * include/link.h (struct link_map): Add concurrency note for
8018         L_TLS_DTOR_COUNT.
8019         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8020         Don't touch the link map flag.  Atomically increment
8021         l_tls_dtor_count.
8022         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
8023         Avoid taking the load lock and don't touch the link map flag.
8024         * stdlib/tst-tls-atexit-nodelete.c: New test case.
8025         * stdlib/Makefile (tests): Use it.
8026         * stdlib/tst-tls-atexit.c (do_test): dlopen
8027         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
8028         to allow tst-tls-atexit-nodelete test case to use it.
8030 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
8032         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
8033         to bits/types.h.
8034         (msgqnum_t): New typedef.
8035         (msglen_t): Likewise.
8036         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
8037         and msg_qbytes type to msglen_t.
8039 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
8041         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
8042         pad0 to __glibc_reserved0.
8043         (struct stat64): Likewise.
8045 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
8047         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
8048         Change sa_flags from a long to an int and add __glibc_reserved0 before
8049         it for padding.
8051 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
8053         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
8054         anonymous by deleting "siginfo" name.
8056 2015-07-21  Roland McGrath  <roland@hack.frob.com>
8058         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
8059         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
8060         rather than __nacl_irt_filename.
8061         * sysdeps/nacl/xstat.c (__xstat): Likewise.
8063         * NEWS: New item for arm-nacl port.
8064         * sysdeps/arm/nacl/libc.abilist: New file.
8065         * sysdeps/nacl/ld.abilist: New file.
8066         * sysdeps/nacl/libBrokenLocale.abilist: New file.
8067         * sysdeps/nacl/libanl.abilist: New file.
8068         * sysdeps/nacl/libcrypt.abilist: New file.
8069         * sysdeps/nacl/libdl.abilist: New file.
8070         * sysdeps/nacl/libm.abilist: New file.
8071         * sysdeps/nacl/libpthread.abilist: New file.
8072         * sysdeps/nacl/libresolv.abilist: New file.
8073         * sysdeps/nacl/librt.abilist: New file.
8075 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
8077         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
8078         __startcontext to initialize the new context.
8079         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
8080         up CFI directive to forbid further backtracing.
8082 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
8084         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
8085         reference.
8086         * charmaps/ANSI_X3.4-1968: Likewise.
8087         * charmaps/BS_4730: Likewise.
8088         * charmaps/BS_VIEWDATA: Likewise.
8089         * charmaps/CP1250: Likewise.
8090         * charmaps/CP1251: Likewise.
8091         * charmaps/CP1252: Likewise.
8092         * charmaps/CP1253: Likewise.
8093         * charmaps/CP1254: Likewise.
8094         * charmaps/CP1255: Likewise.
8095         * charmaps/CP1256: Likewise.
8096         * charmaps/CSN_369103: Likewise.
8097         * charmaps/EBCDIC-DK-NO: Likewise.
8098         * charmaps/GB_1988-80: Likewise.
8099         * charmaps/GREEK-CCITT: Likewise.
8100         * charmaps/GREEK7: Likewise.
8101         * charmaps/INIS-8: Likewise.
8102         * charmaps/ISIRI-3342: Likewise.
8103         * charmaps/ISO_2033-1983: Likewise.
8104         * charmaps/ISO_5427-EXT: Likewise.
8105         * locales/POSIX: Likewise.
8106         * locales/ar_SA: Likewise.
8107         * locales/be_BY: Likewise.
8108         * locales/be_BY@latin: Likewise.
8109         * locales/ca_ES: Likewise.
8110         * locales/cs_CZ: Likewise.
8111         * locales/da_DK: Likewise.
8112         * locales/de_BE: Likewise.
8113         * locales/de_CH: Likewise.
8114         * locales/de_LU: Likewise.
8115         * locales/en_AU: Likewise.
8116         * locales/en_BW: Likewise.
8117         * locales/en_CA: Likewise.
8118         * locales/en_DK: Likewise.
8119         * locales/en_GB: Likewise.
8120         * locales/en_IE: Likewise.
8121         * locales/en_NZ: Likewise.
8122         * locales/en_ZA: Likewise.
8123         * locales/en_ZW: Likewise.
8124         * locales/es_AR: Likewise.
8125         * locales/es_BO: Likewise.
8126         * locales/es_CL: Likewise.
8127         * locales/es_CO: Likewise.
8128         * locales/es_DO: Likewise.
8129         * locales/es_EC: Likewise.
8130         * locales/es_ES: Likewise.
8131         * locales/es_HN: Likewise.
8132         * locales/es_MX: Likewise.
8133         * locales/es_PA: Likewise.
8134         * locales/es_PE: Likewise.
8135         * locales/es_PY: Likewise.
8136         * locales/es_SV: Likewise.
8137         * locales/es_US: Likewise.
8138         * locales/es_UY: Likewise.
8139         * locales/es_VE: Likewise.
8140         * locales/et_EE: Likewise.
8141         * locales/fa_IR: Likewise.
8142         * locales/fo_FO: Likewise.
8143         * locales/fr_CA: Likewise.
8144         * locales/fr_CH: Likewise.
8145         * locales/gv_GB: Likewise.
8146         * locales/he_IL: Likewise.
8147         * locales/hr_HR: Likewise.
8148         * locales/id_ID: Likewise.
8149         * locales/is_IS: Likewise.
8150         * locales/it_CH: Likewise.
8151         * locales/iw_IL: Likewise.
8152         * locales/kl_GL: Likewise.
8153         * locales/ko_KR: Likewise.
8154         * locales/kw_GB: Likewise.
8155         * locales/lg_UG: Likewise.
8156         * locales/lt_LT: Likewise.
8157         * locales/lv_LV: Likewise.
8158         * locales/mi_NZ: Likewise.
8159         * locales/nhn_MX: Likewise.
8160         * locales/nl_BE: Likewise.
8161         * locales/pl_PL: Likewise.
8162         * locales/sk_SK: Likewise.
8163         * locales/sl_SI: Likewise.
8164         * locales/sv_FI: Likewise.
8165         * locales/tl_PH: Likewise.
8166         * locales/tr_TR: Likewise.
8167         * locales/vi_VN: Likewise.
8169 2015-07-21  Khem Raj  <raj.khem@gmail.com>
8171         [BZ #17475]
8172         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
8173         of tu_IN and bh_IN.
8175 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
8177         [BZ #18694]
8178         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
8179         bits/wordsize.h.
8180         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
8182 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8184         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
8185         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
8186         (spawn_thread): New function.
8187         (load): Rename to reg_dtor_and_close.  Move dlopen to...
8188         (do_test): ... here.  Use IS_LOADED to test for its
8189         availability.
8191 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
8193         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8195 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
8197         [BZ #18696]
8198         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
8199         si_addr_bnd.
8200         (si_lower): New.
8201         (si_upper): Likewise.
8203 2015-07-16  David S. Miller  <davem@davemloft.net>
8205         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
8207 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8209         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
8210         buffer.
8211         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
8212         fail output information.
8214 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8216         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
8217         and strstr-ppc64..
8218         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
8219         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
8220         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
8221         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
8222         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
8224 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
8226         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
8227         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
8228         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
8229         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
8231 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
8233         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
8234         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
8235         rtld_hidden_proto.
8236         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
8238 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8240         * tst-nodelete-opened.c (do_test): Add comment to clarify how
8241         the test can fail.
8243         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
8245         [BZ #18676]
8246         * elf/tst-nodelete-opened.c: New test case.
8247         * elf/tst-nodelete-opened-lib.c: New test case module.
8248         * elf/Makefile (tests, modules-names): Use them.
8249         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
8250         early.
8252 2015-07-15  David S. Miller  <davem@davemloft.net>
8254         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
8255         futex-intenal.h
8256         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
8257         * sysdeps/sparc/sparc64/Makefile: Likewise.
8258         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
8259         Remove space from macro define.
8260         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
8262 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
8264         [BZ #17475]
8265         * locale/iso-639.def: Update Bhili and Tulu language codes as
8266         per iso639-3.
8268 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
8270         * elf/tst-leaks1.c (main): Converted to ...
8271         (do_test): ... this.
8272         (TEST_FUNCTION): New macro.
8273         Include test-skeleton.c.
8274         * localedata/tst-langinfo.c (main): Converted to ...
8275         (do_test): ... this.
8276         (TEST_FUNCTION): New macro.
8277         Include test-skeleton.c.
8278         * math/test-fpucw.c (main): Converted to ...
8279         (do_test): ... this.
8280         (TEST_FUNCTION): New macro.
8281         Include test-skeleton.c.
8282         * math/test-tgmath.c (main): Converted to ...
8283         (do_test): ... this.
8284         (TEST_FUNCTION): New macro.
8285         Include test-skeleton.c.
8286         * math/test-tgmath2.c (main): Converted to ...
8287         (do_test): ... this.
8288         (TEST_FUNCTION): New macro.
8289         Include test-skeleton.c.
8290         * setjmp/tst-setjmp.c (main): Converted to ...
8291         (do_test): ... this.
8292         (TEST_FUNCTION): New macro.
8293         Include test-skeleton.c.
8294         * stdio-common/tst-sscanf.c (main): Converted to ...
8295         (do_test): ... this.
8296         (TEST_FUNCTION): New macro.
8297         Include test-skeleton.c.
8298         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
8299         (do_test): ... this.
8300         (TEST_FUNCTION): New macro.
8301         Include test-skeleton.c.
8303         * elf/tst-audit9.c (main): Converted to ...
8304         (do_test): ... this.
8305         (TEST_FUNCTION): New macro.
8306         Include test-skeleton.c.
8308 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
8310         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
8312 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
8314         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
8315         New variable.
8317 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
8319         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8321 2015-07-14  Roland McGrath  <roland@hack.frob.com>
8323         * sysdeps/generic/dl-fileid.h: New file.
8324         * sysdeps/posix/dl-fileid.h: New file.
8325         * sysdeps/nacl/dl-fileid.h: New file.
8326         * include/link.h: Include <dl-fileid.h>.
8327         (struct link_map): Replace l_dev and l_ino with l_file_id.
8328         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
8329         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
8330         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
8332 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8334         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
8336 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8338         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
8339         Add iff $CXX is set.
8340         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
8341         Likewise.
8342         (tst-nodelete-zmodiff): Likewise.
8343         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
8345 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8347         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
8349 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
8351         * sysdeps/aarch64/fpu/math_private.h
8352         (define math_opt_barrier): Add AArch64 version.
8353         (math_force_eval): Likewise.
8355 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
8357         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
8359 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
8361         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
8362         %ld with %jd and cast to intmax_t.
8363         (do_test_length_zero): Likewise.
8365 2015-07-10  Roland McGrath  <roland@hack.frob.com>
8367         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
8369 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
8371         * sysdeps/tile/libm-test-ulps: Regenerated.
8373         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
8374         Comment out the whole function, not just its body.
8376 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8378         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
8379         locks.
8381         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
8383 2015-07-10  Torvald Riegel  <triegel@redhat.com>
8385         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
8386         (sem_assume_only_signals_cause_futex_EINTR): Remove.
8388 2015-07-10  Torvald Riegel  <triegel@redhat.com>
8390         * sysdeps/nptl/futex-internal.h: New file.
8391         * sysdeps/nacl/futex-internal.h: New file.
8392         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
8393         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
8394         error checking.
8395         (setxid_unmark_thread): Likewise.
8396         (__nptl_setxid): Likewise.
8397         (__wait_lookup_done): Likewise.
8398         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
8399         * nptl/nptl-init.c (sighandler_setxid): Likewise.
8400         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
8401         * nptl/pthread_once.c (clear_once_control): Likewise.
8402         (__pthread_once_slow): Likewise.
8403         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
8404         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
8405         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
8406         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
8407         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
8408         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
8409         Likewise.
8410         (__pthread_rwlock_rdlock): Likewise.
8411         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8412         Likewise.
8413         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8414         Likewise.
8415         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
8416         Likewise.
8417         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
8418         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
8419         Likewise.
8420         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
8421         __ASSUME_PRIVATE_FUTEX check.
8422         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
8423         Check that shared futexes are supported.
8424         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
8425         wrappers with error checking.
8426         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
8427         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
8428         * nptl/pthread_barrierattr_setpshared.c
8429         (pthread_barrierattr_setpshared): Check that shared futexes are
8430         supported.
8431         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
8432         Likewise.
8433         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
8434         Likewise.
8435         * nptl/sem_init.c (futex_private_if_supported): Remove.
8436         (__new_sem_init): Adapt and check that shared futexes are supported.
8437         * nptl/sem_open.c (sem_open): Likewise.
8438         * nptl/sem_post.c (futex_wake): Remove.
8439         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
8440         (do_futex_wait): Use futex wrappers with error checking.
8441         * nptl/sem_wait.c: Include lowlevellock.h.
8442         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
8443         Use futex_supports_pshared.
8444         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
8445         Use futex wrappers with error checking.
8446         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
8447         Likewise.
8448         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
8449         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
8450         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
8451         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
8452         (futex_wake): Likewise.
8453         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
8454         (do_futex_wait): Use futex wrappers with error checking.
8455         (__new_sem_wait_slow): Update EINTR handling.
8456         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
8458 2015-07-09  Martin Sebor  <msebor@redhat.com>
8460         [BZ #18435]
8461         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
8462         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
8463         * nptl/Makefile (test-xfail-tst-once5): Define.
8465 2015-07-09  Roland McGrath  <roland@hack.frob.com>
8467         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
8468         * elf/dl-minimal.c: For readability, reorder some definitions and
8469         introduce more page breaks.  Include <stdio.h>.
8470         (__libc_fatal): New function.
8472         * include/unistd.h: Add rtld_hidden_proto for _exit.
8473         * posix/_exit.c: Add rtld_hidden_def.
8474         * sysdeps/mach/hurd/_exit.c: Likewise.
8475         * sysdeps/nacl/_exit.c: Likewise.
8476         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
8477         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
8479 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
8481         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
8482         bndmov encoding with zero displacement.
8484 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
8485             H.J. Lu  <hongjiu.lu@intel.com>
8487         [BZ #18134]
8488         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
8489         * sysdeps/i386/configure: Regenerated.
8490         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
8491         (_dl_runtime_profile): Save and restore Intel MPX return bound
8492         registers when calling _dl_call_pltexit.  Add
8493         PRESERVE_BND_REGS_PREFIX before return.
8494         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
8495         (LRV_BND1_OFFSET): Likewise.
8496         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
8497         lrv_bnd1.
8498         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
8499         typo in bndmov encoding.
8500         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
8501         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
8502         branch instructions to preserve bounds.
8504 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
8507         [GLIBC_2.22]: Add fmemopen.
8509 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8511         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
8512         returns an error, also try to use host port from __mach_host_self for
8513         the __vm_wire call.
8514         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
8516 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8518         [BZ #18400]
8519         [BZ #18648]
8520         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
8521         Fix pr_uid and pr_gid members.
8522         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
8523         definition to elf_greg_t.
8525 2015-07-08  Roland McGrath  <roland@hack.frob.com>
8527         [BZ #18383]
8528         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
8529         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
8530         * sysdeps/arm/configure: Regenerated.
8531         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
8532         (test-xfail-tst-tlsalign-static): Variable removed.
8534         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
8535         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
8536         rather than explicit 'ln -s'.
8538         * resolv/rpc/netdb.h: New file.
8539         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
8541 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8543         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
8544         length buffers.
8545         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
8546         test-skeleton.c.
8548         [BZ #6544]
8549         [BZ #11216]
8550         [BZ #12836]
8551         [BZ #13151]
8552         [BZ #13152]
8553         [BZ #14292]
8554         * include/stdio.h (fmemopen): Remove hidden prototype.
8555         (__fmemopen): Add new hidden prototype.
8556         * libio/Makefile: Add oldfmemopen object.
8557         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
8558         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
8559         compliance.
8560         * libio/oldfmemopen.c: New file: old fmemopen implementation for
8561         symbol compatibility.
8562         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
8563         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
8564         fmemopen.
8565         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
8566         on append and read mode.
8567         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
8568         fmemopen.
8569         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
8570         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
8571         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
8572         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
8573         Likewise.
8574         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
8575         [GLIBC_2.22]: Likewise.
8576         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
8577         Likewise.
8578         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
8579         Likewise.
8580         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
8581         [GLIBC_2.22]: Likewise.
8582         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
8583         [GLIBC_2.22]: Likewise.
8584         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
8585         [GLIBC_2.22]: Likewise.
8586         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
8587         [GLIBC_2.22]: Likewise.
8588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8589         [GLIBC_2.22]: Likewise.
8590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
8591         [GLIBC_2.22]: Likewise.
8592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
8593         [GLIBC_2.22]: Likewise.
8594         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
8595         Likewise.
8596         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
8597         Likewise.
8598         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
8599         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
8600         [GLIBC_2.22]: Likewise.
8601         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
8602         [GLIBC_2.22]: Likewise.
8603         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
8604         [GLIBC_2.22]: Likewise.
8605         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
8606         [GLIBC_2.22]: Likewise.
8607         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
8608         Likewise.
8609         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
8610         Likewise.
8611         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
8612         Likewise.
8613         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
8614         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
8616 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
8618         [BZ #18643]
8619         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
8620         IPV6_PATHMTU, and IPV6_DONTFRAG.
8622 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
8624         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
8625         and _IO_UNBUFFERED.
8626         * libio/oldfileops.c: Likewise.
8627         * libio/wfileops.c: Likewise.
8629 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
8631         * nscd/selinux.c: Delete selinux/flask.h include.
8633 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
8635         [BZ #18641]
8636         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
8637         (putpwent): Likewise.
8638         (getpwnam): Likewise.
8639         (getpwent_r): Likewise.
8640         (getpwuid_r): Likewise.
8641         (getpwnam_r): Likewise.
8642         (fgetpwent_r): Likewise.
8644 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
8646         [BZ #18557]
8647         * inet/rcmd.c (__validuser2_sa): Check user first to
8648         short-circuit host check.
8650 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
8651             Mikhail Ilin  <m.ilin@samsung.com>
8653         [BZ #17833]
8654         * elf/Makefile (tests): Add tst-nodelete.
8655         (modules-names): Add tst-nodelete-uniquemod.
8656         (tst-nodelete-uniquemod.so-no-z-defs): New.
8657         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
8658         (tst-nodelete-zmod.so-no-z-defs): Likewise.
8659         ($(objpfx)tst-nodelete): Likewise.
8660         ($(objpfx)tst-nodelete.out): Likewise.
8661         (LDFLAGS-tst-nodelete): Likewise.
8662         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
8663         * elf/dl-close.c (_dl_close_worker): Add a parameter to
8664         implement forced object deletion.
8665         (_dl_close): Pass false to _dl_close_worker.
8666         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
8667         * elf/tst-nodelete.cc: New file.
8668         * elf/tst-nodeletelib.cc: Likewise.
8669         * elf/tst-znodeletelib.cc: Likewise.
8670         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
8672 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8674         [BZ #18508]
8675         * stdlib/Makefile ($(objpfx)tst-makecontext3):
8676         Depend on $(libdl).
8677         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
8678         is not called infinitely times.
8679         (backtrace_helper): New function.
8680         (trace_arg): New struct.
8681         (st1): Enlarge stack size.
8682         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
8683         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
8684         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
8685         Likewise.
8687 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8689         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8691 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8693         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
8694         Include sys/types.h instead of bits/types.h.
8695         Remove inclusion of bits/wordsize.h.
8697 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
8699         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
8700         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
8701         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
8702         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
8703         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
8704         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
8706 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
8708         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
8709         link-defines.sym.
8710         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
8711         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
8712         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
8713         and LR_SIZE.
8714         * sysdeps/i386/link-defines.sym: New file.
8716 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
8718         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
8719         (modules-names): Add tst-auditmod3a tst-auditmod3b.
8720         ($(objpfx)tst-audit3): New rule.
8721         ($(objpfx)tst-audit3.out): Likewise.
8722         * sysdeps/i386/tst-audit3.c: New file.
8723         * sysdeps/i386/tst-audit3.h: Likewise.
8724         * sysdeps/i386/tst-auditmod3a.c: Likewise.
8725         * sysdeps/i386/tst-auditmod3b.c: Likewise.
8727 2015-07-07  Torvald Riegel  <triegel@redhat.com>
8729         [BZ #18633]
8730         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
8731         pointer in C code.
8732         (__strcat_c): Likewise.
8733         (__strcat_g): Likewise.
8735 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
8737         [BZ #18592]
8738         * misc/sbrk.c: Set errno to ENOMEM on overflow.
8740 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
8742         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
8743         New function.  (__ieee754_sqrtf): New function.
8744         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
8745         New function.
8746         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
8747         New function.
8749 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
8751         * sysdeps/ieee754/support.c: Remove unused file.
8753 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8755         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
8756         registers instead of d ones so the layout is kernel abi compatible.
8757         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
8758         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
8759         Likewise.
8761 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8763         * sysdeps/aarch64/libm-test-ulps: Regenerated.
8765 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
8767         [BZ #18619]
8768         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
8769         and return argument in case of subnormal argument.
8771 2015-07-01  Martin Sebor  <msebor@redhat.com>
8773         [BZ #18435]
8774         * nptl/Makefile: Add tst-once5.cc.
8775         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
8776         Remove macro redefinitions.
8777         * nptl/tst-once5.cc: New test.
8779 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
8781         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8783         * sysdeps/arm/libm-test-ulps: Regenerated.
8785         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8786         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8788 2015-06-30  Torvald Riegel  <triegel@redhat.com>
8790         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
8791         lll_lock_wait_private and lll_futex_wake probes.
8793         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
8794         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
8795         Likewise.
8796         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
8797         atomic_spin_nop.
8798         * sysdeps/x86_64/bits/atomic.h: Likewise.
8799         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
8800         to atomic_spin_nop and move ...
8801         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
8802         ... here and ...
8803         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
8804         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
8805         atomic_spin_nop instead of BUSY_WAIT_NOP.
8806         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
8807         Likewise.
8808         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
8809         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
8810         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
8811         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
8812         instead of atomic_delay.
8814 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
8816         [BZ #18613]
8817         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
8818         X_ADJ not X when adjusting exponent.
8819         (__ieee754_gamma_r): Do intermediate computations in
8820         round-to-nearest then adjust overflowing and underflowing results
8821         as needed.
8822         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
8823         of X_ADJ not X when adjusting exponent.
8824         (__ieee754_gammaf_r): Do intermediate computations in
8825         round-to-nearest then adjust overflowing and underflowing results
8826         as needed.
8827         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
8828         log of X_ADJ not X when adjusting exponent.
8829         (__ieee754_gammal_r): Do intermediate computations in
8830         round-to-nearest then adjust overflowing and underflowing results
8831         as needed.  Use 1.0L not 1.0f as numerator of division.
8832         * sysdeps/ieee754/ldbl-128ibm/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-96/e_gammal_r.c (gammal_positive): Take log
8838         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         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
8843         to auto-libm-test-in.
8844         (tgamma_test): Use ALL_RM_TEST.
8845         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
8846         tests of tgamma with spurious-overflow.
8847         * math/auto-libm-test-out: Regenerated.
8848         * math/gen-libm-have-vector-test.sh: Do not check for START.
8849         * sysdeps/i386/fpu/libm-test-ulps: Update.
8850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8852         [BZ #18612]
8853         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
8854         arguments, just return 0.5 times the argument, with underflow
8855         forced as needed.
8856         * math/auto-libm-test-in: Add more tests of j1.
8857         * math/auto-libm-test-out: Regenerated.
8859         [BZ #16559]
8860         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
8861         (__ieee754_j1): Force underflow exception for small results.
8862         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8863         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
8864         (__ieee754_j1f): Force underflow exception for small results.
8865         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8866         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8867         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8868         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
8869         (__ieee754_j1l): Force underflow exception for small results.
8870         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8871         * math/auto-libm-test-in: Add more tests of j1 and jn.
8872         * math/auto-libm-test-out: Regenerated.
8874         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
8875         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
8876         (PF_MPLS): Likewise.
8877         (AF_IB): Likewise.
8878         (AF_MPLS): Likewise.
8879         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
8880         value and macro.
8881         (MS_RMT_MASK): Include MS_LAZYTIME.
8883 2015-06-26  Mel Gorman  <mgorman@suse.de>
8885         [BZ #18502]
8886         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
8887         already minimal.
8889 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
8891         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
8892         (DT_MIPS_NUM): Update.
8893         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
8894         DT_MIPS_RLD_MAP_REL.
8896 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
8898         [BZ #16559]
8899         [BZ #18602]
8900         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
8901         round-to-nearest internally then recompute results that
8902         underflowed to zero in the original rounding mode.
8903         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8904         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8905         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8906         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
8907         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
8908         * sysdeps/i386/fpu/libm-test-ulps: Update.
8909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8911 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
8913         * NEWS: Fixed description of link with vector math library.
8915 2015-06-25  Andreas Schwab  <schwab@suse.de>
8917         [BZ #18549]
8918         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
8919         * libio/test-fmemopen.c (do_test): Add test for it.
8921 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
8923         [BZ #17841]
8924         * Makeconfig (no-pie-ldflag): New.
8925         (+link): Set to $(+link-pie) if default to PIE.
8926         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
8927         * config.make.in (build-pie-default): New.
8928         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
8929         is default.  AC_SUBST.
8930         * configure: Regenerated.
8931         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
8933 2015-06-24  Roland McGrath  <roland@hack.frob.com>
8935         * nptl/descr.h (struct pthread): Change type of field setxid_futex
8936         to 'unsigned int'.
8938         * resolv/gai_misc.h (struct waitlist): Change type of field
8939         counterp to 'volatile unsigned int *'.
8940         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
8941         FUTEXADDR and OLDVAL.
8942         * resolv/getaddrinfo_a.c (getaddrinfo_a):
8943         Give local variable TOTAL type 'volatile unsigned int'.
8944         (struct async_waitlist): Change type of field counter to 'unsigned int'.
8945         * resolv/gai_suspend.c (gai_suspend):
8946         Give local variable CNTR type 'unsigned int'.
8948         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
8949         counterp to 'volatile unsigned int *'.
8950         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
8951         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
8952         (aio_suspend): Give local variable CNTR type 'unsigned int'.
8953         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
8954         Give local variable TOTAL type 'volatile unsigned int'.
8955         (struct async_waitlist): Change type of field counter to 'unsigned int'.
8957 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
8959         [BZ #18383]
8960         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
8961         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
8962         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
8963         comment for i386/x86-64.
8964         (test-xfail-tst-tlsalign-extern-static): Removed.
8966 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
8968         * math/test-double.h: New file.
8969         * math/test-float.h: Likewise.
8970         * math/test-ldouble.h: Likewise.
8971         * math/test-math-inline.h: Likewise.
8972         * math/test-math-no-inline.h: Likewise.
8973         * math/test-math-scalar.h: Likewise.
8974         * math/test-math-vector.h: Likewise.
8975         * math/test-vec-loop.h: Remove file.  Contents moved into
8976         test-math-vector.h.
8977         * math/libm-test.inc (MATHCONST): Do not document macro.
8978         * math/test-double.c: Include test-double.h, test-math-no-inline.h
8979         and test-math-scalar.h.
8980         (FUNC): Remove macro.
8981         (FUNC_TEST): Likewise.
8982         (FLOAT): Likewise.
8983         (MATHCONST): Likewise.
8984         (PRINTF_EXPR): Likewise.
8985         (PRINTF_XEXPR): Likewise.
8986         (PRINTF_NEXPR): Likewise.
8987         (TEST_DOUBLE): Likewise.
8988         (TEST_MATHVEC): Likewise.
8989         (__NO_MATH_INLINES): Likewise.
8990         * math/test-float.c: Include test-float.h, test-math-no-inline.h
8991         and test-math-scalar.h.
8992         (FUNC): Remove macro.
8993         (FUNC_TEST): Likewise.
8994         (FLOAT): Likewise.
8995         (MATHCONST): Likewise.
8996         (PRINTF_EXPR): Likewise.
8997         (PRINTF_XEXPR): Likewise.
8998         (PRINTF_NEXPR): Likewise.
8999         (TEST_FLOAT): Likewise.
9000         (TEST_MATHVEC): Likewise.
9001         (__NO_MATH_INLINES): Likewise.
9002         * math/test-idouble.c: Include test-double.h, test-math-inline.h
9003         and test-math-scalar.h.
9004         (FUNC): Remove macro.
9005         (FUNC_TEST): Likewise.
9006         (FLOAT): Likewise.
9007         (MATHCONST): Likewise.
9008         (PRINTF_EXPR): Likewise.
9009         (PRINTF_XEXPR): Likewise.
9010         (PRINTF_NEXPR): Likewise.
9011         (TEST_DOUBLE): Likewise.
9012         (TEST_MATHVEC): Likewise.
9013         (TEST_INLINE): Likewise.
9014         (__NO_MATH_INLINES): Likewise.
9015         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
9016         test-math-scalar.h.
9017         (FUNC): Remove macro.
9018         (FUNC_TEST): Likewise.
9019         (FLOAT): Likewise.
9020         (MATHCONST): Likewise.
9021         (PRINTF_EXPR): Likewise.
9022         (PRINTF_XEXPR): Likewise.
9023         (PRINTF_NEXPR): Likewise.
9024         (TEST_FLOAT): Likewise.
9025         (TEST_MATHVEC): Likewise.
9026         (TEST_INLINE): Likewise.
9027         (__NO_MATH_INLINES): Likewise.
9028         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
9029         and test-math-scalar.h.
9030         (FUNC): Remove macro.
9031         (FUNC_TEST): Likewise.
9032         (FLOAT): Likewise.
9033         (MATHCONST): Likewise.
9034         (PRINTF_EXPR): Likewise.
9035         (PRINTF_XEXPR): Likewise.
9036         (PRINTF_NEXPR): Likewise.
9037         (TEST_LDOUBLE): Likewise.
9038         (TEST_MATHVEC): Likewise.
9039         (TEST_INLINE): Likewise.
9040         (__NO_MATH_INLINES): Likewise.
9041         * math/test-ldouble.c: Include test-ldouble.h,
9042         test-math-no-inline.h and test-math-scalar.h.
9043         (FUNC): Remove macro.
9044         (FUNC_TEST): Likewise.
9045         (FLOAT): Likewise.
9046         (MATHCONST): Likewise.
9047         (PRINTF_EXPR): Likewise.
9048         (PRINTF_XEXPR): Likewise.
9049         (PRINTF_NEXPR): Likewise.
9050         (TEST_LDOUBLE): Likewise.
9051         (TEST_MATHVEC): Likewise.
9052         (__NO_MATH_INLINES): Likewise.
9053         * math/test-double-vlen2.h: Include test-double.h,
9054         test-math-no-inline.h and test-math-vector.h.
9055         (FLOAT): Remove macro.
9056         (FUNC): Likewise.
9057         (MATHCONST): Likewise.
9058         (PRINTF_EXPR): Likewise.
9059         (PRINTF_XEXPR): Likewise.
9060         (PRINTF_NEXPR): Likewise.
9061         (TEST_DOUBLE): Likewise.
9062         (TEST_MATHVEC): Likewise.
9063         (__NO_MATH_INLINES): Likewise.
9064         (CNCT): Likewise.
9065         (CONCAT): Likewise.
9066         (WRAPPER_NAME): Likewise.
9067         (WRAPPER_DECL): Likewise.
9068         (WRAPPER_DECL_ff): Likewise.
9069         (WRAPPER_DECL_fFF): Likewise.
9070         (VECTOR_WRAPPER): Likewise.
9071         (VECTOR_WRAPPER_ff): Likewise.
9072         (VECTOR_WRAPPER_fFF): Likewise.
9073         (VEC_LEN): New macro.
9074         * math/test-double-vlen4.h: Include test-double.h,
9075         test-math-no-inline.h and test-math-vector.h.
9076         (FLOAT): Remove macro.
9077         (FUNC): Likewise.
9078         (MATHCONST): Likewise.
9079         (PRINTF_EXPR): Likewise.
9080         (PRINTF_XEXPR): Likewise.
9081         (PRINTF_NEXPR): Likewise.
9082         (TEST_DOUBLE): Likewise.
9083         (TEST_MATHVEC): Likewise.
9084         (__NO_MATH_INLINES): Likewise.
9085         (CNCT): Likewise.
9086         (CONCAT): Likewise.
9087         (WRAPPER_NAME): Likewise.
9088         (WRAPPER_DECL): Likewise.
9089         (WRAPPER_DECL_ff): Likewise.
9090         (WRAPPER_DECL_fFF): Likewise.
9091         (VECTOR_WRAPPER): Likewise.
9092         (VECTOR_WRAPPER_ff): Likewise.
9093         (VECTOR_WRAPPER_fFF): Likewise.
9094         (VEC_LEN): New macro.
9095         * math/test-double-vlen8.h: Include test-double.h,
9096         test-math-no-inline.h and test-math-vector.h.
9097         (FLOAT): Remove macro.
9098         (FUNC): Likewise.
9099         (MATHCONST): Likewise.
9100         (PRINTF_EXPR): Likewise.
9101         (PRINTF_XEXPR): Likewise.
9102         (PRINTF_NEXPR): Likewise.
9103         (TEST_DOUBLE): Likewise.
9104         (TEST_MATHVEC): Likewise.
9105         (__NO_MATH_INLINES): Likewise.
9106         (CNCT): Likewise.
9107         (CONCAT): Likewise.
9108         (WRAPPER_NAME): Likewise.
9109         (WRAPPER_DECL): Likewise.
9110         (WRAPPER_DECL_ff): Likewise.
9111         (WRAPPER_DECL_fFF): Likewise.
9112         (VECTOR_WRAPPER): Likewise.
9113         (VECTOR_WRAPPER_ff): Likewise.
9114         (VECTOR_WRAPPER_fFF): Likewise.
9115         (VEC_LEN): New macro.
9116         * math/test-float-vlen4.h: Include test-float.h,
9117         test-math-no-inline.h and test-math-vector.h.
9118         (FLOAT): Remove macro.
9119         (FUNC): Likewise.
9120         (MATHCONST): Likewise.
9121         (PRINTF_EXPR): Likewise.
9122         (PRINTF_XEXPR): Likewise.
9123         (PRINTF_NEXPR): Likewise.
9124         (TEST_FLOAT): Likewise.
9125         (TEST_MATHVEC): Likewise.
9126         (__NO_MATH_INLINES): Likewise.
9127         (CNCT): Likewise.
9128         (CONCAT): Likewise.
9129         (WRAPPER_NAME): Likewise.
9130         (WRAPPER_DECL): Likewise.
9131         (WRAPPER_DECL_ff): Likewise.
9132         (WRAPPER_DECL_fFF): Likewise.
9133         (VECTOR_WRAPPER): Likewise.
9134         (VECTOR_WRAPPER_ff): Likewise.
9135         (VECTOR_WRAPPER_fFF): Likewise.
9136         (VEC_LEN): New macro.
9137         * math/test-float-vlen8.h: Include test-float.h,
9138         test-math-no-inline.h and test-math-vector.h.
9139         (FLOAT): Remove macro.
9140         (FUNC): Likewise.
9141         (MATHCONST): Likewise.
9142         (PRINTF_EXPR): Likewise.
9143         (PRINTF_XEXPR): Likewise.
9144         (PRINTF_NEXPR): Likewise.
9145         (TEST_FLOAT): Likewise.
9146         (TEST_MATHVEC): Likewise.
9147         (__NO_MATH_INLINES): Likewise.
9148         (CNCT): Likewise.
9149         (CONCAT): Likewise.
9150         (WRAPPER_NAME): Likewise.
9151         (WRAPPER_DECL): Likewise.
9152         (WRAPPER_DECL_ff): Likewise.
9153         (WRAPPER_DECL_fFF): Likewise.
9154         (VECTOR_WRAPPER): Likewise.
9155         (VECTOR_WRAPPER_ff): Likewise.
9156         (VECTOR_WRAPPER_fFF): Likewise.
9157         (VEC_LEN): New macro.
9158         * math/test-float-vlen16.h: Include test-float.h,
9159         test-math-no-inline.h and test-math-vector.h.
9160         (FLOAT): Remove macro.
9161         (FUNC): Likewise.
9162         (MATHCONST): Likewise.
9163         (PRINTF_EXPR): Likewise.
9164         (PRINTF_XEXPR): Likewise.
9165         (PRINTF_NEXPR): Likewise.
9166         (TEST_FLOAT): Likewise.
9167         (TEST_MATHVEC): Likewise.
9168         (__NO_MATH_INLINES): Likewise.
9169         (CNCT): Likewise.
9170         (CONCAT): Likewise.
9171         (WRAPPER_NAME): Likewise.
9172         (WRAPPER_DECL): Likewise.
9173         (WRAPPER_DECL_ff): Likewise.
9174         (WRAPPER_DECL_fFF): Likewise.
9175         (VECTOR_WRAPPER): Likewise.
9176         (VECTOR_WRAPPER_ff): Likewise.
9177         (VECTOR_WRAPPER_fFF): Likewise.
9178         (VEC_LEN): New macro.
9179         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
9180         test-vec-loop.h.
9181         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9182         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9183         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9184         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9185         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9186         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9187         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
9189 2015-06-24  Roland McGrath  <roland@hack.frob.com>
9191         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
9192         (__getlogin_r): ... this.
9194 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
9196         [BZ #18594]
9197         * math/s_ccosh.c (__ccosh): Compare with least normal value
9198         instead of comparing class with FP_SUBNORMAL.
9199         * math/s_ccoshf.c (__ccoshf): Likewise.
9200         * math/s_ccoshl.c (__ccoshl): Likewise.
9201         * math/s_cexp.c (__cexp): Likewise.
9202         * math/s_cexpf.c (__cexpf): Likewise.
9203         * math/s_cexpl.c (__cexpl): Likewise.
9204         * math/s_csin.c (__csin): Likewise.
9205         * math/s_csinf.c (__csinf): Likewise.
9206         * math/s_csinh.c (__csinh): Likewise.
9207         * math/s_csinhf.c (__csinhf): Likewise.
9208         * math/s_csinhl.c (__csinhl): Likewise.
9209         * math/s_csinl.c (__csinl): Likewise.
9210         * math/s_ctan.c (__ctan): Likewise.
9211         * math/s_ctanf.c (__ctanf): Likewise.
9212         * math/s_ctanh.c (__ctanh): Likewise.
9213         * math/s_ctanhf.c (__ctanhf): Likewise.
9214         * math/s_ctanhl.c (__ctanhl): Likewise.
9215         * math/s_ctanl.c (__ctanl): Likewise.
9216         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
9217         csin, csinh, ctan and ctanh.
9218         * math/auto-libm-test-out: Regenerated.
9219         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
9220         * sysdeps/i386/fpu/libm-test-ulps: Update.
9221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9223 2015-06-24  Roland McGrath  <roland@hack.frob.com>
9225         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
9226         return value is wrong, print the expected value too.
9228 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
9230         [BZ #18585]
9231         * elf/readlib.c (is_gdb_python_file): New.
9232         (process_file): Don't issue errors on filenames with -gdb.py
9233         suffix.
9235 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
9237         * math/auto-libm-test-in: Add more tests of csin and csinh.
9238         * math/auto-libm-test-out: Regenerated.
9239         * math/libm-test.inc (csin_test_data): Remove tests moved to
9240         auto-libm-test-in.
9241         (csinh_test_data): Likewise.
9243         [BZ #18593]
9244         * math/s_csin.c (__csin): Negate before rather than after possibly
9245         overflowing multiplication.
9246         * math/s_csinf.c (__csinf): Likewise.
9247         * math/s_csinh.c (__csinh): Likewise.
9248         * math/s_csinhf.c (__csinhf): Likewise.
9249         * math/s_csinhl.c (__csinhl): Likewise.
9250         * math/s_csinl.c (__csinl): Likewise.
9251         * math/auto-libm-test-in: Add some tests of csin and csinh.
9252         * math/auto-libm-test-out: Regenerated.
9253         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
9254         (csinh_test_data): Likewise.
9255         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9257         [BZ #18586]
9258         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
9259         underflow exception for small results.
9261 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
9263         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
9264         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
9265         variable and included header.
9266         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
9267         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
9268         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
9269         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
9270         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
9271         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
9272         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
9273         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
9274         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
9275         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
9276         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
9277         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
9278         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
9279         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
9280         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
9281         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
9283 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
9285         [BZ #16526]
9286         [BZ #16538]
9287         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
9288         (__sin): Force underflow exception for arguments with small
9289         absolute value.
9290         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
9291         (__kernel_sinf): Force underflow exception for arguments with
9292         small absolute value.
9293         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
9294         (__kernel_sincosl): Force underflow exception for arguments with
9295         small absolute value.
9296         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
9297         (__kernel_sinl): Force underflow exception for arguments with
9298         small absolute value.
9299         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
9300         (__kernel_sincosl): Force underflow exception for arguments with
9301         small absolute value.
9302         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
9303         (__kernel_sinl): Force underflow exception for arguments with
9304         small absolute value.
9305         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
9306         (__kernel_sinl): Force underflow exception for arguments with
9307         small absolute value.
9308         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
9309         (__kernel_sinf): Force underflow exception for arguments with
9310         small absolute value.
9311         * math/auto-libm-test-in: Add more tests of sin and sincos.
9312         * math/auto-libm-test-out: Regenerated.
9314         [BZ #18245]
9315         [BZ #18583]
9316         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
9317         (__kernel_standard_l): Use feholdexcept and fesetenv around
9318         conversion to double instead of special-casing overflow and
9319         underflow.
9320         * math/libm-test.inc (fmod_test_data): Add more tests.
9321         (remainder_test_data): Likewise.
9322         (sqrt_test_data): Likewise.
9324 2015-06-23  Torvald Riegel  <triegel@redhat.com>
9326         [BZ #17403]
9327         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
9328         atomic_read_barrier, atomic_write_barrier): Define.
9329         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
9330         atomic_read_barrier, atomic_write_barrier): Define.
9332 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
9334         * math/Makefile [$(PERL) != no]
9335         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
9336         dependency on libm-test.stmp below the inclusion of Rules.
9338 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
9340         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
9341         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
9342         and included header.
9343         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
9344         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
9345         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
9346         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
9347         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
9348         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
9349         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
9350         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
9351         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
9352         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
9353         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
9354         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
9355         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
9356         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
9357         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
9358         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
9359         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
9360         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
9361         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
9363 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
9365         [BZ #18371]
9366         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
9367         intermediate but not final result might underflow.
9368         * math/s_csqrtf.c (__csqrtf): Likewise.
9369         * math/s_csqrtl.c (__csqrtl): Likewise.
9370         * math/auto-libm-test-in: Add more tests of csqrt.
9371         * math/auto-libm-test-out: Regenerated.
9372         * sysdeps/i386/fpu/libm-test-ulps: Update.
9374         [BZ #18219]
9375         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
9376         threshold on absolute value of exponent for which scaling is used.
9377         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
9378         * math/auto-libm-test-in: Add more tests of exp2.
9379         * math/auto-libm-test-out: Regenerated.
9381 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
9383         [BZ #17977]
9384         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
9385         when initializing interface list, based on the bug analysis
9386         and the patch proposed by Eric Newton.
9387         * resolv/tst-res_hconf_reorder.c: New test.
9388         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
9389         tst-res_hconf_reorder.
9390         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
9391         and $(shared-thread-library).
9392         (tst-res_hconf_reorder-ENV): New variable.
9394         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
9395         in comment.
9397 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
9399         [BZ #16353]
9400         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
9401         (__expm1): Force underflow exception for arguments with small
9402         absolute value.
9403         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
9404         (__expm1f): Force underflow exception for arguments with small
9405         absolute value.
9406         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
9407         (__expm1): Force underflow exception for arguments with small
9408         absolute value.
9409         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
9410         (__expm1f): Force underflow exception for arguments with small
9411         absolute value.
9412         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
9413         Check for small arguments before calling __expm1.
9414         * math/auto-libm-test-in: Do not mark underflow exceptions as
9415         possibly missing for bug 16353.
9416         * math/auto-libm-test-out: Regenerated.
9418 2015-06-22  Andreas Schwab  <schwab@suse.de>
9420         [BZ #18513]
9421         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
9422         PTR queries.
9424 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
9426         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
9428         * string/strcoll_l.c: Remove unused struct element idxnow.
9430 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
9432         [BZ #18569]
9433         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
9434         underflow and return argument in case of subnormal argument.
9435         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9436         Likewise.
9437         * math/auto-libm-test-in: Add more tests of expm1.
9438         * math/auto-libm-test-out: Regenerated.
9440         [BZ #16361]
9441         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
9442         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
9443         tiny results.
9444         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
9445         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
9446         tiny results.
9447         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
9448         mark underflow exceptions as possibly missing for bug 16361.
9449         * math/auto-libm-test-out: Regenerated.
9451 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
9453         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
9454         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
9455         Remove variable.
9456         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9457         (test-xfail-XOPEN2K8/utmpx.h/conform).
9459         * conform/conformtest.pl ($xerrors): New variable.
9460         (note_error): New function.
9461         (compiletest): New argument $xfail.  Use not_error.
9462         (runtest): Likewise.
9463         (top level): Handle xfail- lines.  Update calls to compiletest and
9464         runtest.  Handle xfail- and optional- in headers listed with
9465         allow-header.
9466         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
9467         (O_EXEC): Likewise.
9468         (O_SEARCH): Likewise.
9469         * conform/data/stropts.h-data (ioctl): Likewise.
9470         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
9471         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
9472         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
9473         (msghdr.msg_controllen): Likewise.
9474         (cmsghdr.cmsg_len): Likewise.
9475         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
9476         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
9477         variable.
9478         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9479         (test-xfail-XPG4/stropts.h/conform): Likewise.
9480         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9481         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9482         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9483         (test-xfail-UNIX98/stropts.h/conform): Likewise.
9484         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9485         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9486         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9487         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9488         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9489         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9490         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9491         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9492         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9493         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9494         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9495         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9496         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9497         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9498         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9500 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9502         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
9503         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
9504         definitions for proper unfolding of __MATHDECL_VEC.
9506 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
9508         * benchtests/bench-strcoll.c:
9509         Include string.h.
9510         (main): Remove unused variable res.
9512 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
9514         * timezone/Makefile (%/UTC %/Universal):
9515         Generate test-result files for UTC and Universal.
9517 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
9519         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9521 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
9523         [BZ #16350]
9524         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
9525         for arguments with small absolute value.
9526         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
9527         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
9528         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
9529         (__asinh): Force underflow exception for arguments with small
9530         absolute value.
9531         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
9532         (__asinhf): Force underflow exception for arguments with small
9533         absolute value.
9534         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
9535         (__asinhl): Force underflow exception for arguments with small
9536         absolute value.
9537         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
9538         (__asinhl): Force underflow exception for arguments with small
9539         absolute value.
9540         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
9541         (__asinhl): Force underflow exception for arguments with small
9542         absolute value.
9543         * math/auto-libm-test-in: Do not mark underflow exceptions as
9544         possibly missing for bug 16350.
9545         * math/auto-libm-test-out: Regenerated.
9547         * include/bits/ipc.h: Remove file.
9548         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
9549         variable.
9550         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9551         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9552         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9553         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9554         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9555         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9556         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9557         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9558         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9560         * math/auto-libm-test-in: Remove spurious underflow allowance for
9561         tests of cexp.
9562         * math/auto-libm-test-out: Regenerated.
9564         [BZ #18558]
9565         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
9566         unconditional definition.
9567         (MCAST_BLOCK_SOURCE): Likewise.
9568         (MCAST_UNBLOCK_SOURCE): Likewise.
9569         (MCAST_LEAVE_GROUP): Likewise.
9570         (MCAST_JOIN_SOURCE_GROUP): Likewise.
9571         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9572         (MCAST_MSFILTER): Likewise.
9573         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
9574         Remove variable.
9575         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9576         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9577         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9578         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9579         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9581 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
9583         * NEWS: Mention addition of x86_64 vector sincosf.
9584         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
9585         * math/test-float-vlen4.h: Likewise.
9586         * math/test-float-vlen8.h: Likewise.
9587         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9588         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
9589         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9590         * sysdeps/x86_64/fpu/Versions: New versions added.
9591         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9592         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
9593         Added build of SSE, AVX2 and AVX512 IFUNC versions.
9594         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
9595         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
9596         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
9597         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
9598         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
9599         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
9600         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
9601         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
9602         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
9603         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
9604         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
9605         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
9606         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
9607         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
9608         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
9609         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9610         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
9611         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9612         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
9613         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9614         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9616         * NEWS: Mention addition of x86_64 vector sincos.
9617         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
9618         * math/math.h (__MATHDECL_VEC): New macro.
9619         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
9620         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
9621         declaration under condition.
9622         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
9623         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
9624         TEST_VEC_LOOP change.
9625         * math/test-double-vlen4.h: Likewise.
9626         * math/test-double-vlen8.h: Likewise.
9627         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
9628         * math/test-float-vlen4.h: Likewise.
9629         * math/test-float-vlen8.h: Likewise.
9630         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9631         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
9632         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9633         * sysdeps/x86_64/fpu/Versions: New versions added.
9634         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9635         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
9636         Added build of SSE, AVX2 and AVX512 IFUNC versions.
9637         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
9638         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
9639         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
9640         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
9641         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
9642         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
9643         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
9644         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
9645         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
9646         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
9647         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
9648         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
9649         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
9650         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
9651         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
9652         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9653         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
9654         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9655         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
9656         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9657         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
9659         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9660         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9661         redirections for powf.
9662         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9663         * sysdeps/x86_64/fpu/Versions: New versions added.
9664         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9665         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
9666         Added build of SSE, AVX2 and AVX512 IFUNC versions.
9667         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
9668         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
9669         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
9670         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
9671         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
9672         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
9673         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
9674         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
9675         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
9676         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
9677         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
9678         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
9679         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
9680         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
9681         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
9682         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9683         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
9684         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9685         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
9686         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9687         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9688         * math/test-float-vlen16.h: Fixed 2 argument macro.
9689         * math/test-float-vlen4.h: Likewise.
9690         * math/test-float-vlen8.h: Likewise.
9691         * NEWS: Mention addition of x86_64 vector powf.
9693 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
9695         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9696         and redefine.
9697         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9698         and redefine.
9699         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
9700         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9701         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9703         [BZ #18553]
9704         * resource/getpriority.c (getpriority): Rename to __getpriority
9705         and define as weak alias of __getpriority.
9706         * resource/setpriority.c (setpriority): Rename to __setpriority
9707         and define as weak alias of __setpriority.
9708         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
9709         __getpriority and define as weak alias of __getpriority.
9710         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
9711         __setpriority and define as weak alias of __setpriority.
9712         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
9713         strong name.
9714         (setpriority): Use __setpriority as strong name.
9715         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
9716         __getpriority and define as weak alias of __getpriority.
9717         * include/sys/resource.h (__getpriority): Declare.  Use
9718         libc_hidden_proto.
9719         (__setpriority): Likewise.
9720         (getpriority): Don't use libc_hidden_proto.
9721         (setpriority): Likewise.
9722         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
9723         getpriority.  Call __setpriority instead of setpriority.
9724         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
9725         Remove variable.
9727         [BZ #18547]
9728         * misc/getttyent.c (getttynam): Rename to __getttynam and define
9729         as weak alias of __getttynam.  Use prototype function definition.
9730         Call __setttyent, __getttyent and __endttyent instead of
9731         setttyent, getttyent and endttyent.
9732         (getttyent): Rename to __getttyent and define as weak alias of
9733         __getttyent.  Call __setttyent instead of setttyent.  Call
9734         __fgets_unlocked instead of fgets_unlocked.
9735         (setttyent): Rename to __setttyent and define as weak alias of
9736         __setttyent.
9737         (endttyent): Rename to __endttyent and define as weak alias of
9738         __endttyent.
9739         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
9740         (__setttyent): Likewise.
9741         (__endttyent): Likewise.
9742         (getttyent): Don't use libc_hidden_proto.
9743         (setttyent): Likewise.
9744         (endttyent): Likewise.
9745         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
9746         __endttyent instead of setttyent, getttyent and endttyent.
9747         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
9748         Remove variable.
9750         [BZ #18546]
9751         * socket/recv.c (__recv): Use libc_hidden_def.
9752         * socket/socket.c (__socket): Likewise.
9753         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
9754         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
9755         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
9756         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
9757         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
9758         libc_hidden_def.
9759         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
9760         libc_hidden_weak.
9761         * include/sys/socket.h (__socket): Do not use attribute_hidden.
9762         Use libc_hidden_proto.
9763         (__recv): Likewise.
9764         * socket/Versions (libc): Export __recv and __socket at version
9765         GLIBC_PRIVATE.
9766         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
9767         instead of recv.
9768         (init_mq_netlink): Call __socket instead of socket.
9769         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
9770         Remove variable.
9772         [BZ #18545]
9773         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
9774         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
9775         hidden_weak.
9776         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
9777         define as alias of __mq_timedsend.  Use hidden_weak.
9778         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
9779         __mq_timedsend as strong name.
9780         (mq_timedreceive): Use __mq_timedreceive as strong name.
9781         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
9782         (__mq_timedreceive): Likewise.
9783         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
9784         __mq_timedreceive instead of mq_timedreceive.
9785         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
9786         instead of mq_timedsend.
9787         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
9788         Remove variable.
9790         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
9791         hidden_def and hidden_weak instead of libc_hidden_def and
9792         libc_hidden_weak.
9793         (top level): Refer to hidden_def in comment.
9794         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
9795         macro.  Use it instead of libc_hidden_def.
9796         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
9797         specify __GI_* name explicitly.
9798         (mq_timedreceive): Likewise.
9799         (mq_setattr): Likewise.
9801         [BZ #18544]
9802         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
9803         __pthread_barrier_init and define as weak alias of
9804         __pthread_barrier_init.
9805         * sysdeps/sparc/nptl/pthread_barrier_init.c
9806         (pthread_barrier_init): Likewise.
9807         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
9808         __pthread_barrier_wait and define as weak alias of
9809         __pthread_barrier_wait.
9810         * sysdeps/sparc/nptl/pthread_barrier_wait.c
9811         (pthread_barrier_wait): Likewise.
9812         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
9813         (pthread_barrier_wait): Likewise.
9814         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
9815         (pthread_barrier_wait): Likewise.
9816         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
9817         (pthread_barrier_wait): Likewise.
9818         * nptl/Versions (libpthread): Export __pthread_barrier_init and
9819         __pthread_barrier_wait at version GLIBC_PRIVATE.
9820         * include/pthread.h (__pthread_barrier_init): Declare.
9821         (__pthread_barrier_wait): Likewise.
9822         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
9823         Call __pthread_barrier_wait instead of pthread_barrier_wait.
9824         (helper_thread): Likewise.
9825         (init_mq_netlink): Call __pthread_barrier_init instead of
9826         pthread_barrier_init.
9828         [BZ #18542]
9829         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
9830         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
9831         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
9832         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
9833         vswscanf.
9834         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
9835         Remove variable.
9837         [BZ #18540]
9838         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
9839         strong alias of _IO_fflush.  Use libc_hidden_def.
9840         * libio/iofflush_u.c (fflush_unlocked): Rename to
9841         __fflush_unlocked and define as weak alias of __fflush_unlocked.
9842         Use libc_hidden_weak.
9843         * include/stdio.h (__fflush_unlocked): Declare.  Use
9844         libc_hidden_proto.
9845         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
9846         fflush_unlocked.
9847         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
9848         Remove variable.
9850         [BZ #18539]
9851         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
9852         define as weak alias of __addseverity.
9853         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
9854         Remove variable.
9855         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
9856         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
9857         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
9859         [BZ #18536]
9860         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
9861         (__tfind): Likewise.
9862         (__tdelete): Likewise.
9863         (__twalk): Likewise.
9864         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
9865         __twalk to GLIBC_PRIVATE.
9866         * include/search.h (__tsearch): Use libc_hidden_proto.
9867         (__tfind): Likewise.
9868         (__tdelete): Likewise.
9869         (__twalk): Likewise.
9870         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
9871         Call __tdelete instead of tdelete.
9872         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
9873         tfind.  Call __tsearch instead of tsearch.
9874         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
9875         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
9876         Remove variable.
9877         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
9879         [BZ #18534]
9880         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
9881         (dprintf): Define as a weak alias of __dprintf, not a strong
9882         alias.
9883         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
9884         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
9885         dprintf.
9886         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
9887         Remove variable.
9888         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
9889         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
9891         [BZ #18533]
9892         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
9893         not a strong alias.
9894         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
9895         Remove variable.
9897         [BZ #18532]
9898         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
9899         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
9900         (in6addr_loopback): Rename to __in6addr_loopback and define as
9901         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
9902         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
9903         libc_hidden_proto.
9904         (__in6addr_any): Likewise.
9905         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
9906         in6addr_any.
9907         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
9908         variable.
9909         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
9911 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
9913         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
9914         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
9915         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
9916         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9917         redirections for pow.
9918         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9919         * sysdeps/x86_64/fpu/Versions: New versions added.
9920         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9921         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9922         build of SSE, AVX2 and AVX512 IFUNC versions.
9923         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
9924         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
9925         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
9926         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
9927         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
9928         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
9929         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
9930         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
9931         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
9932         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
9933         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
9934         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
9935         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
9936         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
9937         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
9938         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9939         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
9940         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9941         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
9942         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9943         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
9944         * NEWS: Mention addition of x86_64 vector pow.
9946         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9947         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9948         redirections for expf.
9949         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9950         * sysdeps/x86_64/fpu/Versions: New versions added.
9951         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9952         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9953         build of SSE, AVX2 and AVX512 IFUNC versions.
9954         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
9955         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
9956         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
9957         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
9958         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
9959         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
9960         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
9961         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
9962         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
9963         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
9964         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
9965         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
9966         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
9967         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
9968         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9969         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
9970         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9971         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
9972         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9973         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9974         * NEWS: Mention addition of x86_64 vector expf.
9976         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
9977         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
9978         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
9979         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9980         redirections for exp.
9981         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9982         * sysdeps/x86_64/fpu/Versions: New versions added.
9983         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9984         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9985         build of SSE, AVX2 and AVX512 IFUNC versions.
9986         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
9987         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
9988         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
9989         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
9990         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
9991         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
9992         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
9993         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
9994         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
9995         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
9996         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
9997         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
9998         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
9999         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10000         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10001         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10002         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10003         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10004         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10005         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10006         * NEWS: Mention addition of x86_64 vector exp.
10008         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10009         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10010         redirections for logf.
10011         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10012         * sysdeps/x86_64/fpu/Versions: New versions added.
10013         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10014         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10015         build of SSE, AVX2 and AVX512 IFUNC versions.
10016         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
10017         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
10018         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
10019         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
10020         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
10021         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
10022         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
10023         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
10024         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
10025         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
10026         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
10027         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
10028         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
10029         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
10030         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10031         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10032         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10033         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10034         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10035         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10036         * NEWS: Mention addition of x86_64 vector logf.
10038         * bits/libm-simd-decl-stubs.h: Added stubs for log.
10039         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
10040         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10041         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10042         redirections for log.
10043         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10044         * sysdeps/x86_64/fpu/Versions: New versions added.
10045         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10046         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10047         build of SSE, AVX2 and AVX512 IFUNC versions.
10048         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
10049         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
10050         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
10051         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
10052         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
10053         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
10054         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
10055         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
10056         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
10057         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
10058         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
10059         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
10060         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
10061         test.
10062         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10063         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10064         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10065         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10066         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10067         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10068         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10069         * NEWS: Mention addition of x86_64 vector log.
10071 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10073         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
10074         cfi_adjust_cfa_offset argument.
10075         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
10076         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
10078         [BZ #18034]
10079         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
10080         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
10081         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
10082         ordering using ldar.
10083         (_dl_tlsdesc_dynamic): Likewise.
10084         (_dl_tlsdesc_return_lazy): Likewise.
10085         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
10086         relaxed atomics instead of volatile and synchronize with release store.
10087         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
10088         volatile.
10089         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10091 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
10093         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10094         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
10095         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10096         * sysdeps/x86_64/fpu/Versions: New versions added.
10097         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10098         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10099         build of SSE, AVX2 and AVX512 IFUNC versions.
10100         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
10101         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
10102         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
10103         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
10104         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
10105         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
10106         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
10107         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
10108         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
10109         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
10110         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
10111         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
10112         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
10113         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
10114         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10115         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10116         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10117         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10118         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10119         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10120         * NEWS: Mention addition of x86_64 vector sinf.
10122 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
10124         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
10125         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
10126         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
10127         Remove variable.
10128         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
10129         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
10131 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
10133         [BZ #18530]
10134         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
10135         strong alias of _IO_fputs.  Use libc_hidden_def.
10136         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
10137         and define as weak alias of __fputs_unlocked.  Use
10138         libc_hidden_weak.
10139         * include/stdio.h (__fputs_unlocked): Declare.  Use
10140         libc_hidden_proto.
10141         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
10142         fputs_unlocked.
10144         [BZ #18529]
10145         * resolv/netdb.h [__USE_POSIX]: Change condition to
10146         [__USE_XOPEN2K].
10147         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
10148         not expect.
10149         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
10150         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
10151         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
10152         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
10153         [XPG4 || UNIX98] (AI_ALL): Likewise.
10154         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
10155         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
10156         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
10157         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
10158         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
10159         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
10160         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
10161         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
10162         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
10163         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
10164         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
10165         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
10166         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
10167         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
10168         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
10169         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
10170         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
10171         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
10172         [XPG4 || UNIX98] (gai_strerror): Likewise.
10173         [XPG4 || UNIX98] (getaddrinfo): Likewise.
10174         [XPG4 || UNIX98] (getnameinfo): Likewise.
10176         [BZ #18528]
10177         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
10178         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
10179         __USE_XOPEN2K8].
10180         (getgrent): Likewise.
10181         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
10182         expect.
10183         [XPG3 || POSIX2008] (endgrent): Likewise.
10184         [XPG3] (setgrent): Likewise.
10185         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
10186         variable.
10187         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
10189         [BZ #18527]
10190         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
10191         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
10192         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
10193         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
10194         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
10195         * include/unistd.h (__getlogin_r): Declare.  Use
10196         libc_hidden_proto.
10197         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
10198         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
10199         variable.
10200         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
10201         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
10202         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
10204 2015-06-12  Martin Sebor  <msebor@redhat.com>
10206         [BZ #18512]
10207         * Makerules (check-install-supported): New target.
10208         (install): Add check-install-supported as a dependency.
10209         * manual/install.texi (Installing the C Library): Document
10210         that overriding prefix and exec_prefix is not supported.
10211         Mention DESTDIR.
10212         * INSTALL: Regenerate from the above.
10214 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
10216         [BZ #18519]
10217         * posix/Versions (libc): Export __libc_pread at version
10218         GLIBC_PRIVATE.
10219         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
10220         instead of pread.
10221         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
10222         variable.
10224         [BZ #18522]
10225         * misc/efgcvt_r.c
10226         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
10227         (cvt_symbol): Use weak_alias instead of strong_alias.
10228         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
10229         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
10230         Remove variable.
10231         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
10232         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
10234         [BZ #18520]
10235         * inet/herrno.c (h_errno): Rename to __h_errno.
10236         (__libc_h_errno): Define as alias of __h_errno not h_errno.
10237         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
10238         to __h_errno instead of h_errno.
10239         * nptl/herrno.c (h_errno): Rename to __h_errno.
10240         (__h_errno_location): Refer to __h_errno not h_errno.
10241         * resolv/Versions (h_errno): Rename to __h_errno.
10242         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
10243         Remove variable.
10244         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
10246 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
10248         * configure.ac: More strict check for AVX512 assembler support.
10249         * configure: Regenerated.
10251         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
10252         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
10253         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10254         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
10255         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10256         * sysdeps/x86_64/fpu/Versions: New versions added.
10257         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10258         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10259         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10260         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
10261         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
10262         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
10263         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
10264         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
10265         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
10266         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
10267         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
10268         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
10269         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
10270         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
10271         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
10272         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
10273         test.
10274         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10275         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10276         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10277         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10278         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10279         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10280         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10281         * NEWS: Mention addition of x86_64 vector sin.
10283 2015-06-11  Florian Weimer  <fweimer@redhat.com>
10285         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
10286         comment.
10288 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
10290         [BZ #18479]
10291         * nptl/pt-interp.c: New file.
10292         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
10293         Add pt-interp.
10294         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
10295         $(common-objpfx)runtime-linker.h.
10297 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
10299         * Makeconfig (+interp): Remove unused variable.
10300         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
10301         only.  Depend on $(common-objpfx)runtime-linker.h instead of
10302         $(elf-objpfx)runtime-linker.h.
10303         ($(elf-objpfx)runtime-linker.h): Rename to
10304         $(common-objpfx)runtime-linker.h and move ...
10305         * Makerules [$(build-shared) = yes]: ... here.
10306         * elf/interp.c: Include <runtime-linker.h> instead of
10307         <elf/runtime-linker.h>.
10309 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10311         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
10312         (__gettimeofday_syscall): Remove vsyscall fallback.
10313         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
10314         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
10315         Add syscall fallback function.
10316         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
10317         if vDSO is not present.
10318         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
10319         fallback function.
10320         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
10321         present.
10322         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
10323         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10325 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
10327         [BZ #18497]
10328         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
10329         of wcscmp.
10330         (wcscmp): Define as weak alias of WCSCMP.
10331         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
10332         wcscoll.
10333         (USE_HIDDEN_DEF): Define.
10334         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
10335         __wcscoll.  Don't use libc_hidden_weak.
10336         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
10337         wcscmp.
10338         * sysdeps/i386/i686/multiarch/wcscmp-c.c
10339         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
10340         __GI_wcscmp.
10341         (weak_alias): Undefine and redefine.
10342         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
10343         __wcscmp and define as weak alias of __wcscmp.
10344         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
10345         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
10346         (__wcscoll): Likewise.
10347         (wcscmp): Don't use libc_hidden_proto.
10348         (wcscoll): Likewise.
10349         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
10350         wcscoll.
10351         * posix/regexec.c (check_node_accept_bytes): Likewise.
10352         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
10353         variable.
10354         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
10355         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
10357         [BZ #18507]
10358         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
10359         __fstatvfs and define as weak alias of __fstatvfs.  Use
10360         libc_hidden_weak.
10361         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
10362         and define as weak alias of __statvfs.  Use libc_hidden_weak.
10363         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
10364         Define as alias of __fstatvfs, not fstatvfs.
10365         (fstatvfs64): Likewise.
10366         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
10367         Define as alias of __statvfs, not statvfs.
10368         (statvfs64): Likewise.
10369         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
10370         Remove variable.
10372 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10375         (HAVE_GETCPU_VSYSCALL): Define.
10376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10377         (HAVE_GETCPU_VSYSCALL): Likewise.
10378         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
10379         * sysdeps/unix/sysv/linux/sched_getcpu.c
10380         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
10381         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
10382         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
10383         prototype.
10384         * sysdeps/unix/sysv/linux/x86_64/init-first.c
10385         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
10386         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
10387         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
10388         Define.
10389         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
10390         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
10391         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
10392         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10394 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
10396         * sysdeps/x86_64/fpu/Makefile: New file.
10397         * sysdeps/x86_64/fpu/Versions: New file.
10398         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
10399         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
10400         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
10401         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
10402         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
10403         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
10404         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
10405         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
10406         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
10407         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
10408         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
10409         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
10410         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
10411         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10412         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10413         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
10414         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
10415         * sysdeps/x86_64/configure.ac: Options for libmvec build.
10416         * sysdeps/x86_64/configure: Regenerated.
10417         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
10418         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
10419         * manual/install.texi (Configuring and compiling): Document
10420         --disable-mathvec.
10421         * INSTALL: Regenerated.
10422         * NEWS: Mention addition of libmvec and x86_64 vector cos.
10424         * math/Makefile: Added rules for vector tests.
10425         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
10426         declaration under condition.
10427         * math/test-double-vlen2.h: New file.
10428         * math/test-double-vlen4.h: New file.
10429         * math/test-double-vlen8.h: New file.
10430         * math/test-vec-loop.h: Added initialization macro.
10431         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
10432         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
10433         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
10434         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
10435         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
10436         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
10437         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
10438         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
10439         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
10440         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
10441         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
10443         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10444         * sysdeps/x86_64/fpu/Versions: New versions added.
10445         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
10446         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
10447         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
10448         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
10449         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
10450         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
10451         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
10452         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
10453         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
10454         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
10455         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
10456         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
10457         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
10458         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10459         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10460         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10461         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
10462         * NEWS: Mention addition of x86_64 vector cosf.
10464         * math/Makefile: Added CFLAGS for new tests.
10465         * math/test-float-vlen16.h: New file.
10466         * math/test-float-vlen4.h: New file.
10467         * math/test-float-vlen8.h: New file.
10468         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
10469         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
10470         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10471         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
10472         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
10473         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
10474         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
10475         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
10476         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
10477         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
10478         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
10480 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
10482         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
10483         * locale/programs/ld-ctype.c: Likewise.
10485 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
10487         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
10488         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
10489         bit_ZMM16_31_state): New macro.
10490         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10491         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
10493 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
10495         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
10497 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
10499         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
10501 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
10503         [BZ #18498]
10504         * libio/memstream.c (open_memstream): Rename to __open_memstream
10505         and define as weak alias of __open_memstream.
10506         * include/stdio.h (__open_memstream): Declare.  Use
10507         libc_hidden_proto.
10508         (open_memstream): Don't use libc_hidden_proto.
10509         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
10510         open_memstream.
10511         * posix/getopt.c (_getopt_internal_r): Likewise.
10512         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
10513         variable.
10514         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
10515         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
10516         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
10518         [BZ #18496]
10519         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
10520         instead of wcrtomb.
10522         [BZ #18483]
10523         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
10524         [__USE_XOPEN2K8].  Remove redundant #endif.
10525         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
10526         Remove redundant #if.
10527         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
10528         Remove variable.
10529         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
10530         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
10532         [BZ #18495]
10533         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
10534         (__iswlower): Likewise.
10535         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
10536         (__iswlower): Likewise.
10537         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
10538         instead of towlower.
10539         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
10540         instead of iswlower.  Call __towupper instead of towupper.
10541         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
10542         instead of iswalnum.
10544 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10546         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
10547         errors to stderr.
10549 2015-06-05  Florian Weimer  <fweimer@redhat.com>
10551         [BZ #15661]
10552         [BZ #17322]
10553         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
10554         Check for overflow properly.  Check for O_APPEND.  Ignore large
10555         file system block sizes.  Add comments about problems.
10556         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
10557         * manual/filesys.texi (Storage Allocation): New node.
10559 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10561         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
10562         cancellable syscalls.
10563         (SYS_ify): Add guard to no redefine it.
10564         (INLINE_SYSCALL): Likewise.
10565         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
10566         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
10567         SYSCALL_CANCEL instead.
10568         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
10569         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
10570         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
10571         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
10572         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
10573         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
10574         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
10575         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
10576         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
10577         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
10578         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
10579         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
10580         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
10581         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
10582         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
10583         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
10584         Likewise.
10585         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
10586         (__libc_pread64): Likewise.
10587         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
10588         (__libc_preadv): Likewise.
10589         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
10590         (__libc_readv64): Likewise.
10591         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
10592         (__libc_pwrite): Likewise.
10593         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
10594         (__libc_pwrite64): Likewise.
10595         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
10596         (__libc_pwritev): Likewise.
10597         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
10598         (__libc_pwritev64): Likewise.
10599         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
10600         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
10601         (sync_file_range): Likewise.
10602         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
10603         Likewise.
10604         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
10605         Likewise.
10606         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
10607         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
10608         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
10609         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
10610         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
10611         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
10612         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
10613         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
10614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
10615         Likewise.
10616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10617         (__libc_read64): Likewise.
10618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
10619         Likewise.
10620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
10621         Likewise.
10622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
10623         Likewise.
10624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
10625         Likewise.
10626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
10627         (__libc_pread64): Likewise.
10628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
10629         Likewise.
10630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
10631         (__libc_pwrite64): Likewise.
10632         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
10633         (sync_file_range): Likewise.
10634         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
10635         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
10636         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
10637         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
10638         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
10639         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
10640         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
10641         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
10642         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
10643         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10644         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10645         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
10646         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
10647         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
10648         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
10649         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
10650         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
10651         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
10652         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
10653         Likewise.
10654         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
10655         Likewise.
10656         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
10657         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
10658         Likewise.
10659         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
10660         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
10661         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
10662         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
10663         Likewise.
10664         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
10665         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
10666         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
10667         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
10668         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
10670 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
10672         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
10673         Include dl-vdso.
10674         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
10675         Use VDSO routines for gettimeofday, clock_gettime if
10676         available.
10677         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
10678         Declare VDSO symbols.
10679         * sysdeps/unix/sysv/linux/arm/sysdep.h:
10680         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
10681         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
10682         * sysdeps/unix/sysv/linux/arm/Versions: Add
10683         __vdso_clock_gettime.
10685 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10687         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
10688         be an inline implementation regardless of library is built within.
10689         (open_not_cancel_2): Likewise.
10690         (__read_nocancel): Likewise.
10691         (__write_nocancel): Likewise.
10692         (openat_not_cancel): Likewise.
10693         (openat_not_cancel_3): Likewise.
10694         (openat64_not_cancel): Likewise.
10695         (openat64_not_cancel_3): Likewise.
10696         (__close_nocancel): Likewise.
10697         (pause_not_cancel): Likewise.
10698         (nanosleep_not_cancel): Likewise.
10699         (sigsuspend_not_cancel): Likewise.
10701 2015-06-04  Torvald Riegel  <triegel@redhat.com>
10703         [BZ #14958]
10704         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
10705         wake-up.
10706         (__pthread_rwlock_rdlock_slow): Likewise.
10707         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10708         Likewise.
10709         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
10710         Likewise.
10711         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
10712         * nptl/tst-rwlock16.c: New file.
10713         * nptl/Makefile (tests): Add new test.
10715 2015-06-04  Torvald Riegel  <triegel@redhat.com>
10717         [BZ #18324]
10718         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
10719         missing wake-up of readers.
10720         * nptl/tst-rwlock15.c: New file.
10721         * nptl/Makefile (tests): Add new test.
10723 2015-06-03  Roland McGrath  <roland@hack.frob.com>
10725         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
10726         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
10727         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
10728         and __nacl_supply_interface_rtld.
10729         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
10730         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
10731         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
10732         Add __nacl_supply_interface_rtld.
10733         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
10735 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
10737         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
10738         isfinite.
10739         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10740         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
10742 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
10744         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
10745         __signbit* with standard C99 macros.
10746         * math/e_exp10l.c: Likewise.
10747         * math/e_exp2l.c: Likewise.
10748         * math/e_scalb.c: Likewise.
10749         * math/e_scalbf.c: Likewise.
10750         * math/e_scalbl.c: Likewise.
10751         * math/s_ldexp.c: Likewise.
10752         * math/s_ldexpf.c: Likewise.
10753         * math/s_ldexpl.c: Likewise.
10754         * math/w_atan2.c: Likewise.
10755         * math/w_atan2f.c: Likewise.
10756         * math/w_atan2l.c: Likewise.
10757         * math/w_cosh.c: Likewise.
10758         * math/w_coshf.c: Likewise.
10759         * math/w_coshl.c: Likewise.
10760         * math/w_exp10.c: Likewise.
10761         * math/w_exp10f.c: Likewise.
10762         * math/w_exp10l.c: Likewise.
10763         * math/w_exp2.c: Likewise.
10764         * math/w_exp2f.c: Likewise.
10765         * math/w_exp2l.c: Likewise.
10766         * math/w_fmod.c: Likewise.
10767         * math/w_fmodf.c: Likewise.
10768         * math/w_fmodl.c: Likewise.
10769         * math/w_hypot.c: Likewise.
10770         * math/w_hypotf.c: Likewise.
10771         * math/w_hypotl.c: Likewise.
10772         * math/w_jnl.c: Likewise.
10773         * math/w_lgamma.c: Likewise.
10774         * math/w_lgamma_r.c: Likewise.
10775         * math/w_lgammaf.c: Likewise.
10776         * math/w_lgammaf_r.c: Likewise.
10777         * math/w_lgammal.c: Likewise.
10778         * math/w_lgammal_r.c: Likewise.
10779         * math/w_pow.c: Likewise.
10780         * math/w_powf.c: Likewise.
10781         * math/w_powl.c: Likewise.
10782         * math/w_remainder.c: Likewise.
10783         * math/w_remainderf.c: Likewise.
10784         * math/w_remainderl.c: Likewise.
10785         * math/w_scalb.c: Likewise.
10786         * math/w_scalbf.c: Likewise.
10787         * math/w_scalbl.c: Likewise.
10788         * math/w_scalbln.c: Likewise.
10789         * math/w_scalblnf.c: Likewise.
10790         * math/w_scalblnl.c: Likewise.
10791         * math/w_sinh.c: Likewise.
10792         * math/w_sinhf.c: Likewise.
10793         * math/w_sinhl.c: Likewise.
10794         * math/w_tgamma.c: Likewise.
10795         * math/w_tgammaf.c: Likewise.
10796         * math/w_tgammal.c: Likewise.
10797         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10798         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
10799         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10800         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10801         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10802         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10803         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10804         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10805         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10806         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10807         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10808         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10809         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10810         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10811         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10812         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10813         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10814         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10815         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10816         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10817         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10818         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10819         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10820         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10821         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10822         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10823         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
10824         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10825         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10826         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10827         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
10828         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
10829         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
10830         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
10831         * stdio-common/printf_fp.c: Likewise.
10832         * stdio-common/printf_fphex.c: Likewise.
10833         * stdio-common/printf_size.c: Likewise.
10835 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
10837         [BZ #18470]
10838         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
10839         strnlen.
10840         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
10841         Remove variable.
10842         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
10843         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
10844         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
10845         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
10846         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
10847         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
10848         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
10849         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
10850         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
10851         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
10853         [BZ #18468]
10854         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
10855         weak alias of __wmemchr.  Use libc_hidden_weak.
10856         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
10857         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
10858         instead of wmemchr.
10860 2015-06-02  Roland McGrath  <roland@hack.frob.com>
10862         [BZ #18383]
10863         * elf/tst-tlsalign-extern.c: New file.
10864         * elf/tst-tlsalign-extern-static.c: New file.
10865         * elf/tst-tlsalign-vars.c: New file.
10866         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
10867         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
10868         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
10869         ($(objpfx)tst-tlsalign-extern-static): Likewise.
10870         (test-xfail-tst-tlsalign-extern-static): New variable.
10872 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
10874         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
10875         Use variable name _sc_err instead of err.
10876         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
10877         instead of ret.
10878         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
10879         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
10880         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
10881         (INLINE_SYSCALL): Likewise.
10883         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
10884         * include/string.h (__strnlen): Use libc_hidden_proto.
10885         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
10886         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
10887         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
10888         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
10889         (libc_hidden_def): Undefine and redefine.
10890         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
10891         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
10892         __GI_strnlen.
10893         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
10894         libc_hidden_def.
10895         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
10897         [BZ #18469]
10898         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
10899         weak alias of __towlower.  Use libc_hidden_weak.
10900         (towupper): Rename to __towupper and define as weak alias of
10901         __towupper.  Use libc_hidden_weak.
10902         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
10903         (__towupper): Likewise.
10904         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
10905         __towlower instead of towlower.
10907 2015-06-02  Roland McGrath  <roland@hack.frob.com>
10909         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
10910         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
10912 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10914         * sysdeps/aarch64/libm-test-ulps: Update.
10916 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10918         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
10919         Define.
10920         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
10921         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
10922         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
10923         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
10924         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
10925         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
10926         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
10928 2015-06-01  Martin Sebor  <msebor@redhat.com>
10930         [BZ #18116]
10931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10932         (__setcontext): Use extended four-operand version of mtsf whenever
10933         possible.
10934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10935         (__novec_swapcontext): Likewise.
10937 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
10939         * benchtests/scripts/compare_bench.py: New file.
10940         * benchtests/scripts/import_bench.py (mean): New function.
10941         (split_list): Likewise.
10942         (do_for_all_timings): Likewise.
10943         (compress_timings): Likewise.
10945         * benchtests/scripts/import_bench.py: New file.
10946         * benchtests/scripts/validate_benchout.py: Import import_bench
10947         instead of jsonschema.
10948         (validate_bench): Remove function.
10949         (main): Use import_bench.
10951 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
10953         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
10954         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
10956 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10958         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10960 2015-05-28  Roland McGrath  <roland@hack.frob.com>
10962         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
10963         set THREAD_SELF->tid to a magic value and futex-wake it.
10964         Pass its address to the thread_exit system call.
10965         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
10966         bit is clear.
10967         * sysdeps/nacl/lowlevellock.h: New file.
10968         * sysdeps/nacl/lll_timedwait_tid.c: New file.
10970         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
10971         Add TIMEOUT to current time, don't subtract it.
10973 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
10975         [BZ #2981]
10976         [BZ #18422]
10977         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
10978         ($(objpfx)tst-audit2.out): Also depend on
10979         $(objpfx)tst-auditmod9b.so.
10980         * elf/tst-audit2.c: Include <dlfcn.h>.
10981         (calloc_called): New.
10982         (calloc): Allow to be called more than once.
10983         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
10985 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
10987         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
10988         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
10990 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
10992         * stdlib/monetary.h: Fix comment.
10994 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
10996         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
10997         Avoid using variables in #defines that might cause shadowing.
10998         (INTERNAL_VSYSCALL_CALL): Likewise.
11000 2015-05-26  Roland McGrath  <roland@hack.frob.com>
11002         * sysdeps/nacl/lll_timedlock_wait.c: New file.
11004         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
11005         * nptl/lll_timedlock_wait.c: ... to this new file.
11006         * nptl/Makefile (libpthread-routines): Add it.
11007         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
11008         * nptl/lll_timedwait_tid.c: ... to this new file.
11009         * nptl/Makefile (libpthread-routines): Add it.
11010         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
11011         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
11012         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
11013         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
11014         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
11015         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
11016         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
11017         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
11018         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
11019         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
11021 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11023         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
11024         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
11025         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
11026         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
11027         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
11028         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
11029         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11030         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
11031         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11032         * sysdeps/unix/sysv/linux/tile/sysdep.h
11033         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11034         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
11035         using vDSO syscall macro.
11037 2015-05-26  Andriy Rysin  <arysin@gmail.com>
11039         [BZ #17293]
11040         * uk_UA: Fix sorting order for Ukrainian locale
11042 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
11044         * stdlib/monetary.h: Fix comment.
11046 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11048         [BZ #18234]
11049         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
11050         st_mtim and st_ctim members.
11051         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
11052         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
11053         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
11054         (struct stat64): Likewise.
11055         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
11056         (struct stat64): Likewise.
11057         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
11058         (struct stat64): Likewise.
11060 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11062         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
11063         Define and include sysdep-vdso.h.
11064         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
11065         Likewise.
11066         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
11067         Likewise.
11068         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
11069         Define with VDSO_SYMBOL and use PTR_MANGLE.
11070         (__vdso_clock_gettime): Likewise.
11071         (__vdso_clock_getres): Likewise.
11072         (_libc_vdso_platform_setup): Likewise.
11073         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
11074         Likewise.
11075         (_libc_vdso_platform_setup): Likewise.
11076         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
11077         Likewise.
11078         (__vdso_clock_gettime): Likewise.
11079         (__vdso_clock_getres): Likewise.
11080         (__vdso_get_tbfreq): Likewise.
11081         (__vdso_getcpu): Likewise.
11082         (__vdso_time): Likewise.
11083         (__vdso_sigtramp_rt64): Likewise.
11084         (__vdso_signtramp32): Likewise.
11085         (__vdso_sigtramp_rt32): Likewise.
11086         (_libc_vdso_platform_setup): Likewise.
11087         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
11088         Likewise.
11089         (__vdso_clock_gettime): Likewise.
11090         (__vdso_clock_getres): Likewise.
11091         (_libc_vdso_platform_setup): Likewise.
11092         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
11093         Likewise.
11094         (__vdso_clock_gettime): Likewise.
11095         (_libc_vdso_platform_setup): Likewise.
11096         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
11097         Likewise.
11098         (__vdso_getcpu): Likewise.
11099         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
11100         Use VDSO_SYMBOL macro to define.
11101         (__vdso_clock_gettime): Likewise.
11102         (__vdso_clock_getres): Likewise.
11103         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
11104         Likewise.
11105         (__vdso_clock_gettime): Likewise.
11106         (__vdso_clock_getres): Likewise.
11107         (__vdso_get_tbfreq): Likewise.
11108         (__vdso_getcpu): Likewise.
11109         (__vdso_time): Likewise.
11110         (__vdso_sigtramp_rt64): Likewise.
11111         (__vdso_signtramp32): Likewise.
11112         (__vdso_sigtramp_rt32): Likewise.
11113         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
11114         Likewise.
11115         (__vdso_clock_gettime): Likewise.
11116         (__vdso_clock_getres): Likewise.
11117         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
11118         Likewise.
11119         (__vdso_clock_gettime): Likewise.
11120         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
11121         Likewise.
11122         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
11123         macro.
11124         (INTERNAL_VSYSCALL): Likewise.
11125         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
11126         Remove macro.
11127         (INTERNAL_VSYSCALL): Likewise.
11128         (INTERNAL_VSYSCALL_NCS): Likewise.
11129         (INTERNAL_VSYSCALL_CALL): New macro.
11130         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
11131         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
11132         Likewise.
11133         (INTERNAL_VSYSCALL): Likewise.
11134         (INTERNAL_VSYSCALL_NCS): Likewise.
11135         (INTERNAL_VSYSCALL_CALL): New macro.
11136         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
11137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11138         (INLINE_VSYSCALL): Remove macro.
11139         (INTERNAL_VSYSCALL): Remove macro.
11140         (INTERNAL_VSYSCALL_NCS): Remove macro.
11141         (INTERNAL_VSYSCALL_CALL): New macro.
11142         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
11143         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
11144         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
11145         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
11146         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
11147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11148         (INLINE_VSYSCALL): Remove macro.
11149         (INTERNAL_VSYSCALL): Likewise.
11150         (INTERNAL_VSYSCALL_NCS): Likewise.
11151         (INTERNAL_VSYSCALL_CALL): New macro.
11152         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
11153         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
11154         PTR_DEMANGLE on vDSO pointer.
11155         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
11156         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
11157         macro.
11158         (INTERNAL_SYSCALL): Likewise.
11159         (INTERNAL_VSYSCALL_NCS): Remove macro.
11160         (INTERNAL_VSYSCALL_CALL): New macro.
11161         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
11162         Remove macro.
11163         (INTERNAL_VSYSCALL): Likewise.
11164         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
11165         sysdep-vdso.h instead of libc-vdso.h.
11166         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
11167         definition.
11168         (INLINE_VSYSCALL): Likewise.
11169         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
11170         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
11171         definition.
11172         (INLINE_VSYSCALL): Likewise.
11173         (INTERNAL_VSYSCALL): Likewise.
11174         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
11175         * sysdeps/unix/sysv/linux/timespec_get.c
11176         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
11177         (timespec_get): Use ANSI prototype.
11178         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
11179         and definition for Linux.
11181 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
11183         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
11184         * include/libc-symbols.h: libmvec_hidden_* macro series added.
11186 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
11188         [BZ #2981]
11189         [BZ #18410]
11190         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
11191         for missing DT_PLTRELSZ.
11193 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
11195         Remove obsolete aliases that broke 'locale -a'
11196         [BZ #18412]
11197         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
11198         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
11199         breaking some applications that use 'locale -a' output.
11200         Change the encoding of this file from Latin-1 to ASCII to avoid
11201         other potential problems with people grepping this file.
11203 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11205         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
11206         -fasynchronous-unwind-tables.
11207         (CFLAGS-sendto.c): Likewise.
11208         (CFLAGS-sendmsg.c): Likewise.
11209         (CFLAGS-connect.c): Likewise.
11210         (CFLAGS-recvmsg.c): Likewise.
11211         (CFLAGS-recvfrom.c): Likewise.
11212         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
11213         (SOCKETCALL): New macro: non-cancellable socketcall.
11214         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
11215         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
11216         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
11217         * sysdeps/unix/sysv/linux/accept.c: New file.
11218         * sysdeps/unix/sysv/linux/bind.c: Likewise.
11219         * sysdeps/unix/sysv/linux/connect.c: Likewise.
11220         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
11221         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
11222         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
11223         * sysdeps/unix/sysv/linux/listen.c: Likewise.
11224         * sysdeps/unix/sysv/linux/recv.c: Likewise.
11225         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
11226         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
11227         * sysdeps/unix/sysv/linux/send.c: Likewise.
11228         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
11229         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
11230         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
11231         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
11232         * sysdeps/unix/sysv/linux/socket.c: Likewise.
11233         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
11234         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
11235         prototype.
11236         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
11237         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
11238         instead of __internal_xxx function.
11239         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
11240         prototype.
11241         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
11242         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
11243         instead of __internal_xxx function.
11244         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
11245         prototype.
11246         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
11247         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
11248         instead of __internal_xxx function.
11249         * sysdeps/unix/sysv/linux/accept.S: Remove file.
11250         * sysdeps/unix/sysv/linux/bind.S: Likewise.
11251         * sysdeps/unix/sysv/linux/connect.S: Likewise.
11252         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
11253         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
11254         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
11255         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
11256         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
11257         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
11258         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
11259         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
11260         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11261         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
11262         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
11263         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
11264         * sysdeps/unix/sysv/linux/listen.S: Likewise.
11265         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
11266         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
11267         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
11268         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
11269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
11270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
11271         * sysdeps/unix/sysv/linux/recv.S: Likewise.
11272         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
11273         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
11274         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
11275         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
11276         * sysdeps/unix/sysv/linux/send.S: Likewise.
11277         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
11278         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
11279         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
11280         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
11281         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
11282         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
11283         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
11284         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
11285         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
11286         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
11287         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
11288         socketcall is implemented in GLIBC.
11290 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
11292         * soft-fp/fmadf4.c: Include <libc-internal.h>.
11293         (__fma): Ignore uninitialized warnings around packing.
11294         * soft-fp/fmasf4.c: Include <libc-internal.h>.
11295         (__fmaf): Ignore uninitialized warnings around packing.
11296         * soft-fp/fmatf4.c: Include <libc-internal.h>.
11297         (__fmal): Ignore uninitialized warnings around packing.
11299         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
11300         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
11301         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
11302         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
11304         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
11305         switch statement into default case.
11306         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
11308         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
11309         a conditional in forcing "inexact".
11310         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
11311         Likewise.
11313 2015-05-22  Roland McGrath  <roland@hack.frob.com>
11315         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11316         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
11317         for each INTERNAL_SYSCALL use.
11319 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
11321         [BZ #438]
11322         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
11323         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
11324         variable.
11326         [BZ #18444]
11327         * string/basename.c (basename): Rename to __basename and define as
11328         weak alias of __basename.  Use libc_hidden_weak.
11329         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
11330         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
11331         __basename instead of basename.
11332         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
11333         Remove variable.
11334         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
11336 2015-05-18  Florian Weimer  <fweimer@redhat.com>
11338         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
11339         (_IO_JUMPS_FILE_plus): New.
11340         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
11341         _IO_CAST_FIELD_ACCESS.
11342         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
11343         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
11344         * libio/freopen.c (freopen): Likewise.
11345         * libio/freopen64.c (freopen64): Likewise.
11346         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
11347         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
11348         * libio/iofwide.c (_IO_fwide): Likewise.
11349         * libio/memstream.c (open_memstream): Likewise.
11350         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11351         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
11352         * libio/oldiopopen.c (_IO_old_popen): Likewise.
11354 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
11356         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
11357         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
11358         NADJ.
11359         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
11360         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
11361         NADJ.
11362         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
11363         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
11364         NADJ.
11366         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
11367         (p == 4) case.
11369         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
11370         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
11371         Remove variable.
11372         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
11373         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
11374         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
11376 2015-05-21  Florian Weimer  <fweimer@redhat.com>
11378         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
11379         Adjust jump table label generation macros.
11381 2015-05-21  Florian Weimer  <fweimer@redhat.com>
11383         * stdio-common/vfprintf.c (vfprintf): Move local variables
11384         args_malloced, specs, specs_malloced, and the code after
11385         do_positional to the printf_positional function.
11386         (printf_positional): New function.
11388 2015-05-21  Florian Weimer  <fweimer@redhat.com>
11390         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
11391         function.
11392         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
11393         STEP4_TABLE, process_arg): Move macro definitions
11394         out of the vfprintf function.  (Cosmetic change only.)
11396 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
11398         * benchtests/Makefile (stdio-common-bench): Define.
11399         (benchset): Add stdio-common-bench.
11400         * sprintf-inputs: New file.
11401         * sprintf-source.c: New file.
11403 2015-05-21  Andreas Schwab  <schwab@suse.de>
11405         [BZ #13028]
11406         [BZ #17053]
11407         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
11408         of struct __res_state.
11409         * resolv/res_send.c (__libc_res_nsend): Likewise.
11410         (get_nsaddr): New function.
11411         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
11412         statp directly.
11414 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
11416         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
11417         -D_POSIX_C_SOURCE=199506L.
11419         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
11421         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
11422         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
11423         Do not mention otherwise.
11424         [POSIX] (_XOPEN_VERSION): Do not expect.
11425         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
11426         [POSIX] (_POSIX2_C_BIND): Likewise.
11427         [POSIX] (_POSIX2_VERSION): Likewise.
11428         [POSIX] (_XOPEN_XPG2): Likewise.
11429         [POSIX] (_XOPEN_XPG3): Likewise.
11430         [POSIX] (_XOPEN_XPG4): Likewise.
11431         [POSIX] (_XOPEN_UNIX): Likewise.
11432         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
11433         [POSIX] (_POSIX_BARRIERS): Likewise.
11434         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
11435         [POSIX] (_POSIX_CPUTIME): Likewise.
11436         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
11437         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
11438         [POSIX] (_POSIX_SHELL): Likewise.
11439         [POSIX] (_POSIX_SPAWN): Likewise.
11440         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
11441         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
11442         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
11443         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
11444         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
11445         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
11446         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
11447         [POSIX] (_XBS5_LP64_OFF64): Likewise.
11448         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
11449         [POSIX] (_POSIX_TIMEOUTS): Likewise.
11450         [POSIX] (_POSIX2_PBS): Likewise.
11451         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
11452         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
11453         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
11454         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
11455         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
11456         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
11457         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
11458         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
11459         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
11460         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
11461         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
11462         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
11463         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
11464         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
11465         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
11466         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
11467         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
11468         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
11469         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
11470         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
11471         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
11472         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
11473         [POSIX] (_SC_2_C_BIND): Likewise.
11474         [POSIX] (_SC_2_C_VERSION): Likewise.
11475         [POSIX] (_SC_2_PBS): Likewise.
11476         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
11477         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
11478         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
11479         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
11480         [POSIX] (_SC_2_PBS_TRACK): Likewise.
11481         [POSIX] (_SC_ATEXIT_MAX): Likewise.
11482         [POSIX] (_SC_BARRIERS): Likewise.
11483         [POSIX] (_SC_BASE): Likewise.
11484         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
11485         [POSIX] (_SC_DEVICE_IO): Likewise.
11486         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
11487         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
11488         [POSIX] (_SC_FD_MGMT): Likewise.
11489         [POSIX] (_SC_FIFO): Likewise.
11490         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
11491         [POSIX] (_SC_FILE_LOCKING): Likewise.
11492         [POSIX] (_SC_FILE_SYSTEM): Likewise.
11493         [POSIX] (_SC_IOV_MAX): Likewise.
11494         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
11495         [POSIX] (_SC_NETWORKING): Likewise.
11496         [POSIX] (_SC_PAGE_SIZE): Likewise.
11497         [POSIX] (_SC_PASS_MAX): Likewise.
11498         [POSIX] (_SC_PIPE): Likewise.
11499         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
11500         [POSIX] (_SC_REGEXP): Likewise.
11501         [POSIX] (_SC_SHELL): Likewise.
11502         [POSIX] (_SC_SIGNALS): Likewise.
11503         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
11504         [POSIX] (_SC_SPIN_LOCKS): Likewise.
11505         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
11506         [POSIX] (_SC_USER_GROUPS): Likewise.
11507         [POSIX] (_SC_USER_GROUPS_R): Likewise.
11508         [POSIX] (_SC_STREAMS): Likewise.
11509         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
11510         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
11511         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
11512         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
11513         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
11514         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
11515         [POSIX] (_PC_FILESIZEBITS): Likewise.
11516         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
11517         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
11518         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
11519         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
11520         [POSIX] (uid_t): Likewise.
11521         [POSIX] (gid_t): Likewise.
11522         [POSIX] (off_t): Likewise.
11523         [POSIX] (pid_t): Likewise.
11524         [POSIX] (cuserid): Allow.
11525         (_SC_2_CHAR_TERM): Require constant.
11526         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
11527         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
11528         variable.
11530 2015-05-20  Roland McGrath  <roland@hack.frob.com>
11532         * sysdeps/nacl/pthread-pids.h: New file.
11533         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
11534         (create_thread): Use __nacl_get_tid to initialize PD->tid.
11536         * nptl/pthread-pids.h: New file.
11537         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
11538         * nptl/nptl-init.c: Include <pthread-pids.h>.
11539         (__pthread_initialize_minimal_internal):
11540         Call __pthread_initialize_pids instead of set_tid_address syscall.
11542         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
11543         * sysdeps/posix/usleep.c: ... here.
11545 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11547         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
11548         call_pselect6 object.
11549         [$(subdir) = io]: Remove call_sync_file_range object.
11550         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
11551         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
11552         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
11553         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
11555 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
11557         * math/s_cproj.c: Add include "math_private.h".
11558         * math/s_cprojf.c: Likewise.
11559         * math/s_cprojl.c: Likewise.
11561 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
11563         [BZ #18244]
11564         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
11565         high mantissa bit when testing whether P is a NaN.
11566         * math/libm-test.inc (remainder_test_data): Add more tests.
11567         (remquo_test_data): Likewise.
11569         [BZ #18049]
11570         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
11571         below -32, return the argument, with underflow if subnormal.
11572         * math/auto-libm-test-in: Add more tests of atanh.
11573         * math/auto-libm-test-out: Regenerated.
11575 2015-05-19  Roland McGrath  <roland@hack.frob.com>
11577         [BZ #18434]
11578         * nptl/tst-sem15.c: New file.
11579         * nptl/Makefile (tests): Add it.
11580         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
11581         s/<</>>/ to fix typo in EOVERFLOW check.
11582         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
11584 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11586         * manual/strings.texi (envz_remove): Fix typo in safety
11587         annotations.
11589 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
11590             Steve Ellcey  <sellcey@imgtec.com>
11592         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
11593         in order to avoid strict alias warnings.
11594         (iruserok_af): Ditto for ra.
11596 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
11598         [BZ #17581]
11599         * malloc/hooks.c
11600         (magicbyte): Convert to a function and avoid returning 0x01.
11601         (mem2mem_check): Avoid using a length byte equal to the magic byte.
11602         (mem2chunk_check): Fix unsigned comparisons to zero.
11603         Hoist defs of sz and magic.
11605 2015-05-19  Richard Henderson  <rth@redhat.com>
11607         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
11609         * sysdeps/alpha/fpu/libm-test-ulps: Update.
11611 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11613         [BZ #16159]
11614         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
11615         * malloc/arena.c (arena_lock): Check if arena is corrupt.
11616         (reused_arena): Find a non-corrupt arena.
11617         (heap_trim): Pass arena to unlink.
11618         * malloc/hooks.c (malloc_check_get_size): Pass arena to
11619         malloc_printerr.
11620         (top_check): Likewise.
11621         (free_check): Likewise.
11622         (realloc_check): Likewise.
11623         * malloc/malloc.c (malloc_printerr): Add arena argument.
11624         (unlink): Likewise.
11625         (munmap_chunk): Adjust.
11626         (ARENA_CORRUPTION_BIT): New macro.
11627         (arena_is_corrupt): Likewise.
11628         (set_arena_corrupt): Likewise.
11629         (sysmalloc): Use mmap if there are no usable arenas.
11630         (_int_malloc): Likewise.
11631         (__libc_malloc): Don't fail if arena_get returns NULL.
11632         (_mid_memalign): Likewise.
11633         (__libc_calloc): Likewise.
11634         (__libc_realloc): Adjust for additional argument to
11635         malloc_printerr.
11636         (_int_free): Likewise.
11637         (malloc_consolidate): Likewise.
11638         (_int_realloc): Likewise.
11639         (_int_memalign): Don't touch corrupt arenas.
11640         * malloc/tst-malloc-backtrace.c: New test case.
11642         * Makefile (summarize-tests): Fix return value on success.
11644         * manual/string.texi (Envz Functions): Add envz_remove.
11646 2015-05-18  Roland McGrath  <roland@hack.frob.com>
11648         * sysdeps/posix/opendir.c: Include <stdbool.h>.
11649         (invalid_name): New function, broken out of ...
11650         (__opendirat): ... here.  Call it.
11651         (need_isdir_precheck): New function, broken out of ...
11652         (__opendirat): ... here.  Call it.
11653         Use __fxstatat64, not __xstatat64.
11654         (opendir_oflags): New function, broken out of ...
11655         (__opendirat): ... here.  Call it.
11656         (opendir_tail): New function, broken out of ...
11657         (__opendirat): ... here.  Call it.
11658         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
11659         opendir_tail, rather than punting to __opendirat.
11660         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
11662 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11664         * .gitignore: Ignore generated *.pyc.
11666 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
11668         * include/stdio.h: Define __need_wint_t.
11669         * test-skeleton.c: Avoid `for' loop initial declaration.
11670         * nptl/tst-initializers1.c: Use test-skeleton.c.
11672 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11674         [BZ #18418]
11675         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
11677 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
11679         [BZ #16352]
11680         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
11681         (__ieee754_atanh): Force underflow exception for results with
11682         small absolute value.
11683         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
11684         (__ieee754_atanhf): Force underflow exception for results with
11685         small absolute value.
11686         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
11687         (__ieee754_atanh): Force underflow exception for results with
11688         small absolute value.
11689         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
11690         (__ieee754_atanhf): Force underflow exception for results with
11691         small absolute value.
11692         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
11693         (__ieee754_atanhl): Force underflow exception for results with
11694         small absolute value.
11695         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
11696         (__ieee754_atanhl): Force underflow exception for results with
11697         small absolute value.
11698         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
11699         (__ieee754_atanhl): Force underflow exception for results with
11700         small absolute value.
11701         * math/auto-libm-test-in: Do not allow missing underflow
11702         exceptions from atanh.
11703         * math/auto-libm-test-out: Regenerated.
11705         [BZ #18221]
11706         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
11707         2**-28 as threshold for returning x or +/- 1/x.
11708         * math/auto-libm-test-in: Add more tests of tan.
11709         * math/auto-libm-test-out: Regenerated.
11711         [BZ #18220]
11712         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
11713         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
11714         * math/auto-libm-test-in: Add another test of lgamma.
11715         * math/auto-libm-test-out: Regenerated.
11717 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
11719         * stdio-common/printf_fp.c (___printf_fp): Use abs.
11720         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
11721         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
11722         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
11723         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
11724         (ADD2A): Use fabs.  (SUB2A): Use fabs.
11725         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
11726         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
11727         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
11728         (log1): Use fabs.  (my_log2): Use fabs.
11729         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
11730         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
11731         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
11732         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
11733         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
11734         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
11735         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
11736         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
11737         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
11738         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
11739         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
11741 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
11743         [BZ #18217]
11744         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
11745         as threshold for returning 1 - x.
11746         * math/auto-libm-test-in: Add more tests of erfc.
11747         * math/auto-libm-test-out: Regenerated.
11749 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
11751         [BZ #18196]
11752         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
11753         threshold for large arguments.
11754         * math/auto-libm-test-in: Add another test of atan.
11755         * math/auto-libm-test-out: Regenerated.
11757         [BZ #16339]
11758         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
11759         (__log1p): Force underflow exception for results with small
11760         absolute value.
11761         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
11762         (__log1pf): Force underflow exception for results with small
11763         absolute value.
11764         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
11765         (__log1p): Force underflow exception for results with small
11766         absolute value.
11767         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
11768         (__log1pf): Force underflow exception for results with small
11769         absolute value.
11770         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
11771         (__log1pl): Force underflow exception for results with small
11772         absolute value.
11773         * math/auto-libm-test-in: Do not allow missing underflow
11774         exceptions from log1p.
11775         * math/auto-libm-test-out: Regenerated.
11777 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
11778             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11780         [BZ #16704]
11781         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
11783 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
11785         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
11786         (libmvec): New variable.
11787         * configure.ac: Added option for mathvec build.
11788         * configure: Regenerated.
11789         * mathvec/Depend: New file.
11790         * mathvec/Makefile: New file.
11791         * shlib-versions: Added libmvec.
11792         * math/Makefile: Added rule for libm.so installation.
11794         * bits/math-vector.h: New file.
11795         * bits/libm-simd-decl-stubs.h: New header.
11796         * math/Makefile (headers): Added new header
11797         libm-simd-decl-stubs.h.
11798         * math/math.h (__MATHCALL_VEC): New macro.
11800         * math/gen-libm-have-vector-test.sh: Script generates series of macros
11801         for conditions in testing functions.
11802         * math/Makefile: Added call of libm-have-vector-test.sh.
11803         * math/libm-test.inc (HAVE_VECTOR): New macros.
11805         * math/libm-test.inc: START refactored.
11806         * math/test-double.c (TEST_MATHVEC): Add define.
11807         * math/test-float.c: Likewise.
11808         * math/test-idouble.c: Likewise.
11809         * math/test-ifloat.c: Likewise.
11810         * math/test-ildoubl.c: Likewise.
11811         * math/test-ldouble.c: Likewise.
11812         * sysdeps/generic/math-tests-arch.h
11813         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
11814         architecture check.
11816         * math/test-double.c (FUNC_TEST): New macro.
11817         * math/test-float.c: Likewise.
11818         * math/test-idouble.c: Likewise.
11819         * math/test-ifloat.c: Likewise.
11820         * math/test-ildoubl.c: Likewise.
11821         * math/test-ldouble.c: Likewise.
11822         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
11824 2015-05-13  Roland McGrath  <roland@hack.frob.com>
11826         * sysdeps/nacl/fdopendir.c: New file.
11828         * dirent/scandir-tail.c: New file.
11829         * dirent/scandir64-tail.c: New file.
11830         * dirent/Makefile (routines): Add them.
11831         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
11832         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
11833         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
11834         [!SCANDIR] (SCANDIR_TAIL): New macro.
11835         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
11836         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
11837         (SCANDIRAT): Macro removed.
11838         (SCANDIR_TAIL): New macro.
11839         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
11840         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
11841         (SCANDIRAT): Just call __opendirat and __scandir_tail.
11842         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
11843         (READDIR): Macro removed.
11844         (SCANDIR_TAIL): New macro.
11845         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
11846         (SCANDIR_TAIL): New macro.
11848         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
11849         * dirent/scandir-cancel.c: ... to this new file.
11850         * dirent/Makefile (routines): Add it.
11851         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
11852         * sysdeps/unix/sysv/linux/i386/scandir64.c
11853         (SKIP_SCANDIR_CANCEL): Macro removed.
11854         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
11856         * dirent/tst-scandir.c: New file.
11857         * dirent/tst-scandir64.c: New file.
11858         * dirent/Makefile (tests): Add them.
11860 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
11862         [BZ #18409]
11863         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
11865 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11867         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
11868         list.
11870 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
11872         * benchtests/bench-strcoll.c: New benchmark.
11873         * benchtests/Makefile: Generate locales and run benchmark.
11874         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
11875         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
11876         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
11877         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
11878         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
11879         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
11880         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
11881         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
11882         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
11883         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
11884         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
11885         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
11886         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
11887         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
11888         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
11889         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
11890         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
11891         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
11892         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
11893         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
11894         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
11895         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
11896         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
11897         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
11899 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
11901         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
11902         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11904 2015-05-12  Roland McGrath  <roland@hack.frob.com>
11906         * posix/uname-values.h: New file.
11907         * posix/uname.c: Include that instead of <config-name.h>.
11908         * sysdeps/nacl/uname-values.h: New file.
11909         * sysdeps/arm/nacl/uname-values.h: New file.
11911 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
11913         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
11914         splitting into fields.
11916 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
11918         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
11919         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
11920         * locale/localeinfo.h: Add enum collation_encoding_type.
11921         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
11922         * programs/ld-collate.c (collate_output): Add encoding type info.
11923         * string/strcoll_l.c (STRDIFF): New function.
11924         * (STRCOLL): Use STRDIFF to skip over equal prefix.
11925         * wcsmbs/wcscoll_l.c: Define STRDIFF.
11927 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
11929         [BZ #18397]
11930         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
11931         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
11932         <fpu_control.h> instead of <math/fpu_control.c>.
11933         * sysdeps/mips/mips32/fpu/Makefile: New file.
11935 2015-05-11  Andreas Schwab  <schwab@suse.de>
11937         [BZ #18007]
11938         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
11939         nss_endgrent.
11940         (_nss_compat_endgrent): Call nss_endgrent.
11941         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
11942         nss_endpwent.
11943         (_nss_compat_endpwent): Call nss_endpwent.
11944         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
11945         needent, call nss_setspent only if non-zero.
11946         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
11947         (internal_endspent): Don't call nss_endspent.
11948         (_nss_compat_endspent): Call nss_endspent.
11949         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
11950         Remove.  All uses removed.
11951         (internal_setent): Remove parameter stayopen, add parameter
11952         stream.  Use it instead of global variable.
11953         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
11954         (internal_endent, internal_getent): Add parameter stream.  Use it
11955         instead of global variable.
11956         (CONCAT(_nss_files_end,ENTNAME))
11957         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
11958         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
11959         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
11960         uses removed.
11961         (internal_setent, internal_endent): Add parameter stream.  Use it
11962         instead of global variable.
11963         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
11964         stream.
11965         (get_next_alias): Add parameter stream.
11966         (_nss_files_getaliasent_r): Pass global stream.
11967         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
11968         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
11969         (_nss_files_gethostbyname4_r): Pass local stream to
11970         internal_setent, internal_getent and internal_endent.  Remove
11971         locking.
11973 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11975         * tst-strfmon1.c (tests): Update expected currency symbol.
11977 2015-05-08  Roland McGrath  <roland@hack.frob.com>
11979         * sysdeps/nacl/gethostname.c: New file.
11981 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
11983         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
11984         and sinh.
11985         * math/auto-libm-test-out: Regenerated.
11986         * sysdeps/i386/fpu/libm-test-ulps: Update.
11987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11989 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
11991         [BZ #18125]
11992         * stdlib/tst-setcontext3.c: New file.
11993         * stdlib/tst-setcontext3.sh: New file.
11994         * stdlib/Makefile (tests): Add tst-setcontext3.
11995         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
11996         to verify test program created output file.
11997         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
11998         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
11999         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
12000         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
12002 2015-05-06  Roland McGrath  <roland@hack.frob.com>
12004         [BZ #18383]
12005         * elf/tst-tlsalign.c: New file.
12006         * elf/tst-tlsalign-static.c: New file.
12007         * elf/tst-tlsalign-lib.c: New file.
12008         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
12009         (tests-static): Add tst-tlsalign-static.
12010         (modules-names): Add tst-tlsalign-lib.
12011         (test-xfail-tst-tlsalign): New variable.
12012         (test-xfail-tst-tlsalign-static): New variable.
12014         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
12015         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
12017 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
12019         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
12020         csqrt, erfc, sin and sincos.
12021         * math/auto-libm-test-out: Regenerated.
12022         * sysdeps/i386/fpu/libm-test-ulps: Update.
12023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12025 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12027         * sysdeps/aarch64/libm-test-ulps: Update.
12029 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
12031         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
12032         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
12033         * math/auto-libm-test-out: Regenerated.
12034         * sysdeps/i386/fpu/libm-test-ulps: Update.
12035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12037 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
12039         [BZ #18265]
12040         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
12041         (wcsncpy): Likewise.
12043 2015-05-05  Florian Weimer  <fweimer@redhat.com>
12045         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
12046         Assume __ASSUME_FALLOCATE is always true.
12047         * sysdeps/unix/sysv/linux/posix_fallocate64.c
12048         (__posix_fallocate64_l64): Likweise.
12049         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
12050         (posix_fallocate): Likewise.
12051         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
12052         (__posix_fallocate64_l64): Likewise.
12053         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12054         [!__ASSUME_FALLOCATE]: Add comment.
12056 2015-05-05  Florian Weimer  <fweimer@redhat.com>
12058         * sysdeps/unix/sysv/linux/i386/Makefile
12059         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
12060         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
12061         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
12062         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12063         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12064         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
12065         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
12067 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
12069         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
12070         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
12071         tgamma.
12072         * math/auto-libm-test-out: Regenerated.
12073         * sysdeps/i386/fpu/libm-test-ulps: Update.
12074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12076 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
12078         * math/auto-libm-test-in: Add more tests of tgamma.
12079         * math/auto-libm-test-out: Regenerated.
12080         * sysdeps/i386/fpu/libm-test-ulps: Update.
12081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12083         * math/auto-libm-test-in: Add more tests of tanh.
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 tan.
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 cos, sin and sincos.
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 another test of pow.
12099         * math/auto-libm-test-out: Regenerated.
12100         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12102         * math/auto-libm-test-in: Add more tests of lgamma.
12103         * math/auto-libm-test-out: Regenerated.
12104         * sysdeps/i386/fpu/libm-test-ulps: Update.
12105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12107         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
12108         log1p.
12109         * math/auto-libm-test-out: Regenerated.
12110         * sysdeps/i386/fpu/libm-test-ulps: Update.
12111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12113 2015-05-01  Mark Wielaard  <mjw@redhat.com>
12115         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
12116         Elf64_Chdr structs and ELFCOMPRESS constants.
12118 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
12120         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
12121         expm1.
12122         * math/auto-libm-test-out: Regenerated.
12123         * sysdeps/i386/fpu/libm-test-ulps: Update.
12124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12126         * math/auto-libm-test-in: Add more tests of erf and erfc.
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 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12133         * config.h.in (HAVE_AARCH64_BE): Add.
12135 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
12137         * math/auto-libm-test-in: Add more tests of csqrt.
12138         * math/auto-libm-test-out: Regenerated.
12139         * sysdeps/i386/fpu/libm-test-ulps: Update.
12140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12142         * math/auto-libm-test-in: Add more tests of cosh and sinh.
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         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
12149 2015-04-29  Roland McGrath  <roland@hack.frob.com>
12151         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
12152         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
12154         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
12155         (euidaccess, eaccess): Define as weak aliases.
12157         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
12158         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
12159         but __suseconds_t is often 'long int' so some sources assume that
12160         type is being used (e.g. they use %ld to print tv_usec).
12162 2015-04-29  Florian Weimer  <fweimer@redhat.com>
12164         [BZ #18007]
12165         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
12166         (CVE-2014-8121)
12167         * nss/tst-nss-getpwent.c: New file.
12168         * nss/Makefile (tests): Add new test.
12170 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
12172         [BZ #18346]
12173         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
12174         exponents less than 48 as cases where high part of mantissa needs
12175         examining to determine whether argument is integral.
12176         * math/libm-test.inc (round_test_data): Add more tests.
12178 2015-04-28  Mark Wielaard  <mjw@redhat.com>
12180         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
12182 2015-04-27  David S. Miller  <davem@davemloft.net>
12184         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
12185         __tls_get_addr.
12186         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
12188 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
12190         [BZ#18333]
12191         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
12193 2015-04-27  Florian Weimer  <fweimer@redhat.com>
12195         [BZ#18333]
12196         * time/tzset.c (parse_tzname): Return error on memory allocation
12197         failure.
12198         * test-skeleton.c (struct temp_name_list): Change type of name
12199         member to non-const.
12200         (add_temp_file): Create a copy of the file name.
12201         (delete_temp_files): Deallocate memory.
12202         (create_temp_file): Add comment.
12204 2015-04-24  Florian Weimer  <fweimer@redhat.com>
12206         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
12207         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
12209 2015-04-24  Roland McGrath  <roland@hack.frob.com>
12211         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
12212         * sysdeps/arm/configure: Regenerated.
12214 2015-04-24  Florian Weimer  <fweimer@redhat.com>
12216         [BZ #17715]
12217         * time/tzfile.c (__tzfile_read): Check for large values of
12218         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
12219         * time/tzset.c (__tzstring_len): New function, based on the old
12220         __tzstring function.
12221         (__tzstring): Call __tzstring_len.
12222         (parse_tzname): New helper function extracted from
12223         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
12224         the input string.
12225         (parse_offset): New helper function extracted from
12226         __tzset_parse_tz.  Replace switch with fallthrough with
12227         initialization before sscanf.
12228         (parse_rule): Likewise.
12229         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
12230         new-style function definition.
12231         * timezone/Makefile (tests): Add tst-tzset.
12232         (tst-tzset.out): Dependencies on time zone files.
12233         (tst-tzset-ENV): Set TZDIR.
12234         (testdata/XT%): Copy crafted time zone files.
12235         * timezone/README: Mention crafted time zone files.
12236         * timezone/testdata/XT1, timezone/testdata/XT2,
12237         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
12238         files.
12239         * timezone/tst-tzset.c: New test.
12241 2015-04-24  Florian Weimer  <fweimer@redhat.com>
12243         * Makeconfig (+gccwarn): Remove -Winline.
12245 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12247         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
12249 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12251         * NEWS: Mention sysconf() cache information support for s390.
12252         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
12254 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
12256         * math/k_casinh.c (__kernel_casinh): Use __copysign.
12257         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
12258         (__nearbyint): Likewise.
12259         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
12260         (copysignl): Likewise.
12262 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
12264         [BZ #18287]
12265         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
12266         based on padding.  (CVE-2015-1781)
12268 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12270         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
12271         libc-vdso.h.
12272         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
12273         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
12274         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
12275         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
12276         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
12277         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
12278         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
12279         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12280         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
12281         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
12282         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
12283         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12284         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
12285         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
12286         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
12287         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
12288         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
12289         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
12290         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
12291         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
12292         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
12293         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
12294         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
12296 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
12298         * stdlib/setenv.c (__add_to_environ):
12299         Dump core quickly if setenv (..., NULL, ...) is called.
12300         This time, do it the right way, and pacify GCC with a pragma.
12302 2015-04-17  Roland McGrath  <roland@hack.frob.com>
12304         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
12305         IMAP->l_prev cannot be null, and #if out the code for the contrary
12306         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
12307         believe that NS (&_dl_ns[NSID]) could point outside the array.
12309         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
12310         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
12311         before using NSID as an index.
12313 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
12315         [BZ #17825]
12316         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
12317         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
12318         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12320 2015-04-17  Roland McGrath  <roland@hack.frob.com>
12322         Add preliminary port to Google Native Client on ARM.
12323         * abi-tags (.*-.*-nacl.*): New entry.
12324         * sysdeps/arm/nacl: New directory.
12325         * sysdeps/nacl: New directory.
12327 2015-04-16  David S. Miller  <davem@davemloft.net>
12329         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
12330         lowlevellock-futex.h
12332 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
12334         * sysdeps/tile/configure.ac: New file.
12335         * sysdeps/tile/configure: Regenerated.
12337 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12339         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
12340         conditionals for weak_alias and libc_hidden_weak.
12341         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
12342         libc_hidden_weak and weak_alias.
12343         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
12344         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
12345         and weak_alias for static one.
12347 2015-04-15  David S. Miller  <davem@davemloft.net>
12349         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
12351 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12353         [BZ #18206]
12354         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
12355           Use signed comparision instead of substraction to avoid
12356           overflow bug.
12357         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
12358           Take the sign of ret.
12359         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
12360           Do not expect precise return values. Only the sign matters.
12361         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
12362         * wcsmbs/test-wcsncmp.c: New File.
12363         * string/test-strncmp.c: Add wcsncmp support.
12365 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12367         [BZ #6792]
12368         * math/w_log1p.c: New file.
12369         * math/w_log1pf.c: Likewise.
12370         * math/w_log1pl.c: Likewise.
12371         * math/Makefile (libm-calls): Add w_log1p.
12372         * math/s_log1pl.c (log1pl): Remove weak_alias.
12373         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
12374         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
12375         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
12376         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
12377         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
12378         [NO_LONG_DOUBLE] (log1pl): Likewise.
12379         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
12380         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
12381         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
12382         (log1p): Remove long_double_symbol.
12383         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
12384         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
12385         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
12386         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
12387         remove weak_alias for corresponding log1p function.
12388         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
12389         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
12390         * sysdeps/ia64/fpu/w_log1p.c: New file.
12391         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
12392         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
12393         * math/libm-test.inc (log1p_test_data): Add errno expectations.
12395 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
12397         [BZ #18247]
12398         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
12399         decimal exponent by 1.
12400         * stdlib/tst-strtod-round-data: Add more tests.
12401         * stdlib/tst-strtod-round.c (tests): Regenerated.
12403 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
12405         * math/auto-libm-test-in: Add more tests of clog and clog10.
12406         * math/auto-libm-test-out: Regenerated.
12407         * sysdeps/i386/fpu/libm-test-ulps: Update.
12408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12410 2015-04-09  Roland McGrath  <roland@hack.frob.com>
12412         * Makeconfig (module-cppflags): Exclude all .v.i files.
12413         (skip-module-cppflags): Variable removed.
12415         * configure.ac (libc_config_ok): Initialize before reading
12416         preconfigure scripts, not after.
12417         * configure: Regenerated.
12419         * test-skeleton.c (TIMEOUT): Move #define to top level.
12420         (main): Grok environment variable TEST_DIRECT.  If set, print
12421         test expectation details into that file and then behave as if
12422         given --direct.
12424 2015-04-09  Florian Weimer  <fweimer@redhat.com>
12426         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
12427         warning on 32-bit.
12429 2015-04-08  David S. Miller  <davem@davemloft.net>
12431         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12433 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
12435         * math/auto-libm-test-in: Add more tests of atanh.
12436         * math/auto-libm-test-out: Regenerated.
12437         * sysdeps/i386/fpu/libm-test-ulps: Update.
12438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12440         * math/auto-libm-test-in: Add more tests of atan.
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 2015-04-08  Florian Weimer  <fweimer@redhat.com>
12447         * elf/pldd.c (main): Rewrite to use struct
12448         scratch_buffer instead of extend_alloca.
12449         * elf/pldd-xx.c (find_maps): Likewise.
12450         * grp/initgroups.c: Include <scratch_buffer.h> instead of
12451         <alloca.h>.
12452         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
12453         scratch_buffer instead of extend_alloca.
12454         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
12455         grp/compat-initgroups.c.
12456         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
12457         Rewrite to use struct scratch_buffer instead of extend_alloca.
12458         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
12459         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
12461 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
12463         * math/auto-libm-test-in: Add more tests of cbrt.
12464         * math/auto-libm-test-out: Regenerated.
12465         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12467         * math/auto-libm-test-in: Add more tests of cabs.
12468         * math/auto-libm-test-out: Regenerated.
12469         * sysdeps/i386/fpu/libm-test-ulps: Update.
12470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12472         [BZ #18210]
12473         [BZ #18211]
12474         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
12475         (__ieee754_atan2): Set FE_TONEAREST mode for internal
12476         computations.
12477         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
12478         clog10.
12479         * math/auto-libm-test-out: Regenerated.
12480         * sysdeps/i386/fpu/libm-test-ulps: Update.
12481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12483         [BZ #18197]
12484         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
12485         (atan): Set FE_TONEAREST mode for internal computations.
12486         * math/auto-libm-test-in: Add more tests of atan.
12487         * math/auto-libm-test-out: Regenerated.
12489 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
12491         [BZ #17930]
12492         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
12494 2015-04-07  Florian Weimer  <fweimer@redhat.com>
12496         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
12498 2015-04-07  Florian Weimer  <fweimer@redhat.com>
12500         * include/scratch_buffer.h: New file.
12501         * malloc/scratch_buffer_grow.c: Likewise.
12502         * malloc/scratch_buffer_grow_preserve.c: Likewise.
12503         * malloc/scratch_buffer_set_array_size.c: Likewise.
12504         * malloc/tst-scratch_buffer.c: Likewise.
12505         * malloc/Makefile (routines): Add scratch_buffer_grow.
12506         (tests): Add test case.
12507         * malloc/Versions (GLIBC_PRIVATE): Export
12508         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
12509         __libc_scratch_buffer_set_array_size.
12511 2015-04-06  Richard Henderson  <rth@redhat.com>
12513         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
12514         * sysdeps/alpha/fpu/libm-test-ulps: Update.
12516         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
12517         unsigned int before printing.
12519 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12521         [BZ #17596]
12522         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
12523         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12525 2015-04-02  Florian Weimer  <fweimer@redhat.com>
12527         * include/libc-internal.h (libc_max_align_t): Define.
12529 2015-04-02  Andreas Schwab  <schwab@suse.de>
12531         [BZ #16850]
12532         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
12534 2015-04-02  Mel Gorman  <mgorman@suse.de>
12536         [BZ #17195]
12537         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
12538         as well as the main arena.
12540 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
12542         [BZ #18185]
12543         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
12544         sharing L2 cache to 2 for Silvermont/Knights Landing.
12546 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
12548         [BZ #17711]
12549         * config.make.in (have-protected-data): New.
12550         * configure.ac: Check linker support for protected data symbol.
12551         * configure: Regenerated.
12552         * elf/Makefile (modules-names): Add tst-protected1moda and
12553         tst-protected1modb if $(have-protected-data) is yes.
12554         (tests): Add tst-protected1a and tst-protected1b if
12555         $(have-protected-data) is yes.
12556         ($(objpfx)tst-protected1a): New.
12557         ($(objpfx)tst-protected1b): Likewise.
12558         (tst-protected1modb.so-no-z-defs): Likewise.
12559         * elf/tst-protected1a.c: New file.
12560         * elf/tst-protected1b.c: Likewise.
12561         * elf/tst-protected1mod.h: Likewise.
12562         * elf/tst-protected1moda.c: Likewise.
12563         * elf/tst-protected1modb.c: Likewise.
12565 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
12567         [BZ #17711]
12568         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
12569         indicates it is called from do_lookup_x on relocation against
12570         protected data, skip the data definion in the executable from
12571         copy reloc.
12572         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
12573         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
12574         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
12575         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
12576         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
12577         otherwise to 0.
12578         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
12579         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
12580         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
12581         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
12582         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
12583         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
12585 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
12587         * sysdeps/nptl/pthread.h: Remove duplicate definition of
12588         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
12590 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
12592         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
12593         THREAD_SETMEM_NC.
12594         * sysdeps/x86_64/nptl/tls.h: Ditto.
12596 2015-03-27  Roland McGrath  <roland@hack.frob.com>
12598         * dlfcn/tststatic.c (main): Converted to ...
12599         (do_test): ... this.
12600         (TEST_FUNCTION): New macro.
12601         Include test-skeleton.c.
12603 2015-03-26  Alan Modra  <amodra@gmail.com>
12605         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
12606         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
12607         zero for undefined weak.
12608         (elf_machine_plt_conflict): Similarly.
12610 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
12612         * math/auto-libm-test-in: Add more tests of acosh, asinh and
12613         atanh.
12614         * math/auto-libm-test-out: Regenerated.
12615         * sysdeps/i386/fpu/libm-test-ulps: Update.
12616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12618         * math/auto-libm-test-in: Add another test of asin.
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         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
12624         Remove macro.
12625         (LLL_EBX_REG): Likewise.
12626         (LLL_ENTER_KERNEL): Likewise.
12628         * math/auto-libm-test-in: Add more tests of asin.
12629         * math/auto-libm-test-out: Regenerated.
12630         * sysdeps/i386/fpu/libm-test-ulps: Update.
12631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12633         [BZ #18138]
12634         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
12635         libc_do_syscall_args): New structure.
12636         (INTERNAL_SYSCALL_MAIN_0): New macro.
12637         (INTERNAL_SYSCALL_MAIN_1): Likewise.
12638         (INTERNAL_SYSCALL_MAIN_2): Likewise.
12639         (INTERNAL_SYSCALL_MAIN_3): Likewise.
12640         (INTERNAL_SYSCALL_MAIN_4): Likewise.
12641         (INTERNAL_SYSCALL_MAIN_5): Likewise.
12642         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
12643         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
12644         Replace conditional definitions by conditional definitions of ....
12645         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
12646         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
12647         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
12648         (libpthread-sysdep_routines): Add libc-do-syscall.
12649         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
12650         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
12651         to __NR_futex not 240.
12653 2015-03-25  Alan Modra  <amodra@gmail.com>
12655         * NEWS: Advertise TLS optimization.
12656         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
12657         (DT_PPC_NUM): Increment.
12658         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
12659         (CHECK_STATIC_TLS): Use here.
12660         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
12661         TLS descriptors.
12662         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12663         * sysdeps/powerpc/dl-tls.c: New file.
12664         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
12665         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
12666         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
12667         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
12668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
12669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
12670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
12672 2015-03-25  Alan Modra  <amodra@gmail.com>
12674         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
12675         for overlapping .opd entries" to "support...".
12676         * sysdeps/powerpc/powerpc64/configure: Regenerate
12678 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
12680         * math/auto-libm-test-in: Add more tests of acos.
12681         * math/auto-libm-test-out: Regenerated.
12682         * sysdeps/i386/fpu/libm-test-ulps: Update.
12683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12685         * math/auto-libm-test-in: Add more tests of expm1.
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 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
12692         * math/auto-libm-test-in: Add more tests of cosh and sinh.
12693         * math/auto-libm-test-out: Regenerated.
12694         * sysdeps/i386/fpu/libm-test-ulps: Update.
12695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12697         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12700         * math/auto-libm-test-in: Add more tests of log2.
12701         * math/auto-libm-test-out: Regenerated.
12702         * sysdeps/i386/fpu/libm-test-ulps: Update.
12703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12705 2015-03-23  Roland McGrath  <roland@hack.frob.com>
12707         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
12708         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
12709         _IO_IS_APPENDING bit in READ_WRITE instead.
12711 2015-03-23  Florian Weimer  <fweimer@redhat.com>
12713         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
12714         (__determine_cpumask_size): Replace extend_alloca with a
12715         variable-length array.  Do not treat res == 0 as an error.
12717 2015-03-23  Florian Weimer  <fweimer@redhat.com>
12719         [BZ #18100]
12720         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
12721         and integer overflow.
12722         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
12723         (main): Add integer overflow tests.
12724         * manual/pattern.texi (Calling Wordexp): Document additional use
12725         for WRDE_SYNTAX.
12727 2015-03-23  Alan Modra  <amodra@gmail.com>
12729         * config.h.in: Remove HAVE_ASM_PPC_REL16.
12730         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
12731         and false branch of conditional.
12732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12733         Likewise.
12735 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
12737         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
12738         libc-modules.h
12739         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
12740         unused declaration of _hurd_intr_rpc_msg_in_trap.
12741         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
12742         defined instead of whether it is non-zero.
12743         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
12744         input constraint instead of both input and output constraint.  Use ecx
12745         clobber instead of %ecx.
12746         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
12747         mutex_unlock): Use a statement expression instead of an expression list.
12748         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
12749         type to vm_size_t instead of vm_address_t.
12750         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
12751         defined instead of whether it is non-zero.
12752         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
12753         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
12754         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
12755         comparisons with mapaddr.
12756         * nscd/nscd-client.h: Include <time.h>.
12757         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
12758         9th parameter to __vm_region instead of int.
12759         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
12760         * scripts/check-local-headers.sh (exclude): Add device/,
12761         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
12762         cthreads.h.
12764 2015-03-19  Roland McGrath  <roland@hack.frob.com>
12766         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
12767         to account for alignment padding.
12768         * sysdeps/arm/memmove.S: Likewise.
12770 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
12772         * sysdeps/unix/sysv/linux/generic/README: New file.
12774 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
12776         [BZ #18138]
12777         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
12778         (futex_abstimed_wait)
12779         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
12780         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
12781         of lll_futex_timed_wait.
12783 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
12785         [BZ #17542]
12786         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
12788 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
12790         [BZ #17090]
12791         [BZ #17620]
12792         [BZ #17621]
12793         [BZ #17628]
12794         * NEWS: Update.
12795         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
12796         entries with Static TLS too.  Skip entries past the end of the
12797         allocated DTV, from Alan Modra.
12798         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
12799         Static TLS DTV entry set up from...
12800         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
12801         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
12802         * nptl/allocatestack.c (init_one_static_tls): ... and here...
12803         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
12804         for Static TLS.
12805         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
12806         that the slot we find is associated with the given map before
12807         using its generation count.
12808         * nptl_db/db_info.c: Include ldsodefs.h.
12809         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
12810         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
12811         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
12812         (link_map::l_tls_offset): New struct field.
12813         (dtv_t::counter): Likewise.
12814         (rtld_global): New struct.
12815         (_rtld_global): New rtld variable.
12816         (dl_tls_dtv_slotinfo_list): New rtld global field.
12817         (dtv_slotinfo_list): New struct.
12818         (dtv_slotinfo): Likewise.
12819         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
12820         (td_lookup): Rename to...
12821         (td_mod_lookup): ... this.  Use new mod parameter instead of
12822         LIBPTHREAD_SO.
12823         * nptl_db/td_thr_tlsbase.c: Include link.h.
12824         (dtv_slotinfo_list, dtv_slotinfo): New functions.
12825         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
12826         addresses even if the DTV is out of date or missing them.
12827         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
12828         index zero-length arrays.
12829         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
12830         (td_lookup): Make it a macro implemented in terms of...
12831         (td_mod_lookup): ... this declaration.
12832         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
12833         (DB_MAIN_VARIABLE): Likewise.
12835 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
12837         [BZ #18134]
12838         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
12840 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
12842         * stdlib/setenv.c (__add_to_environ): Revert previous change.
12844 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
12846         [BZ #18128]
12847         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
12848         (atomic_add, atomic_increment_and_test)
12849         (atomic_decrement_and_test): Fix 64-bit arithmetic.
12851 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
12853         * stdlib/setenv.c (__add_to_environ):
12854         Dump core quickly if setenv (..., NULL, ...) is called.
12856 2015-03-13  Roland McGrath  <roland@hack.frob.com>
12858         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
12859         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
12860         all the necessary asm magic in one place.
12861         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
12862         using those.
12864 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
12866         [BZ #14906]
12867         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
12868         traced file mtime. Use consistent log message.
12869         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
12870         (register_traced_file): Call install_watches. Always set mtime.
12871         (invalidate_cache): Iterate over all trace files. Call install_watches.
12872         (inotify_check_files): Don't inline. Handle watching parent
12873         directories and configuration file movement in and out.
12874         (handle_inotify_events): New function.
12875         (main_loop_poll): Call handle_inotify_events.
12876         (main_loop_epoll): Likewise.
12877         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
12878         (struct traced_file): Use array of inotify fds. Add parent directory,
12879         and basename.
12880         (struct database_dyn): Remove unused file_mtime.
12881         (init_traced_file): New inline function.
12882         (define_traced_file): New macro.
12883         * nss/nss_db/db-init.c: Use define_traced_file.
12884         (_nss_db_init): Use init_traced_file.
12885         * nss/nss_files/files-init.c: Use define_traced_file.
12886         (_nss_files_init): Use init_traced_file.
12888 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
12890         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
12891         [_LIBC]: Do not include <stdlib.h>.
12892         [!_LIBC] (abort): Remove declaration.
12893         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
12894         _FP_STATIC_ASSERT instead of conditionally calling abort.
12895         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
12896         (_FP_EXTEND_CNAN): Likewise.
12897         (FP_TRUNC): Likewise.
12898         (__FP_CLZ): Likewise.
12899         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
12901 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
12903         * manual/string.texi (XPG basename): Fix prototype.
12905 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
12907         [BZ #18080]
12908         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
12909         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
12910         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
12911         (__setcontext): Likewise.
12912         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
12913         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
12914         Call rt_sigprocmask syscall one time to set new signal mask
12915         and retrieve the current signal mask instead of two calls.
12916         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
12917         (__swapcontext): Likewise.
12918         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
12919         * stdlib/tst-setcontext2.c: New file.
12921 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
12923         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12925 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
12927         [BZ #18093]
12928         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
12929         the wrong size.
12931 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
12933         [BZ #18043]
12934         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
12936 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
12938         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
12939         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
12940         Remove define.
12941         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
12942         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
12943         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
12944         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
12945         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
12946         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
12947         define.
12948         * nptl_db/td_symbol_list.c (td_lookup): Remove
12949         HAVE_ASM_GLOBAL_DOT_NAME code.
12950         * sysdeps/powerpc/powerpc64/configure.ac: Remove
12951         HAVE_ASM_GLOBAL_DOT_NAME check.
12952         * sysdeps/powerpc/powerpc64/configure: Regenerate.
12953         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
12954         (DOT_LABEL): Remove define.
12955         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
12956         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
12957         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
12958         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
12959         (__TLS_GET_ADDR): Likewise.
12960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
12961         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
12963 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
12965         [BZ #18111]
12966         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
12967         (_FPU_SETCW): Initialize cw from fpsr before storing.
12968         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
12969         (fesetexceptflag): Rewrite using fpu_control.h.
12970         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
12972 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
12974         [BZ #18110]
12975         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
12976         asms.
12977         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
12979 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
12981         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
12982         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
12983         abort.
12984         (_FP_FMA): Likewise.
12985         (_FP_DIV): Likewise.
12987 2015-03-10  Roland McGrath  <roland@hack.frob.com>
12989         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
12990         with 0 in that case.
12991         * Makefile (summarize-tests): New canned sequence, factored out of
12992         commands for targets tests and xtests.  Display summary lines that
12993         don't start with PASS: or XFAIL: rather than ones that do start with
12994         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
12995         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
12996         do start with ERROR: or FAIL:.
12997         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
12998         (except for [$(build-shared) = yes]).
12999         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
13000         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
13001         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
13002         * nptl/Makefile: Revert 2015-03-04 changes.
13003         [$(CXX) empty] (tests-unsupported): New variable.
13004         * debug/Makefile: Likewise.
13006         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
13007         gnulib file.  Replace __attribute with __attribute__ throughout.
13009 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
13011         * sysdeps/hppa/fpu/libm-test-ulps: Update.
13013 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
13015         [BZ #18104]
13016         * math/auto-libm-test-in: Add another test of pow.
13017         * math/auto-libm-test-out: Regenerated.
13019 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13021         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
13022         $(config-cflags-nofma).
13024 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
13026         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
13027         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
13028         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
13029         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
13030         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
13031         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
13032         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
13033         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
13034         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
13035         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
13036         Add comment on closing #endif.
13038 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13040         * posix/wordexp.c (CHAR_IN_SET): New macro.
13041         (parse_param): Use it.
13043 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13045         * sysdeps/powerpc/fpu/libm-test-ulps: update.
13047 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13049         [BZ #18043]
13050         * posix/wordexp.c (parse_param): Fix buffer overflow.
13051         * posix/wordexp-test.c (test_case): Add test case.
13053 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13055         [BZ #18042]
13056         * posix/wordexp.c (parse_backtick): Fix off-by-one.
13057         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
13059 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13061         [BZ #18043]
13062         * posix/wordexp-test.c (test_case): Add test for BZ #18043
13063         (do_bz18043): Delete.
13064         (at_page_end): New.
13065         (testit): Refactor to have words at the edge of unreadable page.
13067 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
13069         [BZ #16734]
13070         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
13071         Cleanup read-only streams as well.
13072         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
13074 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13076         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
13077         <bits/libc-lockP.h>
13079 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
13081         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
13082         on [__KERNEL__].
13083         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
13084         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
13085         * soft-fp/op-common.h (_FP_DECL): Likewise.
13087 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
13089         * elf/ifuncdep2.c (global): Replace
13090         __attribute__((visibility("protected"))) with
13091         asm (".protected global").
13092         * elf/ifuncmod1.c (global): Likewise.
13093         * elf/ifuncmod5.c (global): Likewise.
13095 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
13097         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
13098         <asm/sfp-machine.h> instead of <sfp-machine.h>.
13100 2015-03-06  Roland McGrath  <roland@hack.frob.com>
13102         * manual/install.texi (Configuring and compiling):
13103         Document test-wrapper-env-only.
13104         * INSTALL: Regenerated.
13106 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
13108         [BZ #18043]
13109         * posix/wordexp.c (parse_param): Fix buffer overflow.
13110         * posix/wordexp-test.c (do_bz18043): Add test case.
13112 2015-03-06  Vincent Bernat  <vincent@bernat.im>
13114         * time/tst-strptime2.c (do_test): Ensure failing tests are
13115         reported correctly.
13116         * time/tst-strptime3.c (do_test): Likewise.
13118 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
13120         Fix aio_error thread-safety.
13121         * sysdeps/pthread/aio_error.c: New file
13122         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
13123         synchronization.
13125 2015-03-06  Florian Weimer  <fweimer@redhat.com>
13127         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
13128         (group_number, vfprintf): Use it.
13129         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
13130         (JUMP, REF): Use it.
13131         (WORK_BUFFER_SIZE): New enum constant.
13132         (process_arg, vfprintf): Use it.
13134 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
13136         * manual/errno.texi (Error Messages): Complete example function
13137         by adding missing #define.
13138         (program_invocation_name): Add statement indicating GNU
13139         extension and reference which header file declares the variable.
13140         (program_invocation_short_name): Likewise.
13142 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
13144         * manual/errno.texi (Error Messages): Delete strerror ISO C89
13145         compatibility note.
13147 2015-03-05  Roland McGrath  <roland@hack.frob.com>
13149         * Makeconfig (test-wrapper-env-only): New variable.
13150         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
13151         then use that with $(test-wrapper-env-only) rather than using
13152         $(test-wrapper-env) $(run-program-env) $($*-ENV).
13154 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
13156         [BZ #18082]
13157         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
13158         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
13159         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
13160         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
13161         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
13162         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
13163         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
13164         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
13165         Likewise.
13166         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
13167         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
13168         Likewise.
13169         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
13170         Likewise.
13171         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
13172         Likewise.
13173         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
13174         Likewise.
13175         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
13176         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
13177         Likewise.
13178         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
13179         Likewise.
13180         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
13181         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
13183 2015-03-04  Roland McGrath  <roland@hack.frob.com>
13185         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
13186         (ETH_ALEN): New macro.
13187         (struct ether_addr): Use it for length of ether_addr_octet.
13189         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
13190         (setdb): Don't call __nss_configure_lookup for "rpc".
13191         (do_test): Don't call test_rpc.
13192         (output_rpcent, test_rpc): Functions moved ...
13193         * sunrpc/test-rpcent.c: ... to this new file.
13194         * sunrpc/Makefile (tests): Add it.
13196         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
13197         __xpg_sigpause.
13198         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
13199         * nptl/tst-signal6.c: Likewise.
13200         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
13201         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
13203         * configure.ac (libc_cv_cxx_link_ok): New check.
13204         Reset CXX to empty if it fails to link.
13205         * configure: Regenerated.
13206         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
13207         bug-atexit3-lib only if $(CXX) is nonempty.
13208         * nptl/Makefile (tests): Likewise for tst-cancel24.
13209         (tests, tests-static): Likewise for tst-cancel24-static.
13210         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
13211         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
13212         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
13213         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
13215 2015-03-04  Andreas Schwab  <schwab@suse.de>
13217         [BZ #17631]
13218         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
13219         for non-GCC compilers.
13220         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
13221         Likewise.
13223 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
13225         [BZ #17776]
13226         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
13227         integer before bitwise and assembly operations.
13228         (feclearexcept): Likewise.
13229         * math/test-fenvinline.c: New file.
13230         * math/Makefile: Add test-fenvinline test.
13232 2015-03-03  Alan Modra  <amodra@gmail.com>
13234         [BZ #16512]
13235         * scripts/localplt.awk: Strip off symbol version.
13236         * NEWS: Mention bug fix.
13238 2015-03-02  Roland McGrath  <roland@hack.frob.com>
13240         * sysdeps/pthread/timer_routines.c
13241         (timer_free_list, thread_free_list, thread_active_list): Make static.
13243 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
13245         [BZ #17779]
13246         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13247         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
13248         Undefine.
13249         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13250         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
13251         Likewise.
13252         * sysdeps/unix/sysv/linux/sh/kernel-features.h
13253         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
13254         Likewise.
13256 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
13258         [BZ #18036]
13259         * posix/fnmatch_loop.c (END): Detect invalid pattern.
13260         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
13262 2015-03-02  Andreas Schwab  <schwab@suse.de>
13264         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
13265         variable name.
13267 2015-03-02  Florian Weimer  <fweimer@redhat.com>
13269         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
13270         Return error status.
13272 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
13274         [BZ #15969]
13275         * locale/findlocale.c (_nl_find_locale): Introduce const
13276         version of loc_name and drop unsafe type casts.
13278 2015-02-27  Roland McGrath  <roland@hack.frob.com>
13280         * dlfcn/tststatic2.c (main): Converted to ...
13281         (do_test): ... this.
13282         (TEST_FUNCTION): New macro.
13283         Include test-skeleton.c.
13285 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
13287         [BZ #17711]
13288         * elf/Makefile (tests): Add vismain only if PIE is enabled.
13289         (tests-pie): Add vismain.
13290         (CFLAGS-vismain.c): New.
13291         * elf/vismain.c: Add comments for PIE requirement.
13293 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
13295         [BZ #18046]
13296         [BZ #18047]
13297         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
13298         0x1p-56L as threshold for just returning the argument.
13299         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
13300         0x1p-32L as threshold for just returning the argument.
13301         * math/auto-libm-test-in: Add more tests of atanh.
13302         * math/auto-libm-test-out: Regenerated.
13303         * sysdeps/i386/fpu/libm-test-ulps: Update.
13304         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
13306 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
13308         * string/bcopy.c (bcopy): Call memmove for performance.
13310 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
13312         * string/bzero.c (__bzero): Call memset for performance.
13314 2015-02-27  John David Anglin  <dave.anglin@bell.net>
13316         [BZ #18068]
13317         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
13318         to 00100000.
13320 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
13322         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
13324 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
13326         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
13327         (__kernel_standard): Use CSTR macro when setting exc.name.
13328         * sysdeps/ieee754/Makefile [$(subdir) = math]
13329         (CFLAGS-k_standard.c): Remove variable.
13331         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
13332         setting p and q from "else if" to "else".
13333         (qzero): Likewise.
13334         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
13335         (qone): Likewise.
13336         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
13337         (qzerof): Likewise.
13338         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
13339         (qonef): Likewise.
13340         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
13341         (qzero): Likewise.
13342         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
13343         (qone): Likewise.
13345         [BZ #18038]
13346         [BZ #18039]
13347         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
13348         return pi/2 for arguments below 0x1p-113L.
13349         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
13350         return pi/2 for arguments below 0x1p-106L.
13351         * math/auto-libm-test-in: Add more tests of acos.
13352         * math/auto-libm-test-out: Regenerated.
13354         [BZ #16351]
13355         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
13356         (MO): New macro.
13357         (__ieee754_asin): Force underflow exception for results with small
13358         absolute value.
13359         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
13360         (MO): New macro.
13361         (__ieee754_asinf): Force underflow exception for results with
13362         small absolute value.
13363         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
13364         (__ieee754_asin): Force underflow exception for results with small
13365         absolute value.
13366         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
13367         (__ieee754_asinf): Force underflow exception for results with
13368         small absolute value.
13369         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
13370         (__ieee754_asinl): Force underflow exception for results with
13371         small absolute value.
13372         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
13373         (__ieee754_asinl): Force underflow exception for results with
13374         small absolute value.
13375         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
13376         (__ieee754_asinl): Force underflow exception for results with
13377         small absolute value.
13378         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
13379         Include <math.h>.
13380         * math/auto-libm-test-in: Do not mark underflow exceptions as
13381         possibly missing for bug 16351.
13382         * math/auto-libm-test-out: Regenerated.
13384         [BZ #18030]
13385         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
13386         of power of 2 down when low part has opposite sign.
13387         * math/libm-test.inc (logb_test_data): Add more tests.
13389 2015-02-26  Andreas Schwab  <schwab@suse.de>
13391         [BZ #18032]
13392         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
13393         over collating symbol inside a bracket expression.  Minor cleanup.
13394         * posix/tst-fnmatch3.c (do_test): Add test case.
13396 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
13398         [BZ #18029]
13399         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
13400         Adjust exponent of power of 2 down when low part has opposite
13401         sign.
13402         * math/libm-test.inc (ilogb_test_data): Add more tests.
13404 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
13406         [BZ #15969]
13407         * locale/findlocale.c (_nl_find_locale): Fix constness error in
13408         the previous change.
13410         [BZ #15969]
13411         * locale/findlocale.c (_nl_find_locale): Retry archive search
13412         after alias expansion.
13414 2015-02-25  Roland McGrath  <roland@hack.frob.com>
13416         * iconv/tst-iconv3.c (main): Converted to ...
13417         (do_test): ... this.
13418         (TEST_FUNCTION): New macro.
13419         Include test-skeleton.c.
13421         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
13422         (convert): Make function static.
13423         (test_unalign): Likewise.  Add const to argument pointee types.
13424         (main): Replace with static function do_test.
13425         Print "Succeeded." only if RET is zero.
13426         (TEST_FUNCTION): New macro.
13427         Include test-skeleton.c.
13429         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
13430         returns a null pointer.
13432 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13434         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
13435         to __memcpy_ppc only for static builds.
13437 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
13439         [BZ #18020]
13440         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
13441         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
13442         * math/auto-libm-test-in: Add more tests of asinh.
13443         * math/auto-libm-test-out: Regenerated.
13444         * sysdeps/i386/fpu/libm-test-ulps: Update.
13445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13447 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
13449         [BZ #15850]
13450         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
13451         and ip6_mtuinfo definitions here.
13452         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
13453         in this define too.  Update comment.
13455 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
13457         * elf/sprof.c (load_shobj): Tweak error message to match others.
13459 2015-02-24  Kevin Easton  <kevin@guarana.org>
13461         [BZ #16145] (partial fix)
13462         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
13463         to reduce lock contention.
13465 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
13467         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
13468         (struct timex): Update time comment.
13469         (ADJ_SETOFFSET): Define.
13471 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
13473         [BZ #18019]
13474         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
13475         2**56 not 2**28 as threshold for log (2x) formula.
13476         * math/auto-libm-test-in: Add more tests of acosh.
13477         * math/auto-libm-test-out: Regenerated.
13478         * sysdeps/i386/fpu/libm-test-ulps: Update.
13479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13481 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
13483         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
13484         parenthesis around the buf assignment.
13485         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
13487 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
13489         [BZ #16783]
13490         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
13491         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
13492         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
13493         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
13494         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
13495         * math/libm-test.inc (scalb_test_data): Add more tests.
13497 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
13499         [BZ #17916]
13500         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
13501         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
13503 2015-02-24  Eric Rannaud  <e@nanocritical.com>
13505         [BZ #17523]
13506         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
13507         * io/bits/fcntl2.h (open): Use it.
13508         (openat): Likewise.
13509         * io/open.c (__libc_open): Likewise.
13510         * io/open64.c (__libc_open64): Likewise.
13511         * io/open64_2.c (__open64_2): Likewise.
13512         * io/open_2.c (__open_2): Likewise.
13513         * io/openat.c (__openat): Likewise.
13514         * io/openat64.c (__openat64): Likewise.
13515         * io/openat64_2.c (__openat64_2): Likewise.
13516         * io/openat_2.c (__openat_2): Likewise.
13517         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
13518         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
13519         * sysdeps/posix/open64.c (__libc_open64): Likewise.
13520         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
13521         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
13522         (__open_nocancel): Likewise.
13523         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
13524         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
13525         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
13527 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13529         [BZ #14841]
13530         * resolv/gethnamaddr.c (getanswer): Skip logging if
13531         RES_USE_DNSSEC is set.
13532         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
13534 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
13536         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
13538 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
13540         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
13541         201304L, for Unicode 7.
13543 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
13545         [BZ #17836]
13546         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
13547         shared library.  Add gmon-start.os otherwise.
13548         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
13549         $(objpfx)gmon-start.os if builing shared library.
13550         ($(objpfx)g$(static-start-installed-name)): Likewise.
13552 2015-02-23  Andreas Schwab  <schwab@suse.de>
13554         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
13556 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
13558         [BZ #17269]
13559         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
13560         (enlarge_userbuf): Likewise.
13562 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
13564         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
13565         * math/atest-exp.c (TIMEOUT): Adjust to 200.
13566         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
13567         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
13569 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
13571         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
13572         expression inside statement expression.
13574 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
13576         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
13577         <sysdeps/nptl/lowlevellock.h> and remove macros and
13578         functions that are now defined there.
13579         (SYS_futex): Remove.
13580         (lll_compare_and_swap): Remove.
13581         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
13583 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
13585         [BZ #17999]
13586         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
13587         instead of scandirat.
13588         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
13589         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
13590         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
13591         __scandirat.
13592         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
13593         (__scandirat): Declare.  Use libc_hidden_proto.
13594         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
13595         Remove variable.
13596         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
13598 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
13600         [BZ #15319]
13601         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
13602         (MO): New macro.
13603         (__ieee754_atan2): For results with small absolute value, force
13604         underflow exception and remove excess range and precision from
13605         return value.
13606         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
13607         (MO): New macro.
13608         (__ieee754_atan2f): For results with small absolute value, force
13609         underflow exception and remove excess range and precision from
13610         return value.
13611         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
13612         (MO): New macro.
13613         (__atan): For results with small absolute value, force underflow
13614         exception and remove excess range and precision from return value.
13615         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
13616         (MO): New macro.
13617         (__atanf): For results with small absolute value, force underflow
13618         exception and remove excess range and precision from return value.
13619         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
13620         <math.h>.
13621         (__ieee754_atan2): Force underflow exception for results with
13622         small absolute value.
13623         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
13624         <math_private.h>.
13625         (atan): Force underflow exception for results with small absolute
13626         value.
13627         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
13628         (__atanf): Force underflow exception for results with small
13629         absolute value.
13630         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
13631         <math.h>.
13632         (__atanl): Force underflow exception for results with small
13633         absolute value.
13634         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
13635         (__atanl): Force underflow exception for results with small
13636         absolute value.
13637         * sysdeps/x86/fpu/bits/mathinline.h
13638         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
13639         (__ieee754_atan2): Only define inline for long double.
13640         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
13641         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
13642         * math/auto-libm-test-in: Do not mark underflow exceptions as
13643         possibly missing for bug 15319.  Add more tests of atan2.
13644         * math/auto-libm-test-out: Regenerated.
13645         * math/libm-test.inc (casin_test_data): Do not mark underflow
13646         exceptions as possibly missing for bug 15319.
13647         (casinh_test_data): Likewise.
13648         * sysdeps/i386/fpu/libm-test-ulps: Update.
13650 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
13652         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
13653         * sysdeps/mips/bits/endian.h: Fix comments.
13655 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
13657         [BZ #17996]
13658         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
13659         (hdestroy_r): Likewise.
13660         (hsearch_r): Likewise.
13661         (__hcreate_r): Declare and use libc_hidden_proto.
13662         (__hdestroy_r): Likewise.
13663         (__hsearch_r): Likewise.
13664         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
13665         (hcreate): Call __hcreate_r instead of hcreate_r.
13666         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
13667         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
13668         as weak alias of __hcreate_r.
13669         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
13670         __hdestroy_r.
13671         (hsearch_r): Rename to __hsearch_r and define as weak alias of
13672         __hsearch_r.
13673         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
13674         Remove variable.
13675         (test-xfail-XPG4/search.h/linknamespace): Likewise.
13676         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
13677         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
13678         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
13680 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13682         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
13683         arena_lock into a single arena_get.
13685 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
13687         * dl-reloc.c: Inlucde libc-internal.h.
13688         (_dl_try_allocate_static_tls): Call ALIGN_UP.
13689         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
13690         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
13691         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
13692         (grow_heap): Likewise.
13693         * malloc/malloc.c: Include libc-internal.h.
13694         (do_check_malloc): Call powerof2.
13695         (sysmalloc): Use pagesize. Call ALIGN_UP.
13696         (systrim): Use pagesize.
13697         (mremap_chunk): Use pagesize. Call ALIGN_UP.
13698         (__libc_valloc): Use pagesize.
13699         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
13701 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
13703         [BZ #17991]
13704         * include/sys/resource.h (__getrlimit64): Declare.  Use
13705         libc_hidden_proto.
13706         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
13707         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
13708         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
13709         getrlimit64.
13710         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
13711         __getrlimit64.
13712         [!getrlimit64] (getrlimit64): Define as weak alias of
13713         __getrlimit64.  Use libc_hidden_weak.
13714         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
13715         using __getrlimit64 not __new_getrlimit64.
13716         (__GI_getrlimit64): Likewise.
13717         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
13718         Likewise.
13719         (__GI_getrlimit64): Likewise.
13720         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
13721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
13722         (getrlimit): Add __getrlimit64 alias.
13723         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
13724         Likewise.
13725         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
13726         Remove variable.
13727         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
13728         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
13730 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
13732         * libio/fileops.c: Add missing sys/mman.h
13733         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
13735 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
13737         * manual/math.texi (Errors in Math Functions): Clarify goals
13738         regarding inexact and underflow exceptions.
13740 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
13742         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
13743         * sysdeps/mips/memset.S: Ditto.
13745 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
13747         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
13749 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
13751         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
13752         (__v1longjmp): Remove versioned symbol.
13753         (__v1siglongjmp): Remove alias and versioned symbol.
13754         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
13755         (__v2siglongjmp): Likewise.
13757 2015-02-16  Torvald Riegel  <triegel@redhat.com>
13759         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
13761 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
13763         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
13765 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
13767         [BZ #17987]
13768         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
13769         zero result does not depend on the sign resulting from
13770         subtraction.
13771         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
13772         Likewise.
13773         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
13774         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
13775         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13776         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
13777         * math/libm-test.inc (remquo_test_data): Add more tests.
13779 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
13781         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
13782         Problem reported by J William Piggott.
13784 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
13786         [BZ #17978]
13787         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
13788         products 4 * y and 2 * y where those would overflow.
13789         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
13790         Likewise.
13791         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
13792         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
13793         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13794         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
13795         * math/libm-test.inc (remquo_test_data): Add more tests.
13797         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
13799         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
13800         [defined _COMPILING_NEWLIB].
13801         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
13802         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
13804         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
13805         [!defined __mips_isa_rev || __mips_isa_rev < 6].
13807 2015-02-16  Torvald Riegel  <triegel@redhat.com>
13809         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
13810         acquired.
13812 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
13814         [BZ #17792]
13815         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
13816         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
13817         HOST_STACK_END_ADDR): Likewise.
13819 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
13821         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
13822         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
13823         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
13825 2015-02-13  Roland McGrath  <roland@hack.frob.com>
13827         * sysdeps/generic/c++-types.data: New file.
13828         * sysdeps/generic/ld.abilist: New file.
13829         * sysdeps/generic/libBrokenLocale.abilist: New file.
13830         * sysdeps/generic/libanl.abilist: New file.
13831         * sysdeps/generic/libc.abilist: New file.
13832         * sysdeps/generic/libcrypt.abilist: New file.
13833         * sysdeps/generic/libdl.abilist: New file.
13834         * sysdeps/generic/libm.abilist: New file.
13835         * sysdeps/generic/libpthread.abilist: New file.
13836         * sysdeps/generic/libresolv.abilist: New file.
13837         * sysdeps/generic/librt.abilist: New file.
13839 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
13841         [BZ #17569]
13842         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
13843         Compute absolute value of x as modified by fmod, not original
13844         value of x.
13845         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
13846         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
13847         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
13848         RUN_TEST_ffI_f1_mod8.
13849         (remquo_test_data): Add more tests.
13851 2015-02-13  Roland McGrath  <roland@hack.frob.com>
13853         * sysdeps/init_array/pt-crti.S: New file.
13855 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
13857         [BZ #17967]
13858         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
13859         __builtin_fmaf instead of relying on contraction of a * b + c.
13861 2015-02-12  J William Piggott  <elseifthen@gmx.com>
13863         [BZ #17969]
13864         * manual/time.texi: correct the zoneinfo path in the TZ Variable
13865         node.
13867 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
13869         [BZ #17964]
13870         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
13871         __builtin_fma instead of relying on contraction of a * b + c.
13873 2015-02-12  Roland McGrath  <roland@hack.frob.com>
13875         * Makeconfig (ASFLAGS): Add -Werror=undef.
13876         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
13877         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
13878         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
13880         * Makeconfig (after-link): New variable.
13881         (+link-pie, +link-pie-tests): Use it.
13882         (+link-static, +link-static-tests): Likewise.
13883         (+link, +link-tests): Likewise.
13884         * Makerules (build-module, build-module-asneeded): Likewise.
13885         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
13886         Likewise.
13887         * elf/Makefile ($(objpfx)ld.so): Likewise.
13889 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
13891         [BZ #17965]
13892         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
13893         both struct timeval and struct timespec.
13895 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
13897         [BZ #16560]
13898         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
13899         and redefine.
13900         (__ieee754_exp2l): Do not multiply small fractional parts by
13901         M_LN2l.
13902         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
13903         small argument.
13904         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13905         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
13906         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
13907         * math/auto-libm-test-in: Add more tests of exp2.
13908         * math/auto-libm-test-out: Regenerated.
13910 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13912         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
13913         unaligned path.
13915 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13917         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
13918         little endian.
13920 2015-02-12  Andreas Schwab  <schwab@suse.de>
13922         [BZ #15790]
13923         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
13924         Filter out elision flags from value returned in kind.
13925         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
13926         * nptl/tst-pthread-mutexattr.c: New file.
13928 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13930         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
13931         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
13932         into gnu-gnu, and update comment to refer to abi-tags.
13934 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
13936         [BZ #15467]
13937         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
13938         (__sincos): Set errno to EDOM for infinite argument.
13939         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
13940         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
13941         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
13942         (__sincosl): Set errno to EDOM for infinite argument.
13943         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
13944         (__sincosl): Set errno to EDOM for infinite argument.
13945         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
13946         (__sincosl): Set errno to EDOM for infinite argument.
13947         * math/libm-test.inc (sincos_test_data): Test errno setting.
13949 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
13951         * string/strxfrm_l.c: Remove #define STRCMP.
13952         * string/strcoll_l.c: Remove #define STRLEN.
13953         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
13954         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
13956 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
13958         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
13959         * sysdeps/mips/mips32/sfp-machine.h: ... here.
13960         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
13961         * sysdeps/mips/mips64/Makefile: ... here.
13962         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
13963         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
13964         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
13965         * sysdeps/mips/mips64/sfp-machine.h: ... here.
13966         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
13967         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
13968         * sysdeps/mips/mips64/n64/Implies: Likewise.
13970 2015-02-10  Roland McGrath  <roland@hack.frob.com>
13972         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
13973         <sys/time.h>, <string.h>, and <errno.h>.
13974         (dest_offset, dest_address, value, zero): Remove unused variables.
13975         (ldouble): Remove typedef.
13976         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
13977         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
13978         1).  Fix code style.
13979         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
13980         (check): Function removed.
13981         (CHECK): New macro.
13982         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
13983         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
13984         Don't call set_sigaction_FP and remove_sigaction_FP here.
13985         (ldouble_test): Just use 'long double' as macro argument, no need for
13986         the 'ldouble' typedef.
13987         (do_test): Set up SIGFPE handler at start, using plain signal rather
13988         than sigaction.  Fix code style.
13990 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
13992         [BZ #17949]
13993         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
13994         jump label.
13996 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
13998         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
13999         * sysdeps/powerpc/powerpc32/configure: Regenerated.
14001         * sysdeps/powerpc/configure.ac: Remove file.
14002         * sysdeps/powerpc/configure: Likewise.
14004         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
14005         [sysdep_routines]: Remove wordcopy-power6 object.
14006         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
14007         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
14008         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
14009         (__memmove_ppc32): Likewise.
14010         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
14011         file.
14012         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
14013         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
14014         Remove preprocessor.
14016         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
14017         [sysdep_routines]: Remove wide chars objects.
14018         [wcsmbs]: New rule for wide char objects.
14020         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14021         Remove wordcopy-power6 obejct.
14022         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
14023         Use local call for wordcopy and memcpy symbols.
14024         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
14025         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
14026         implementation for loader.
14027         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
14029         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14030         Remove wordcopy-power7 object.
14031         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
14032         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
14033         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
14034         (_wordcopy_fwd_dest_aligned): Likewise.
14035         (_wordcopy_bwd_aligned): Likewise.
14036         (_wordcopy_bwd_dest_aligned): Likewise.
14038         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
14039         Rewrite to call __memmove_ppc instead of include default
14040         implementation.
14042         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14043         Remove wide chars objects.
14044         [wcsmbs]: New rule for wide char objects.
14046 2015-02-09  Andreas Schwab  <schwab@suse.de>
14048         [BZ #17912]
14049         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
14050         in terms of __O_DIRECTORY.
14052 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14054         * time/getdate.c: Include <stdbool.h>.
14055         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
14056         call PTR_MANGLE.
14057         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
14058         PTR_DEMANGLE.
14060 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
14062         Add ersatz _Static_assert on older C hosts
14063         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
14064         pre-C11 C platform that is not known to support _Static_assert.
14066 2015-02-07  Richard Braun  <rbraun@sceen.net>
14068         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
14069         sigstate.
14070         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
14072 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14074         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
14075         priority against unexistent AIO_PRIO_DELTA_MAX.
14076         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
14077         instead of int.
14078         * misc/fchflags.c (fchflags): Likewise.
14079         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
14080         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
14081         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
14082         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
14083         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
14084         Declare macros.
14085         [__USE_MISC] (chflags, fchflags): Declare functions.
14086         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
14087         EINVAL when nfds is greater than FD_SETSIZE.
14088         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
14089         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
14090         45.
14091         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
14092         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
14093         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
14094         MACH_RCV_TIMED_OUT.
14095         * hurd/hurd/signal.h (_hurd_self_sigstate,
14096         _hurd_critical_section_lock, _hurd_critical_section_unlock):
14097         Explicit casts from void *.
14098         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
14099         * abi-tags: Rename gnu-gnu os into gnu.
14101         [BZ #4719]
14102         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
14103         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
14104         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
14105         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
14106         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
14107         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
14109         [BZ #17944]
14110         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
14111         duplicates ADDR->sun_path with sockaddr LEN limitation.
14112         * sysdeps/mach/hurd/connect.c: Include <string.h>
14113         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
14114         * sysdeps/mach/hurd/sendmsg.c: Likewise.
14115         * sysdeps/mach/hurd/sendto.c: Likewise.
14116         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
14117         implementing it by hand.
14119 2015-02-06  Roland McGrath  <roland@hack.frob.com>
14121         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
14122         Use sfi_breg on ldr.
14123         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
14124         Likewise.
14126         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
14127         it's defined.
14128         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
14129         Test SIGSETXID only if it's defined.
14131         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
14133         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
14134         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
14136         * nptl/tst-align2.c: Moved ...
14137         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
14138         * nptl/Makefile (tests): Remove tst-align2.
14139         * sysdeps/unix/sysv/linux/Makefile
14140         [$(subdir) = nptl] (tests): Add tst-align-clone.
14141         * nptl/tst-getpid1.c: Moved ...
14142         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
14143         * nptl/tst-getpid2.c: Moved ...
14144         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
14145         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
14146         * sysdeps/unix/sysv/linux/Makefile
14147         [$(subdir) = nptl] (tests): ... here.
14148         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
14149         * sysdeps/unix/sysv/linux/Makefile
14150         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
14152         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
14153         Drop trailing \n from perror argument.  Use return rather than exit.
14155         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
14156         on [SA_SIGINFO].
14157         * nptl/tst-cancel21.c (do_test): Likewise.
14158         * debug/tst-backtrace6.c: Include <signal.h> first thing.
14159         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
14160         [!SA_SIGINFO]: Make it a stub test.
14162         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
14163         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
14165         * posix/tst-getlogin.c: Move to ...
14166         * login/tst-getlogin.c: ... here.
14167         * posix/Makefile (tests): Move tst-getlogin to ...
14168         * login/Makefile (tests): ... here.
14170         * libio/tst-atime.c (do_test): Move local variables SV and E
14171         inside [ST_NOATIME] conditional.
14173         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
14175         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
14177         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
14178         (wait_code): New function replaces macro.
14179         Call nanosleep rather than syscall.
14181         * nptl/pt-system.c: Rewritten.  Put everything under
14182         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
14183         Use IFUNC to redirect when possible.
14185         * nptl/pt-longjmp.c: Rewritten.  Put everything under
14186         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
14187         Use IFUNC to redirect when possible.
14189         * nptl/pt-fork.c: Rewritten.  Put everything under
14190         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
14191         Use IFUNC to redirect when possible.
14192         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
14194         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
14195         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
14196         unconditionally nowadays.  This included the only reference to
14197         __vdso_clock_gettime that appears outside libc proper.
14198         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
14199         Remove version set (containing only __vdso_clock_gettime).
14200         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
14201         Add attribute_hidden.
14202         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
14203         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
14204         libc_hidden_data_def.
14205         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
14206         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14208         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
14209         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
14210         setrpcent, and getrpcport to ...
14211         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
14212         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
14213         getrpcbynumber_r, and getrpcent_r to ...
14214         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
14215         * inet/getrpcbyname.c: Moved ...
14216         * sunrpc/getrpcbyname.c: ... here.
14217         * inet/getrpcbyname_r.c: Moved ...
14218         * sunrpc/getrpcbyname_r.c: ... here.
14219         * inet/getrpcbynumber.c: Moved ...
14220         * sunrpc/getrpcbynumber.c: ... here.
14221         * inet/getrpcbynumber_r.c: Moved ...
14222         * sunrpc/getrpcbynumber_r.c: ... here.
14223         * inet/getrpcent.c: Moved ...
14224         * sunrpc/getrpcent.c: ... here.
14225         * inet/getrpcent_r.c: Moved ...
14226         * sunrpc/getrpcent_r.c: ... here.
14227         * inet/Makefile (routines): Move those to ...
14228         * sunrpc/Makefile (routines): ... here.
14229         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
14230         the $(subdirs) list.
14231         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
14232         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
14233         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
14234         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
14236         * elf/Makefile (routines): Include $(all-dl-routines), not just
14237         $(dl-routines).
14238         (rtld-routines): Likewise.  Use = rather than :=.
14239         * sysdeps/aarch64/Makefile [$(subdir) = elf]
14240         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
14241         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
14242         * sysdeps/arm/Makefile: Likewise.
14243         * sysdeps/i386/Makefile: Likewise.
14244         * sysdeps/x86_64/Makefile: Likewise.
14245         * sysdeps/hppa/Makefile [$(subdir) = elf]
14246         (sysdep_routines, sysdep-rtld-routines): Don't add
14247         $(sysdep-dl-routines) to these.
14248         * sysdeps/ia64/Makefile: Likewise.
14249         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
14250         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
14251         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
14252         Don't add dl-static to these; sysdep-dl-routines alone is enough.
14253         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
14254         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
14255         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
14256         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
14257         * sysdeps/powerpc/Makefile [$(subdir) = elf]
14258         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
14259         these; sysdep-dl-routines alone is enough.
14261 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
14263         [BZ #17932]
14264         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
14265         where multiplication results in zero and third argument is finite
14266         and nonzero.
14267         * math/auto-libm-test-in: Add more tests of fma.
14268         * math/auto-libm-test-out: Regenerated.
14270         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
14271         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
14272         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
14273         (_FP_CMP_EQ): Likewise.
14274         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
14276         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
14277         extra argument CHECK_NAN.  Redefine as wrapper around
14278         _FP_EXTEND_CNAN.
14280 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
14282         * version.h (RELEASE): Set to "stable".
14283         (VERSION): Set to "2.21"
14284         * include/features.h (__GLIBC_MINOR__): Set to 21.
14286         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
14288 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14289             Paul Eggert  <eggert@cs.ucla.edu>
14291         [BZ #16618]
14292         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
14293         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
14294         size in bytes. Store needed elements in wpmax. Use needed size
14295         in bytes for extend_alloca.
14297 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
14299         * manual/install.texi: Latest tested versions are GCC 4.9.2,
14300         binutls 2.25, and texinfo 5.2.
14301         * INSTALL: Regenerate.
14302         * sysdeps/nios2/configure: Regenerate.
14303         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
14304         * manual/contrib.texi: Update.
14305         * po/be.po: Update.
14306         * po/bg.po: Update.
14307         * po/ca.po: Update.
14308         * po/cs.po: Update.
14309         * po/da.po: Update.
14310         * po/de.po: Update.
14311         * po/el.po: Update.
14312         * po/eo.po: Update.
14313         * po/es.po: Update.
14314         * po/fi.po: Update.
14315         * po/fr.po: Update.
14316         * po/gl.po: Update.
14317         * po/hr.po: Update.
14318         * po/hu.po: Update.
14319         * po/ia.po: Update.
14320         * po/id.po: Update.
14321         * po/it.po: Update.
14322         * po/ja.po: Update.
14323         * po/ko.po: Update.
14324         * po/lt.po: Update.
14325         * po/nb.po: Update.
14326         * po/nl.po: Update.
14327         * po/pl.po: Update.
14328         * po/pt_BR.po: Update.
14329         * po/ru.po: Update.
14330         * po/rw.po: Update.
14331         * po/sk.po: Update.
14332         * po/sl.po: Update.
14333         * po/sv.po: Update.
14334         * po/tr.po: Update.
14335         * po/uk.po: Update.
14336         * po/vi.po: Update.
14337         * po/zh_CN.po: Update.
14338         * po/zh_TW.po: Update.
14340         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
14341         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
14342         * sysdeps/hppa/dl-irel.h: Remove #warning.
14343         * sysdeps/hppa/entry.h: Provide prototype for
14344         __canonicalize_funcptr_for_compare and cast argument.
14345         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
14346         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
14347         * sysdeps/hppa/sotruss-lib.c: New file.
14348         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
14349         (atomic_compare_and_exchange_val_acq): Use __typeof__.
14350         (atomic_compare_and_exchange_bool_acq): Likewise.
14351         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
14352         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
14354         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
14355         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
14356         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
14358 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
14360         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
14361         called function in non-PIC case.
14363 2015-01-31  David S. Miller  <davem@davemloft.net>
14365         * sysdeps/sparc/sparc32/bits/atomic.h
14366         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
14367         unlock not after it.
14368         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
14369         volatile register usage warnings from the compiler.
14371         * sysdeps/sparc/nptl/sem_init.c: Delete.
14372         * sysdeps/sparc/nptl/sem_post.c: Delete.
14373         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
14374         * sysdeps/sparc/nptl/sem_wait.c: Delete.
14375         * sysdeps/sparc/sparc32/sem_init.c: New file.
14376         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
14377         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
14378         padding explicitly initialized.
14379         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
14380         padding for in-semaphore spinlock.
14381         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
14382         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
14383         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
14384         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
14385         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
14386         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
14387         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
14388         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
14389         version.
14390         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
14391         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
14393 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
14395         [BZ #17801]
14396         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14397         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
14398         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
14399         New.
14400         (index_AVX_Fast_Unaligned_Load): Likewise.
14401         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
14402         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
14403         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
14404         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
14405         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
14406         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
14407         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
14408         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
14409         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
14411 2015-01-29  Andreas Schwab  <schwab@suse.de>
14413         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
14415 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
14417         [BZ #17892]
14418         * nscd/nscd_stat.c (send_stats): Initialize DATA.
14420 2015-01-28  Martin Sebor  <msebor@redhat.com>
14422         * math/README.libm-test: Clarify. Add "How to read the test output."
14424 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
14426         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
14427         Define to 0.
14429 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
14431         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
14432         (__HAVE_64B_ATOMICS): Define to 0.
14434 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
14436         [BZ #17885]
14437         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
14438         value to set as new flag.
14440         [BZ #16576]
14441         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
14442         and use _ARCH_PPCSQ instead.
14443         (__ieee754_sqrt): Likewise.
14444         (__ieee754_sqrtf): Likewise.
14445         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
14446         _ARCH_PPCSQ is defined.
14447         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
14448         fsqrt instruction.
14449         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
14450         _ARCH_PPCSQ is defined.
14451         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
14452         fsqrts instruction.
14453         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
14455 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14457         * iconv/loop.c: Suppress array out of bound warning caused by GCC
14458         bug (GCC BZ #64739).
14460 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
14462         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
14463         Mark _retval as used.
14464         (lll_futex_wake_unlock): Likewise.
14465         (lll_futex_timed_wait_requeue_pi): Likewise.
14467         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
14468         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
14469         register variables.
14471         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
14472         libm_hidden_def.
14474         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
14475         (__bswap_64): Mark as __always_inline.
14477 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
14479         [BZ #15378]
14480         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
14481         when none of the search directories exist.
14483 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
14485         [BZ #17869]
14486         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
14487         power8 in .machine directive.
14489         [BZ #17868]
14490         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
14491         set dependency from opd value.
14493 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
14495         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14496         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
14497         architecture.
14499 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
14501         [BZ #17870]
14502         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
14503         with uint64_t.
14504         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
14505         (uint64_t) 1.
14506         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
14507         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
14508         Replace 1UL with (uint64_t) 1.
14509         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
14510         int with uint64_t.
14512 2015-01-23  Roland McGrath  <roland@hack.frob.com>
14514         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
14515         (if_freenameindex): Likewise.
14517         * resource/getrlimit64.c: Add missing libc_hidden_def.
14519 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
14521         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
14522         __label__.
14523         (_FP_FMA): Likewise.
14524         (_FP_TO_INT_ROUND): Likewise.
14525         (_FP_FROM_INT): Likewise.
14527 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14529         [BZ #16418]
14530         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
14531         Make code racy and cancel safe.
14533 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
14535         * sysdeps/arm/unwind-resume.h: Fix copyright year.
14536         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
14537         attribution.
14539         * pwd/tst-getpw.c: Rewrite.
14541         [BZ #17702]
14542         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
14543         (modules-names): Add moddummy1 and moddummy2.
14544         ($(objpfx)tst-rec-dlopen): Define.
14545         * dlfcn/moddummy1.c: New file.
14546         * dlfcn/moddummy2.c: New file.
14547         * dlfcn/tst-rec-dlopen.c: New file.
14548         * elf/dl-cache.c (_dl_load_cache_lookup):
14549         Return char*. Copy result with alloca/strcpy/strdup.
14550         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
14551         returns char*. Free cached. If not saving realname
14552         free cached.
14553         * elf/dl-open.c (dl_open_worker): Do not assert that
14554         _r_debug->r_state is RT_CONSISTENT.
14555         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
14556         returns char*.
14558 2015-01-21  Torvald Riegel  <triegel@redhat.com>
14559             Carlos O'Donell  <carlos@redhat.com>
14561         [BZ #12674]
14562         * nptl/sem_waitcommon.c: New file.
14563         * nptl/sem_wait.c: Include sem_waitcommon.c.
14564         (__sem_wait_cleanup, do_futex_wait): Remove.
14565         (__new_sem_wait): Adapt.
14566         (__new_sem_trywait): New function.
14567         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
14568         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
14569         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
14570         (sem_timedwait): Adapt.
14571         * nptl/sem_post.c (__new_sem_post): Adapt.
14572         (futex_wake): New function.
14573         (__old_sem_post): Add release MO fence.
14574         * nptl/sem_open.c (sem_open): Adapt.
14575         * nptl/sem_init.c (__new_sem_init): Adapt.
14576         (futex_private_if_supported): New function.
14577         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
14578         (__old_sem_getvalue): Add using previous code.
14579         * sysdeps/nptl/internaltypes.h: Adapt.
14580         * nptl/tst-sem13.c (do_test): Adapt.
14581         * nptl/tst-sem11.c (main): Adapt.
14582         * nptl/sem_trywait.c: Remove.
14583         * nptl/DESIGN-sem.txt: Remove.
14584         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
14585         (gen-as-const-headers): Remove structsem.sym.
14586         * nptl/structsem.sym: Remove.
14587         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
14588         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
14589         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
14590         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
14591         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
14592         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
14593         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
14594         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
14595         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
14596         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
14597         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
14598         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
14599         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
14600         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
14601         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
14602         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
14603         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
14604         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
14605         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
14606         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
14607         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
14608         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
14610 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
14612         * INSTALL: Regenerated.
14614         * po/libc.pot: Regenerated.
14616 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
14617             Sandra Loosemore  <sandra@codesourcery.com>
14618             Andrew Jenner  <andrew@codesourcery.com>
14619             Joseph Myers  <joseph@codesourcery.com>
14620             Nathan Sidwell  <nathan@codesourcery.com>
14622         * NEWS: Mention new Nios II port.
14623         * sysdeps/nios2/Implies: New file.
14624         * sysdeps/nios2/Makefile: New file.
14625         * sysdeps/nios2/Subdirs: New file.
14626         * sysdeps/nios2/Versions: New file.
14627         * sysdeps/nios2/__longjmp.S: New file.
14628         * sysdeps/nios2/abort-instr.h: New file.
14629         * sysdeps/nios2/backtrace.c: New file.
14630         * sysdeps/nios2/bits/endian.h: New file.
14631         * sysdeps/nios2/bits/fenv.h: New file.
14632         * sysdeps/nios2/bits/link.h: New file.
14633         * sysdeps/nios2/bits/setjmp.h: New file.
14634         * sysdeps/nios2/bsd-_setjmp.S: New file.
14635         * sysdeps/nios2/bsd-setjmp.S: New file.
14636         * sysdeps/nios2/configure: New generated file.
14637         * sysdeps/nios2/configure.ac: New file.
14638         * sysdeps/nios2/crti.S: New file.
14639         * sysdeps/nios2/crtn.S: New file.
14640         * sysdeps/nios2/dl-init.c: New file.
14641         * sysdeps/nios2/dl-machine.h: New file.
14642         * sysdeps/nios2/dl-sysdep.h: New file.
14643         * sysdeps/nios2/dl-tls.h: New file.
14644         * sysdeps/nios2/dl-trampoline.S: New file.
14645         * sysdeps/nios2/gccframe.h: New file.
14646         * sysdeps/nios2/gmp-mparam.h: New file.
14647         * sysdeps/nios2/jmpbuf-offsets.h: New file.
14648         * sysdeps/nios2/jmpbuf-unwind.h: New file.
14649         * sysdeps/nios2/ldsodefs.h: New file.
14650         * sysdeps/nios2/libc-tls.c: New file.
14651         * sysdeps/nios2/libm-test-ulps: New file.
14652         * sysdeps/nios2/machine-gmon.h: New file.
14653         * sysdeps/nios2/math-tests.h: New file.
14654         * sysdeps/nios2/math_private.h: New file.
14655         * sysdeps/nios2/memusage.h: New file.
14656         * sysdeps/nios2/nptl/Makefile: New file.
14657         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
14658         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
14659         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
14660         * sysdeps/nios2/nptl/pthreaddef.h: New file.
14661         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
14662         * sysdeps/nios2/nptl/tls.h: New file.
14663         * sysdeps/nios2/preconfigure: New file.
14664         * sysdeps/nios2/s_fma.c: New file.
14665         * sysdeps/nios2/s_fmaf.c: New file.
14666         * sysdeps/nios2/setjmp.S: New file.
14667         * sysdeps/nios2/sfp-machine.h: New file.
14668         * sysdeps/nios2/sotruss-lib.c: New file.
14669         * sysdeps/nios2/stackguard-macros.h: New file.
14670         * sysdeps/nios2/stackinfo.h: New file.
14671         * sysdeps/nios2/start.S: New file.
14672         * sysdeps/nios2/sysdep.h: New file.
14673         * sysdeps/nios2/tls-macros.h: New file.
14674         * sysdeps/nios2/tst-audit.h: New file.
14675         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
14676         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
14677         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
14678         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
14679         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
14680         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
14681         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
14682         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
14683         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
14684         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
14685         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
14686         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
14687         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
14688         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
14689         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
14690         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
14691         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
14692         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
14693         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
14694         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
14695         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
14696         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
14697         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
14698         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
14699         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
14700         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
14701         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
14702         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
14703         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
14704         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
14705         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
14706         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
14707         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
14708         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
14709         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
14710         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
14711         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
14712         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
14713         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
14714         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
14715         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
14716         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
14717         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
14718         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
14720 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
14722         [BZ #17844]
14723         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
14724         (getutent): Use weak_alias in non SHARED case
14725         and default_symbol_version in SHARED case.
14726         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
14727         (getutent_r, pututline): Likewise.
14728         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
14729         (getutid): Likewise.
14730         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
14731         (getutid_r): Likewise.
14732         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
14733         (getutline): Likewise.
14734         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
14735         (getutline_r): Likewise.
14736         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
14737         (updwtmp): Likewise.
14739 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
14741         [BZ #17848]
14742         * sysdeps/s390/s390-32/memcmp.S
14743         (memcmp_g5): Rename to __memcmp_g5.
14744         * sysdeps/s390/s390-32/memcpy.S
14745         (memcpy_g5): Rename to __memcpy_g5.
14746         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14747         (memcpy_mvcle) Rename to __memcpy_mvcle.
14748         * sysdeps/s390/s390-32/memset.S
14749         (memset_g5): Rename to __memset_g5.
14750         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14751         (IFUNC_RESOLVE): Prefix ifunc-resolve function
14752         and use prefixed functions.
14753         * sysdeps/s390/s390-32/multiarch/memcmp.S
14754         (memcmp_z196): Rename to __memcmp_z196.
14755         (memcmp_z10): Rename to __memcmp_z10.
14756         (memcmp): Set alias to __memcmp_g5.
14757         (bcmp): Set alias to __memcmp_g5.
14758         * sysdeps/s390/s390-32/multiarch/memcpy.S
14759         (memcpy_z196): Rename to __memcpy_z196.
14760         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14761         (memcpy_z10): Rename to __memcpy_z10.
14762         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14763         (memcpy): Set alias to __memcpy_g5.
14764         * sysdeps/s390/s390-32/multiarch/memset.S
14765         (memset_z196): Rename to __memset_z196.
14766         Jump to __memset_mvcle instead of memset_mvcle.
14767         (memset_z10): Rename to __memset_z10.
14768         Jump to __memset_mvcle instead of memset_mvcle.
14769         (memset_mvcle) Rename to __memset_mvcle.
14770         (memset): Set alias to __memset_g5.
14771         * sysdeps/s390/s390-64/memcmp.S
14772         (memcmp_z900): Rename to __memcmp_z900.
14773         * sysdeps/s390/s390-64/memcpy.S
14774         (memcpy_z900): Rename to __memcpy_z900.
14775         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14776         (memcpy_mvcle) Rename to __memcpy_mvcle.
14777         * sysdeps/s390/s390-64/memset.S
14778         (memset_z900): Rename to __memset_z900.
14779         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
14780         (IFUNC_RESOLVE): Prefix ifunc-resolve function
14781         and use prefixed functions.
14782         * sysdeps/s390/s390-64/multiarch/memcmp.S
14783         (memcmp_z196): Rename to __memcmp_z196.
14784         (memcmp_z10): Rename to __memcmp_z10.
14785         (memcmp): Set alias to __memcmp_z900.
14786         (bcmp): Set alias to __memcmp_z900.
14787         * sysdeps/s390/s390-64/multiarch/memcpy.S
14788         (memcpy_z196): Rename to __memcpy_z196.
14789         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14790         (memcpy_z10): Rename to __memcpy_z10.
14791         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14792         (memcpy): Set alias to __memcpy_z900.
14793         * sysdeps/s390/s390-64/multiarch/memset.S
14794         (memset_z196): Rename to __memset_z196.
14795         Jump to __memset_mvcle instead of memset_mvcle.
14796         (memset_z10): Rename to __memset_z10.
14797         Jump to __memset_mvcle instead of memset_mvcle.
14798         (memset_mvcle) Rename to __memset_mvcle.
14799         (memset): Set alias to __memset_z900.
14801 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
14803         [BZ #17748]
14804         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
14805         __fesetenv instead of fesetenv.
14807 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14809         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
14810         macro.
14812 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14814         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
14815         regression on LE.
14817         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
14818         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
14819         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
14820         strncmp-power8 object.
14821         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14822         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
14823         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
14824         * NEWS: Update.
14826 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14827             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14829         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
14830         trailing byte check.
14832 2015-01-13  David S. Miller  <davem@davemloft.net>
14834         * include/signal.h (__sigreturn): Guard with __USE_MISC.
14836 2015-01-13  Roland McGrath  <roland@hack.frob.com>
14838         * login/logout.c (logout): Use memset rather than bzero.
14839         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
14840         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
14841         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
14842         (_gethtbyaddr): Likewise.
14843         * locale/programs/simple-hash.c (bcopy): Macro removed.
14845 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14847         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14848         Add strcmp-power8 object.
14849         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14850         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
14851         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
14852         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
14853         __strcmp_power8 implementation.
14854         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
14855         * NEWS: Update.
14857         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14858         Add strncpy-power8 and stpncpy-power8 objects.
14859         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14860         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
14861         implementations.
14862         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
14863         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
14864         __stpncpy_power8 implementation.
14865         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
14866         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
14867         __strncpy_power8 implementation.
14868         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
14869         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
14870         * NEWS: Update.
14872         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
14873         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
14874         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
14876         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
14877         strncat-power8 object.
14878         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
14879         __strcat_power8 implementation.
14880         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14881         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
14882         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
14883         optimized strcat for power8.
14885         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
14886         strcpy-power8 and stpcpy-power8 objects.
14887         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14888         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
14889         implementations.
14890         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
14891         multiarch stpcpy implementation for POWER8.
14892         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
14893         multiarch strcpy implementation for POWER8.
14894         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
14895         __strcpy_power8 function.
14896         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
14897         stpcpy for POWER8.
14898         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
14899         strcpy for POWER8.
14900         * NEWS: Update.
14902 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
14904         [BZ #16009]
14905         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
14906         weights and rules. Use do_xfrm_cached if data fits in cache,
14907         do_xfrm otherwise.  Moved former main loop to...
14908         * (do_xfrm_cached): New function.
14909         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
14910         find_idx, find_position and stack_push.
14911         * (find_idx): New function.
14912         * (find_position): Likewise.
14913         * localedata/sort-test.sh: Added test run for do_xfrm.
14914         * localedata/xfrm-test.c (main): Added command line option
14915         -nocache to run the test with strings that are too large for
14916         the STRXFRM cache.
14918 2015-01-13  Torvald Riegel  <triegel@redhat.com>
14920         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
14921         variable to lll_futex_wake call, not the value itself.
14923 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
14925         [BZ #17803]
14926         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
14927         twom64.  Adjust value to 0x1p-64L.
14928         (__scalblnl): Only return standard underflowing result for K <=
14929         -64 not K <= -63; adjust exponent for underflowing result by 64
14930         not 63.
14931         * math/libm-test.inc (scalbn_test_data): Add more tests.
14932         (scalbln_test_data): Likewise.
14934         [BZ #17834]
14935         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
14936         0x1p63L.
14937         (__scalblnl): Get new exponent of adjusted subnormal value from ES
14938         not HX.
14939         * math/libm-test.inc (scalbn_test_data): Add more tests.
14940         (scalbln_test_data): Likewise.
14942 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14943             Stefani Seibold  <stefani@seibold.net>
14945         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
14946         (sysdep_routines): Add dl-vdso here, ...
14947         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
14948         (sysdep_routines): ... not here.
14949         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
14950         fallback when vDSO is not presented.
14951         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
14952         Define with libc_hidden_proto/libc_hidden_data_def definitions.
14953         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
14954         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
14955         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
14956         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
14957         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
14958         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
14959         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
14960         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
14961         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
14962         fallback configurable symbol when vDSO is not available.
14963         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
14964         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
14965         be able to redefine fallback symbol when vDSO is not available.
14966         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
14967         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
14969 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14971         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
14972         (TLS_INIT_TP): Add tm_capable initialization.
14973         (TLS_DEFINE_INIT_TP): Likewise.
14974         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
14975         TCB.
14976         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
14977         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
14978         calculation.
14979         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
14980         transactoion is lock elision is built and TCB tm_capable is set.
14981         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
14982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14983         (INTERNAL_SYSCALL_NCS): Likewise.
14984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14985         (INTERNAL_SYSCALL_NCS): Likewise.
14986         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
14988         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
14989         for powerpc.
14990         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14991         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
14992         and remove it for 32 bits case.
14993         [pthread_rwlock_t] (__rwelision): New field for lock elision.
14994         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
14995         initialization.
14996         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
14997         Disable lock elision with rdlocks if elision is not available.
14999         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
15000         (sysdep_routines): Add lock elision objects.
15001         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15002         [pthread_mutex_t] (__spins): Rework to add lock elision field.
15003         [pthread_mutex_t] (__elision): Add field.
15004         [__PTHREAD_SPINS]: Adjust to init lock elision field.
15005         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
15006         elision definitions for powerpc.
15007         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
15008         implementation of lock elision for powerpc.
15009         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
15010         implementation of timed lock elision for powerpc.
15011         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
15012         implementation of trylock with lock elision for powerpc.
15013         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
15014         implementaion of unlock for lock elision for powerpc.
15015         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
15016         automatic enable lock elision for mutexes.
15017         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
15018         transaction execution definitions for powerpc.
15019         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
15020         definitions.
15021         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
15022         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
15023         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
15024         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
15025         * NEWS: Update.
15027 2015-01-09  Roland McGrath  <roland@hack.frob.com>
15029         * sysdeps/posix/shm-directory.c: Use <> rather than ""
15030         for #include of <shm-directory.h>.
15032 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
15034         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
15035         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
15037 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
15039         [BZ #17791]
15040         * NEWS: Mention bug fix.
15041         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
15042         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
15043         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
15045 2015-01-09  Torvald Riegel <triegel@redhat.com>
15047         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
15049 2015-01-09  Torvald Riegel <triegel@redhat.com>
15051         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
15053 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
15055         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
15056         pointer and cast to uintptr_t.
15058 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
15060         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
15061         removed.
15062         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
15064 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
15066         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
15067         of 0.
15069 2015-01-08  Roland McGrath  <roland@hack.frob.com>
15071         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
15072         <nptl/pthreadP.h> instead.
15073         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
15075         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
15076         already defined.
15077         [__SIGRTMIN] (init): Function removed.
15078         [__SIGRTMIN] (initialized): Variable removed.
15079         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
15080         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
15081         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
15082         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
15083         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
15084         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
15085         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
15086         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
15087         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
15088         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
15089         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
15090         * sysdeps/nptl/allocrtsig.c: New file.
15091         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
15092         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
15093         * sysdeps/generic/testrtsig.h: File removed.
15095         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
15096         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
15098         * nptl/nptl-init.c (pthread_functions): Conditionalize
15099         .ptr__nptl_setxid initialization on [SIGSETXID].
15101         * sysdeps/nptl/sys/procfs.h: New file.
15102         * nptl_db/Makefile (headers): Add it.
15103         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
15105         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
15106         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
15107         * nptl/pthread_attr_setaffinity.c: Include it.
15108         * nptl/pthread_setattr_default_np.c: Likewise.
15109         * nptl/check-cpuset.h: New file.
15111 2015-01-08  Richard Henderson  <rth@redhat.com>
15113         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
15114         (CFLAGS-tst-execstack-prog.c): Likewise.
15115         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
15117 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
15118             Sandra Loosemore  <sandra@codesourcery.com>
15119             Andrew Jenner  <andrew@codesourcery.com>
15120             Joseph Myers  <joseph@codesourcery.com>
15121             Nathan Sidwell  <nathan@codesourcery.com>
15123         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
15124         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
15125         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
15126         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
15127         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
15128         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
15129         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
15130         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
15131         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
15132         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
15133         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
15134         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
15135         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
15136         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
15137         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
15138         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
15139         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
15141 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15143         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
15144         timespec struct member in syscall macro.
15145         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
15146         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
15147         first timeval struct member in syscall macro.
15148         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
15150 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
15152         [BZ #17748]
15153         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
15154         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
15155         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
15156         __feupdateenv and define as weak alias of __feupdateenv.  Use
15157         libm_hidden_weak.
15158         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
15159         libm_hidden_def.
15160         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
15161         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
15162         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
15163         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
15164         libm_hidden_def.
15165         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
15166         __feupdateenv and define as weak alias of __feupdateenv.  Use
15167         libm_hidden_weak.
15168         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
15169         libm_hidden_def.
15170         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
15171         __feupdateenv and define as weak alias of __feupdateenv.  Use
15172         libm_hidden_weak.
15173         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
15174         libm_hidden_def.
15175         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15176         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
15177         (__feupdateenv): Likewise.
15178         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
15179         __feupdateenv and define as weak alias of __feupdateenv.  Use
15180         libm_hidden_weak.
15181         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15182         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
15183         libm_hidden_def.
15184         * sysdeps/tile/math_private.h (__feupdateenv): New inline
15185         function.
15186         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
15187         libm_hidden_def.
15188         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
15189         __feupdateenv instead of feupdateenv.
15190         (default_libc_feupdateenv_test): Likewise.
15191         (libc_feresetround_ctx): Likewise.
15193 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15195         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
15196         prototype.
15198 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
15200         * posix/regcomp.c (parse_bracket_exp): Initialize type to
15201         COLL_SYM in a couple of places to avoid uninitialized variable
15202         wanings on tilegx gcc 4.8.2.
15204 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
15206         * sysdeps/aarch64/strcpy.S: New file.
15207         * sysdeps/aarch64/stpcpy.S: New file.
15208         * NEWS: Updated.
15210 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
15212         * sysdeps/aarch64/strrchr.S: New file.
15213         * NEWS: Updated.
15215 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
15217         [BZ #17658]
15218         * stdlib/setenv.c: Fix memory leak when setting large,
15219         duplicate string.
15221 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
15223         [BZ #17273]
15224         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
15225         and tabs from buffer before parsing fstab entry.
15226         * misc/tst-mntent.c (main): Add test for mount entry with
15227         trailing spaces and tabs.
15229 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
15231         [BZ #17748]
15232         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
15233         * math/fesetround.c (fesetround): Rename to __fesetround and
15234         define as weak alias of __fesetround.  Use libm_hidden_weak.
15235         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
15236         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
15237         * sysdeps/arm/fesetround.c (fesetround): Likewise.
15238         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
15239         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
15240         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
15241         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
15242         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
15243         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
15244         __fesetround_inline.
15245         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
15246         __fesetround_inline instead of __fesetround.
15247         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
15248         __fesetround and define as weak alias of __fesetround.  Use
15249         libm_hidden_weak.  Call __fesetround_inline instead of
15250         __fesetround.
15251         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
15252         __fesetround and define as weak alias of __fesetround.  Use
15253         libm_hidden_weak.
15254         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
15255         Likewise.
15256         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
15257         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15258         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
15259         * sysdeps/tile/math_private.h (__fesetround): New inline function.
15260         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
15261         __fesetround and define as weak alias of __fesetround.  Use
15262         libm_hidden_weak.
15263         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
15264         __fesetround instead of fesetround.
15265         (default_libc_feholdexcept_setround): Likewise.
15266         (libc_feholdsetround_ctx): Likewise.
15267         (libc_feholdsetround_noex_ctx): Likewise.
15269         [BZ #17748]
15270         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
15271         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
15272         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
15273         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
15274         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
15275         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
15276         define as weak alias of __fesetenv.  Use libm_hidden_weak.
15277         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
15278         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
15279         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
15280         define as weak alias of __fesetenv.  Use libm_hidden_weak.
15281         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
15282         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
15283         define as weak alias of __fesetenv.  Use libm_hidden_weak.
15284         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
15285         libm_hidden_def.
15286         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
15287         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
15288         Likewise.
15289         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
15290         define as weak alias of __fesetenv.  Use libm_hidden_weak.
15291         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
15292         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
15293         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
15294         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
15295         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
15296         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
15297         __fesetenv instead of fesetenv.
15298         (libc_feresetround_noex_ctx): Likewise.
15299         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
15300         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
15301         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
15302         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
15303         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
15304         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
15305         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15306         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
15307         (__feupdateenv): Likewise.
15308         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15309         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15310         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15311         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
15313 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
15315         [BZ #17806]
15316         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
15317         addresses have been freed.
15319 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
15321         * resolv/res_init.c (__res_vinit): Improve comments about nserv
15322         and nservall.
15324 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
15326         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
15327         Clean up check_pf allocation pattern. addresses
15329 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15331         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
15332         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
15333         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
15334         * nptl/pthread_exit.c (__pthread_exit): Likewise.
15335         * nptl/pthread_join.c (pthread_join): Likewise.
15336         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
15337         * sysdeps/posix/waitid.c (__waitid): Likewise.
15338         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
15339         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
15340         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
15341         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
15342         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
15343         Likewise.
15344         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
15345         (__libc_pread64): Likewise.
15346         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
15347         (__libc_pwrite): Likewise.
15348         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
15349         (__libc_pwrite64): Likewsie.
15350         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
15351         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
15352         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
15353         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
15354         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
15355         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
15356         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
15357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
15358         Likewise.
15359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
15360         (__libc_pread64): Likewise.
15361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
15362         Likewise.
15363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
15364         (__libc_pwrite64): Likewise.
15365         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
15366         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
15367         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
15368         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
15369         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
15370         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
15371         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
15372         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
15373         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
15374         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
15375         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
15376         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
15377         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
15378         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
15379         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
15380         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
15381         Likewise.
15383 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
15385         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
15386         (CFLAGS-test-double.c): Likewise.
15387         (CFLAGS-test-ldouble.c): Likewise.
15388         (CPPFLAGS-test-ifloat.c): Likewise.
15389         (CPPFLAGS-test-idouble.c): Likewise.
15390         (CPPFLAGS-test-ildoubl.c): Likewise.
15391         (CFLAGS-test-test-fenv.c): Remove variable.
15392         (CFLAGS-test-misc.c): Likewise.
15394 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
15396         [BZ #17797]
15397         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
15398         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
15399         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
15400         CLOCKS_PER_SEC == 1000000.
15401         * time/clocktest.c (main): Replace %ld with %jd and cast to
15402         intmax_t.
15404 2015-01-05  Roland McGrath  <roland@hack.frob.com>
15406         * sysdeps/generic/unwind-resume.h: New file.
15407         * sysdeps/gnu/unwind-resume.c: Include it.
15408         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
15409         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
15410         argument list.
15411         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
15412         global rather than static.
15413         (_Unwind_Resume): Update user.
15414         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
15415         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
15416         rather than static.  Add __attribute__ ((cold)).
15417         (_Unwind_Resume, __gcc_personality_v0): Update callers.
15418         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
15419         * sysdeps/arm/arm-unwind-resume.S: New file.
15420         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
15421         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
15422         * sysdeps/arm/Makefile [$(subdir) = csu]
15423         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
15424         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
15425         Add rt-arm-unwind-resume.
15426         [$(subdir) = nptl]
15427         (libpthread-sysdep_routines, libpthread-shared-only-routines):
15428         Add pt-arm-unwind-resume.
15429         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
15430         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
15432 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
15434         [BZ #17748]
15435         * include/fenv.h (__feholdexcept): Declare.  Use
15436         libm_hidden_proto.
15437         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
15438         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
15439         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15440         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
15441         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
15442         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
15443         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
15444         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15445         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
15446         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
15447         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
15448         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
15449         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
15450         (feholdexcept): Likewise.
15451         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
15452         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
15453         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
15454         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15455         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
15456         __feholdexcept instead of feholdexcept.
15457         (default_libc_feholdexcept_setround): Likewise.
15459 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
15461         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
15462         to avoid using stl/str to align destination.
15464 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
15466         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
15468 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
15470         [BZ #17796]
15471         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
15472         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
15473         Define as weak alias not strong alias.
15475 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
15477         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
15478         bltzal with addiupc.
15479         (RTLD_START): Ditto.
15481 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
15483         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
15484         for __vdso_* functions in declarations.
15485         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
15486         definitions.
15487         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
15488         INTERNAL_VSYSCALL): Use struct return types to check for error.
15490         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
15491         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
15492         function with cast from llround().
15493         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
15494         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
15495         Define.
15497 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
15499         [BZ #17793]
15500         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
15501         Define as weak alias not strong alias.
15503         [BZ #17635]
15504         * ctype/ctype-c99.c: New file.  isblank implementation moved from
15505         ...
15506         * ctype/ctype-extn.c: ... here.
15507         (__isblank_l): Move to ...
15508         * ctype/ctype-c99_l.c: ... here.  New file.
15509         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
15510         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
15511         Remove variable.
15512         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
15513         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
15514         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
15515         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
15516         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
15518         [BZ #17777]
15519         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
15520         (posix_fadvise64): Define as weak alias not strong alias.
15521         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15522         (posix_fallocate64): Likewise.
15523         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
15524         Remove variable.
15525         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
15526         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
15527         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
15528         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
15529         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
15531 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
15533         [BZ #16191]
15534         * NEWS: Mention bug fix.
15535         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
15536         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
15537         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
15538         (HOST_STACK_END_ADDR): Likewise.
15540 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
15542         [BZ #17748]
15543         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
15544         * math/fegetround.c (fegetround): Rename to __fegetround and
15545         define as weak alias of __fegetround.  Use libm_hidden_weak.
15546         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
15547         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
15548         * sysdeps/arm/fegetround.c (fegetround): Likewise.
15549         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
15550         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
15551         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
15552         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
15553         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
15554         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
15555         Undefine after rather than before function definition; use
15556         parentheses around function name in definition.
15557         (__fegetround): Also undefine macro after function definition.
15558         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
15559         __fegetround and define as weak alias of __fegetround.  Use
15560         libm_hidden_weak.  Do not undefine as macro.
15561         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
15562         Likewise.
15563         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
15564         __fegetround and define as weak alias of __fegetround.  Use
15565         libm_hidden_weak.
15566         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15567         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
15568         * sysdeps/tile/math_private.h (__fegetround): New inline function.
15569         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
15570         __fegetround and define as weak alias of __fegetround.  Use
15571         libm_hidden_weak.
15572         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
15573         __fegetround instead of fegetround.
15575         [BZ #17782]
15576         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
15577         Condition macro definition on [__USE_MISC].
15579         [BZ #17781]
15580         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
15581         (struct sigaction): Change type of sa_flags field to int.
15583         [BZ #17780]
15584         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
15585         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
15586         __glibc_reserved0.
15588         * nptl/version.c (banner): Use single year in copyright notice.
15590         * NEWS: Update copyright dates.
15591         * catgets/gencat.c (print_version): Likewise.
15592         * csu/version.c (banner): Likewise.
15593         * debug/catchsegv.sh: Likewise.
15594         * debug/pcprofiledump.c (print_version): Likewise.
15595         * debug/xtrace.sh (do_version): Likewise.
15596         * elf/ldconfig.c (print_version): Likewise.
15597         * elf/ldd.bash.in: Likewise.
15598         * elf/pldd.c (print_version): Likewise.
15599         * elf/sotruss.sh: Likewise.
15600         * elf/sprof.c (print_version): Likewise.
15601         * iconv/iconv_prog.c (print_version): Likewise.
15602         * iconv/iconvconfig.c (print_version): Likewise.
15603         * locale/programs/locale.c (print_version): Likewise.
15604         * locale/programs/localedef.c (print_version): Likewise.
15605         * login/programs/pt_chown.c (print_version): Likewise.
15606         * malloc/memusage.sh (do_version): Likewise.
15607         * malloc/memusagestat.c (print_version): Likewise.
15608         * malloc/mtrace.pl: Likewise.
15609         * manual/libc.texinfo: Likewise.
15610         * nptl/version.c (banner): Likewise.
15611         * nscd/nscd.c (print_version): Likewise.
15612         * nss/getent.c (print_version): Likewise.
15613         * nss/makedb.c (print_version): Likewise.
15614         * posix/getconf.c (main): Likewise.
15615         * scripts/test-installation.pl: Likewise.
15616         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
15618 2015-01-02  Will Newton  <will.newton@linaro.org>
15620         * sysdeps/arm/armv7/configure: Removed.
15621         * sysdeps/arm/armv7/configure.ac: Likewise.
15623 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
15625         * All files with FSF copyright notices: Update copyright dates
15626         using scripts/update-copyrights.
15627         * intl/plural.c: Regenerated.
15628         * locale/programs/charmap-kw.h: Likewise.
15629         * locale/programs/locfile-kw.h: Likewise.
15631 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15633         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
15635 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
15637         [BZ #17748]
15638         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
15639         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
15640         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
15641         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
15642         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
15643         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
15644         define as weak alias of __fegetenv.  Use libm_hidden_weak.
15645         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
15646         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
15647         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
15648         define as weak alias of __fegetenv.  Use libm_hidden_weak.
15649         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
15650         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
15651         define as weak alias of __fegetenv.  Use libm_hidden_weak.
15652         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
15653         libm_hidden_def.
15654         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
15655         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
15656         Likewise.
15657         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
15658         define as weak alias of __fegetenv.  Use libm_hidden_weak.
15659         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
15660         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
15661         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
15662         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
15663         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
15664         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
15665         __fegetenv instead of fegetenv.
15666         (libc_feholdsetround_noex_ctx): Likewise.
15668 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
15670         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
15671         (Elf_MIPS_ABIFlags_v0): New structure.
15672         (EF_MIPS_FP64): Define.
15673         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
15674         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
15675         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
15676         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
15677         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
15678         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
15679         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
15680         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
15681         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
15682         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
15683         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
15684         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
15685         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
15686         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
15687         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
15688         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
15689         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
15690         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
15691         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
15692         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
15693         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
15694         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
15695         field.
15696         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
15697         EF_MIPS_FP64.
15698         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
15699         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
15700         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
15701         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
15702         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
15703         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
15704         * sysdeps/mips/tst-abi-interlink.c: Likewise.
15705         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
15706         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
15707         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
15708         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
15709         record the current FP ABI extension.
15710         (mips-mode-switch): Define to show if kernel headers support mode
15711         switching.
15712         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15713         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
15714         supported SYSV ABI version to 3.
15715         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
15716         feature.
15718 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15719             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15721         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
15722         path.
15723         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
15725 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
15727         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
15728         __fegetround and redefine to call __fegetround.  Remove condition
15729         on [!__NO_MATH_INLINES].
15730         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
15731         function.
15732         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
15733         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
15734         Remove macro.
15735         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
15736         instead of <fenv_libc.h>.
15737         (__llrintl): Call fegetround instead of __fegetround.
15738         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
15739         instead of <fenv_libc.h>.
15740         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15741         (__lrintl): Call fegetround instead of __fegetround.
15742         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
15743         instead of <fenv_libc.h>.
15744         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15745         (__rintl): Call fegetround instead of __fegetround.
15747 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
15749         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
15750         arrays.
15752 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
15754         [BZ #17775]
15755         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
15756         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
15757         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
15759 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
15761         * sysdeps/i386/tls-macros.h: Include <features.h>.
15762         (TLS_LE): Use non-PIC version for GCC >= 5.0.
15763         (TLS_IE): Likewise.
15764         (TLS_LD): Likewise.
15765         (TLS_GD): Likewise.
15766         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
15767         define for GCC >= 5.0.
15769 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
15771         * math/test-fenv.c (test_single_exception, set_single_exc,
15772         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
15773         feexcp_mask_test, feenable_test, fe_single_test): Add
15774         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
15775         case where they are not used.
15776         * math/libm-test.inc: Likewise.
15777         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
15778         unused in the absence of FP rounding/exception support.
15779         * stdio-common/tst-printf-round.c: Likewise.
15780         * stdlib/tst-strtod-round.c: Likewise.
15781         * stdlib/tst-strtod-underflow.c: Likewise.
15783 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
15785         [BZ #17723]
15786         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
15787         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
15788         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
15789         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
15790         libm_hidden_weak.
15791         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
15792         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
15793         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
15794         libm_hidden_def.
15795         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
15796         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
15797         libm_hidden_weak.
15798         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
15799         Likewise.
15800         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
15801         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
15802         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
15803         libm_hidden_weak.
15804         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
15805         libm_hidden_def.
15806         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
15807         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
15808         (__feraiseexcept): Likewise.
15809         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
15810         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
15811         libm_hidden_weak.
15812         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
15813         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
15814         libm_hidden_def.
15815         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
15816         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
15817         Use libm_hidden_def.
15818         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
15819         libm_hidden_def.
15820         (feraiseexcept): Define as weak not strong alias.  Use
15821         libm_hidden_weak.
15822         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
15823         New inline function.  Factored out of ...
15824         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
15825         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
15826         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
15827         feraiseexcept.
15828         * math/w_acos.c (__acos): Likewise.
15829         * math/w_asin.c (__asin): Likewise.
15830         * math/w_ilogb.c (__ilogb): Likewise.
15831         * math/w_j0.c (y0): Likewise.
15832         * math/w_j1.c (y1): Likewise.
15833         * math/w_jn.c (yn): Likewise.
15834         * math/w_log.c (__log): Likewise.
15835         * math/w_log10.c (__log10): Likewise.
15836         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
15837         * sysdeps/aarch64/fpu/math_private.h
15838         (libc_feupdateenv_test_aarch64): Likewise.
15839         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
15840         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
15841         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
15842         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
15843         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
15844         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
15845         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
15846         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15847         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15848         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15850 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
15852         [BZ #17732]
15853         * io/test-utime.c (main): Replace %ld with %jd and cast to
15854         intmax_t.
15855         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
15856         * nptl/tst-mutex5.c: Include <stdint.h>.
15857         (do_test): Replace %ld with %jd and cast to intmax_t.
15858         * posix/tst-regex.c (run_test): Likewise.
15859         (run_test_backwards): Likewise.
15860         * rt/tst-clock.c: Include <stdint.h>.
15861         (clock_test): Replace %ld with %jd and cast to intmax_t.
15862         * rt/tst-cpuclock1.c: Include <stdint.h>.
15863         (do_test): Replace %lu with %ju and cast to uintmax_t.
15864         * rt/tst-cpuclock2.c: Include <stdint.h>.
15865         (do_test): Replace %lu with %ju and cast to uintmax_t.
15866         * rt/tst-mqueue1.c: Include <stdint.h>.
15867         (check_attrs): Replace %ld with %jd and cast to intmax_t.
15868         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
15869         intmax_t.
15870         * rt/tst-mqueue4.c (do_test): Likewise.
15871         * rt/tst-timer4.c: Include <stdint.h>.
15872         (check_ts): Replace %ld with %jd and cast to intmax_t.
15873         (do_test): Likewise.
15874         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
15875         and cast to intmax_t.
15876         * sysdeps/pthread/tst-timer.c (main): Likewise.
15877         * time/clocktest.c (main): Likewise.
15878         * time/tst-posixtz.c (do_test): Likewise.
15879         * timezone/tst-timezone.c (main): Likewise.
15881 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
15882             H.J. Lu  <hongjiu.lu@intel.com>
15884         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
15885         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
15886         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
15887         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
15888         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
15889         version if bit_Fast_Unaligned_Load is set.
15890         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15891         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15892         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15893         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15894         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15895         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15896         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15897         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
15898         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
15899         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
15900         to 4.
15901         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
15902         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
15903         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
15904         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
15906 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
15908         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
15909         instead of #if to avoid a Wundef warning.
15910         * stdlib/tst-limits.c (do_test): Likewise.
15912         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
15913         parallel other exception macros.
15914         (fegetenv): Convert from macro to extern inline so that it applies
15915         retroactively to inline functions already seen by the compiler.
15916         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
15918         * posix/Makefile (before-compile): Use $(objpfx) for
15919         posix-conf-vars-def.h.
15921 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15923         * posix/getconf.c (main): Use size_t for type of I.
15924         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
15925         NSPEC.
15927         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
15928         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
15929         * posix/posix-envs.def: Likewise.
15930         * sysdeps/posix/sysconf.c: Likewise.
15931         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
15932         (specs): Remove array.
15933         * scripts/gen-posix-conf-vars.awk: Support generation of specs
15934         array.
15936         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
15937         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
15938         (__sysconf): Use CONF_IS_* macros.
15940         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
15941         ($(objpfx)posix-conf-vars-def.h): New target.
15942         * posix/posix-conf-vars.list: New file.
15943         * posix/posix-conf-vars.h: New file.
15944         * posix/confstr.c: Include posix-conf-vars.h.
15945         (confstr): Use CONF_IS_* macros.
15946         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
15947         CONF_IS_* macros.
15948         * scripts/gen-posix-conf-vars.awk: New file.
15950 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
15952         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
15953         fegetround): Add no-op macros to avoid linknamespace issues.
15955         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
15956         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
15958         * sysdeps/unix/sysv/linux/tile/sysdep.h
15959         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
15960         assembly-specific section to avoid a redefinition warning.
15962         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
15963         long before casting to pointer to avoid a cast warning.
15965 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
15967         * sysdeps/tile/tilegx/Implies: New file.
15969 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
15971         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
15973 2014-12-23  Florian Weimer  <fweimer@redhat.com>
15975         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
15977 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
15979         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
15980         not define.
15981         * sysdeps/unix/sysv/linux/utimes.c: Do not include
15982         <kernel-features.h>.
15983         (__utimes) [__NR_utimes]: Make code unconditional.
15984         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
15985         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15986         (__ASSUME_UTIMES): Do not undefine.
15987         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15988         (__ASSUME_UTIMES): Likewise.
15989         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15990         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
15991         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
15992         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
15994 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
15996         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
15998 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
16000         [BZ #17747]
16001         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
16002         alias to weak alias for j0l, y0l.
16003         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
16004         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
16006         [BZ #17746]
16007         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
16008         conversion.
16010 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
16012         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
16013         to zero if not already defined.
16015 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
16017         [BZ #17724]
16018         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
16019         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
16020         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
16021         (char *) casts added.
16022         * sysdeps/ieee754/k_standardf.c: New file.
16023         * sysdeps/ieee754/k_standardl.c: Likewise.
16024         * math/Makefile (libm-support): Remove k_standard.
16025         (libm-calls): Add k_standard.
16027 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
16029         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
16030         Optimize to avoid an unnecessary FPCR read.
16032 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
16034         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
16035         Optimize to reduce FPCR/FPSR accesses.
16037 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
16039         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
16040         Call libc_fetestexcept_aarch64.
16042 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
16044         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
16045         Call libc_fesetround_aarch64.
16047 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
16049         [BZ #17733]
16050         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
16051         (__bind): Do not define as weak alias.
16052         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
16053         define.
16054         (__getsockname): Do not define as weak alias.
16056 2014-12-22  Will Newton  <will.newton@linaro.org>
16058         * manual/install.texi: Document that we require bison 2.7
16059         or above.
16060         * INSTALL: Regenerate.
16061         * configure.ac: Use AC_CHECK_PROG_VER instead of
16062         AC_PATH_PROG when checking for bison and check for
16063         version 2.7 or above.
16064         * configure: Regenerate.
16066 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
16068         [BZ #17745]
16069         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
16070         * sysdeps/tile/ffsll.c (ffsll): To here.
16072         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
16074 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
16076         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
16077         if not defined.
16078         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
16079         definition.
16080         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
16081         hidden ___tls_get_addr.
16082         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
16083         hidden __tls_get_addr.
16084         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
16085         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
16086         Likewise.
16088 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
16090         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
16091         _dl_init call.
16093 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
16095         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
16096         from "call _dl_init@PLT".
16097         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
16099 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
16101         * manual/search.texi: (Array Sort Function): Clarify stable sorting
16102         guarantees.
16104 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
16106         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
16108 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
16110         [BZ #17744]
16111         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
16112         strnlen.
16114 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
16116         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
16117         of multu on MIPSr6.
16118         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
16119         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
16120         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
16121         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
16122         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
16124 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
16126         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
16127         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
16128         (PTR_SUBU): Use subu for mips32r6/mips64r6.
16129         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
16130         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
16131         mips32r6/mips64r6.
16132         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
16134 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
16136         * string/strncat.c (STRNCAT): Simplify implementation.
16138 2014-12-19  David S. Miller  <davem@davemloft.net>
16140         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
16141         access the quad as both a long double and as a series of 4 words.
16143         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
16144         link_map->l_info array access.
16146 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
16148         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
16150         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
16151         * math/atest-exp2.c (TIMEOUT): Likewise.
16152         * math/atest-sincos.c (TIMEOUT): Likewise.
16154 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
16156         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
16157         -Wno-error with -fno-builtin-lround.
16159 2014-12-19  Torvald Riegel  <triegel@redhat.com>
16161         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
16162         Contains futex constants and functions moved over from ...
16163         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
16164         <lowlevellock-futex.h>.
16165         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
16166         (lll_timedwait_tid): Add comments and parentheses around macro
16167         arguments.
16169 2014-12-19  Torvald Riegel  <triegel@redhat.com>
16171         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
16172         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
16173         (__lll_private_flag): Remove.
16174         (lll_futex_wait): Likewise.
16175         (lll_futex_timed_wait): Likewise.
16176         (lll_futex_wake): Likewise.
16177         (lll_futex_requeue): Likewise.
16178         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
16179         (__lll_timedwait_tid): Spell out argument names.
16180         (lll_timedwait_tid): Add comments and parentheses around macro
16181         arguments.
16182         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
16183         LLL_SHARED and LLL_PRIVATE usable from assembly code.
16185 2014-12-19  Torvald Riegel  <triegel@redhat.com>
16187         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
16188         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
16189         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16190         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
16191         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
16192         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
16193         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
16194         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
16195         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
16196         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
16197         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
16198         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
16199         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
16200         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
16201         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
16202         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
16203         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
16204         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
16205         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
16207 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
16209         * sysdeps/x86_64/x32/Makefile: New file.
16211 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
16213         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
16214         1L with (mp_limb_t) 1.
16216 2014-12-17  Roland McGrath  <roland@hack.frob.com>
16218         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
16219         * nptl/libc_pthread_init.c: ... here.
16220         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
16221         * nptl/register-atfork.c: ... here.
16223         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
16224         Use pthread_sigmask rather than INTERNAL_SYSCALL.
16225         Use assert_perror to check its return value.
16226         (__gai_create_helper_thread): Likewise.
16228         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
16230         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
16232 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
16234         [BZ #17725]
16235         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
16236         __profil_counter.
16237         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
16238         Likewise.
16239         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
16240         Likewise.
16241         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
16242         Likewise.
16243         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
16244         (profil_counter): Likewise.
16245         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
16246         (profil_counter): Likewise.
16247         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
16248         Likewise.
16249         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
16250         Likewise.
16251         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
16252         (profil_counter): Likewise.
16253         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
16254         Likewise.
16255         [!__profil_counter] (profil_counter): Define as weak alias of
16256         __profil_counter.
16257         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
16258         (profil_counter): Rename to __profil_counter.
16259         [!__profil_counter] (profil_counter): Define as weak alias of
16260         __profil_counter.
16261         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
16262         (profil_counter): Rename to __profil_counter.
16263         [!__profil_counter] (profil_counter): Define as weak alias of
16264         __profil_counter.
16265         * sysdeps/posix/profil.c: Update comment referring to
16266         profil_counter.
16267         (__profil): Use __profil_counter instead of profil_counter.
16268         * sysdeps/posix/sprofil.c (profil_counter): Rename to
16269         __profil_counter.  Use __profil_counter_ushort and
16270         __profil_counter_uint in definitions.
16271         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
16272         instead of profil_counter_uint and profil_counter_ushort.
16274         [BZ #17722]
16275         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
16276         define as weak alias of __inet_makeaddr.
16277         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
16278         as weak alias of __inet_addr.
16279         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
16280         as weak alias of __inet_pton.  Use libc_hidden_weak.
16281         * include/arpa/inet.h (__inet_pton): Declare.  Use
16282         libc_hidden_proto.
16283         (inet_makeaddr): Don't use libc_hidden_proto.
16284         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
16285         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
16286         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
16287         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
16288         Remove variable.
16289         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
16290         (test-xfail-POSIX/time.h/linknamespace): Likewise.
16292 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
16294         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
16296 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
16298         * stdio-common/bug-vfprintf-nargs.c (do_test):
16299         Cast value to intptr_t to avoid format warning
16300         for usage with PRIdPTR printing macro.
16302 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
16304         * libio/tst-widetext.c (do_test):
16305         Use format type %td instead of %Zd for ptrdiff_t
16306         in order to avoid format warning.
16308 2014-12-17  Andreas Schwab  <schwab@suse.de>
16310         * nscd/mem.c (gc): Add size_t cast to match printf format.
16312 2014-12-16  Roland McGrath  <roland@hack.frob.com>
16314         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
16315         (init): Apply PTR_MANGLE to pointers before storing them.
16316         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
16317         before using them.
16319 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
16321         [BZ #17719]
16322         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
16323         define as weak alias of __memrchr.
16324         (__memrchr): Do not define as strong alias of memrchr.
16325         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
16326         Remove variable.
16327         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
16328         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
16329         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
16331         [BZ #17717]
16332         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
16333         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
16334         (if_indextoname): Rename to __if_indextoname and define as weak
16335         alias of __if_indextoname.  Use libc_hidden_weak.
16336         (if_freenameindex): Rename to __if_freenameindex and define as
16337         weak alias of __if_freenameindex.
16338         (if_nameindex): Rename to __if_nameindex and define as weak alias
16339         of __if_nameindex.
16340         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
16341         __if_nametoindex and define as weak alias of __if_nametoindex.
16342         Use libc_hidden_weak.
16343         (if_freenameindex): Rename to __if_freenameindex and define as
16344         weak alias of __if_freenameindex.
16345         (if_nameindex): Rename to __if_nameindex and define as weak alias
16346         of __if_nameindex.
16347         (if_indextoname): Rename to __if_indextoname and define as weak
16348         alias of __if_indextoname.  Use libc_hidden_weak.
16349         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
16350         __if_nametoindex and define as weak alias of __if_nametoindex.
16351         Use libc_hidden_weak.
16352         (if_freenameindex): Rename to __if_freenameindex and define as
16353         weak alias of __if_freenameindex.  Use libc_hidden_weak.
16354         (if_nameindex_netlink): Use __if_freenameindex instead of
16355         if_freenameindex.
16356         (if_nameindex): Rename to __if_nameindex and define as weak alias
16357         of __if_nameindex.  Use libc_hidden_weak.
16358         (if_indextoname): Rename to __if_indextoname and define as weak
16359         alias of __if_indextoname.  Use libc_hidden_weak.
16360         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
16361         libc_hidden_proto.
16362         [!_ISOMAC] (__if_freenameindex): Likewise.
16363         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
16364         if_nametoindex.
16365         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
16366         variable.
16367         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
16368         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
16369         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
16370         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
16371         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
16372         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
16373         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
16375         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
16376         Remove variable.
16377         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
16378         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
16380 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16382         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
16383         subscript above bounds'
16385         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
16386         bounds.
16388 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
16390         * libio/tst-fopenloc.c: Use test-skeleton.c.
16392         * stdlib/tst-bsearch.c: Use test-skeleton.c.
16393         (entry): Rename to ITEM.
16394         (do_test, comp): Adjust.
16396         * stdio-common/tst-fseek.c: Use test-skeleton.c.
16398 2014-12-16  Torvald Riegel  <triegel@redhat.com>
16400         * string/tester.c: Include <libc-internal.h>.
16401         (test_memset): Ignore -Wmemset-transposed-args.
16403 2014-12-16  Torvald Riegel  <triegel@redhat.com>
16405         * misc/tst-mntent2.c (do_test): Fix warning.
16407 2014-12-16  Torvald Riegel  <triegel@redhat.com>
16409         * elf/tst-unique4lib.cc(a): Mark as used.
16411 2014-12-16  Florian Weimer  <fweimer@redhat.com>
16413         [BZ #17630]
16414         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
16415         names.
16417 2014-12-16  Allan McRae  <allan@archlinux.org>
16419         * stdio-common/Makefile (tests): Re-add bug26.
16421 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
16423         [BZ #17657]
16424         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
16425         static array.
16427 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
16429         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
16430         (__lll_lock_wait): Likewise.
16431         (__lll_timedlock_wait): Likewise.
16432         (__lll_timedwait_tid): Likewise.
16433         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
16434         (__lll_robust_timedlock_wait): Likewise.
16435         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
16436         (lll_cond_trylock): Likewise.
16437         (__lll_lock): Likewise.
16438         (__lll_robust_lock): Likewise.
16439         (__lll_cond_lock): Likewise.
16440         (lll_robust_cond_lock): Likewise.
16441         (__lll_timedlock): Likewise.
16442         (__lll_robust_timedlock): Likewise.
16443         (__lll_unlock): Likewise.
16444         (__lll_robust_unlock): Likewise.
16445         (lll_wait_tid): Likewise.
16446         (lll_timedwait_tid): Likewise.
16448 2014-12-15  Torvald Riegel  <triegel@redhat.com>
16450         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
16452 2014-12-15  Torvald Riegel  <triegel@redhat.com>
16454         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
16456 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
16458         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
16459         * stdio-common/tst-sprintf.c: Likewise.
16461 2014-12-15  Torvald Riegel  <triegel@redhat.com>
16463         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
16465 2014-12-15  Jeff Law  <law@redhat.com>
16467         [BZ #16617]
16468         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
16469         on the heap.  (CVE-2012-3406)
16470         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
16471         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
16472         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
16474 2014-12-15  Will Newton  <will.newton@linaro.org>
16476         * manual/install.texi: Bump required version of texinfo
16477         to 4.7 from 4.5.
16478         * INSTALL: Regenerated.
16479         * configure.ac: Check for makeinfo version 4.7 and above.
16480         * configure: Regenerated.
16482 2014-12-12  Roland McGrath  <roland@hack.frob.com>
16484         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
16485         PREFIX, string constant to insert between directory and name.
16486         * sysdeps/posix/shm_open.c: Update caller.
16487         * sysdeps/posix/shm_unlink.c: Likewise.
16488         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
16489         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
16490         (SEM_SHM_PREFIX): New macro.
16491         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
16492         [$(have-thread-library) = no].
16493         * nptl/Makefile (libpthread-routines): Add shm-directory.
16494         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
16495         * sysdeps/nptl/shm-directory.h: New file.
16496         * sysdeps/posix/shm-directory.c
16497         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
16498         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
16499         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
16500         INTERNAL_SYSCALL.
16501         (__where_is_shmfs): Function removed.
16502         (mountpoint, defaultmount, defaultdir, __namedsem_once):
16503         Variables removed.
16504         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
16505         Use SHM_GET_NAME.
16506         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
16508         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
16509         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
16510         unconditional for use inside libpthread.
16511         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
16513 2014-12-12  Roland McGrath  <roland@hack.frob.com>
16515         * nptl/pthread_getaffinity.c: New file.
16516         * nptl/pthread_setaffinity.c: New file.
16517         * nptl/pthread_getname.c: New file.
16518         * nptl/pthread_setname.c: New file.
16520         * nptl/pthread_create.c (START_THREAD_DEFN)
16521         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
16523 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
16524             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16526         * resolv/res_send.c (send_vc): Disable warning resplen may
16527         be used uninitialized.
16529 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
16531         * nptl/tst-mutex6.c
16532         (ATTR_NULL): New define checks ATTR against NULL.
16533         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
16534         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
16536 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
16538         [BZ #17581]
16539         * malloc/hooks.c
16540         (mem2mem_check): Revert my previous change.
16541         (malloc_check_get_size): Revert my previous change.
16542         (mem2chunk_check): Revert my previous change.
16544 2014-12-11  Roland McGrath  <roland@hack.frob.com>
16546         * sysdeps/posix/shm-directory.c: New file.
16547         * sysdeps/posix/shm-directory.h: New file.
16548         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
16549         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
16550         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
16551         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
16552         Transmute EPERM to EACCES.
16553         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
16554         from ...
16555         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
16556         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
16558 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16560         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
16561         pointer and cast to uintptr_t.
16562         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
16563         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
16564         Add cast to avoid warning.
16565         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
16567 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
16569         * nptl/semaphore.h: Move to ...
16570         * sysdeps/pthread/semaphore.h: ... here.
16571         * Makefile (installed-headers): Change nptl/semaphore.h to
16572         sysdeps/pthread/semaphore.h.
16574 2014-12-11  Roland McGrath  <roland@hack.frob.com>
16576         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
16577         generated error format strings.
16579         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
16580         -Wformat-extra-args warnings for scanf formats.
16581         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
16582         test of zero-length format (duh).
16583         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
16584         corner-case scanf format test.
16585         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
16586         generated fprintf format string.
16587         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
16588         corner-case sprintf format tests.
16589         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
16590         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
16591         -Wformat-extra-args warnings throughout.
16592         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
16593         (CFLAGS-scanf4.c): Likewise.
16594         (CFLAGS-scanf7.c): Likewise.
16595         (CFLAGS-tst-sprintf.c): Likewise.
16596         (CFLAGS-tst-printf.c): Likewise.
16597         (CFLAGS-tst-printfsz.c): Likewise.
16599 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
16601         * include/cpio.h: New file.
16602         * include/fmtmsg.h: Likewise.
16604         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
16605         corresponding format argument to size_t.
16606         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
16607         arguments.
16608         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
16609         corresponding format argument to size_t.
16610         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
16611         arguments.
16612         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
16613         corresponding format argument to size_t.
16614         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
16615         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
16616         (CFLAGS-tst-mbswcs2.c): Likewise.
16617         (CFLAGS-tst-mbswcs3.c): Likewise.
16618         (CFLAGS-tst-mbswcs4.c): Likewise.
16619         (CFLAGS-tst-mbswcs5.c): Likewise.
16620         (CFLAGS-tst-trans.c): Likewise
16622 2014-12-11  Roland McGrath  <roland@hack.frob.com>
16624         * posix/regexbug1.c (main): Use "%s" format with regerror results,
16625         rather than assuming they won't contain any '%'s.
16627 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
16629         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
16630         inhibit_loop_to_libcall to avoid recursive calls.
16631         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
16632         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
16634 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
16636         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
16637         prototype.
16639 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
16641         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
16642         integer value instead of boolean.
16644 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
16646         * malloc/malloc.c: Fix powerof2 check.
16648 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
16650         * locale/programs/locfile.h (maybe_swap_uint32):
16651         Remove inline and add unused attribute.
16653 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
16655         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
16656         Truncating assembler expression to a .long expression.
16658 2014-12-11  Andreas Schwab  <schwab@suse.de>
16660         * elf/rtld.c (struct map_args): Constify str member.
16661         (do_preload): Constify fname argument.
16663 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16665         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
16666         constants definition.
16668 2014-12-11  Andreas Schwab  <schwab@suse.de>
16670         [BZ #16657]
16671         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
16672         FORCE_ELISION instead of DO_ELISION.
16673         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
16674         Remove.
16675         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
16676         Likewise.
16678         * iconvdata/gconv-modules: Remove duplicate entry.
16680 2014-12-11  Will Newton  <will.newton@linaro.org>
16682         Merge gettext 0.19.3 into intl/.
16684         This involves a number of cosmetic changes to comments
16685         and ANSI function definitions and prototypes throughout
16686         all the files. The gettext copyright header is used but
16687         with the date ranges taken from the glibc copy.
16689         * NEWS: Add gettext merge to 2.21.
16690         * intl/bindtextdom.c: Switch to gettext copyright.
16691         Use ANSI definitions and prototypes.
16692         Use gl_* locking primitives rather than __libc_* ones.
16693         Use __builtin_expect rather than __glibc_likely/unlikely.
16694         * intl/dcgettext.c: Switch to gettext copyright.
16695         Use ANSI definitions and prototypes.
16696         * intl/dcigettext.c: Switch to gettext copyright.
16697         Use ANSI definitions and prototypes.
16698         (INTDIV0_RAISES_SIGFPE): New define.
16699         Use gl_* locking primitives rather than __libc_* ones.
16700         Include eval-plural.h instead of plural-eval.c.
16701         Use __builtin_expect rather than __glibc_likely/unlikely.
16702         * intl/dcngettext.c: Switch to gettext copyright.
16703         Use ANSI definitions and prototypes.
16704         * intl/dgettext.c: Likewise.
16705         * intl/dngettext.c: Likewise.
16706         * intl/plural-eval.c: Renamed to...
16707         * intl/eval-plural.h: ...this.
16708         * intl/explodename.c: Switch to gettext copyright.
16709         Use ANSI definitions and prototypes.
16710         (_nl_explode_name): Use strchr instead of __rawmemchr.
16711         * intl/finddomain.c: Switch to gettext copyright.
16712         Use ANSI definitions and prototypes.
16713         Use gl_* locking primitives rather than __libc_* ones.
16714         (_nl_find_domain): Use malloc rather than alloca for
16715         allocation of temporary locale name.
16716         * intl/gettext.c: Switch to gettext copyright.
16717         Use ANSI definitions and prototypes.
16718         * intl/gettextP.h: Switch to gettext copyright.
16719         Use ANSI definitions and prototypes.
16720         Use gl_* locking primitives rather than __libc_* ones.
16721         * intl/gmo.h: Switch to gettext copyright.
16722         (struct sysdep_string): Move struct segment_pair outside of
16723         struct definition.
16724         * intl/hash-string.c: Use ANSI definitions and prototypes.
16725         * intl/hash-string.h: Switch to gettext copyright.
16726         Use ANSI definitions and prototypes.
16727         * intl/l10nflist.c: Switch to gettext copyright.
16728         Use ANSI definitions and prototypes.
16729         (_nl_normalize_codeset): Avoid integer overflow.
16730         * intl/loadinfo.h: Switch to gettext copyright.
16731         Use ANSI definitions and prototypes.
16732         (LIBINTL_DLL_EXPORTED): New define.
16733         (PATH_SEPARATOR): New define.
16734         * intl/loadmsgcat.c: Switch to gettext copyright.
16735         * intl/localealias.c: Switch to gettext copyright.
16736         Use ANSI definitions and prototypes.
16737         (_nl_expand_alias): Use PATH_SEPARATOR.
16738         * intl/ngettext.c: Switch to gettext copyright.
16739         Use ANSI definitions and prototypes.
16740         * intl/plural-exp.c: Likewise.
16741         * intl/plural-exp.h: Switch to gettext copyright.
16742         Use ANSI definitions and prototypes.
16743         (struct expression): Move definition of enum operator outside
16744         of struct definition.
16745         * intl/plural.c: Regenerate.
16746         * intl/plural.y: Switch to gettext copyright.
16747         Use ANSI definitions and prototypes.
16748         Port to bison 3.0.
16749         * intl/textdomain.c: Switch to gettext copyright.
16750         Use ANSI definitions and prototypes.
16751         Use gl_* locking primitives rather than __libc_* ones.
16753 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
16755         * debug/warning-nop.c: Add used atrribute.
16757 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
16759         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
16761         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
16762         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
16763         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
16765 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
16766             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16768         [BZ #17634]
16769         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
16770         Undefine after defining function.  Define as weak alias of
16771         __wcschr.  Use libc_hidden_weak.
16772         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
16773         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
16774         (libc_hidden_def): Also define __GI___wcschr alias.
16775         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
16776         __wcschr and define as weak alias of __wcschr.
16777         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
16778         __wcschr.
16779         [!WCSCHR] (DEFAULT_WCSCHR): Define.
16780         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
16781         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
16782         libc_hidden_weak.  Do not use libc_hidden_def.
16783         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
16784         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
16785         __GI___wcschr alias.
16786         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
16787         [IS_IN (libc)] (wcschr): Define as macro expanding to
16788         __redirect_wcschr.
16789         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
16790         [IS_IN (libc)] (__wcschr_power6): Likewise.
16791         [IS_IN (libc)] (__wcschr_power7): Likewise.
16792         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
16793         instead of wcschr.
16794         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
16795         __libc_wcschr.
16796         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
16797         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
16798         __wcschr and define as weak alias of __wcschr.  Use
16799         libc_hidden_builtin_def.
16800         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
16801         as weak alias of __wcschr.  Use libc_hidden_weak.
16802         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
16803         wcschr.
16804         * time/era.c (_nl_init_era_entries): Likewise.
16805         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
16806         variable.
16807         (test-xfail-XPG3/time.h/linknamespace): Likewise.
16808         (test-xfail-XPG4/time.h/linknamespace): Likewise.
16810 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
16812         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
16813         format for long int variable.
16815 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
16817         [BZ #10672]
16818         * manual/search.texi: (Array Sort Function): Remove claim how to make
16819         qsort stable.
16821 2014-12-10  Andreas Schwab  <schwab@suse.de>
16823         [BZ #12847]
16824         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
16825         user-controlled locks.
16827 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
16829         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
16830         register.
16832 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
16834         * configure.ac (--disable-werror): New configure option.
16835         (enable_werror): New AC_SUBST.
16836         * configure: Regenerated.
16837         * config.make.in (enable-werror): New variable.
16838         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
16839         -Wno-error=undef.
16840         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
16841         * manual/install.texi (Configuring and compiling): Document
16842         --disable-werror.
16843         * INSTALL: Regenerated.
16844         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
16845         (CFLAGS-tst-chk2.c): Likewise.
16846         (CFLAGS-tst-chk3.c): Likewise.
16847         (CFLAGS-tst-chk4.cc): Likewise.
16848         (CFLAGS-tst-chk5.cc): Likewise.
16849         (CFLAGS-tst-chk6.cc): Likewise.
16850         (CFLAGS-tst-lfschk1.c): Likewise.
16851         (CFLAGS-tst-lfschk2.c): Likewise.
16852         (CFLAGS-tst-lfschk3.c): Likewise.
16853         (CFLAGS-tst-lfschk4.cc): Likewise.
16854         (CFLAGS-tst-lfschk5.cc): Likewise.
16855         (CFLAGS-tst-lfschk6.cc): Likewise.
16857         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
16858         (main): Disable -Wdeprecated-declarations around calls to
16859         register_printf_function.
16861         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
16862         (do_test): Disable -Wdiv-by-zero around some calls to
16863         fwrite_unlocked and fread_unlocked.
16865         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
16866         (DIAG_POP_NEEDS_COMMENT): Likewise.
16867         (_DIAG_STR1): Likewise.
16868         (_DIAG_STR): Likewise.
16869         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
16870         * stdio-common/bug21.c: Include <libc-internal.h>.
16871         (do_test): Disable -Wformat around call to sscanf.
16872         * stdio-common/scanf14.c: Include <libc-internal.h>.
16873         (main): Disable -Wformat around some calls to scanf functions.
16875 2014-12-09  Torvald Riegel  <triegel@redhat.com>
16877         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
16879 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16881         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
16882         stack variable alignment.
16884 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
16886         [BZ #17682]
16887         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
16888         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
16889         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
16890         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
16891         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
16892         __getrlimit instead of getrlimit.
16893         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
16894         __gettimeofday instead of gettimeofday.
16895         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
16896         Likewise.
16897         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
16898         Likewise.
16899         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
16900         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
16901         Remove variable.
16902         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
16903         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
16905 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16907         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
16908         for wide-character tests.
16910 2014-12-04  Roland McGrath  <roland@hack.frob.com>
16912         * io/openat64.c: #include <libc-internal.h>
16913         (__openat64): Prototypify.  Use ignore_value on MODE.
16914         * io/openat.c: Likewise.
16915         * misc/reboot.c: #include <libc-internal.h>
16916         (reboot): Prototypify.  Use ignore_value on HOWTO.
16917         * misc/ptrace.c: #include <libc-internal.h>
16918         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
16920 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
16922         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
16923         XPG4, UNIX98 and XOPEN2K.
16924         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
16925         Remove variable.
16926         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
16928 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16930         * libio/fileops.c: Use ISO C style for function definitions.
16931         * libio/iofopen.c: Likewise.
16932         * libio/wfileops.c: Likewise.
16934         [BZ #17653]
16935         * libio/fileops.c (_IO_new_file_underflow): Unset cached
16936         offset on EOF.
16937         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
16938         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
16939         (fgets_func): Function pointer to fgets and fgetws.
16940         (do_ftell_test): Add test to verify ftell value after read
16941         EOF.
16942         (do_test): Set fgets_func.
16944         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
16945         O_TRUNC flag for w and w+ modes.
16946         (do_rewind_test): Likewise.
16947         (do_ftell_test): Likewise.
16948         (do_write_test): Likewise.
16950         [BZ #17647]
16951         * libio/fileops.c (do_ftell): Seek only when there are
16952         unflushed writes.
16953         * libio/wfileops.c (do_ftell_wide): Likewise.
16954         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
16955         test case.
16956         (do_one_test): Call it.
16958 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
16960         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
16961         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
16962         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
16963         Remove variable.
16964         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
16965         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
16966         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
16968 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
16970         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
16971         Remove variable.
16972         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
16974         [BZ #17668]
16975         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
16976         as weak alias of __getifaddrs.  Use libc_hidden_weak.
16977         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
16978         __freeifaddrs.  Use libc_hidden_weak.
16979         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
16980         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
16981         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
16982         __freeifaddrs.  Use libc_hidden_weak.
16983         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
16984         __getifaddrs and define as weak alias of __getifaddrs.  Use
16985         libc_hidden_weak.
16986         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
16987         __freeifaddrs.  Use libc_hidden_weak.
16988         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
16989         Remove variable.
16990         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
16991         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
16993 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
16995         [BZ #17601]
16996         * sysdeps/mips/start.S (__start): Use indirect jump to call
16997         __libc_start_main.
16999 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
17001         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
17003         * nptl/tst-mutex1.c: Include <stdbool.h>.
17004         [!ATTR] (ATTR_NULL): New macro.
17005         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
17006         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
17007         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
17009         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
17010         to char *.
17012         [BZ #17665]
17013         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
17014         Change conditional to [__USE_MISC].
17016         [BZ #17664]
17017         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
17018         fgets_unlocked.
17019         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
17020         __fgets_unlocked.
17021         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
17022         fgets_unlocked.
17023         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
17024         Remove variable.
17025         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
17026         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
17027         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
17028         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
17029         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
17030         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
17031         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
17032         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
17033         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
17035         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
17037 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17039         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17040         Remove strpbrk objects.
17041         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17042         (__libc_ifunc_impl_list): Remove strpbrk implementation.
17043         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
17044         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
17045         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
17046         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
17048         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17049         Remove strcspn objects.
17050         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17051         (__libc_ifunc_impl_list): Remove strcspn implementation.
17052         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
17053         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
17054         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
17055         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
17057         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17058         Remove strspn objetcs.
17059         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17060         (__libc_ifunc_impl_list): Remove strspn implementation.
17061         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
17062         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
17063         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
17064         * sysdeps/powerpc/powerpc64/strspn.S: New file.
17066 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
17068         [BZ #17581]
17069         * malloc/hooks.c
17070         (mem2mem_check): Add a terminator to the chain of checking blocks.
17071         (malloc_check_get_size): Use it here.
17072         (mem2chunk_check): Ditto.
17074 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17076         * sysdeps/powerpc/powerpc64/strtok.S: New file.
17077         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
17079 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
17081         * bits/ioctl-types.h: Indent preprocessor directives correctly.
17083         * nptl/nptl-init.c: Include libc-internal.h.
17084         (__pthread_initialize_minimal_internal): Use ROUND_UP.
17086         * elf/ldconfig.c (search_dir): Expand comment.
17088 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
17090         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
17091         variable.
17092         (linknamespace-symlist-stdlibs-tests): Likewise.
17093         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
17094         instead of $(objpfx)symlist-stdlibs.
17095         (linknamespace-libs-isoc): New variable.
17096         (linknamespace-libs): Use $(linknamespace-libs-isoc).
17097         (linknamespace-libs-ISO): New variable.
17098         (linknamespace-libs-ISO99): Likewise.
17099         (linknamespace-libs-ISO11): Likewise.
17100         (linknamespace-libs-XPG3): Likewise.
17101         (linknamespace-libs-XPG4): Likewise.
17102         (linknamespace-libs-POSIX): Likewise.
17103         (linknamespace-libs-UNIX98): Likewise.
17104         (linknamespace-libs-XOPEN2K): Likewise.
17105         (linknamespace-libs-POSIX2008): Likewise.
17106         (linknamespace-libs-XOPEN2K8): Likewise.
17107         ($(objpfx)symlist-stdlibs): Replace by
17108         $(linknamespace-symlist-stdlibs-tests).  Use
17109         $(linknamespace-libs-$*) as set of libraries.
17110         ($(linknamespace-header-tests)): Update dependencies.  Use
17111         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
17112         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
17113         * conform/linknamespace.pl: Remove comment about considering
17114         definitions of symbols from irrelevant libraries.
17116 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
17118         [BZ #13862]
17119         * elf/dl-tls.c: Include <atomic.h>.
17120         (oom): Remove #ifdef SHARED/#endif.
17121         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
17122         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
17123         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
17124         big enough.
17125         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
17126         * nptl/Makefile (tests): Add tst-stack4.
17127         (modules-names): Add tst-stack4mod.
17128         ($(objpfx)tst-stack4): New.
17129         (tst-stack4mod.sos): Likewise.
17130         ($(objpfx)tst-stack4.out): Likewise.
17131         ($(tst-stack4mod.sos)): Likewise.
17132         (clean): Likewise.
17133         * nptl/tst-stack4.c: New file.
17134         * nptl/tst-stack4mod.c: Likewise.
17136 2014-11-27  J. Brown  <jb999@gmx.de>
17138         * sysdeps/x86/bits/string.h: Add recent CPUs.
17140 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
17142         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
17143         sigblock.
17145         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
17146         feof.
17148         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
17149         variable.
17151 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
17153         * nscd/connections.c: Include libc-internal.h because of macro
17154         usage ignore_value.
17156 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17158         * string/bits/string3.h (__warn_memset_zero_len): Don't
17159         declare for gcc newer than 5.0.
17160         (memset): Don't test for zero-length __LEN for gcc newer than
17161         5.0.
17163 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
17165         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
17166         size_t for %zu format.
17168         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
17169         difference, not %ju.
17171 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
17173         * include/libc-internal.h (ignore_value): New macro.
17174         * nscd/connections.c (restart): Wrap calls to setuid and setgid
17175         with ignore_value.
17177         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
17178         definition.
17180         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
17181         pthread_cleanup_push to void *.
17183         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
17184         Undefine.
17186         [BZ #16619]
17187         [BZ #16740]
17188         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
17189         instead of 1L << 52.
17191         * libio/bug-rewind.c (do_test): Check fwscanf return values.
17192         * libio/bug-rewind2.c (do_test): Likewise.
17194         * debug/test-stpcpy_chk-ifunc.c: Remove file.
17195         * debug/test-strcpy_chk-ifunc.c: Likewise.
17196         * wcsmbs/test-wcschr-ifunc.c: Likewise.
17197         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17198         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17199         * wcsmbs/test-wcslen-ifunc.c: Likewise.
17200         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17201         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17202         * Rules [$(multi-arch) = no] (tests): Do not filter out
17203         $(tests-ifunc).
17204         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
17205         * debug/Makefile (tests-ifunc): Remove variable.
17206         (tests): Do not add $(tests-ifunc).
17207         * wcsmbs/Makefile (tests-ifunc): Remove variable.
17208         (tests): Do not add $(tests-ifunc).
17209         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
17210         [TEST_IFUNC]: Remove conditionals.
17211         * string/test-string.h (TEST_IFUNC): Remove macro.
17212         [TEST_IFUNC]: Remove conditionals.
17214         * string/test-strchr.c [!WIDE] (L): New macro.
17215         [WIDE] (L): Likewise.
17216         (check1): Use CHAR instead of char.  Use L on string and character
17217         constants.
17219 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
17221         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
17222         tests.
17223         * sysdeps/powerpc/bits/atomic.h
17224         (__arch_atomic_exchange_and_add_32_acq): Add definition.
17225         (__arch_atomic_exchange_and_add_32_rel): Likewise.
17226         (atomic_exchange_and_add_acq): Likewise.
17227         (atomic_exchange_and_add_rel): Likewise.
17228         * sysdeps/powerpc/powerpc32/bits/atomic.h
17229         (__arch_atomic_exchange_and_add_64_acq): Add definition.
17230         (__arch_atomic_exchange_and_add_64_rel): Likewise.
17231         * sysdeps/powerpc/powerpc64/bits/atomic.h
17232         (__arch_atomic_exchange_and_add_64_acq): Add definition.
17233         (__arch_atomic_exchange_and_add_64_rel): Likewise.
17235 2014-11-26  Torvald Riegel  <triegel@redhat.com>
17237         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
17238         Change synchronization of __sched_fifo_min_prio and
17239         __sched_fifo_max_prio.
17240         * nptl/pthread_mutexattr_getprioceiling.c
17241         (pthread_mutexattr_getprioceiling): Likewise.
17242         * nptl/pthread_mutexattr_setprioceiling.c
17243         (pthread_mutexattr_setprioceiling): Likewise.
17244         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
17245         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
17246         Likewise.
17248 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
17250         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
17251         void.
17253 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
17255         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
17256         third argument const.
17258 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
17260         fnmatch: work around GCC compiler warning bug with uninit var
17261         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
17262         This works around a bug with x86-64 GCC 4.9.2 and earlier
17263         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
17264         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
17265         used uninitialized in this function [-Wmaybe-uninitialized]".
17267 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
17269         * posix/bug-regex31.c (main): Return RES not 0.
17271 2014-11-25  Anton Blanchard <anton@samba.org>
17273         * sysdeps/powerpc/bits/atomic.h
17274         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
17276 2014-11-24  Sterling Augustine  <saugustine@google.com>
17278         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
17280 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
17282         [BZ #17608]
17283         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
17285 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
17287         [BZ #17633]
17288         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
17289         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
17290         variable.
17291         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
17292         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
17294 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
17296         * string/strncpy.c (strncpy): Improve performance by using memset.
17298 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
17300         * string/strcpy.c (strcpy):
17301         Improve performance by using strlen and memcpy.
17303 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
17305         * string/strcoll_l.c (get_next_seq): __always_inline.
17306         * string/strcoll_l.c (do_compare): __always_inline.
17308 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17310         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
17311         defined.
17312         * include/mqueue.h: Likewise.
17313         * include/stdlib.h: Likewise.
17315         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
17316         (get_null_defines): Adjust.
17317         * sunrpc/Makefile: Adjust comment.
17318         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
17319         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
17320         (CFLAGS-interp.c): Likewise.
17321         (CFLAGS-ldconfig.c): Likewise.
17322         (CPPFLAGS-.os): Likewise.
17323         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17324         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
17325         * extra-modules.mk (extra-modules.mk): Likewise.
17326         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
17327         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
17328         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
17329         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
17330         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
17331         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
17332         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
17333         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
17334         * iconvdata/Makefile (CPPFLAGS): Likewise.
17335         (cpp-srcs-left): Add libof for all iconvdata routines.
17336         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
17337         * include/assert.h: Likewise.
17338         * include/ctype.h: Likewise.
17339         * include/errno.h: Likewise.
17340         * include/libc-symbols.h: Likewise.
17341         * include/math.h: Likewise.
17342         * include/netdb.h: Likewise.
17343         * include/resolv.h: Likewise.
17344         * include/stdio.h: Likewise.
17345         * include/stdlib.h: Likewise.
17346         * include/string.h: Likewise.
17347         * include/sys/stat.h: Likewise.
17348         * include/wctype.h: Likewise.
17349         * intl/l10nflist.c: Likewise.
17350         * libidn/idn-stub.c: Likewise.
17351         * libio/libioP.h: Likewise.
17352         * nptl/libc_multiple_threads.c: Likewise.
17353         * nptl/pthreadP.h: Likewise.
17354         * posix/regex_internal.h: Likewise.
17355         * resolv/res_hconf.c: Likewise.
17356         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
17357         * sysdeps/arm/memmove.S: Likewise.
17358         * sysdeps/arm/sysdep.h: Likewise.
17359         * sysdeps/generic/_itoa.h: Likewise.
17360         * sysdeps/generic/symbol-hacks.h: Likewise.
17361         * sysdeps/gnu/errlist.awk: Likewise.
17362         * sysdeps/gnu/errlist.c: Likewise.
17363         * sysdeps/i386/i586/memcpy.S: Likewise.
17364         * sysdeps/i386/i586/memset.S: Likewise.
17365         * sysdeps/i386/i686/memcpy.S: Likewise.
17366         * sysdeps/i386/i686/memmove.S: Likewise.
17367         * sysdeps/i386/i686/mempcpy.S: Likewise.
17368         * sysdeps/i386/i686/memset.S: Likewise.
17369         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
17370         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17371         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
17372         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
17373         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17374         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17375         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
17376         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17377         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
17378         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17379         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17380         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17381         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17382         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17383         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17384         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17385         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
17386         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
17387         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
17388         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17389         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17390         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17391         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17392         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17393         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17394         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17395         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
17396         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17397         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
17398         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
17399         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17400         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17401         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17402         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17403         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17404         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
17405         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17406         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17407         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
17408         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
17409         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17410         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17411         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
17412         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
17413         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17414         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17415         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
17416         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
17417         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17418         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17419         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17420         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
17421         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
17422         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17423         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17424         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
17425         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17426         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
17427         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
17428         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17429         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17430         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17431         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
17432         * sysdeps/nptl/bits/libc-lock.h: Likewise.
17433         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
17434         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
17435         * sysdeps/posix/closedir.c: Likewise.
17436         * sysdeps/posix/opendir.c: Likewise.
17437         * sysdeps/posix/readdir.c: Likewise.
17438         * sysdeps/posix/rewinddir.c: Likewise.
17439         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
17440         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
17441         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
17442         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17443         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17444         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
17445         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
17446         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
17447         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
17448         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
17449         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
17450         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
17451         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
17452         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
17453         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
17454         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
17455         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
17456         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
17457         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
17458         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
17459         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
17460         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
17461         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
17462         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
17463         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
17464         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
17465         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
17466         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
17467         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
17468         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
17469         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
17470         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
17471         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
17472         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
17473         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
17474         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
17475         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17476         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17477         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
17478         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
17479         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
17480         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
17481         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
17482         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
17483         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
17484         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
17485         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
17486         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
17487         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
17488         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
17489         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
17490         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
17491         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
17492         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
17493         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
17494         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
17495         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
17496         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
17497         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
17498         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
17499         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
17500         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
17501         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
17502         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
17503         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
17504         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
17505         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
17506         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
17507         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
17508         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
17509         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
17510         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
17511         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
17512         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
17513         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
17514         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
17515         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
17516         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
17517         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
17518         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
17519         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
17520         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
17521         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
17522         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
17523         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
17524         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
17525         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
17526         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
17527         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
17528         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17529         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
17530         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
17531         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
17532         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17533         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17534         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
17535         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17536         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17537         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
17538         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
17539         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17540         * sysdeps/unix/alpha/sysdep.S: Likewise.
17541         * sysdeps/unix/alpha/sysdep.h: Likewise.
17542         * sysdeps/unix/make-syscalls.sh: Likewise.
17543         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
17544         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
17545         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
17546         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
17547         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
17548         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
17549         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
17550         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
17551         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
17552         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
17553         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
17554         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
17555         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17556         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
17557         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
17558         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
17559         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17560         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
17561         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
17562         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
17563         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
17564         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
17565         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
17566         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
17567         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
17568         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
17569         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
17571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
17572         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
17573         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17574         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
17575         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
17576         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17577         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
17578         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
17579         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
17580         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17581         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
17582         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
17583         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17584         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
17585         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
17586         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17587         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
17588         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
17589         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17590         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17591         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
17592         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17593         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
17594         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
17595         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
17596         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
17597         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
17598         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
17599         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
17600         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17601         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
17602         * sysdeps/x86_64/memcpy.S: Likewise.
17603         * sysdeps/x86_64/memmove.c: Likewise.
17604         * sysdeps/x86_64/memset.S: Likewise.
17605         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
17606         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
17607         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
17608         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
17609         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
17610         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17611         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17612         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17613         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17614         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17615         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17616         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17617         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
17618         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17619         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17620         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
17621         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
17622         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17623         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
17624         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17625         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
17626         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17627         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17628         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
17629         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17630         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17631         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17632         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
17633         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
17634         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17635         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
17636         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17637         * sysdeps/x86_64/strcmp.S: Likewise.
17639         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
17641         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
17642         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
17643         * elf/rtld-Rules: Likewise.
17644         * elf/setup-vdso.h: Likewise.
17645         * include/assert.h: Likewise.
17646         * include/bits/stdlib-float.h: Likewise.
17647         * include/errno.h: Likewise.
17648         * include/sys/stat.h: Likewise.
17649         * include/unistd.h: Likewise.
17650         * sysdeps/aarch64/setjmp.S: Likewise.
17651         * sysdeps/alpha/setjmp.S: Likewise.
17652         * sysdeps/arm/__longjmp.S: Likewise.
17653         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
17654         * sysdeps/arm/setjmp.S: Likewise.
17655         * sysdeps/arm/sysdep.h: Likewise.
17656         * sysdeps/generic/_itoa.h: Likewise.
17657         * sysdeps/generic/dl-sysdep.h: Likewise.
17658         * sysdeps/generic/ldsodefs.h: Likewise.
17659         * sysdeps/i386/dl-tls.h: Likewise.
17660         * sysdeps/i386/setjmp.S: Likewise.
17661         * sysdeps/m68k/setjmp.c: Likewise.
17662         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
17663         * sysdeps/mach/hurd/opendir.c: Likewise.
17664         * sysdeps/posix/getcwd.c: Likewise.
17665         * sysdeps/posix/opendir.c: Likewise.
17666         * sysdeps/posix/profil.c: Likewise.
17667         * sysdeps/powerpc/dl-procinfo.h: Likewise.
17668         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17669         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
17670         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
17671         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
17672         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
17673         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
17674         * sysdeps/s390/dl-tls.h: Likewise.
17675         * sysdeps/s390/s390-32/setjmp.S: Likewise.
17676         * sysdeps/s390/s390-64/setjmp.S: Likewise.
17677         * sysdeps/sh/sh3/setjmp.S: Likewise.
17678         * sysdeps/sh/sh4/setjmp.S: Likewise.
17679         * sysdeps/unix/alpha/sysdep.h: Likewise.
17680         * sysdeps/unix/arm/sysdep.S: Likewise.
17681         * sysdeps/unix/i386/sysdep.S: Likewise.
17682         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
17683         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
17684         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
17685         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
17686         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17687         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
17688         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
17689         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17690         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
17691         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
17692         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
17693         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
17694         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
17696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17697         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17698         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17699         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17700         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17701         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
17702         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
17703         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17704         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17705         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
17706         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
17707         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
17708         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17709         * sysdeps/unix/x86_64/sysdep.S: Likewise.
17710         * sysdeps/x86_64/setjmp.S: Likewise.
17712         * include/math.h: Use IS_IN instead of IS_IN_libm.
17713         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
17714         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17715         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
17716         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17717         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17718         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
17719         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
17720         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17721         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17722         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
17723         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
17724         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
17725         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
17726         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
17727         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
17728         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
17729         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
17730         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
17731         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
17732         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
17733         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
17734         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
17735         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
17736         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
17737         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
17738         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
17739         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
17740         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
17741         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
17742         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
17743         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
17744         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
17745         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
17747         Likewise.
17748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
17749         Likewise.
17750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
17751         Likewise.
17752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
17753         Likewise.
17754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
17755         Likewise.
17756         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
17757         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
17758         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
17759         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17760         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17761         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17762         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
17763         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
17764         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
17765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
17766         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
17767         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
17768         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
17769         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17770         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17771         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17772         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17773         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17774         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17775         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
17776         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
17777         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
17778         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
17779         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
17780         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
17781         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
17782         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
17784         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
17785         * nptl/pthreadP.h: Likewise.
17786         * nptl_db/structs.def: Likewise.
17787         * sysdeps/arm/sysdep.h: Likewise.
17788         * sysdeps/nptl/bits/libc-lock.h: Likewise.
17789         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
17790         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
17791         * sysdeps/unix/alpha/sysdep.h: Likewise.
17792         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
17793         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
17794         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
17795         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
17796         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
17797         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
17798         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17799         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
17800         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17801         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
17802         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
17803         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
17804         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
17805         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
17806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
17807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
17808         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
17809         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
17810         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
17811         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
17812         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
17813         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
17814         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
17815         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
17816         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
17817         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
17819         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
17820         * nptl/pthreadP.h: Likewise.
17821         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
17822         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
17823         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
17824         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
17825         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
17826         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
17827         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17828         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
17829         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
17830         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
17831         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
17832         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
17833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
17834         Likewise.
17835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
17836         Likewise.
17837         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
17838         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
17839         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
17840         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
17841         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
17842         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
17843         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
17844         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
17846         * dlfcn/dladdr.c: Use IS_IN.
17847         * dlfcn/dladdr1.c: Likewise.
17848         * dlfcn/dlclose.c: Likewise.
17849         * dlfcn/dlerror.c: Likewise.
17850         * dlfcn/dlinfo.c: Likewise.
17851         * dlfcn/dlmopen.c: Likewise.
17852         * dlfcn/dlopen.c: Likewise.
17853         * dlfcn/dlsym.c: Likewise.
17854         * dlfcn/dlvsym.c: Likewise.
17856         * include/ifaddrs.h: Use IS_IN.
17857         * inet/check_pf.c: Likewise.
17858         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17859         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
17861         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
17862         IS_IN_ldconfig.
17863         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
17864         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
17866         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
17867         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
17868         IS_IN (libc).
17870         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
17872         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
17873         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17874         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
17875         * include/libc-symbols.h (IS_IN_LIB): New macro.
17876         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
17877         * include/netdb.h: Likewise.
17878         * include/stap-probe.h: Remove all uses of IN_LIB.
17880         * Makeconfig (module-cppflags-real): Define MODULE_NAME
17881         instead of IN_MODULE.
17882         * include/libc-symbols.h (IN_MODULE): Define using
17883         MODULE_NAME.
17884         (PASTE_NAME, PASTE_NAME1): New macros.
17885         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
17886         of IN_LIB.
17887         (STAP_PROBE_ASM): Likewise.
17889 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17891         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
17892         __mach_init in dlopened libc.
17894 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
17896         * sysdeps/arm/preconfigure.ac: Delete EABI check.
17897         * sysdeps/arm/preconfigure: Regenerate.
17899 2014-11-21  Roland McGrath  <roland@hack.frob.com>
17901         * nptl/pthread_create.c (__pthread_create_2_1): Set
17902         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
17903         when copying values from IATTR into PD.
17905 2014-11-21  Will Newton  <will.newton@linaro.org>
17906             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
17908         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
17909         Refactor inline-asm.  Also add comment.
17911         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
17912         ElfW macro instead of hardcoded Elf64 types.
17913         (la_aarch64_gnu_pltenter): Likewise.
17914         * sysdeps/aarch64/dl-machine.h
17915         (elf_machine_runtime_setup): Use ElfW(Addr).
17917         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
17918         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
17919         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
17920         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
17921         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
17922         (R_AARCH64_TLS_DTPMOD64): Rename to ..
17923         (R_AARCH64_TLS_DTPMOD): This.
17924         (R_AARCH64_TLS_DTPREL64): Rename to ...
17925         (R_AARCH64_TLS_DTPREL): This.
17926         (R_AARCH64_TLS_TPREL64): Rename to ...
17927         (R_AARCH64_TLS_TPREL): This.
17928         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
17929         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
17930         R_AARCH64_TLS_TPREL64.
17931         (elf_machine_rela): Likewise.
17933 2014-11-21  Torvald Riegel  <triegel@redhat.com>
17935         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
17936         by setting it to 0.  64b atomics are not supported currently.
17938 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17940         [BZ #16469]
17941         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
17942         search domain names.
17944 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17946         [BZ #16469]
17947         * NEWS: Update.
17948         * resolv/res_query.c (__libc_res_nquerydomain): Retain
17949         trailing dot.
17950         * posix/tst-getaddrinfo5.c: New.
17951         * posix/Makefile (tests): Add it.
17953 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17955         [BZ #14498]
17956         * NEWS: Fixed.
17957         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
17958         after parsing line but before break_if_match.
17959         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
17960         if there is a protocol mismatch.
17962 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
17964         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
17965         because the potential race is on the user-supplied stream.
17967 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17969         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
17970         string literal if not passed a buffer.
17971         * manual/job.texi (ctermid): Update reasoning, note deviation
17972         from posix, suggest mtasurace when not passed a buffer, for
17973         future non-preliminary safety notes.
17975 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17977         * manual/users.texi (cuserid): Fix MT-Safety note for the case
17978         of not passing it a buffer.
17979         Reported by Peng Haitao.
17981 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17983         * manual/Makefile ($(objpfx)stamp-summary): Require
17984         check-safety.sh to pass.
17985         * manual/check-safety.sh: Wish for verification that every
17986         @deftypefn and @deftypefun is followed by a @safety remark.
17988 2014-11-20  Roland McGrath  <roland@hack.frob.com>
17990         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
17992         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
17993         PTHREAD_CANCEL_ASYNCHRONOUS.
17994         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
17995         send SIGCANCEL.
17997         * nptl/default-sched.h: New file.
17998         * sysdeps/unix/sysv/linux/default-sched.h: New file.
17999         * nptl/pthread_create.c: Include it.
18000         (__pthread_create_2_1): Use collect_default_sched instead of making
18001         Linux syscalls here directly.
18003 2014-11-20  Torvald Riegel  <triegel@redhat.com>
18005         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
18006         __pthread_once): Use C11 atomics.
18008 2014-11-20  Torvald Riegel  <triegel@redhat.com>
18010         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
18012 2014-11-20  Torvald Riegel  <triegel@redhat.com>
18014         * include/atomic.h (__atomic_link_error, __atomic_check_size,
18015         atomic_thread_fence_acquire, atomic_thread_fence_release,
18016         atomic_thread_fence_seq_cst, atomic_load_relaxed,
18017         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
18018         atomic_compare_exchange_weak_relaxed,
18019         atomic_compare_exchange_weak_acquire,
18020         atomic_compare_exchange_weak_release,
18021         atomic_exchange_acquire, atomic_exchange_release,
18022         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
18023         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
18024         atomic_fetch_and_acquire,
18025         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
18027 2014-11-20  Torvald Riegel  <triegel@redhat.com>
18029         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
18030         USE_ATOMIC_COMPILER_BUILTINS): Define.
18031         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
18032         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18033         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
18034         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18035         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
18036         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18037         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
18038         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18039         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
18040         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18041         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
18042         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18043         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
18044         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18045         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
18046         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18047         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
18048         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18049         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
18050         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18051         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
18052         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18053         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
18054         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18055         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
18056         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18057         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
18058         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18059         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
18060         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18061         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
18062         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18063         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
18064         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18065         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
18066         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18067         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
18068         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18069         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
18070         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18072 2014-11-19  Roland McGrath  <roland@hack.frob.com>
18074         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
18075         the sched_priority value here.  It was already checked when the user
18076         called pthread_attr_setschedparam.
18078         * nptl/tst-bad-schedattr.c: New file.
18079         * nptl/Makefile (tests): Add it.
18081 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
18082             Florian Weimer  <fweimer@redhat.com>
18083             Joseph Myers  <joseph@codesourcery.com>
18084             Adam Conrad  <adconrad@0c3.net>
18085             Andreas Schwab  <schwab@suse.de>
18086             Brooks  <bmoses@google.com>
18088         [BZ #17625]
18089         * wordexp-test.c (__dso_handle): Add prototype.
18090         (__register_atfork): Likewise.
18091         (__app_register_atfork): New function.
18092         (registered_forks): New global.
18093         (register_fork): New function.
18094         (test_case): Add 3 new tests for WRDE_CMDSUB.
18095         (main): Call __app_register_atfork.
18096         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
18097         fork count is non-zero fail the test.
18098         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
18099         is set.
18100         (parse_dollars): Remove check for WRDE_NOCMD.
18101         (parse_dquote): Likewise.
18103 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18105         * Makeconfig (built-modules): List non-library modules to be
18106         built.
18107         (module-cppflags): Include libc-modules.h for
18108         everything except shlib-versions.v.i.
18109         (CPPFLAGS): Use it.
18110         (before-compile): Add libc-modules.h.
18111         ($(common-objpfx)libc-modules.h,
18112         $(common-objpfx)libc-modules.stmp): New targets.
18113         (common-generated): Add libc-modules.h and libc-modules.stmp.
18114         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
18115         * include/libc-symbols.h: Don't include libc-modules.h.
18116         * include/libc-modules.h: Remove file.
18117         * scripts/gen-libc-modules.awk: New script to generate
18118         libc-modules.h.
18119         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
18120         Depend on libc-modules.stmp.
18122         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
18124         * Makeconfig (in-module): Get value of libof set for the
18125         translation unit.
18126         (CPPFLAGS): Use $(in-module).
18127         * Makerules: Don't suffix routine names for nonlib.
18128         * include/libc-modules.h: New file.
18129         * include/libc-symbols.h: Include libc-modules.h
18130         (IS_IN): New macro to replace IS_IN_* macros.
18131         * elf/Makefile: Set libof-* for each routine.
18132         * elf/rtld-Rules: Likewise.
18133         * extra-modules.mk: Likewise.
18134         * iconv/Makefile: Likewise.
18135         * iconvdata/Makefile: Likewise.
18136         * locale/Makefile: Likewise.
18137         * malloc/Makefile: Likewise.
18138         * nss/Makefile: Likewise.
18139         * sysdeps/gnu/Makefile: Likewise.
18140         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
18141         * sysdeps/unix/sysv/linux/Makefile: Likewise.
18142         * sysdeps/s390/s390-64/Makefile: Likewise.
18143         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
18144         CPPFLAGS for nscd instead of nonlib.
18146 2014-11-18  Roland McGrath  <roland@hack.frob.com>
18148         * nptl/createthread.c: New file.
18150         * nptl/createthread.c: Moved ...
18151         * sysdeps/unix/sysv/linux/createthread.c: ... here.
18153         * nptl/createthread.c: Add proper top-line comment.
18154         (do_clone): Folded into ...
18155         (create_thread): ... here.  Take new arguments STOPPED_START and
18156         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
18157         increment __nptl_threads, do event-reporting logic, do
18158         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
18159         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
18160         resource cleanup if sched_setaffinity or sched_setscheduler fails,
18161         just send SIGCANCEL.
18162         * nptl/pthread_create.c: Forward-declare create_thread before
18163         including createthread.c.
18164         (start_thread): Use new macro START_THREAD_DEFN to replace defining
18165         declaration, and new macro START_THREAD_SELF to replace argument.
18166         Remove return statement.
18167         (report_thread_creation): New function.
18168         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
18169         synchronization logic, and __nptl_nthreads increment here, around
18170         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
18171         PD->parent_cancelhandling here, before create_thread.  When
18172         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
18173         __deallocate_stack, and ENOMEM translation here.
18175 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
18177         [BZ #17616]
18178         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
18179         (mptwo): Rename to __mptwo.
18180         (__inv): Use __mptwo instead of mptwo.
18181         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
18182         (mptwo): Rename to __mptwo.
18183         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
18184         of mpone and __mptwo instead of mptwo.
18185         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
18186         instead of mpone.
18187         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18188         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
18189         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
18190         of mpone and __mptwo instead of mptwo.
18191         (__mpranred): Use __mpone instead of mpone.
18192         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
18193         variable.
18194         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
18195         (test-xfail-ISO99/math.h/linknamespace): Likewise.
18196         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
18197         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
18198         (test-xfail-ISO11/math.h/linknamespace): Likewise.
18199         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
18200         (test-xfail-XPG3/math.h/linknamespace): Likewise.
18201         (test-xfail-XPG4/math.h/linknamespace): Likewise.
18202         (test-xfail-POSIX/math.h/linknamespace): Likewise.
18203         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
18204         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
18205         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
18206         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
18207         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
18208         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
18209         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
18210         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
18211         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
18212         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
18214 2014-11-18  Tom de Vries  <tom@codesoucery.com>
18216         * manual/signal.texi (Primitives Interrupted by Signals): In section,
18217         replace BSD Handler xref with BSD Signal Handling.
18219 2014-11-17  Richard Henderson  <rth@redhat.com>
18221         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
18222         (_FP_PACK_RAW_2): Remove.
18223         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
18224         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
18225         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
18226         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
18227         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
18228         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
18229         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
18230         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
18231         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
18232         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
18233         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
18234         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
18235         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
18236         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
18237         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
18238         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
18240 2014-11-14  Roland McGrath  <roland@hack.frob.com>
18242         * signal/signal.h [__USE_MISC]
18243         (struct sigvec): Remove type.
18244         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
18245         (sigvec): Remove declaration.
18246         * sysdeps/posix/sigvec.c: Moved ...
18247         * signal/sigvec.c: ... here, replacing old file.
18248         (struct sigvec): New type, copied from old signal.h definition.
18249         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
18250         (__sigvec): Convert definition to prototype.
18251         (sigvec): Replace weak_alias with compat_symbol.
18252         * signal/Versions (libc: GLIBC_2.21): New version set.
18253         * include/signal.h: Remove __sigvec declaration.
18254         * sysdeps/unix/bsd/sigvec.c: Remove file.
18255         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
18256         * manual/signal.texi (BSD Handler): Remove subsection.
18257         Move siginterrupt up to ...
18258         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
18259         (Blocking in BSD): Fold subsection into its parent.
18260         * NEWS: Mention sigvec removal.
18262 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
18264         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
18265         (DLA_FMS): Make definition conditional only on [__FMA4__].
18266         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
18267         definition.
18269         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
18270         Make definition conditional only on [PROF].
18271         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
18272         definition.
18273         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
18274         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
18276         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
18277         !__GNUC__].
18278         * include/signal.h (__sigpause): Move declaration above call to
18279         libc_hidden_proto.
18280         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
18281         variable.
18282         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
18283         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
18285 2014-11-14  David S. Miller  <davem@davemloft.net>
18287         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
18288         Define before including <string/memcpy.c> and <string/mempcpy.c>.
18290 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
18292         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
18293         * configure: Regenerated.
18294         * manual/install.texi (Tools for Compilation): Document a
18295         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
18296         compiler verified to work.
18297         * INSTALL: Regenerated.
18299         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
18300         redeclare with asm name.
18301         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
18302         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
18303         including <string.h>.
18304         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
18305         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
18306         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
18307         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
18308         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
18309         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
18310         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
18312 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
18314         * stdlib/strtol.c (__strtol): Use prototype definition.
18316         [BZ #17594]
18317         * stdlib/strtol.c (SYM__): New macro.
18318         (SYM__1): Likewise.
18319         (__strtol): Likewise.
18320         (strtol): Rename to __strtol and define as weak alias of
18321         __strtol.  Use libc_hidden_weak.
18323 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18325         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
18326         Use numbered labels in inline assembly.
18328 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18330         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
18331         Add setjmp LIBC_PROBE.
18332         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
18333         Likewise.
18334         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
18335         Add longjmp, longjmp_target LIBC_PROBE.
18336         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
18337         Likewise.
18339 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18341         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18342         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
18343         to get rid of unused variable warning.
18345 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18347         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
18348         Check for unwind_backtrace ==  NULL only in SHARED case.
18349         (__backchain_backtrace): Compile only in SHARED case.
18350         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
18351         Likewise.
18352         (__backchain_backtrace): Declare as static.
18354 2014-11-12  Roland McGrath  <roland@hack.frob.com>
18356         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
18357         (__libc_multiple_threads_ptr): Variable moved ...
18358         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
18360 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
18362         * conform/GlibcConform.pm: New file.
18363         * conform/conformtest.pl: Use GlibcConform module.
18364         * conform/linknamespace.pl: New file.
18365         * conform/list-header-symbols.pl: Likewise.
18366         * conform/Makefile (linknamespace-symlists-base): New variable.
18367         (linknamespace-symlists-tests): Likewise.
18368         (linknamespace-header-base): Likewise.
18369         (linknamespace-header-tests): Likewise.
18370         (tests-special): Add new tests.
18371         ($(linknamespace-symlists-tests)): New rule.
18372         (linknamespace-libs): New variable.
18373         ($(objpfx)symlist-stdlibs): New rule.
18374         ($(linknamespace-header-tests)): Likewise.
18375         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
18376         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
18377         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
18378         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
18379         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
18380         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
18381         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
18382         (test-xfail-ISO/math.h/linknamespace): Likewise.
18383         (test-xfail-ISO/signal.h/linknamespace): Likewise.
18384         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
18385         (test-xfail-ISO/time.h/linknamespace): Likewise.
18386         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
18387         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
18388         (test-xfail-ISO99/math.h/linknamespace): Likewise.
18389         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
18390         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
18391         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
18392         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
18393         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
18394         (test-xfail-ISO11/math.h/linknamespace): Likewise.
18395         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
18396         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
18397         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
18398         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
18399         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
18400         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
18401         (test-xfail-XPG3/math.h/linknamespace): Likewise.
18402         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
18403         (test-xfail-XPG3/search.h/linknamespace): Likewise.
18404         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
18405         (test-xfail-XPG3/time.h/linknamespace): Likewise.
18406         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
18407         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
18408         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
18409         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
18410         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
18411         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
18412         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
18413         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
18414         (test-xfail-XPG4/math.h/linknamespace): Likewise.
18415         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
18416         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
18417         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
18418         (test-xfail-XPG4/search.h/linknamespace): Likewise.
18419         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
18420         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
18421         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
18422         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
18423         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
18424         (test-xfail-XPG4/time.h/linknamespace): Likewise.
18425         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
18426         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
18427         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
18428         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
18429         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
18430         (test-xfail-POSIX/math.h/linknamespace): Likewise.
18431         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
18432         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
18433         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
18434         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
18435         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
18436         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
18437         (test-xfail-POSIX/time.h/linknamespace): Likewise.
18438         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
18439         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
18440         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
18441         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
18442         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
18443         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
18444         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
18445         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
18446         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
18447         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
18448         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
18449         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
18450         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
18451         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
18452         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
18453         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
18454         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
18455         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
18456         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
18457         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
18458         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
18459         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
18460         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
18461         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
18462         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
18463         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
18464         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
18465         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
18466         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
18467         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
18468         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
18469         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
18470         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
18471         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
18472         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
18473         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
18474         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
18475         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
18476         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
18477         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
18478         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
18479         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
18480         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
18481         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
18482         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
18483         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
18484         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
18485         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
18486         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
18487         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
18488         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
18489         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
18490         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
18491         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
18492         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
18493         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
18494         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
18495         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
18496         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
18497         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
18498         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
18499         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
18500         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
18501         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
18502         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
18503         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
18504         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
18505         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
18506         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
18507         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
18508         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
18509         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
18510         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
18511         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
18512         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
18513         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
18514         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
18515         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
18516         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
18517         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
18518         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
18519         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
18520         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
18521         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
18522         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
18523         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
18524         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
18525         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
18526         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
18527         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
18528         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
18529         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
18530         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
18531         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
18532         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
18533         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
18534         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
18535         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
18537         [BZ #17589]
18538         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
18539         of fgets_unlocked.
18541         [BZ #17585]
18542         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
18543         (memmem): Rename to __memmem and define as weak alias of
18544         __memmem.  Use libc_hidden_weak.
18545         (__memmem): Use libc_hidden_def.
18546         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
18547         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
18548         memmem.
18550         [BZ #17582]
18551         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
18552         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
18553         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
18554         and define as weak alias of __fgets_unlocked.  Use
18555         libc_hidden_weak.
18556         (__fgets_unlocked): Use libc_hidden_def.
18557         * include/stdio.h (__fgets_unlocked): Declare.  Use
18558         libc_hidden_proto.
18559         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
18560         __fgets_unlocked instead of fgets_unlocked.
18561         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
18562         (GET_NPROCS_CONF_PARSER): Likewise.
18563         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
18564         (GET_NPROCS_CONF_PARSER): Likewise.
18566         [BZ #17574]
18567         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
18568         weak alias of __wmemset.  Use libc_hidden_weak.
18569         (__wmemset): Use libc_hidden_def.
18570         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
18571         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
18572         of wmemset.
18574         [BZ #17573]
18575         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
18576         with asm name __mempcpy.
18577         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
18579         [BZ #17572]
18580         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
18581         and define as weak alias of __rawmemchr.
18582         (__rawmemchr): Do not define as strong alias of rawmemchr.
18584         [BZ #17571]
18585         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
18586         alias of __qsort_r.
18587         (qsort): Call __qsort_r instead of qsort_r.
18588         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
18589         (__qsort_r): Declare.  Call libc_hidden_proto.
18590         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
18591         instead of qsort_r.
18592         * nscd/gai.c (__qsort_r): Define to qsort_r.
18593         * posix/tst-rfc3484.c (__qsort_r): Likewise.
18594         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
18595         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
18597         [BZ #17570]
18598         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
18599         define as weak alias of __malloc_info.
18601         [BZ #17584]
18602         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
18603         as weak alias of __rewinddir.  Don't use libc_hidden_def.
18604         (__rewinddir): Use libc_hidden_def.
18605         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
18606         as weak alias of __rewinddir.  Don't use libc_hidden_def.
18607         (__rewinddir): Use libc_hidden_def.
18608         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
18609         weak alias of __rewinddir.  Don't use libc_hidden_def.
18610         (__rewinddir): Use libc_hidden_def.
18611         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
18612         (__rewinddir): Use libc_hidden_proto.
18613         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
18614         rewinddir.
18615         (__getcwd): Use __rewinddir instead of rewinddir.
18617         [BZ #17583]
18618         * libio/fileno.c (fileno): Rename to __fileno and define as weak
18619         alias of __fileno.  Use libc_hidden_weak.
18620         (__fileno): Use libc_hidden_def.
18621         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
18622         * libio/ftello.c (ftello): Rename to __ftello and define as weak
18623         alias of __ftello.
18624         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
18625         __ftello.
18626         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
18627         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
18628         libc_hidden_def.
18629         (fread_unlocked): Don't use libc_hidden_ver.
18630         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
18631         and define as weak alias of __fread_unlocked.  Don't use
18632         libc_hidden_def.
18633         (__fread_unlocked): Use libc_hidden_def.
18634         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
18635         (ftello): Don't use libc_hidden_proto.
18636         (__ftello): Declare.  Use libc_hidden_proto.
18637         (fread_unlocked): Don't use libc_hidden_proto.
18638         (__fread_unlocked): Declare.  Use libc_hidden_proto.
18639         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
18640         and __ftello instead of fileno, fread_unlocked and ftello.
18642 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18644         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
18645         GOT12.
18646         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
18647         Likewise.
18648         (_dl_start_user): Likewise.
18649         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
18651 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
18652             Siddhesh Poyarekar  <siddhesh@redhat.com>
18654         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
18655         Move argv and envp down instead of moving argc up.
18656         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
18658 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
18660         [BZ #17506]
18661         * test-skeleton.c (main): Return successful if one of
18662         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
18663         * string/tst-strcoll-overflow.c: Define expected status.
18665 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
18667         [BZ #17475]
18668         * locale/iso-639.def: Define Bhili and Tulu language codes.
18670 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
18672         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
18674 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
18676         [BZ #17555]
18677         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
18679 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
18681         * configure.ac: Updated check of minimal required version to
18682         2.22.
18683         * manual/install.texi (Tools for Compilation): Updated version
18684         number.
18685         * configure: Regenerated.
18686         * INSTALL: Likewise.
18688 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
18690         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
18691         __tls_get_addr.
18693 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
18695         * include/sys/wait.h (__libc_waitpid): Remove declaration.
18696         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
18697         (__waitpid): Don't define as alias.  Use libc_hidden_def not
18698         libc_hidden_weak.
18699         (waitpid): Define as alias of __waitpid.
18700         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
18701         __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/sysv/linux/i386/syscalls.list (waitpid): Remove
18706         __libc_waitpid alias.
18707         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
18708         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
18709         Likewise.
18710         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
18711         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
18712         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
18713         alias.
18714         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
18715         __waitpid.
18716         (__waitpid): Don't define as alias.  Use libc_hidden_def not
18717         libc_hidden_weak.
18718         (waitpid): Define as alias of __waitpid.
18720 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
18722         * manual/llio.texi: Add comment that write safety has been
18723         fixed in Linux.
18725         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
18726         (localplt-build-dso): Add elf/ld.so.
18727         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
18728         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
18729         and free for ld.so.
18730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
18731         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
18732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
18733         Likewise.
18734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
18735         Likewise.
18736         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
18737         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
18738         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
18739         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
18740         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
18741         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
18742         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
18743         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
18744         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
18745         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
18746         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
18748 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
18750         [BZ #14132]
18751         * include/libc-symbols.h (INTUSE): Remove macro.
18752         (INTDEF): Likewise.
18753         (INTVARDEF): Likewise.
18754         (_INTVARDEF): Likewise.
18755         (INTDEF2): Likewise.
18756         (INTVARDEF2): Likewise.
18757         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
18758         rtld_hidden_def instead of INTVARDEF.
18759         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
18760         (_dl_starting_up_internal): Remove declaration.
18761         (_dl_starting_up): Use rtld_hidden_proto.
18762         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
18763         declaration.
18764         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
18765         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
18766         _dl_starting_up.
18767         * elf/dl-writev.h (_dl_writev): Likewise.
18768         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
18769         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
18770         _dl_starting_up_internal.
18772 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18774         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
18775         test-skeleton.c.
18777 2014-11-05  Will Newton  <will.newton@linaro.org>
18779         * benchtests/Makefile: (bench-malloc): Add malloc thread
18780         scalability benchmark.
18781         * benchtests/bench-malloc-threads.c: New file.
18783 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
18785         * sysdeps/aarch64/strchrnul.S: New file.
18787 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18789         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
18790         definition.
18791         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
18792         Likwise.
18793         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
18794         Likewise.
18795         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
18796         Likewise.
18797         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
18798         Likewise.
18799         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
18800         Likewise.
18802 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
18804         * catgets/test-gencat.c: Use test-skeleton.c.
18805         * catgets/tst-catgets.c: Likewise.
18806         * csu/tst-empty.c: Likewise.
18807         * elf/tst-audit2.c: Likewise.
18808         * elf/tst-global1.c: Likewise.
18809         * elf/tst-pathopt.c: Likewise.
18810         * elf/tst-piemod1.c: Likewise.
18811         * elf/tst-tls10.c: Likewise.
18812         * elf/tst-tls11.c: Likewise.
18813         * elf/tst-tls12.c: Likewise.
18814         * gnulib/tst-gcc.c: Likewise.
18815         * iconvdata/tst-e2big.c: Likewise.
18816         * iconvdata/tst-loading.c: Likewise.
18817         * iconv/tst-iconv1.c: Likewise.
18818         * iconv/tst-iconv2.c: Likewise.
18819         * inet/test-inet6_opt.c: Likewise.
18820         * inet/tst-gethnm.c: Likewise.
18821         * inet/tst-network.c: Likewise.
18822         * inet/tst-ntoa.c: Likewise.
18823         * intl/tst-codeset.c: Likewise.
18824         * intl/tst-gettext2.c: Likewise.
18825         * intl/tst-gettext3.c: Likewise.
18826         * intl/tst-ngettext.c: Likewise.
18827         * intl/tst-translit.c: Likewise.
18828         * io/test-stat.c: Likewise.
18829         * libio/test-fmemopen.c: Likewise.
18830         * libio/tst-freopen.c: Likewise.
18831         * libio/tst-sscanf.c: Likewise.
18832         * libio/tst-ungetwc1.c: Likewise.
18833         * libio/tst-ungetwc2.c: Likewise.
18834         * libio/tst-widetext.c: Likewise.
18835         * localedata/tst-ctype.c: Likewise.
18836         * localedata/tst-digits.c: Likewise.
18837         * localedata/tst-leaks.c: Likewise.
18838         * localedata/tst-mbswcs1.c: Likewise.
18839         * localedata/tst-mbswcs2.c: Likewise.
18840         * localedata/tst-mbswcs3.c: Likewise.
18841         * localedata/tst-mbswcs4.c: Likewise.
18842         * localedata/tst-mbswcs5.c: Likewise.
18843         * localedata/tst-setlocale.c: Likewise.
18844         * localedata/tst-trans.c: Likewise.
18845         * localedata/tst-wctype.c: Likewise.
18846         * localedata/tst-xlocale1.c: Likewise.
18847         * login/tst-grantpt.c: Likewise.
18848         * malloc/tst-calloc.c: Likewise.
18849         * malloc/tst-malloc.c: Likewise.
18850         * malloc/tst-mallocstate.c: Likewise.
18851         * malloc/tst-mcheck.c: Likewise.
18852         * malloc/tst-mtrace.c: Likewise.
18853         * malloc/tst-obstack.c: Likewise.
18854         * math/atest-exp2.c: Likewise.
18855         * math/atest-exp.c: Likewise.
18856         * math/atest-sincos.c: Likewise.
18857         * math/test-matherr.c: Likewise.
18858         * math/test-misc.c: Likewise.
18859         * math/test-powl.c: Likewise.
18860         * math/tst-definitions.c: Likewise.
18861         * misc/tst-dirname.c: Likewise.
18862         * misc/tst-efgcvt.c: Likewise.
18863         * misc/tst-fdset.c: Likewise.
18864         * misc/tst-hsearch.c: Likewise.
18865         * misc/tst-mntent2.c: Likewise.
18866         * nptl/tst-sem7.c: Likewise.
18867         * nptl/tst-sem8.c: Likewise.
18868         * nptl/tst-sem9.c: Likewise.
18869         * nss/test-netdb.c: Likewise.
18870         * posix/tst-fnmatch.c: Likewise.
18871         * posix/tst-getlogin.c: Likewise.
18872         * posix/tst-gnuglob.c: Likewise.
18873         * posix/tst-mmap.c: Likewise.
18874         * pwd/tst-getpw.c: Likewise.
18875         * resolv/tst-inet_ntop.c: Likewise.
18876         * rt/tst-timer.c: Likewise.
18877         * stdio-common/test-fseek.c: Likewise.
18878         * stdio-common/test-popen.c: Likewise.
18879         * stdio-common/test-vfprintf.c: Likewise.
18880         * stdio-common/tst-cookie.c: Likewise.
18881         * stdio-common/tst-fileno.c: Likewise.
18882         * stdio-common/tst-gets.c: Likewise.
18883         * stdio-common/tst-obprintf.c: Likewise.
18884         * stdio-common/tst-perror.c: Likewise.
18885         * stdio-common/tst-sprintf2.c: Likewise.
18886         * stdio-common/tst-sprintf3.c: Likewise.
18887         * stdio-common/tst-sprintf.c: Likewise.
18888         * stdio-common/tst-swprintf.c: Likewise.
18889         * stdio-common/tst-tmpnam.c: Likewise.
18890         * stdio-common/tst-unbputc.c: Likewise.
18891         * stdio-common/tst-wc-printf.c: Likewise.
18892         * stdlib/tst-environ.c: Likewise.
18893         * stdlib/tst-fmtmsg.c: Likewise.
18894         * stdlib/tst-limits.c: Likewise.
18895         * stdlib/tst-rand48-2.c: Likewise.
18896         * stdlib/tst-rand48.c: Likewise.
18897         * stdlib/tst-random2.c: Likewise.
18898         * stdlib/tst-random.c: Likewise.
18899         * stdlib/tst-strtol.c: Likewise.
18900         * stdlib/tst-strtoll.c: Likewise.
18901         * stdlib/tst-tls-atexit.c: Likewise.
18902         * stdlib/tst-xpg-basename.c: Likewise.
18903         * string/test-ffs.c: Likewise.
18904         * string/tst-bswap.c: Likewise.
18905         * string/tst-inlcall.c: Likewise.
18906         * string/tst-strtok.c: Likewise.
18907         * string/tst-strxfrm.c: Likewise.
18908         * sysdeps/x86_64/tst-audit10.c: Likewise.
18909         * sysdeps/x86_64/tst-audit3.c: Likewise.
18910         * sysdeps/x86_64/tst-audit4.c: Likewise.
18911         * sysdeps/x86_64/tst-audit5.c: Likewise.
18912         * time/tst-ftime_l.c: Likewise.
18913         * time/tst-getdate.c: Likewise.
18914         * time/tst-mktime3.c: Likewise.
18915         * time/tst-mktime.c: Likewise.
18916         * time/tst-posixtz.c: Likewise.
18917         * time/tst-strptime2.c: Likewise.
18918         * time/tst-strptime3.c: Likewise.
18919         * wcsmbs/tst-btowc.c: Likewise.
18920         * wcsmbs/tst-mbrtowc.c: Likewise.
18921         * wcsmbs/tst-mbsrtowcs.c: Likewise.
18922         * wcsmbs/tst-wchar-h.c: Likewise.
18923         * wcsmbs/tst-wcpncpy.c: Likewise.
18924         * wcsmbs/tst-wcrtomb.c: Likewise.
18925         * wcsmbs/tst-wcsnlen.c: Likewise.
18926         * wcsmbs/tst-wcstof.c: Likewise.
18928 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
18930         [BZ #14132]
18931         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
18932         INTDEF.
18933         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
18934         declaration.
18935         (_dl_mcount): Use rtld_hidden_proto.
18936         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
18937         _dl_mcount.
18938         * elf/rtld.c (_rtld_global_ro): Likewise.
18940         [BZ #14132]
18941         * elf/dl-init.c (_dl_init): Don't use INTDEF.
18942         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
18943         of _dl_init_internal.
18944         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
18945         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
18946         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
18947         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
18948         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
18949         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
18950         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
18951         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
18952         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
18953         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
18954         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
18955         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
18956         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
18957         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
18958         * sysdeps/tile/dl-start.S (_start): Likewise.
18959         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
18960         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
18962         [BZ #14132]
18963         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
18964         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
18965         (rtld_progname): Make macro definition unconditional.
18966         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
18967         INTDEF.
18968         (dlmopen_doit): Do not use INTUSE with _dl_argv.
18969         (dl_main): Likewise.
18970         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18971         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
18972         instead of _dl_argv_internal.
18973         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18974         __GI__dl_argv instead of INTUSE(_dl_argv).
18975         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
18976         __GI__dl_argv instead of _dl_argv_internal.
18978         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
18979         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
18980         macro.
18981         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
18982         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
18983         New macro.
18984         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
18985         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
18986         macro.
18987         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
18988         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
18990 2014-11-04  Andreas Schwab  <schwab@suse.de>
18992         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
18994 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18996         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
18997         mtvsrd instruction in binary form.
18999 2014-11-03  Andreas Schwab  <schwab@suse.de>
19001         [BZ #17522]
19002         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
19003         for less than MB_LEN_MAX use a local buffer of that size.
19004         * libio/tst-fputws.c: New file.
19005         * libio/Makefile (tests): Add tst-fputws.
19007 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
19009         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
19010         the size of the fpu_fr.fpu_dregs[] array.
19012 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
19014         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
19015         (__nanosleep): Do not define as alias.
19016         (nanosleep): Define as alias of __nanosleep.
19017         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
19018         __libc_nanosleep name.
19020 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
19022         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
19023         install.texi in comment.
19025 2014-10-31  Torvald Riegel  <triegel@redhat.com>
19027         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
19028         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
19029         ... add here and use lwsync or sync ...
19030         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
19031         ... and add here using lwsync.
19033 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
19035         * elf/dl-machine-reject-phdr.h: New file.
19036         * elf/dl-load.c: #include that.
19037         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
19038         if that returned true.
19040 2014-10-31  Roland McGrath  <roland@hack.frob.com>
19042         [BZ #17496]
19043         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
19044         gen-as-const-headers chunk.  Add a big scare comment after the last
19045         safe place to touch before-compile.
19047 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
19049         * manual/install.texi (Tools for Compilation): Update autoconf
19050         version requirements.
19051         * INSTALL: Regenerated.
19053         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
19054         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
19055         (__libc_pselect): Likewise.
19057         [BZ #14138]
19058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
19059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19063 2014-10-31  Torvald Riegel  <triegel@redhat.com>
19065         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
19066         correct barrier instruction.
19067         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
19068         Likewise.
19069         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
19070         Likewise.
19072 2014-10-30  Roland McGrath  <roland@hack.frob.com>
19074         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
19075         after defining inlines.  Instead, just use parens to defeat macro
19076         expansion of __isctype in its declaration.
19078 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
19080         * include/sys/uio.h (__libc_readv): Remove declaration.
19081         (__libc_writev): Likewise.
19082         * misc/readv.c (__libc_readv): Rename to __readv.
19083         (__readv): Do not define as alias.
19084         (readv): Define as alias of __readv.
19085         * misc/writev.c (__libc_writev): Rename to __writev.
19086         (__writev): Do not define as alias.
19087         (writev): Define as alias of __writev.
19088         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
19089         (__readv): Do not define as alias.
19090         (readv): Define unconditionally as alias of __readv.
19091         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
19092         (__writev): Do not define as alias.
19093         (writev): Define unconditionally as alias of __writev.
19094         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
19095         name.
19096         (writev): Do not define __libc_writev name.
19098 2014-10-30  Roland McGrath  <roland@hack.frob.com>
19100         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
19101         (convert_charseq): New function, broken out of ...
19102         (use_from_charmap): ... here.  Call it.
19103         (use_to_charmap): Use convert_charseq and free instead of duplicating
19104         its code with a variable-length stack struct.
19106 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
19108         * include/fcntl.h (__libc_creat): Remove declaration.
19109         * io/creat.c (__libc_creat): Rename to creat.
19110         (creat): Do not define as alias.
19111         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
19112         of creat instead of __libc_creat.
19113         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
19114         to creat.
19115         (creat): Do not define as alias.
19116         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
19117         __libc_creat.
19118         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
19119         __libc_creat name.
19120         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
19121         Likewise.
19123 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
19125         * manual/llio.texi: Add comments discussing why write() may be
19126         considered MT-unsafe on Linux.
19128 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
19130         * dl-load.c (local_strdup): Remove.
19131         (expand_dynamic_string_token): Use __strdup.
19132         (decompose_rpath): Likewise.
19133         (_dl_map_object): Likewise.
19135 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
19137         [BZ #14132]
19138         * sysdeps/generic/unwind-dw2-fde.c
19139         (__register_frame_info_bases_internal): Do not declare.
19140         (__register_frame_info_table_bases_internal): Likewise.
19141         (__deregister_frame_info_bases_internal): Likewise.
19142         (__register_frame_info_bases): Declare and use hidden_proto before
19143         definition.  Use hidden_def instead of INTDEF.
19144         (__register_frame_info_table_bases): Likewise.
19145         (__deregister_frame_info_bases): Likewise.
19146         (__register_frame_info): Do not use INTUSE.
19147         (__register_frame): Likewise.
19148         (__register_frame_info_table): Likewise.
19149         (__register_frame_table): Likewise.
19150         (__deregister_frame_info): Likewise.
19151         (__deregister_frame): Likewise.
19153 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
19155         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19156         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
19157         not undefine.
19158         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
19159         Likewise.
19160         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
19161         Likewise.
19163 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
19165         [BZ #14138]
19166         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
19167         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
19168         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
19169         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
19170         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
19171         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
19172         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
19173         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
19174         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
19175         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
19176         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
19177         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
19178         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
19179         syscall.
19180         (setfsuid): Likewise.
19181         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
19182         (setfsuid): Likewise.
19183         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
19184         (setfsuid): Likewise.
19185         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
19186         Likewise.
19187         (setfsuid): Likewise.
19188         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
19189         (setfsuid): Likewise.
19190         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
19191         Likewise.
19192         (setfsuid): Likewise.
19194 2014-10-27  Andreas Schwab  <schwab@suse.de>
19196         [BZ #17501]
19197         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
19198         check for Slow_SSE4_2 feature bit.
19199         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
19200         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
19201         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
19202         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
19204 2014-10-24  Roland McGrath  <roland@hack.frob.com>
19206         * configure.ac: Validate compiler version with a empirical test of
19207         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
19208         $CC -v output.
19209         * configure: Regenerated.
19211         * inet/htons.c (htons): Prototypify.
19212         * inet/htonl.c (htonl): Likewise.
19214 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19216         * string/strncat.c (strncat): Improve performance by using strlen.
19218 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19220         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
19222 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19224         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
19225         Call libc_fetestexcept_aarch64.
19227 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19229         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
19230         Call libc_feholdexcept_aarch64.
19232 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19234         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
19235         Call get_rounding_mode.
19237 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19239         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
19240         Simplify logic.
19242 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19244         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
19245         Simplify logic.
19247 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
19249         [BZ #14138]
19250         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
19251         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
19252         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
19253         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
19254         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
19255         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
19256         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
19257         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
19258         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
19259         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
19260         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
19261         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
19262         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
19263         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
19264         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
19265         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
19266         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
19267         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
19268         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
19269         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
19270         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
19271         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
19272         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
19273         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
19274         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
19275         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
19276         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
19277         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
19278         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
19279         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
19280         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
19281         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
19282         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
19283         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
19284         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
19285         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
19286         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
19287         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
19288         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
19289         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
19290         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
19291         syscall.
19292         (geteuid): Likewise.
19293         (getgid): Likewise.
19294         (getuid): Likewise.
19295         (getresgid): Likewise.
19296         (getresuid): Likewise.
19297         (getgroups): Likewise.
19298         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
19299         (geteuid): Likewise.
19300         (getgid): Likewise.
19301         (getuid): Likewise.
19302         (getresgid): Likewise.
19303         (getresuid): Likewise.
19304         (getgroups): Likewise.
19305         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
19306         (geteuid): Likewise.
19307         (getgid): Likewise.
19308         (getuid): Likewise.
19309         (getresgid): Likewise.
19310         (getresuid): Likewise.
19311         (getgroups): Likewise.
19312         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
19313         Likewise.
19314         (geteuid): Likewise.
19315         (getgid): Likewise.
19316         (getuid): Likewise.
19317         (getresgid): Likewise.
19318         (getresuid): Likewise.
19319         (getgroups): Likewise.
19320         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
19321         (geteuid): Likewise.
19322         (getgid): Likewise.
19323         (getuid): Likewise.
19324         (getresgid): Likewise.
19325         (getresuid): Likewise.
19326         (getgroups): Likewise.
19327         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
19328         Likewise.
19329         (geteuid): Likewise.
19330         (getgid): Likewise.
19331         (getuid): Likewise.
19332         (getgroups): Likewise.
19334         [BZ #14138]
19335         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
19336         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
19337         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
19338         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
19339         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
19340         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
19341         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
19342         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
19343         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
19344         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
19345         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
19346         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
19347         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
19348         __chown.
19349         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
19350         (lchown): Likewise.
19351         (fchown): Likewise.
19352         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
19353         Likewise.
19354         (lchown): Likewise.
19355         (fchown): Likewise.
19356         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
19357         (lchown): Likewise.
19358         (fchown): Likewise.
19359         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
19360         Likewise.
19361         (lchown): Likewise.
19362         (fchown): Likewise.
19364 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
19366         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
19367         Simplify logic.
19369 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
19371         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
19372         Cleanup logic.
19374 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
19376         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
19377         Remove unused include.
19379 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
19381         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
19382         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
19383         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
19384         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
19386 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
19387             Helge Deller <deller@gmx.de>
19389         [BZ #17508]
19390         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
19391         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
19392         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
19394 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
19396         [BZ #14132]
19397         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
19398         Remove macro definition.
19399         (__ashrdi3_v_glibc20): Likewise.
19400         (__lshrdi3_v_glibc20): Likewise.
19401         (__cmpdi2_v_glibc20): Likewise.
19402         (__ucmpdi2_v_glibc20): Likewise.
19403         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
19404         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
19405         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
19406         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
19407         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
19408         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
19410 2014-10-22  Roland McGrath  <roland@hack.frob.com>
19412         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
19413         old GNU extension [0] syntax.
19414         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
19415         alloca rather than an array member with variable length.
19416         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
19417         * nscd/nscd.c (invalidate_db): New function, broken out of ...
19418         (parse_opt): ... here.  Likewise use alloca there.
19419         Validate the -i argument before checking for rootness.
19420         (send_shutdown): New function, broken out of ...
19421         (parse_opt): ... here.
19423 2014-10-22  Roland McGrath  <roland@hack.frob.com>
19425         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
19426         macro to get at the _rt_local_ro field.
19427         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
19428         ([PIC] case) or _dl_hwcap ([!PIC] case).
19429         * sysdeps/arm/setjmp.S: Likewise.
19431         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
19432         * sysdeps/arm/configure.ac: New check to define it.
19433         * sysdeps/arm/configure: Regenerated.
19434         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
19435         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
19436         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
19437         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
19438         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
19439         Use move/movt pair instead of a load.
19440         (LDST_GLOBAL): Macro removed.
19441         (LDR_GLOBAL): New macro replaces it.
19442         (LDR_HIDDEN): New macro.
19443         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
19444         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
19446         * setjmp/tst-setjmp-static.c: New file.
19447         * setjmp/Makefile (tests): Add it.
19448         (tests-static): New variable.
19450 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
19452         [BZ #17485]
19453         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
19455 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
19457         [BZ #14132]
19458         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
19460 2014-10-21  Roland McGrath  <roland@hack.frob.com>
19462         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
19464 2014-10-20  Roland McGrath  <roland@hack.frob.com>
19466         * io/fts.c (dirent_not_directory): New function.
19467         (fts_build): Call it.
19469 2014-10-20  Roland McGrath  <roland@hack.frob.com>
19471         * nptl/version.c (__nptl_main): Use normal __write rather than
19472         INTERNAL_SYSCALL.
19473         (banner): Update copyright years.
19475         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
19476         gettimeofday.
19477         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
19478         * nptl/pthread_cond_timedwait.c: Likewise.
19479         * nptl/pthread_mutex_timedlock.c: Likewise.
19480         * nptl/sem_timedwait.c: Likewise.
19482         * sysdeps/nptl/bits/libc-lock.h
19483         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
19484         (__libc_lock_init_recursive): Return void, not 0.
19485         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
19486         (__libc_rwlock_init): Likewise.
19487         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
19489 2014-10-20  Torvald Riegel  <triegel@redhat.com>
19491         [BZ #15215]
19492         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
19493         (__pthread_once_slow): ... here.
19494         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
19495         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
19497 2014-10-20  Torvald Riegel  <triegel@redhat.com>
19499         [BZ #15215]
19500         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
19501         __PTHREAD_ONCE_FORK_GEN_INCR): New.
19502         * sysdeps/nptl/fork.c (__libc_fork): Use them.
19503         * nptl/pthread_once.c (__pthread_once): Likewise.
19504         Update comments.
19506 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
19508         [BZ #14138]
19509         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
19510         name.
19511         (writev): Use __libc_writev as strong name.
19512         * sysdeps/unix/sysv/linux/readv.c: Remove file.
19513         * sysdeps/unix/sysv/linux/writev.c: Likewise.
19515 2014-10-17  Roland McGrath  <roland@hack.frob.com>
19517         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
19519         * sysdeps/i386/nptl/tls.h
19520         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
19521         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
19522         New macros.
19523         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
19524         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
19525         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
19526         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
19527         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
19528         Call CHECK_THREAD_SYSINFO instead of doing an assert.
19530         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
19531         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
19532         on [__NR_futex].
19533         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
19534         broken out of ...
19535         (__pthread_mutex_init): ... here.  Call it.
19536         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
19537         Conditionalize PI cases on [__NR_futex].
19538         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
19539         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
19540         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
19542         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
19543         conditional on [SIGSETXID].
19544         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
19545         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
19546         is defined.  Likewise for SIGSETXID.
19547         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
19548         Conditionalize definitions on [SIGSETXID].
19549         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
19550         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
19551         unblocking on [SIGCANCEL].
19553         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
19554         [__NR_set_robust_list].
19556 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
19558         * string/strcoll_l.c (get_next_seq): Fix up formatting.
19559         (do_compare): Likewise.
19561 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
19563         [BZ #15884]
19564         * string/strcoll_l.c: Don't include stdio.h.
19565         (coll_seq): Remove members idxarr and rulearr.
19566         (get_next_seq_cached): Remove function.
19567         (get_next_seq): Likewise.
19568         (get_next_seq_nocache): Rename to get_next_seq.
19569         (do_compare): Remove function.
19570         (do_compare_nocache): Rename to do_compare.
19571         (STRCOLL): Remove weight and rules cache.
19573 2014-10-16  Roland McGrath  <roland@hack.frob.com>
19575         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
19576         * sysdeps/arm/sfp-machine.h: ... to here.
19577         * sysdeps/arm/Implies: Remove arm/soft-fp.
19579 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
19581         * conform/data/sys/utsname.h-data (*_t): Allow.
19582         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
19583         [POSIX] (WEXITED): Do not expect constant.
19584         [POSIX] (WSTOPPED): Likewise.
19585         [POSIX] (WNOHANG): Likewise.
19586         [POSIX] (WNOWAIT): Likewise.
19587         [POSIX] (siginfo_t): Do not expect type or elements.
19588         [POSIX] (pid_t): Do not expect type.
19589         [POSIX] (signal.h): Do not allow header.
19590         [POSIX] (sys/resource.h): Likewise.
19591         [POSIX] (si_*): Do not allow pattern.
19592         [POSIX] (W*): Likewise.
19593         [POSIX] (P_*): Likewise.
19594         [POSIX] (BUS_*): Likewise.
19595         [POSIX] (CLD_*): Likewise.
19596         [POSIX] (FPE_*): Likewise.
19597         [POSIX] (ILL_*): Likewise.
19598         [POSIX] (POLL_*): Likewise.
19599         [POSIX] (SEGV_*): Likewise.
19600         [POSIX] (SI_*): Likewise.
19601         [POSIX] (TRAP_*): Likewise.
19602         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
19603         variable.
19605 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
19607         [BZ #12926]
19608         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
19609         infinite loop when __recvmsg returns 0.
19611 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
19613         * CANCEL-FCT-WAIVE: Remove file.
19614         * CANCEL-FILE-WAIVE: Likewise.
19616         [BZ #14132]
19617         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
19618         instead of INTVARDEF.
19619         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
19620         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
19621         rtld_hidden_data_def instead of INTVARDEF.
19622         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
19623         * elf/dl-deps.c (expand_dst): Likewise.
19624         * elf/dl-load.c (_dl_dst_count): Likewise.
19625         (_dl_dst_substitute): Likewise.
19626         (decompose_rpath): Likewise.
19627         (_dl_init_paths): Likewise.
19628         (open_path): Likewise.
19629         (_dl_map_object): Likewise.
19630         * elf/rtld.c (dl_main): Likewise.
19631         (process_dl_audit): Likewise.
19632         (process_envvars): Likewise.
19633         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
19634         Remove declaration.
19635         (__libc_enable_secure): Use rtld_hidden_proto.
19637 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19639         * elf/dl-load.c
19640         (add_path): New function broken out of _dl_rtld_di_serinfo.
19641         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
19643 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
19645         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
19646         parentheses around macro arguments.
19647         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
19648         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
19649         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
19650         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
19651         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
19652         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
19653         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
19654         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
19655         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
19656         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
19657         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
19658         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
19659         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
19660         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
19661         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
19662         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
19663         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
19664         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
19665         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
19666         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
19667         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
19668         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
19669         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
19670         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
19671         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
19672         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
19673         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
19674         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
19675         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
19676         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
19677         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
19678         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
19679         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
19680         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
19681         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
19682         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
19683         Likewise.
19684         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
19685         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
19686         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
19687         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
19688         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
19689         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
19690         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
19691         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
19692         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
19693         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
19694         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
19695         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
19696         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
19697         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
19698         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
19699         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
19700         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
19701         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
19702         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
19703         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
19704         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
19705         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
19706         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
19707         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
19708         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
19709         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
19710         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
19711         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
19712         (_FP_FRAC_SRS_1): Likewise.
19713         (_FP_FRAC_CLZ_1): Likewise.
19714         (_FP_MUL_MEAT_1_imm): Likewise.
19715         (_FP_MUL_MEAT_1_wide): Likewise.
19716         (_FP_MUL_MEAT_1_hard): Likewise.
19717         (_FP_SQRT_MEAT_1): Likewise.
19718         (_FP_FRAC_ASSEMBLE_1): Likewise.
19719         (_FP_FRAC_DISASSEMBLE_1): Likewise.
19720         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
19721         (__FP_CLZ_2): Likewise.
19722         (_FP_MUL_MEAT_2_wide): Likewise.
19723         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
19724         (_FP_MUL_MEAT_2_gmp): Likewise.
19725         (_FP_MUL_MEAT_2_120_240_double): Likewise.
19726         (_FP_SQRT_MEAT_2): Likewise.
19727         (_FP_FRAC_ASSEMBLE_2): Likewise.
19728         (_FP_FRAC_DISASSEMBLE_2): Likewise.
19729         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
19730         (_FP_FRAC_CLZ_4): Likewise.
19731         (_FP_MUL_MEAT_4_wide): Likewise.
19732         (_FP_MUL_MEAT_4_gmp): Likewise.
19733         (_FP_SQRT_MEAT_4): Likewise.
19734         (_FP_FRAC_ASSEMBLE_4): Likewise.
19735         (_FP_FRAC_DISASSEMBLE_4): Likewise.
19736         * soft-fp/op-common.h (_FP_CMP): Likewise.
19737         (_FP_CMP_EQ): Likewise.
19738         (_FP_CMP_UNORD): Likewise.
19739         (_FP_TO_INT): Likewise.
19740         (_FP_FROM_INT): Likewise.
19741         [!__FP_CLZ] (__FP_CLZ): Likewise.
19742         (_FP_DIV_HELP_imm): Likewise.
19743         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
19744         Likewise.
19745         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
19746         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
19747         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
19748         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
19749         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
19750         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
19751         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
19752         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
19753         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
19754         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
19755         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
19756         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
19757         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
19758         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
19759         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
19760         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
19761         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
19762         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
19763         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
19764         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
19765         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
19766         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
19767         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
19768         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
19769         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
19770         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
19771         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
19772         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
19773         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
19774         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
19775         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
19776         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
19777         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
19778         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
19779         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
19780         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
19781         (FP_UNPACK_RAW_SP): Likewise.
19782         (FP_PACK_RAW_S): Likewise.
19783         (FP_PACK_RAW_SP): Likewise.
19784         (FP_UNPACK_S): Likewise.
19785         (FP_UNPACK_SP): Likewise.
19786         (FP_UNPACK_SEMIRAW_S): Likewise.
19787         (FP_UNPACK_SEMIRAW_SP): Likewise.
19788         (FP_PACK_S): Likewise.
19789         (FP_PACK_SP): Likewise.
19790         (FP_PACK_SEMIRAW_S): Likewise.
19791         (FP_PACK_SEMIRAW_SP): Likewise.
19792         (_FP_SQRT_MEAT_S): Likewise.
19793         (FP_CMP_S): Likewise.
19794         (FP_CMP_EQ_S): Likewise.
19795         (FP_CMP_UNORD_S): Likewise.
19796         (FP_TO_INT_S): Likewise.
19797         (FP_FROM_INT_S): Likewise.
19799         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
19801         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
19802         (FP_EX_INVALID_IMZ): Likewise.
19803         (FP_EX_INVALID_IMZ_FMA): Likewise.
19804         (FP_EX_INVALID_ISI): Likewise.
19805         (FP_EX_INVALID_ZDZ): Likewise.
19806         (FP_EX_INVALID_IDI): Likewise.
19807         (FP_EX_INVALID_SQRT): Likewise.
19808         (FP_EX_INVALID_CVI): Likewise.
19809         (FP_EX_INVALID_VC): Likewise.
19810         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
19811         "invalid" exceptions.
19812         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
19813         (_FP_ADD_INTERNAL): Likewise.
19814         (_FP_MUL): Likewise.
19815         (_FP_FMA): Likewise.
19816         (_FP_DIV): Likewise.
19817         (_FP_CMP_CHECK_NAN): Likewise.
19818         (_FP_SQRT): Likewise.
19819         (_FP_TO_INT): Likewise.
19820         (FP_EXTEND): Likewise.
19822 2014-10-09  Allan McRae  <allan@archlinux.org>
19824         * po/fr.po: Update French translation from translation project.
19826 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
19828         [BZ #14132]
19829         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
19830         of INTDEF.
19831         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
19832         (__cxa_atexit): Use libc_hidden_proto.
19833         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
19835         [BZ #14132]
19836         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
19837         declaration.
19838         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
19839         [!_ISOMAC] (__iswspace_l_internal): Likewise.
19840         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
19841         [!_ISOMAC] (__iswctype_internal): Likewise.
19842         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
19843         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
19844         alias.
19845         (fcntl): Remove __fcntl_internal alias.
19846         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
19847         __connect_internal alias.
19848         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
19849         Likewise.
19851         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
19852         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
19853         FP_DENORM_ZERO.
19854         (_FP_CHECK_FLUSH_ZERO): New macro.
19855         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
19856         (_FP_CMP): Likewise.
19857         (_FP_CMP_EQ): Likewise.
19858         (_FP_TO_INT): Do not set inexact for subnormal arguments if
19859         FP_DENORM_ZERO.
19860         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
19861         (FP_TRUNC): Likewise.
19863         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
19864         treated as invalid conversion, not as normal exponent.
19866         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
19867         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
19868         (_FP_CMP_EQ): Likewise.
19869         (_FP_CMP_UNORD): Likewise.
19870         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
19871         (FP_CMP_EQ_D): Likewise.
19872         (FP_CMP_UNORD_D): Likewise.
19873         * soft-fp/extended.h (FP_CMP_E): Likewise.
19874         (FP_CMP_EQ_E): Likewise.
19875         (FP_CMP_UNORD_E): Likewise.
19876         * soft-fp/quad.h (FP_CMP_Q): Likewise.
19877         (FP_CMP_EQ_Q): Likewise.
19878         (FP_CMP_UNORD_Q): Likewise.
19879         * soft-fp/single.h (FP_CMP_S): Likewise.
19880         (FP_CMP_EQ_S): Likewise.
19881         (FP_CMP_UNORD_S): Likewise.
19882         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
19883         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
19884         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
19885         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
19886         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
19887         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
19888         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
19889         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
19890         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
19891         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
19892         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
19893         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
19894         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
19895         to FP_CMP_Q.
19896         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
19897         FP_CMP_Q.
19898         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
19899         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
19900         FP_CMP_EQ_Q.
19901         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
19902         FP_CMP_Q.
19903         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
19904         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
19905         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
19906         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
19907         FP_CMP_EQ_Q.
19908         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
19909         FP_CMP_Q.
19910         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
19911         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
19912         FP_CMP_EQ_Q.
19913         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
19914         FP_CMP_Q.
19915         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
19916         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
19917         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
19918         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
19919         FP_CMP_EQ_Q.
19921         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
19922         a subnormal result, set the underflow exception if trapping on
19923         underflow is enabled.
19924         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
19925         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
19926         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
19927         redefine to 0.
19928         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
19929         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
19930         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
19931         * soft-fp/extendxftf2.c (__extendxftf2): Use
19932         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
19934         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
19935         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
19936         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
19937         FP_HANDLE_EXCEPTIONS.
19938         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
19939         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
19940         FP_HANDLE_EXCEPTIONS.
19941         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
19942         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
19943         FP_HANDLE_EXCEPTIONS.
19944         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
19945         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
19946         FP_HANDLE_EXCEPTIONS.
19948 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
19950         [BZ #14132]
19951         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
19952         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
19953         use INTUSE.
19954         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
19955         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
19956         Remove alias.
19957         (__adjtimex): Define using libc_hidden_ver.
19958         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
19959         Remove declaration.
19960         (ntp_gettime): Call __adjtimex directly.
19961         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
19962         Remove declaration.
19963         (ntp_gettimex): Call __adjtimex directly.
19964         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
19965         __adjtimex_internal alias.
19967 2014-10-08  Roland McGrath  <roland@hack.frob.com>
19969         [BZ #17460]
19970         * nscd/nscd.c (more_help): Rewrite list of tables collection
19971         using xstrdup and asprintf.
19973         * nscd/nscd_conf.c: Remove local xstrdup declaration.
19975 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19976             Roland McGrath  <roland@hack.frob.com>
19978         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
19979         (do_lookup_unique): ... local function 'enter' here; update callers.
19981 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
19983         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
19984         compat_symbol calls on [SHARED].
19985         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
19986         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
19987         Remove.
19988         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
19989         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
19990         (oldsetrlimit): Remove.
19991         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
19992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
19993         (lchown): New syscall entry.
19994         (oldsetrlimit): Remove.
19995         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
19996         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
19997         (oldsetrlimit): Remove.
19998         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
20000         [BZ #14138]
20001         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
20002         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
20003         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
20004         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
20005         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
20006         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
20007         (fchown): Likewise.
20008         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
20009         (fchown): Likewise.
20010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
20011         Likewise.
20013 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20015         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
20016         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
20017         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
20018         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
20019         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
20020         Likewise.
20021         (__old_sem_post): Likewise.
20023 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
20025         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
20026         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
20027         HAVE_CLOCK_GETTIME_VSYSCALL macros.
20028         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
20029         Use INLINE_VSYSCALL macro.
20030         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
20031         __vdso_clock_gettime.
20032         * sysdeps/unix/sysv/linux/tile/init-first.c
20033         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
20034         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
20035         __vdso_clock_gettime.
20037         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
20038         to set up frame more cleanly.
20040         * sysdeps/tile/memcmp.c: New file.
20042         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
20044         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
20045         * sysdeps/tile/tilegx/strcasestr.c: New file.
20046         * sysdeps/tile/tilegx/strnlen.c: New file.
20047         * sysdeps/tile/tilegx/strstr.c: New file.
20049         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
20051 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
20053         * nptl/tst-setuid3.c: Write errors to stdout.
20055 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20057         * elf/dl-deps.c
20058         (preload): New functions broken out of _dl_map_object_deps.
20059         (_dl_map_object_deps):  Remove a nested function. Update call sites.
20061 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
20063         [BZ #14138]
20064         * sysdeps/unix/sysv/linux/execve.c: Remove file.
20065         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
20067 2014-10-01  Steve Ellcey  <sellcey@mips.com>
20069         * sysdeps/mips/strcmp.S: New.
20071 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
20073         [BZ #14138]
20074         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
20075         (linkat): Likewise.
20076         (mkdirat): Likewise.
20077         (readlinkat): Likewise.
20078         (renameat): Likewise.
20079         (symlinkat): Likewise.
20080         (unlinkat): Likewise.
20081         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
20082         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
20083         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
20084         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
20085         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
20086         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
20087         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
20089 2014-09-30  Will Newton  <will.newton@linaro.org>
20091         * math/math.h: Define long double math functions if
20092         _LIBC_TEST is defined.
20093         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
20095         * localedata/Makefile: Move assignment to tests-special
20096         into an ifdef testing run-built-tests.
20097         * timezone/Makefile: Likewise.
20099 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
20101         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
20102         with $(BASH) not $(SHELL).
20104 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
20105             Matthew LeGendre  <legendre1@llnl.gov>
20107         [BZ #17411]
20108         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
20109         l_reloc_result.
20111 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20113         * stdio-common/printf_fp.c
20114         (hack_digit): New function, broken out of ...
20115         (__printf_fp): ... local function here.  Update call sites.
20116         hack_digit now takes an additional parameter that is a pointer
20117         to a struct of the referenced locals.  Those locals moved inside
20118         the struct and references updated.
20120 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
20122         * aclocal.m4: Require autoconf 2.69.
20123         * configure: Regenerated.
20124         * sysdeps/aarch64/configure: Likewise.
20125         * sysdeps/alpha/configure: Likewise.
20126         * sysdeps/arm/armv7/configure: Likewise.
20127         * sysdeps/arm/configure: Likewise.
20128         * sysdeps/ia64/configure: Likewise.
20129         * sysdeps/mach/configure: Likewise.
20130         * sysdeps/mips/configure: Likewise.
20131         * sysdeps/s390/configure: Likewise.
20132         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
20133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
20135         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
20136         file.
20137         * sysdeps/ia64/configure.ac: Likewise.
20139 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
20141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
20142         specify symbol version for ld.so.  Do not include entry for
20143         libpthread.
20144         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
20145         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
20146         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
20148         [BZ #14171]
20149         * Makeconfig [$(build-shared) = yes]
20150         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
20151         makefiles.
20152         [$(build-shared) = yes && $(soversions.mk-done) = t]
20153         ($(common-objpfx)gnu/lib-names.h): Remove rule.
20154         [$(build-shared) = yes && $(soversions.mk-done) = t]
20155         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
20156         to Makerules.
20157         [$(build-shared) = yes && $(soversions.mk-done) = t]
20158         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
20159         here.
20160         [$(build-shared) = yes && $(soversions.mk-done) = t]
20161         (common-generated): Don't append gnu/lib-names.h and
20162         gnu/lib-names.stmp here.
20163         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
20164         (lib-names-h-abi): New variable.
20165         [$(build-shared) = yes && $(soversions.mk-done) = t]
20166         (lib-names-stmp-abi): Likewise.
20167         [$(build-shared) = yes && $(soversions.mk-done) = t &&
20168         abi-variants] (before-compile): Append
20169         $(common-objpfx)$(lib-names-h-abi).
20170         [$(build-shared) = yes && $(soversions.mk-done) = t &&
20171         abi-variants] (common-generated): Append gnu/lib-names.h.
20172         [$(build-shared) = yes && $(soversions.mk-done) = t &&
20173         abi-variants] (install-others-nosubdir): Depend on
20174         $(inst_includedir)/$(lib-names-h-abi).
20175         [$(build-shared) = yes && $(soversions.mk-done) = t &&
20176         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
20177         [$(build-shared) = yes && $(soversions.mk-done) = t]
20178         ($(common-objpfx)$(lib-names-h-abi)): New rule.
20179         [$(build-shared) = yes && $(soversions.mk-done) = t]
20180         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
20181         [$(build-shared) = yes && $(soversions.mk-done) = t]
20182         (common-generated): Append $(lib-names-h-abi) and
20183         $(lib-names-stmp-abi).
20184         * scripts/lib-names.awk: Do not handle multi being set.
20185         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
20186         Remove variable.
20187         (abi-lp64_be-ld-soname): Likewise.
20188         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
20189         Likewise.
20190         (abi-hard-ld-soname): Likewise.
20191         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
20192         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
20193         Remove variable.
20194         (abi-o32_hard-ld-soname): Likewise.
20195         (abi-o32_soft_2008-ld-soname): Likewise.
20196         (abi-o32_hard_2008-ld-soname): Likewise.
20197         (abi-n32_soft-ld-soname): Likewise.
20198         (abi-n32_hard-ld-soname): Likewise.
20199         (abi-n32_soft_2008-ld-soname): Likewise.
20200         (abi-n32_hard_2008-ld-soname): Likewise.
20201         (abi-n64_soft-ld-soname): Likewise.
20202         (abi-n64_hard-ld-soname): Likewise.
20203         (abi-n64_soft_2008-ld-soname): Likewise.
20204         (abi-n64_hard_2008-ld-soname): Likewise.
20205         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
20206         Likewise.
20207         (abi-64-v2-ld-soname): Likewise.
20208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
20209         ld.so entries.
20210         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
20211         variable.
20212         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
20213         entry.
20214         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
20215         variable.
20216         (abi-64-ld-soname): Likewise.
20217         (abi-x32-ld-soname): Likewise.
20218         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
20219         entry.
20220         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
20222 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
20224         [BZ #14138]
20225         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
20226         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
20227         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
20228         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
20229         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
20230         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
20231         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
20232         syscall entry for GLIBC_2.2 symbol version.
20233         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
20234         Likewise.
20235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
20236         (setrlimit): Likewise.
20237         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
20238         Likewise.
20240 2014-09-23  Will Newton  <will.newton@linaro.org>
20242         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
20243         _LINUX_ARM_SYSDEP_H include guard too.
20244         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
20245         define.
20247 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
20249         * sysdeps/unix/sysv/linux/eventfd.c:
20250         Make first argument unsigned.
20251         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
20252         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
20254 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
20256         * socket/recvmmsg.c (recvmmsg): Drop const argument.
20257         * socket/sys/socket.h: Likewise
20258         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
20260 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20262         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
20264 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
20266         * time/tst-ftime.c: New test.
20267         * time/Makefile (tests): Add tst-ftime.
20269 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
20271         * soft-fp/extended.h: Fix comment formatting.
20272         * soft-fp/op-1.h: Likewise.
20273         * soft-fp/op-2.h: Likewise.
20274         * soft-fp/op-4.h: Likewise.
20275         * soft-fp/op-8.h: Likewise.
20276         * soft-fp/op-common.h: Likewise.
20277         * soft-fp/soft-fp.h: Likewise.
20279         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
20281 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
20283         [BZ #6652]
20284         * Makeconfig (soversions-default-setname): Remove variable.
20285         ($(common-objpfx)soversions.i): Don't pass default_setname to
20286         soversions.awk.
20287         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
20288         oldest_abi to abi-versions.awk.
20289         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
20290         * config.make.in (oldest-abi): Remove variable.
20291         * configure.ac (--enable-oldest-abi): Remove configure option.
20292         * configure: Regenerated.
20293         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
20294         text.
20295         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
20296         * scripts/soversions.awk: Do not handle default_setname variable.
20297         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
20298         variable.
20299         * sysdeps/mach/hurd/configure: Regenerated.
20300         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
20301         variable.
20302         * sysdeps/unix/sysv/linux/configure: Regenerated.
20304 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20306         * elf/Makefile (CFLAGS-interp.c): Remove.
20307         ($(elf-objpfx)runtime-linker.h): Generate header with linker
20308         path string.
20309         * elf/interp.c: Include generated runtime-linker.h
20311         * Makerules (lib%.so): Don't include $(+interp) in
20312         prerequisites.
20313         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
20314         * dlfcn/eval.c: Remove file.
20316         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
20317         macros.
20319         [BZ #17266]
20320         * misc/sys/cdefs.h: Define __extern_always_inline for clang
20321         4.2 and newer.
20323         [BZ #17370]
20324         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
20326 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20327             Jakub Jelinek  <jakub@redhat.com>
20329         [BZ #17266]
20330         * libio/stdio.h: Check definition of __fortify_function
20331         instead of __extern_always_inline to include bits/stdio2.h.
20332         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
20333         check if __extern_always_inline is defined.
20334         [__USE_MISC || __USE_XOPEN]: Likewise.
20335         [__USE_ISOC99] Likewise.
20336         * misc/sys/cdefs.h (__fortify_function): Define only if
20337         __extern_always_inline is defined.
20338         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
20339         __extern_always_inline and __extern_inline only for g++-4.3
20340         and newer or a compatible gcc.
20342 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
20344         [BZ #17371]
20345         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
20346         last change to handle zero prefix length.
20348 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20350         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
20351         _SC_REGEX_VERSION.
20353         * posix/getconf.c (vars): Add _POSIX_IPV6 and
20354         _POSIX_RAW_SOCKETS.
20356 2014-09-13  Allan McRae  <allan@archlinux.org>
20358         * po/ru.po: Update Russian translation from translation project.
20360 2014-09-12  Roland McGrath  <roland@hack.frob.com>
20362         * locale/programs/locale.c (show_locale_vars): Inline local function
20363         into its sole call site.  Clean up some style nits.
20364         (print_item): New function, broken out of ...
20365         (show_info): ... local function here.  Clean up style nits.
20367         * locale/programs/ld-ctype.c (set_one_default): New function, broken
20368         out of ...
20369         (set_class_defaults): ... local function set_default here.
20370         Define set_default as a macro locally to pass constant parameters.
20371         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
20372         rather than a shared local.
20374         * stdlib/rpmatch.c (try): New function, broken out of ...
20375         (rpmatch): ... local function here.  Also, prototypify definition.
20377 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
20379         * scripts/soversions.awk: Do not handle configuration names.
20380         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
20381         vendor and os variables to soversions.awk.
20382         * configure.ac: Do not modify gnu-* host_os.
20383         * configure: Regenerated
20384         * shlib-versions: Remove first column with configuration names.
20385         * nptl/shlib-versions: Likewise.
20386         * nptl_db/shlib-versions: Likewise.
20387         * sysdeps/hppa/shlib-versions: Likewise.
20388         * sysdeps/m68k/shlib-versions: Likewise.
20389         * sysdeps/mach/hurd/shlib-versions: Likewise.
20390         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
20391         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
20392         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
20393         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
20394         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
20395         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
20396         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
20397         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
20398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
20399         Likewise.
20400         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
20401         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
20402         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
20403         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
20404         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
20405         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
20406         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
20407         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
20409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
20410         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
20411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
20412         Regenerated.
20413         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
20414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
20415         Condition symbol version definitions on [HAVE_ELFV2_ABI].
20417         * shlib-versions: Remove OS-specific entries.  Moved to files in
20418         sysdeps.
20419         * sysdeps/mach/hurd/shlib-versions: New file.
20420         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
20422         * nptl/shlib-versions: Remove architecture-specific entries.
20423         Moved to files in sysdeps.
20424         * shlib-versions: Likewise.
20425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
20426         file.
20427         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
20428         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
20429         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
20430         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
20432         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
20433         (UDP_NO_CHECK6_RX): Likewise.
20435 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20437         * sysdeps/posix/sysconf.c (__sysconf): Spell
20438         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
20440 2014-08-12  Florian Weimer  <fweimer@redhat.com>
20442         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
20443         loading.
20444         * iconv/Versions (__gconv_transliterate): Export for use from
20445         gconv modules.
20446         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
20447         (struct __gconv_trans_data, __gconv_trans_fct,
20448         __gconv_trans_context_fct, __gconv_trans_query_fct,
20449         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
20450         definitions.
20451         (struct __gconv_step_data): Remove __trans member.
20452         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
20453         longer hidden.  Remove unused trans_data argument.
20454         * iconv/gconv_int.h (struct trans_struct): Remove definition.
20455         (__gconv_translit_find): Remove declaration.
20456         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
20457         prototype.
20458         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
20459         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
20460         trans_data argument.  Add hidden definition.
20461         (__gconv_translit_find): Remove.
20462         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
20463         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
20464         * iconv/skeleton.c: Remove transliteration initialization.
20465         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
20466         __gconv_step_data initialization.
20467         * libio/iofwide.c (__libio_translit_): Remove.
20468         (_IO_fwide): Adjust struct __gconv_step_data initialization.
20469         * wcsmbs/btowc.c (__btowc): Likewise.
20470         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
20471         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
20472         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
20473         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
20474         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
20475         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
20476         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
20477         * wcsmbs/wctob.c (wctob): Likewise.
20479 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20481         [BZ #16194]
20482         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
20483         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
20484         register usage.
20485         * sysdeps/x86/Makefile: Adjust.
20487 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20488             Roland McGrath  <roland@hack.frob.com>
20490         * locale/weight.h: Add include guard.
20491         (findidx): Make static rather than auto; take new parameters
20492         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
20493         * locale/weightwc.h: Likewise.
20494         * posix/fnmatch_loop.c
20495         (FCT): Change type of EXTRA from int32_t to wint_t.
20496         Don't include either header inside the function.
20497         Call FINDIDX rather than findidx, and pass new arguments.
20498         #undef FINDIDX at the end of the file.
20499         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
20500         FINDIDX before including fnmatch_loop.c for the non-wide version.
20501         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
20502         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
20503         for the wide version.
20504         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
20505         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
20506         Pass new arguments to findidx.
20507         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
20508         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
20509         Don't #include it inside the function.  Pass new arguments to findidx.
20510         * posix/regex_internal.h
20511         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
20512         (re_string_elem_size_at): Don't #include it inside the function.
20513         Pass new arguments to findidx.
20514         * string/strcoll_l.c: #include WEIGHT_H at top level.
20515         (get_next_seq): Don't #include it inside the function.
20516         Pass new arguments to findidx.
20517         (get_next_seq_nocache): Likewise.
20518         * string/strxfrm_l.c: #include WEIGHT_H at top level.
20519         (STRXFRM): Don't #include it inside the function.
20520         Pass new arguments to findidx.
20522 2014-09-11  Florian Weimer  <fweimer@redhat.com>
20524         [BZ #17344]
20525         * malloc/malloc.c (unlink): Turn asserts into a call to
20526         malloc_printerr.
20528 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
20530         [BZ #17370]
20531         * libio/wfileops (do_ftell_wide): Free OUT.
20533 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
20535         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
20537 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20539         [BZ #17363]
20540         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
20541         group if the current group is empty.
20543 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20545         * benchtests/bench-memset.c (test_main): Add more test from size
20546         from 32 to 512 bytes.
20547         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20548         Add POWER8 memset object.
20549         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20550         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
20551         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
20552         implementation.
20553         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
20554         Likewise.
20555         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
20556         multiarch POWER8 memset optimization.
20557         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
20558         POWER8 memset optimization.
20560         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20561         Remove bzero multiarch objects.
20562         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
20563         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
20564         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
20565         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
20566         Remove define.
20567         [__bzero]: Redefine to specific name.
20568         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
20569         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
20570         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
20571         define.
20572         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20573         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
20575 2014-09-10  Florian Weimer  <fweimer@redhat.com>
20577         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
20578         warnings into errors.
20580         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
20581         __cxa_thread_atexit_impl prototype.
20583 2014-09-09  Steve Ellcey  <sellcey@mips.com>
20585         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
20586         Fix capitalization of error message.
20588 2014-09-09  Steve Ellcey  <sellcey@mips.com>
20590         * sysdeps/mips/preconfigure: Modify ABI tests.
20592 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
20594         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
20596 2014-09-07  Roland McGrath  <roland@hack.frob.com>
20597             Carlos O'Donell  <carlos@systemhalted.org>
20599         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
20600         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
20601         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
20602         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
20603         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
20604         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
20605         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
20606         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
20607         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
20608         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
20609         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
20610         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
20611         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
20612         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
20613         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
20614         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
20615         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
20616         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
20617         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
20618         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
20619         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
20620         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
20621         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
20622         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
20623         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
20624         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
20625         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
20626         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
20627         Deconditionalize the code that was previously under [RESET_PID].
20628         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
20629         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
20630         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
20631         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
20632         include sysdep.h.
20634 2014-09-08  Allan McRae  <allan@archlinux.org>
20636         * version.h (RELEASE): Set to "development".
20637         (VERSION): Set to "2.20.90"
20639 2014-09-07  Allan McRae  <allan@archlinux.org
20641         * version.h (RELEASE): Set to "stable".
20642         (VERSION): Set to "2.20"
20643         * include/features.h (__GLIBC_MINOR__): Set to 20.
20645         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
20646         Liebler.
20648         * po/ko.po: Update Korean translation from translation project.
20650 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
20652         [BZ #17354]
20653         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
20654         macro for handling signed relocations.
20656 2014-09-03  Florian Weimer  <fweimer@redhat.com>
20658         [BZ #17325]
20659         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
20660         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
20661         assert.
20662         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
20663         * iconvdata/ibm935.c (BODY): Likewise.
20664         * iconvdata/ibm937.c (BODY): Likewise.
20665         * iconvdata/ibm939.c (BODY): Likewise.
20666         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
20667         assert.
20668         * iconvdata/Makefile (iconv-test.out): Pass module list to test
20669         script.
20670         * iconvdata/run-iconv-test.sh: New test loop for checking for
20671         decoder crashers.
20673 2014-09-02  Khem Raj  <raj.khem@gmail.com>
20675         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
20676         libm_hidden_ver.
20678 2014-09-01  Allan McRae  <allan@archlinux.org>
20680         * po/eo.po: Update Esperanto translation from translation project.
20682         * po/ca.po: Update Catalan translation from translation project.
20684 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20686         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
20687         __proc_dostop call.
20689 2014-08-27  Mark Wielaard  <mjw@redhat.com>
20691         [BZ #17319]
20692         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
20693         to call set_thread_area instead of hand written asm.
20694         (__NR_set_thread_area): Removed define.
20695         (TLS_FLAG_WRITABLE): Likewise.
20696         (__ASSUME_SET_THREAD_AREA): Remove check.
20697         (TLS_EBX_ARG): Remove define.
20698         (TLS_LOAD_EBX): Likewise.
20700 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20702         Simplify atomicity of socket creation in bind.
20704         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
20705         looking up the name after linking the file.
20707 2014-08-27  Allan McRae  <allan@archlinux.org>
20709         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
20711 2014-08-26  Florian Weimer  <fweimer@redhat.com>
20713         [BZ #17187]
20714         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
20715         trans_compare, open_translit, __gconv_translit_find):
20716         Remove module loading code.
20718 2014-08-26  Allan McRae  <allan@archlinux.org>
20720         * po/vi.po: Update Vietnamese translation from translation project.
20722         * po/uk.po: Update Ukrainian translation from translation project.
20724         * po/fr.po: Update French translation from translation project.
20726         * po/ru.po: Update Russian translation from translation project.
20728         * po/pl.po: Update Polish translation from translation project.
20730         * po/cs.po: Update Czech translation from translation project.
20732         * po/de.po: Update German translation from translation project.
20734         * po/bg.po: Update Bulgarian translation from translation project.
20736         * po/sv.po: Update Sweedish translation from translation project.
20738         * po/nl.po: Update Dutch translation from translation project.
20740         * po/es.po: Update Spanish translation from translation project.
20742 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20744         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
20746         * catgets/Makefile (CPPFLAGS-gencat): Remove.
20747         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
20748         (CPPFLAGS-iconvconfig): Likewise.
20749         * timezone/Makefile (CPPFLAGS-zic): Likewise.
20751         * include/libc-symbols.h: Remove unnecessary check for
20752         NOT_IN_libc.
20753         * nptl/pthreadP.h: Likewise.
20754         * sysdeps/aarch64/setjmp.S: Likewise.
20755         * sysdeps/alpha/setjmp.S: Likewise.
20756         * sysdeps/arm/sysdep.h: Likewise.
20757         * sysdeps/i386/setjmp.S: Likewise.
20758         * sysdeps/m68k/setjmp.c: Likewise.
20759         * sysdeps/posix/getcwd.c: Likewise.
20760         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20761         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
20762         * sysdeps/s390/s390-32/setjmp.S: Likewise.
20763         * sysdeps/s390/s390-64/setjmp.S: Likewise.
20764         * sysdeps/sh/sh3/setjmp.S: Likewise.
20765         * sysdeps/sh/sh4/setjmp.S: Likewise.
20766         * sysdeps/unix/alpha/sysdep.h: Likewise.
20767         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20768         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20769         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
20770         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20773         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20774         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20775         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20776         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20777         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20778         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
20779         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20780         * sysdeps/x86_64/setjmp.S: Likewise.
20782 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
20784         [BZ #17263]
20785         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
20786         <stdint.h>.
20787         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
20788         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
20790 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20792         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
20794         [BZ #17262]
20795         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
20796         and __x86_64__ when disabling x87 inline functions.
20798 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
20800         [BZ #17259]
20801         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
20802         asm statement with __cpuid_count.
20804 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
20806         * configure.ac: Change __ehdr_start code to dereference the struct.
20807         Run readelf on the output to look for relocations.
20808         * configure: Regenerated.
20810 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
20812         [BZ #17261]
20813         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
20814         value to 0.
20815         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
20817 2014-08-12  Roland McGrath  <roland@hack.frob.com>
20819         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
20821 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
20823         [BZ #16892]
20824         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
20825         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
20827 2014-08-12  Sean Anderson  <seanga2@gmail.com>
20829         * malloc/malloc.c: Fix typo in comment.
20831 2014-08-09  Allan McRae  <allan@archlinux.org>
20833         * Regenerate libc.po.
20835 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
20837         * intl/tst-gettext2.sh: Check every lang file for creation.
20839 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
20841         * sysdeps/aarch64/fpu/math_private.h
20842         (libc_feholdsetround_noex_aarch64_ctx): New function.
20844 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
20846         * sysdeps/arm/armv6/strcpy.S (strcpy):
20847         Fix performance issue in misaligned cases.
20849 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20851         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
20852         Move definition from termios.h.
20853         (struct termio): Likewise.
20854         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
20855         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
20856         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
20857         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
20858         Likewise.
20859         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
20860         Move definition to ioctl-types.h
20861         (struct termio): Likewise.
20862         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
20863         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
20864         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
20865         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
20866         Likewise.
20868 2014-08-05  Richard Henderson  <rth@redhat.com>
20870         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
20871         exceptions.
20872         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
20873         Add fraiseexcpt.
20874         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
20875         Use __feraiseexcept.
20876         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
20877         Protect libm symbols with IS_IN_libm.
20879         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
20881 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
20883         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
20885 2014-08-04  Will Newton  <will.newton@linaro.org>
20887         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
20888         file.
20890 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
20892         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
20893         variants for each function.
20895 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20897         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
20898         appended ...
20899         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
20900         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
20901         appended ...
20902         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
20903         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
20904         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
20905         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
20906         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
20907         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
20908         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
20909         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
20910         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
20911         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
20912         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
20913         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
20914         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
20915         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
20916         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
20917         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
20918         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
20919         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
20920         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
20921         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
20922         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
20923         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
20924         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
20925         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
20926         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
20927         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
20928         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
20929         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
20930         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
20931         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
20932         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
20933         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
20934         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
20935         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
20936         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
20937         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
20938         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
20939         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
20940         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
20941         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
20942         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
20943         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
20944         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
20945         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
20946         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
20947         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
20948         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
20949         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
20950         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
20951         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
20952         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
20953         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
20954         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
20955         Update #include.
20956         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
20957         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
20959 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20961         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
20962         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
20963         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
20964         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
20965         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
20966         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
20968 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20970         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
20971         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
20972         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20973         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
20975 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20977         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
20978         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
20979         (__libc_vfork): Define function under this name.
20980         (__vfork): Define as an alias.
20981         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
20982         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
20984 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20986         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
20987         that was previously under [RESET_PID].
20988         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
20990 2014-08-04  Andreas Schwab  <schwab@suse.de>
20992         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
20994 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
20996         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
20997         (main): Likewise.
20999 2014-08-01  Roland McGrath  <roland@hack.frob.com>
21001         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
21003 2014-08-01  Richard Henderon  <rth@redhat.com>
21005         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
21006         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
21007         typo in exact zero test.
21008         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21009         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21010         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21012 2014-08-01  Roland McGrath  <roland@hack.frob.com>
21014         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
21015         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
21016         * sysdeps/arm/sysdep.h: ... here.
21017         [!__ASSEMBLER__]: Include <stdint.h>.
21019 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
21021         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
21022         (HAVE_WCTYPE_H): Likewise.
21023         (HAVE_ISWCTYPE): Likewise.
21024         (ENABLE_NLS): Likewise.
21025         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
21026         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
21028         * posix/regex_internal.c: Check if DEBUG is defined and is
21029         set.
21031         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
21032         (HAVE_MBSRTOWCS): Likewise.
21033         * posix/fnmatch.c: Include string.h unconditionally.
21035 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
21037         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
21038         reversal.
21040 2014-07-31  Roland McGrath  <roland@hack.frob.com>
21042         * sysdeps/generic/safe-fatal.h: New file.
21043         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
21044         * nptl/forward.c: Include it.
21045         (__pthread_unwind): Use __safe_fatal as default action, rather
21046         than a bogus use of INTERNAL_SYSCALL that could never work.
21048         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
21049         * configure.ac (libc_cv_builtin_trap): New test.
21050         * configure: Regenerated.
21051         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
21052         (ABORT_INSTRUCTION): Define using __builtin_trap.
21054         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
21055         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
21056         * sysdeps/nptl/nptl-signals.h: New file.
21057         * nptl/pthreadP.h: Include <nptl-signals.h>.
21059 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
21061         * sysdeps/s390/s390-64/utf16-utf32-z9.c
21062         (ONE_DIRECTION): Define.
21063         * sysdeps/s390/s390-64/utf8-utf16-z9.c
21064         (ONE_DIRECTION): Define.
21065         * sysdeps/s390/s390-64/utf8-utf32-z9.c
21066         (ONE_DIRECTION): Define.
21068 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
21070         * sysdeps/s390/Makefile: Delete file.
21071         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
21072         * sysdeps/s390/__longjmp.c: Delete file.
21073         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
21074         Remove fields __flags and __reserved.
21075         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
21076         and add versioning.
21077         * sysdeps/s390/rtld-__longjmp.c: Delete file.
21078         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
21079         * sysdeps/s390/rtld-setjmp.S: Likewise.
21080         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
21081         * sysdeps/s390/s390-32/__longjmp.c: ... here.
21082         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
21083         * sysdeps/s390/s390-32/setjmp.S: ... here.
21084         Add versioning.
21085         (__sigsetjmp): Remove setting __flags field.
21086         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
21087         * sysdeps/s390/s390-64/__longjmp.c: ... here.
21088         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
21089         * sysdeps/s390/s390-64/setjmp.S: ... here.
21090         Add versioning.
21091         (__sigsetjmp): Remove setting __flags field.
21092         * sysdeps/s390/setjmp.S: Delete file.
21093         * sysdeps/s390/sigjmp.c: Likewise.
21094         * sysdeps/s390/v1-longjmp.c: Likewise.
21095         * sysdeps/s390/v1-setjmp.h: Likewise.
21096         * sysdeps/s390/v1-sigjmp.c: Likewise.
21097         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
21098         Remove v1-longjmp_chk.
21099         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
21100         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
21101         Include debug/longjmp_chk.c and add versioning.
21102         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
21103         Include nptl/pt-longjmp.c and add versioning.
21104         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
21105         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
21106         Include __longjmp.c.
21107         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
21108         Move to ...
21109         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
21110         (__getcontext): Remove setting __flags field.
21111         Add versioning.
21112         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21113         Don't restore upper high grps.
21114         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
21115         Likewise.
21116         (__swapcontext): Remove setting uc_flags field.
21117         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
21118         Delete file.
21119         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
21120         Include __longjmp.c.
21121         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
21122         Move to ...
21123         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
21124         (__getcontext): Remove setting __flags field.
21125         Add versioning.
21126         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
21127         (__swapcontext): Remove setting uc_flags field.
21128         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
21129         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
21130         Remove fields uc_high_gprs and __reserved.
21131         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
21132         New file with reverted content.
21133         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
21134         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
21135         Regenerated.
21136         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
21137         Regenerated.
21139 2014-07-31  Andreas Schwab  <schwab@suse.de>
21141         * config.h.in (HAVE_IFUNC): Define to 0.
21142         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
21143         definedness.
21145 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
21147         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21148         memmove-avx-unaligned, memcpy-avx-unaligned and
21149         mempcpy-avx-unaligned.
21150         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21151         Add tests for AVX memcpy functions.
21152         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
21153         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
21154         memcpy_chk.
21155         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
21156         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
21157         memmove_chk.
21158         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
21159         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
21160         mempcpy_chk.
21161         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
21162         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
21163         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
21165 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21167         [BZ #17213]
21168         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
21169         powerpc64le.
21171 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
21173         [BZ #16839]
21174         * manual/llio.texi: Add section about open file description locks.
21175         * manual/examples/ofdlocks.c: Example of open file description
21176         lock usage.
21177         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
21178         F_OFD_SETLK, and F_OFD_SETLKW.
21180 2014-07-23  Allan McRae  <allan@archlinux.org>
21182         * po/es.po: Update Spanish translation from translation project.
21184 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
21186         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
21188 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
21190         [BZ #17078]
21191         * sysdeps/arm/dl-machine.h (elf_machine_rela)
21192         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
21193         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
21195 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
21197         [BZ #17088]
21198         * math/fesetenv.c (__fesetenv)
21199         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
21200         * math/feupdateenv.c (__feupdateenv)
21201         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
21203         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
21204         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
21205         (__ASSUME_SOCKETCALL): Do not define.
21207         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
21208         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
21209         (__ASSUME_SOCKETCALL): Do not define.
21210         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
21211         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
21212         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21213         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
21214         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21215         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
21216         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21217         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21219         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
21220         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
21221         (__ASSUME_SOCKETCALL): Do not define.
21222         (__ASSUME_IPC64): Define unconditionally.
21223         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
21224         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21225         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
21226         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21227         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
21228         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21229         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
21230         Likewise.
21232         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
21233         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
21234         (__ASSUME_SOCKETCALL): Do not define.
21235         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
21236         (__ASSUME_FUTEX_LOCK_PI): Likewise.
21237         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21238         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
21239         (__ASSUME_REQUEUE_PI): Define unconditionally.
21240         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
21241         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
21242         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21243         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
21244         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21245         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21247         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
21248         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
21249         (__ASSUME_SOCKETCALL): Do not define.
21250         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
21251         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21252         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21253         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
21254         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21255         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21257         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
21258         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
21259         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21260         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
21261         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21262         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
21263         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21264         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
21265         (__ASSUME_GETCPU_SYSCALL): Likewise.
21267         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
21268         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
21269         cases for individual architectures.
21270         * sysdeps/gnu/configure: Regenerated.
21271         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
21272         LIBC_SLIBDIR_RTLDDIR.
21273         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
21274         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
21275         LIBC_SLIBDIR_RTLDDIR.
21276         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
21277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
21278         LIBC_SLIBDIR_RTLDDIR.
21279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
21280         Regenerated.
21281         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
21282         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
21283         file.
21284         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
21285         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
21286         file.
21287         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
21288         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
21289         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
21290         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
21292         * sysdeps/aarch64/shlib-versions: Move to ...
21293         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
21294         * sysdeps/alpha/shlib-versions: Move to ...
21295         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
21296         * sysdeps/arm/shlib-versions: Move to ...
21297         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
21298         * sysdeps/hppa/shlib-versions: Move all contents except for
21299         libgcc_s entry to ...
21300         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
21301         entry from ...
21302         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
21303         * sysdeps/ia64/shlib-versions: Move to ...
21304         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
21305         entry from ...
21306         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
21307         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
21308         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
21309         * sysdeps/microblaze/shlib-versions: Move to ...
21310         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
21311         * sysdeps/mips/shlib-versions: Move to ...
21312         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
21313         entry from ...
21314         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
21315         * sysdeps/tile/shlib-versions: Move to ...
21316         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
21317         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
21318         from ...
21319         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
21320         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
21321         entry from ...
21322         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
21324 2014-07-17  Will Newton  <will.newton@linaro.org>
21326         * sysdeps/arm/bits/atomic.h
21327         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
21328         (__arch_compare_and_exchange_bool_16_int): Likewise.
21329         (__arch_compare_and_exchange_bool_64_int): Likewise.
21331         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
21332         into an #else block.
21334 2014-07-16  Roland McGrath  <roland@hack.frob.com>
21336         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
21337         just Linux configurations.  Test empirically that the compiler sets
21338         __ARM_EABI__, rather than using the tuple to decide.
21339         * sysdeps/arm/preconfigure: Regenerated.
21340         * sysdeps/unix/sysv/linux/arm/configure: File removed.
21341         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
21342         contents appended ...
21343         * sysdeps/arm/configure.ac: ... here.
21344         * sysdeps/arm/configure: Regenerated.
21346 2014-07-15  Roland McGrath  <roland@hack.frob.com>
21348         * nptl/pthread_kill.c: New file.
21349         * nptl/pthread_sigmask.c: New file.
21350         * nptl/pthread_sigqueue.c: New file.
21352         * sysdeps/nptl/lowlevellock.h: New file.
21353         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
21354         * sysdeps/nptl/lowlevellock-futex.h: New file.
21356         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
21357         Remove dead declarations.
21359 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
21361         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
21362         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
21363         config-cflags-avx2.
21364         * sysdeps/x86_64/configure.ac: Likewise.
21365         * sysdeps/i386/configure: Regenerated.
21366         * sysdeps/x86_64/configure: Likewise.
21367         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21368         memset-avx2 only if config-cflags-avx2 is yes.
21369         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21370         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
21371         defined.
21372         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
21373         only if HAVE_AVX2_SUPPORT is defined.
21374         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21376 2014-07-14  Alan Modra  <amodra@gmail.com>
21378         [BZ #17153]
21379         * elf/elf.h (DT_PPC64_NUM): Correct value.
21380         * NEWS: Add to fixed bug list.
21382 2014-07-13  Jim Meyering  <meyering@fb.com>
21384         [BZ 17150]
21385         regex: don't deref NULL upon heap allocation failure
21386         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
21387         failure in one more place.
21388         To trigger the segfault, configure grep -with-included-regex,
21389         build it, and run these commands:
21390         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
21392 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
21394         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
21396 2014-07-11  Richard Henderson  <rth@redhat.com>
21398         * sysdeps/aarch64/libm-test-ulps: Update.
21400 2014-07-10  Florian Weimer  <fweimer@redhat.com>
21402         [BZ #17135]
21403         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
21404         * nptl/allocatestack.c (__nptl_setxid_error): New function.
21405         (__nptl_setxid): Initialize error member.  Call
21406         __nptl_setxid_error.
21407         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
21408         * nptl/descr.h (struct xid_command): Add error member.
21409         * nptl/tst-setuid3.c: New file.
21410         * nptl/Makefile (tests): Add it.
21412 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21414         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
21415         New define.
21416         (__lll_trylock): Use __lll_base_trylock.
21417         (__lll_cond_trylock): Likewise.
21419 2014-07-10  Roland McGrath  <roland@hack.frob.com>
21421         * nptl/pthread_create.c (start_thread): Use atomic_or and
21422         lll_futex_wake directly rather than lll_robust_dead.
21423         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
21424         (lll_robust_dead): Macro removed.
21425         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
21426         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
21427         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
21428         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
21429         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
21430         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
21431         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
21432         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
21433         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
21434         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
21435         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21436         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
21437         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
21438         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
21439         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
21441         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
21442         Use atomic_compare_and_exchange_val_acq directly rather than
21443         lll_robust_trylock.
21444         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
21445         (__lll_robust_trylock, lll_robust_trylock): Removed.
21446         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
21447         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
21448         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
21449         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
21450         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
21451         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
21452         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
21453         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
21454         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
21455         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21456         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
21457         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
21458         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
21459         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
21461 2014-07-02  Florian Weimer  <fweimer@redhat.com>
21463         * manual/locale.texi (Locale Names): New section documenting
21464         locale name syntax.  Adjust menu and node chaining accordingly.
21465         (Choosing Locale): Reference Locale Names, Locale Categories.
21466         Mention setting LC_ALL=C.  Reflect that name syntax is now
21467         documented.
21468         (Locale Categories): New section title.  Reference Locale Names.
21469         LC_ALL is an environment variable, but not a category.
21470         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
21471         description, now in Locale Name.  Reference that section.  Locale
21472         name syntax is now documented.
21474 2014-07-02  Florian Weimer  <fweimer@redhat.com>
21476         [BZ #17137]
21477         * locale/findlocale.c (name_present, valid_locale_name): New
21478         functions.
21479         (_nl_find_locale): Use the loc_name variable to store name
21480         candidates.  Call name_present and valid_locale_name to check and
21481         validate locale names.  Return an error if the locale is invalid.
21483 2014-07-02  Florian Weimer  <fweimer@redhat.com>
21485         * locale/setlocale.c (setlocale): Use strdup for allocating
21486         composite name copy.
21488 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21490         Sync up with gnulib.
21491         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
21492         [!_LIBC && ENABLE_NLS]: Include gettext.h.
21493         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
21494         and _GL_ARG_NONNULL.
21495         [USE_UNLOCKED_IO]: Include unlocked-io.h.
21496         [!_LIBC]: Include code for Windows and Cygwin.
21497         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
21498         Include prototype for int strerror_r.
21499         [!_LIBC] (is_open): New function.
21500         (flush_stdout): New function.
21501         (print_errno_message): Use it.
21502         (error): Likewise.
21503         (error_at_line): Likewise.
21504         (error_tail) Add function attribute macros.  Use
21505         __builtin_expect.
21507         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
21509         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
21511         * io/ftw.c: Include sys/param.h unconditionally.
21513         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
21515         [BZ #17125]
21516         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
21517         libc_freeres_ptr.
21518         (freecache): New function to free CACHE on exit.
21520         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
21521         initialization.
21523 2014-07-09  David S. Miller  <davem@davemloft.net>
21525         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21527         * sysdeps/sparc/nptl/internaltypes.h: Delete.
21528         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
21529         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
21530         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
21531         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
21532         * sysdeps/sparc/nptl/sem_init.c: Likewise.
21533         * sysdeps/sparc/nptl/sem_post.c: Likewise.
21534         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
21535         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
21536         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
21537         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
21538         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
21539         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
21541 2014-07-09  Andreas Schwab  <schwab@suse.de>
21543         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
21544         output.
21545         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
21546         (do_test): Likewise.
21548         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21550 2014-07-09  Will Newton  <will.newton@linaro.org>
21552         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
21553         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
21554         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
21555         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
21556         * sysdeps/hppa/start.S (_start): Likewise.
21558 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
21560         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
21562         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
21563         defined.
21565 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21567         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
21568         after checking that it is non-NULL.
21570         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
21572 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21574         * sysdeps/powerpc/memmove.c: Remove file.
21575         * sysdeps/powerpc/powerpc32/power4/memcopy.h
21576         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
21577         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
21578         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
21579         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
21580         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
21581         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
21582         string memmove instead of removed powerpc one.
21584         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
21585         [weak_alias]: Fix compiler warning due trailing data.
21586         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
21587         [weak_alias]: Likewise.
21588         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
21589         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
21591         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21592         (__libc_ifunc_impl_list): Add memmove functions.
21594 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21596         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
21597         Remove code.
21598         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
21599         Likewise
21600         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
21601         Likewise
21602         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
21603         Likewise
21604         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
21605         Likewise
21606         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
21607         Likewise
21608         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
21609         Likewise
21610         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
21611         Likewise
21612         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
21613         Likewise
21614         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
21615         Likewise
21616         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
21617         Likewise
21618         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
21619         Likewise
21620         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
21621         Likewise
21622         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
21623         Likewise
21624         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
21625         Likewise
21626         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
21627         Likewise
21628         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
21629         Likewise
21631 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21633         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
21634         to avoid alignment traps in non-cacheable memory.
21635         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
21637         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
21638         multiarch objects.
21639         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
21640         file: multiarch power7 memmove.
21641         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
21642         multiarch default memmove.
21643         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
21644         multiarch memove for powerpc32/power4.
21646         * string/bcopy.c: Use full path to include memmove.c.
21647         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
21648         multiarch objects.
21649         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
21650         bcopy for powerpc64.
21651         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
21652         bcopy for powerpc64.
21653         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
21654         and memmove implementations.
21655         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
21656         optimized multiarch memmove for POWER7/powerpc64.
21657         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
21658         default multiarch memmove for powerpc64.
21659         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
21660         multiarch for powerpc64.
21661         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
21662         for POWER7/powerpc64.
21663         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
21664         memmove for POWER7/powerpc64.
21666         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
21667         glibc default one.
21669         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
21670         __ELF_NATIVE_CLASS equal to 64.
21672 2014-07-07  Roland McGrath  <roland@hack.frob.com>
21674         * sysdeps/nptl/lowlevellock.h: File removed.
21676         * NEWS: NPTL is no longer an add-on!
21677         * nptl/internaltypes.h: Moved ...
21678         * sysdeps/nptl/internaltypes.h: ... here.
21679         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
21680         * sysdeps/nptl/fork.c: Likewise.
21681         * sysdeps/nptl/gai_misc.h: Likewise.
21682         * sysdeps/nptl/librt-cancellation.c: Likewise.
21683         * sysdeps/nptl/jmp-unwind.c: Likewise.
21684         * sysdeps/nptl/setxid.h: Likewise.
21685         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
21686         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
21687         * sysdeps/unix/sysv/linux/arm/Implies: New file.
21688         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
21689         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
21690         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
21691         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
21692         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
21693         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
21694         * sysdeps/unix/sysv/linux/mips/Implies: New file.
21695         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
21696         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
21697         * sysdeps/unix/sysv/linux/sh/Implies: New file.
21698         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
21699         * sysdeps/unix/sysv/linux/tile/Implies: New file.
21700         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
21701         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
21702         * nptl/Makeconfig: Moved ...
21703         * sysdeps/nptl/Makeconfig: ... here.
21704         * nptl/configure: File removed.
21705         * nptl/ANNOUNCE: File removed.
21706         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
21707         * sysdeps/unix/sysv/linux/configure: Regenerated.
21709         * nptl/Makefile (routines): Add libc_pthread_init,
21710         libc_multiple_threads, register-atfork and unregister-atfork.
21711         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
21712         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
21713         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
21714         pthread-pi-defines.sym, structsem.sym.
21715         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
21716         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
21717         [$(subdir) = nptl] (tests): Add tst-setgetname.
21718         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
21719         * sysdeps/unix/sysv/linux/sigaction.c: Just include
21720         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
21721         [!LIBC_SIGACTION]: Remove aliases.
21722         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
21723         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
21724         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
21725         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
21726         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
21727         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
21728         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
21729         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
21730         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
21731         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
21732         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
21733         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
21734         __libc_allocate_rtsig_private.
21735         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
21736         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
21737         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
21738         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
21739         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
21740         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
21741         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
21742         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
21743         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
21744         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
21745         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
21746         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
21747         * nptl/internaltypes.h: ... here.
21748         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
21749         * sysdeps/nptl/jmp-unwind.c: ... here.
21750         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
21751         * nptl/libc-lowlevellock.c: ... here.
21752         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
21753         * nptl/libc_multiple_threads.c: ... here.
21754         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
21755         * nptl/libc_pthread_init.c: ... here.
21756         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
21757         * nptl/lowlevelbarrier.sym: ... here.
21758         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
21759         * nptl/lowlevelcond.sym: ... here.
21760         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
21761         * nptl/lowlevellock.c: ... here.
21762         * nptl/lowlevellock.h: Moved ...
21763         * sysdeps/nptl/lowlevellock.h: ... here.
21764         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
21765         * nptl/lowlevelrobustlock.c: ... here.
21766         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
21767         * nptl/lowlevelrobustlock.sym: ... here.
21768         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
21769         * nptl/lowlevelrwlock.sym: ... here.
21770         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
21771         * nptl/pt-fork.c: ... here.
21772         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
21773         * nptl/pthread-pi-defines.sym: ... here.
21774         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
21775         * nptl/pthread_attr_getaffinity.c: ... here.
21776         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
21777         * nptl/pthread_attr_setaffinity.c: ... here.
21778         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
21779         * nptl/pthread_mutex_cond_lock.c: ... here.
21780         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
21781         Update #include.
21782         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
21783         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
21784         * nptl/pthread_once.c: ... here, replacing old file.
21785         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
21786         * nptl/pthread_yield.c: ... here.
21787         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
21788         * nptl/register-atfork.c: ... here.
21789         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
21790         * nptl/sem_post.c: ... here.
21791         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
21792         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
21793         * nptl/sem_timedwait.c: ... here.
21794         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
21795         * nptl/sem_trywait.c: ... here.
21796         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
21797         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
21798         * nptl/sem_wait.c: ... here.
21799         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
21800         * nptl/structsem.sym: ... here.
21801         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
21802         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
21803         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
21804         * nptl/unregister-atfork.c: ... here.
21805         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
21806         * nptl/unwindbuf.sym: ... here.
21807         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
21808         * sysdeps/nptl/fork.c: ... here.
21809         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
21810         * sysdeps/nptl/fork.h: ... here.
21811         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
21812         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
21813         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
21814         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
21815         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
21816         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
21817         * sysdeps/unix/sysv/linux/getpid.c: ... here.
21818         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
21819         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
21820         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
21821         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
21822         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
21823         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
21824         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
21825         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
21826         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
21827         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
21828         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
21829         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
21830         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
21831         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
21832         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
21833         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
21834         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
21835         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
21836         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
21837         * sysdeps/unix/sysv/linux/raise.c: ... here.
21838         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
21839         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
21840         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
21841         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
21842         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
21843         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
21844         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
21845         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
21846         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
21847         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
21848         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
21849         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
21850         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
21851         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
21852         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
21854 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21856         * sysdeps/generic/memcopy.h: Add comment for
21857         MEMCPY_OK_FOR_FWD_MEMMOVE.
21859 2014-07-04  Will Newton  <will.newton@linaro.org>
21861         * string/memchr.c: Merge from gnulib.
21862         [_LIBC]: Remove conditionals.
21863         (__ptr_t): Remove define.
21864         (LONG_MAX_32_BITS): Likewise.
21865         (LONG_MAX): Likewise.
21866         (MEMCHR): Use ANSI prototype and optimize algorithm.
21868         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
21870 2014-07-03  Roland McGrath  <roland@hack.frob.com>
21872         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
21873         (lll_futex_timed_wait_bitset): Fix syscall argument count.
21875         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
21876         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
21877         in a bare environment with no <stdlib.h> installed.
21878         * sysdeps/nptl/configure: Regenerated.
21880         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
21882         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
21883         AC_EGREP_CPP for kernel header checks, so they only succeed if
21884         including <linux/version.h> actually works right.
21885         * sysdeps/unix/sysv/linux/configure: Regenerated.
21887         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
21888         value so it's not diagnosed as unused.
21890         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
21891         thing) with "ifeq ($(subdir),rt)".
21893 2014-07-03  Richard Henderson  <rth@redhat.com>
21895         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
21896         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
21897         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
21899         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
21900         (math_force_eval): New.
21902         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
21903         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
21905         * sysdeps/alpha/fpu/s_round.c: Remove file.
21906         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
21908         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
21909         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
21910         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
21911         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
21912         (_dl_start, print_statistics): Likewise.
21913         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
21914         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
21916         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21917         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21918         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21919         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21920         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
21921         (HP_SMALL_TIMING_AVAIL): Define.
21922         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21923         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
21924         (HP_SMALL_TIMING_AVAIL): Define.
21925         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21926         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21928         * sysdeps/aarch64/hp-timing.h: New file.
21930         * sysdeps/generic/hp-timing.h: Remove dead comment.
21931         * sysdeps/generic/hp-timing-common.h: New file.
21932         * sysdeps/alpha/hp-timing.h: Include it.
21933         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
21934         * sysdeps/i386/i686/hp-timing.h: Likewise.
21935         * sysdeps/ia64/hp-timing.h: Likewise.
21936         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21937         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21938         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21939         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21940         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
21941         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
21942         (hp_timing_t): New.
21944         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
21945         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
21946         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
21947         * elf/rtld.c (_dl_start_final): Likewise.
21948         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
21949         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21950         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21951         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21952         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21953         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
21954         (HP_TIMING_DIFF_INIT): Remove.
21955         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21956         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
21957         (HP_TIMING_DIFF_INIT): Remove.
21958         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21959         * sysdeps/i386/i686/hp-timing.c: Remove file.
21960         * sysdeps/x86_64/hp-timing.c: Remove file.
21961         * sysdeps/ia64/hp-timing.c: Remove file.
21962         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
21963         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
21964         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
21965         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
21967         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
21968         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
21969         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
21970         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
21971         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
21972         (HP_TIMING_ACCUM): Remove.
21973         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
21974         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
21975         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
21977         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
21978         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
21979         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
21980         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
21981         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
21982         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
21983         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
21984         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
21986         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
21988 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
21990         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
21992 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21994         Sync up with gettext.
21995         * intl/loadmsgcat.c: Define O_BINARY if not defined.
21996         [_MSC_VER]: Include malloc.h
21997         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
21998         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
21999         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
22000         TEMP_FAILURE_RETRY.  Cast return of alloca.
22001         [!_LIBC] Call gl_rwlock_init.
22002         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
22004 2014-07-02  Roland McGrath  <roland@hack.frob.com>
22006         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
22007         before checking its value.
22009 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22011         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
22013         * debug/memcpy_chk.c: Don't include pagecopy.h.
22014         * debug/mempcpy_chk.c: Likewise.
22015         * string/memcpy.c: Likewise.
22016         * string/memmove.c: Likewise.
22017         * sysdeps/powerpc/memmove.c: Likewise.
22018         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
22019         definition of PAGE_COPY_FWD_MAYBE here...
22020         * sysdeps/generic/pagecopy.h: ... from here.
22021         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
22023 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22024             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22026         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
22027         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
22028         optimizations.
22029         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22030         (__libc_ifunc_impl_list): Likewise.
22031         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
22032         multiarch strcat for PPC64.
22033         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
22034         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
22036 2014-07-02  Roland McGrath  <roland@hack.frob.com>
22038         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
22040 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22042         * intl/loadmsgcat.c: Remove declaration of
22043         get_sysdep_segment_value.
22044         (get_sysdep_segment_value): Use ISO C style.
22045         (_nl_load_domain): Use ISO C style.  Get rid of redundant
22046         semicolon.  Fix typo and formatting in comment.
22047         (_nl_unload_domain): Use ISO C style.
22049         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
22051 2014-07-02  Will Newton  <will.newton@linaro.org>
22053         * malloc/obstack.c: Merge from gnulib master.
22054         [HAVE_CONFIG_H]: Remove conditional code.
22055         [!_LIBC]: Include config.h.
22056         [!ELIDE_CODE]: Don't include inttypes.h, include
22057         stdint.h unconditionally.
22058         (print_and_abort): Mark as _Noreturn.
22059         (_obstack_allocated_p): Mark as __attribute_pure__.
22060         (obstack_free): Rename to __obstack_free.
22061         [!__attribute__]: Remove conditional code.
22062         * malloc/obstack.h: Merge from gnulib master.
22063         [__cplusplus]: Move conditional down.
22064         [!__attribute_pure__]: Define __attribute_pure__ here
22065         if it is not already defined.
22066         (_obstack_memory_used): Mark as __attribute_pure__.
22067         [!__obstack_free]: Define as obstack_free.
22068         [__GNUC__]: Remove check for ancient NeXT gcc.
22070 2014-07-02  Will Newton  <will.newton@linaro.org>
22071             Paul Eggert  <eggert@cs.ucla.edu>
22073         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
22075 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22077         * resolv/gethnamaddr.c: Add comment warning that the file is
22078         not maintained.
22080 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
22082         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
22083         entries.
22085         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
22086         entry for aio_cancel and aio_cancel64.
22087         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
22088         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
22089         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
22090         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
22091         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
22092         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
22093         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
22094         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
22095         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
22096         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
22097         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
22098         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
22099         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
22101 2014-07-01  Roland McGrath  <roland@hack.frob.com>
22103         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
22104         * nptl/pthread_mutex_lock.c: Likewise.
22105         * nptl/pthread_mutex_timedlock.c: Likewise.
22106         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
22108 2014-07-01  Richard henderson  <rth@redhat.com>
22110         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
22111         (__isnan, __isnanl): Remove.
22112         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
22114         * sysdeps/alpha/fpu/libm-test-ulps: Update.
22116 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
22118         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22120 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
22122         * resolv/nss_dns/dns-host.c (getanswer_r)
22123         [MULTI_PTRS_ARE_ALIASES]: Remove code.
22125 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
22127         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22128         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
22129         undefine.
22130         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
22131         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
22133 2014-07-01  Roland McGrath <roland@hack.frob.com>
22135         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
22136         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
22138         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
22139         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
22141         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
22142         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
22143         ... here.
22144         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
22145         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
22147         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
22148         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
22149         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
22150         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
22152         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
22153         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
22154         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
22155         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
22156         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
22157         Moved ...
22158         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
22159         ... here.
22160         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
22161         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
22162         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
22163         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
22164         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
22165         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
22166         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
22167         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
22168         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
22169         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
22170         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
22171         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
22172         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
22173         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
22174         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
22175         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
22176         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
22177         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
22178         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
22179         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
22180         ... here.
22181         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
22182         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
22183         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
22184         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
22185         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
22186         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
22187         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
22188         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
22190 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
22192         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
22193         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
22194         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
22195         Add sysdep.
22197 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22199         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22201 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
22203         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
22204         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22206         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22208         * sysdeps/arm/libm-test-ulps: Regenerated.
22210 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
22211             Roland McGrath <roland@hack.frob.com>
22213         * test-skeleton.c (signal_handler): Kill the whole process group
22214         before killing the child individually.
22215         (main): Report any failure on `setpgid'.
22217 2014-06-30  Roland McGrath  <roland@hack.frob.com>
22219         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
22220         from _TLS_H to _ARM_NPTL_TLS_H.
22221         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
22222         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
22224 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
22226         [BZ #16539]
22227         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
22228         (__expm1l): Return argument unchanged when small but not
22229         subnormal.
22231         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
22232         include macro name.
22233         (_FP_UNPACK_RAW_1_P): Likewise.
22234         (_FP_PACK_RAW_1): Likewise.
22235         (_FP_PACK_RAW_1_P): Likewise.
22236         (_FP_MUL_MEAT_1_wide): Likewise.
22237         (_FP_MUL_MEAT_DW_1_hard): Likewise.
22238         (_FP_MUL_MEAT_1_hard): Likewise.
22239         (_FP_DIV_MEAT_1_imm): Likewise.
22240         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
22241         (_FP_DIV_MEAT_1_udiv): Likewise.
22242         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
22243         (_FP_UNPACK_RAW_2): Likewise.
22244         (_FP_UNPACK_RAW_2_P): Likewise.
22245         (_FP_PACK_RAW_2): Likewise.
22246         (_FP_PACK_RAW_2_P): Likewise.
22247         (_FP_MUL_MEAT_DW_2_wide): Likewise.
22248         (_FP_MUL_MEAT_2_wide): Likewise.
22249         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
22250         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
22251         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
22252         (_FP_MUL_MEAT_2_gmp): Likewise.
22253         (_FP_DIV_MEAT_2_udiv): Likewise.
22254         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
22255         (_FP_FRAC_SRL_4): Likewise.
22256         (_FP_FRAC_SRST_4): Likewise.
22257         (_FP_FRAC_SRS_4): Likewise.
22258         (_FP_UNPACK_RAW_4): Likewise.
22259         (_FP_UNPACK_RAW_4_P): Likewise.
22260         (_FP_PACK_RAW_4): Likewise.
22261         (_FP_PACK_RAW_4_P): Likewise.
22262         (_FP_MUL_MEAT_DW_4_wide): Likewise.
22263         (_FP_MUL_MEAT_4_wide): Likewise.
22264         (_FP_MUL_MEAT_4_gmp): Likewise.
22265         (umul_ppppmnnn): Likewise.
22266         (_FP_DIV_MEAT_4_udiv): Likewise.
22267         (__FP_FRAC_ADD_4): Likewise.
22268         (__FP_FRAC_SUB_3): Likewise.
22269         (__FP_FRAC_SUB_4): Likewise.
22270         (__FP_FRAC_DEC_3): Likewise.
22271         (__FP_FRAC_DEC_4): Likewise.
22272         (__FP_FRAC_ADDI_4): Likewise.
22273         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
22274         (_FP_FRAC_SRL_8): Likewise.
22275         (_FP_FRAC_SRS_8): Likewise.
22277         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
22278         include macro name.
22279         (FP_UNPACK_RAW_EP): Likewise.
22280         (FP_PACK_RAW_E): Likewise.
22281         (FP_PACK_RAW_EP): Likewise.
22282         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
22283         (_FP_ISSIGNAN): Likewise.
22284         (_FP_ADD_INTERNAL): Likewise.
22285         (_FP_FMA): Likewise.
22286         (_FP_CMP): Likewise.
22287         (_FP_SQRT): Likewise.
22288         (_FP_TO_INT): Likewise.
22289         (_FP_FROM_INT): Likewise.
22290         (FP_EXTEND): Likewise.
22291         (_FP_DIV_MEAT_N_loop): Likewise.
22293 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
22295         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
22296         throughout.
22298 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
22300         [BZ #17097]
22301         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
22302         result with correct sign in case of exponents that produce
22303         overflow except for X very close to 1.
22305 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
22307         mktime: merge #if/#ifdef usage from glibc
22308         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
22309         as that works with both Glibc's and Gnulib's style.
22310         See thread starting at Siddhesh Poyarekar's bug report at:
22311         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
22313 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22315         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
22316         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
22317         * sysdeps/tile/tilegx/memmove.c: Remove file.
22319 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
22321         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
22322         abi-name definition.
22323         * scripts/soversions.awk: Do not handle or generate ABI lines.
22324         * shlib-versions: Remove ABI entries.
22325         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
22326         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
22328 2014-06-27  Roland McGrath  <roland@hack.frob.com>
22330         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
22331         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
22332         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
22333         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
22334         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
22335         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
22336         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
22337         Moved ...
22338         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
22339         ... here.
22340         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
22341         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
22342         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
22343         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
22344         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
22345         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
22346         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
22347         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
22348         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
22349         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
22350         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
22351         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
22352         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
22353         Moved ...
22354         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
22355         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
22356         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
22357         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
22358         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
22359         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
22360         Moved ...
22361         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
22362         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
22363         Moved ...
22364         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
22365         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
22366         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
22367         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
22368         Moved ...
22369         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
22370         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
22371         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
22372         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
22373         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
22374         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
22375         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
22376         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
22377         Moved ...
22378         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
22379         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
22380         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
22381         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
22382         Moved ...
22383         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
22384         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
22385         Moved ...
22386         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
22387         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
22388         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
22389         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
22390         Moved ...
22391         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
22392         ... here.
22393         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
22394         Identical file removed.
22395         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
22396         Moved ...
22397         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
22398         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
22399         Identical file removed.
22400         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
22401         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
22402         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
22403         Moved ...
22404         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
22405         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
22406         Identical file removed.
22407         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
22408         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
22409         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
22410         Identical file removed.
22411         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
22412         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
22413         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
22414         Identical file removed.
22415         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
22416         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
22417         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
22418         Identical file removed.
22419         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
22420         Moved ...
22421         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
22422         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
22423         Identical file removed.
22424         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
22425         Moved ...
22426         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
22427         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
22428         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
22429         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
22430         Identical file removed.
22431         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
22432         Moved ...
22433         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
22434         ... here.
22435         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
22436         Identical file removed.
22437         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
22438         Moved ...
22439         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
22440         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
22441         Identical file removed.
22442         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
22443         Moved ...
22444         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
22445         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
22446         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
22447         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
22448         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
22449         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
22450         Moved ...
22451         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
22452         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
22453         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
22455         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
22456         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
22457         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
22458         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
22459         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
22461 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
22463         [BZ #17092]
22464         * nscd/nscd.c (monitor_child): Return exit status of child
22465         instead of return value from wait syscall.
22467 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
22469         * configure.ac (libc_commonpagesize): Remove variable.
22470         (libc_relro_required): Likewise.
22471         (libc_cv_z_relro): Remove configure test.
22472         * configure: Regenerated.
22473         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
22474         variable.
22475         (libc_relro_required): Likewise.
22476         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
22477         (libc_relro_required): Likewise.
22478         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
22479         (libc_relro_required): Likewise.
22480         * sysdeps/arm/preconfigure: Regenerated.
22481         * sysdeps/ia64/preconfigure: Remove file.
22482         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
22483         variable.
22484         (libc_relro_required): Likewise.
22486         [BZ #16561]
22487         [BZ #16562]
22488         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
22489         (__ieee754_yn): Set FE_TONEAREST mode internally and then
22490         recompute overflowing results in original rounding mode.
22491         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
22492         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
22493         recompute overflowing results in original rounding mode.
22494         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
22495         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
22496         recompute overflowing results in original rounding mode.
22497         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
22498         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
22499         recompute overflowing results in original rounding mode.
22500         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
22501         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
22502         recompute overflowing results in original rounding mode.
22503         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
22504         (libc_feholdsetround_ctx): New macro.
22505         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
22506         * sysdeps/i386/fpu/libm-test-ulps: Update.
22507         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
22509 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
22511         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
22512         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
22513         corresponding .cpsetup call.
22515 2014-06-26  Roland McGrath  <roland@hack.frob.com>
22517         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
22518         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
22519         * sysdeps/arm/Makefile [$(subdir) = csu]
22520         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
22521         (static-only-routines): Add aeabi_read_tp here.
22522         (shared-only-routines): Add libc-aeabi_read_tp here.
22523         (CFLAGS-libc-start.c): Add -fexceptions here.
22524         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
22525         (sysdep_routines, static-only-routines, shared-only-routines):
22526         Don't add to these here.
22527         (CFLAGS-libc-start.c): Likewise.
22529         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
22530         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
22531         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
22532         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
22533         * sysdeps/arm/Makefile [$(subdir) = rt]
22534         (librt-sysdep_routines, librt-shared-only-routines):
22535         Append rt-aeabi_unwind_cpp_pr1 here.
22536         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
22537         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
22538         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
22539         (libpthread-sysdep_routines, libpthread-shared-only-routines):
22540         Append nptl-aeabi_unwind_cpp_pr1 here.
22541         (tests): Filter out tst-cleanupx4 here.
22542         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
22543         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
22544         Don't do those here.
22546 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
22548         * scripts/list-sources.sh: Do not handle ports specially.
22550 2014-06-26  Roland McGrath  <roland@hack.frob.com>
22552         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
22553         * sysdeps/arm/feupdateenv.c: Likewise.
22555         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
22557 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
22559         * manual/texinfo.tex: Update to version 2014-05-05.10 with
22560         trailing whitespace removed.
22561         * scripts/config.guess: Update to version 2014-03-23.
22562         * scripts/config.sub: Update to version 2014-05-01
22563         * scripts/install-sh: Update to version 2013-12-25.23.
22564         * scripts/move-if-change: Update from gnulib.
22566 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22568         * debug/memmove_chk.c: Remove pagecopy.h include.
22570 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
22572         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
22573         identical to gnulib mktime.
22575 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
22577         * configure.ac: Do not test for machine being rs6000.  Do not test
22578         for powerpc*-*soft.
22579         * configure: Regenerated.
22581         [BZ #11505]
22582         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
22583         test.
22584         * configure: Regenerated.
22585         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
22586         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
22587         Remove configure test.
22588         * sysdeps/arm/configure: Regenerated.
22589         * sysdeps/nptl/configure.ac: Do not check
22590         libc_cv_asm_cfi_directives.
22591         * sysdeps/nptl/configure: Regenerated.
22592         * sysdeps/x86_64/nptl/configure.ac: Remove file.
22593         * sysdeps/x86_64/nptl/configure: Remove generated file.
22594         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
22595         unconditional.
22596         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
22598 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22600         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
22601         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
22602         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
22603         it is defined.
22605         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
22606         instead of whether it is defined.
22607         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
22608         * sysdeps/hppa/dl-machine.h: Likewise.
22609         * sysdeps/ia64/dl-machine.h: Likewise.
22610         * sysdeps/m68k/dl-machine.h: Likewise.
22611         * sysdeps/microblaze/dl-machine.h: Likewise.
22612         * sysdeps/mips/dl-machine.: Likewise.
22613         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
22614         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22615         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
22616         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22617         * sysdeps/sh/dl-machine.h: Likewise.
22618         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22619         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22620         * sysdeps/tile/dl-machine.h: Likewise.
22621         * sysdeps/x86_64/dl-machine.h: Likewise.
22623         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
22624         code.
22625         (verify_persistent_db): Likewise.
22627 2014-06-26  Roland McGrath  <roland@hack.frob.com>
22629         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
22630         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
22631         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
22632         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
22633         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
22634         Moved ...
22635         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
22636         ... here.
22637         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
22638         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
22639         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
22640         Identical file removed.
22641         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
22642         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
22643         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
22644         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
22645         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
22646         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
22647         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
22648         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
22649         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
22650         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
22651         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22652         Moved ...
22653         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
22654         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
22655         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
22656         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
22657         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
22658         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
22659         Moved ...
22660         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
22661         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
22662         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
22663         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
22664         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
22665         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
22666         Identical file removed.
22667         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
22668         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
22669         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
22670         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
22671         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
22672         Moved ...
22673         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
22674         ... here.
22675         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
22676         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
22677         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
22678         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
22679         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
22680         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
22681         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
22682         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
22683         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
22684         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
22685         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22686         Moved ...
22687         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
22688         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
22689         Moved ...
22690         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
22691         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
22692         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
22693         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
22694         Moved ...
22695         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
22696         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
22697         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
22699         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
22700         folded into ...
22701         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
22702         * sysdeps/unix/sysv/linux/s390/Versions
22703         (libpthread: GLIBC_2.19): New version set.
22704         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
22705         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
22706         (librt: GLIBC_2.3.3): New version set.
22707         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
22708         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
22709         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
22710         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
22711         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
22712         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
22713         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
22714         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
22715         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
22716         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
22717         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
22718         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
22719         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
22720         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
22721         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
22722         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
22723         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
22724         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
22725         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
22726         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
22727         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
22728         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
22729         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
22730         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
22731         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
22732         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
22733         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
22734         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
22735         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
22736         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
22737         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
22738         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
22739         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
22740         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
22741         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
22742         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
22743         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
22744         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
22745         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
22746         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
22747         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
22748         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
22749         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
22750         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
22751         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
22753         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
22754         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
22755         (__libc_vfork): Define the function under this name.
22756         [!NOT_IN_libc] (__vfork): Make this an alias.
22757         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
22758         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
22759         * sysdeps/unix/sysv/linux/s390/s390-64/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         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
22764         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
22765         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
22766         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
22767         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22769         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
22770         code that was previously under [RESET_PID].
22771         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
22772         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
22773         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
22775         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
22776         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
22777         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
22778         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
22779         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
22780         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
22781         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
22782         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
22783         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
22784         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
22785         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
22786         Moved ...
22787         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
22788         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
22789         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
22790         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
22791         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
22792         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
22793         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
22794         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
22795         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
22796         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
22797         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
22798         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
22799         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
22800         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
22801         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
22802         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
22803         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
22804         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
22805         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
22806         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
22807         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
22808         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
22809         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
22810         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
22811         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
22812         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
22813         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
22814         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
22815         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
22817 2014-06-25  Roland McGrath  <roland@hack.frob.com>
22819         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
22820         that was previously under [RESET_PID].
22821         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
22823 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
22825         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
22826         not undefine and redefine.
22827         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
22828         [O_CLOEXEC]: Make code unconditional.
22829         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
22830         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
22831         <kernel-features.h>.
22832         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
22833         conditional variable definition.
22834         (shm_open) [O_CLOEXEC]: Make code unconditional.
22835         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
22836         code.
22838         * configure.ac (USE_REGPARMS): Don't define here.
22839         * configure: Regenerated.
22840         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
22841         * sysdeps/i386/configure: Regenerated.
22843         * nptl/createthread.c: Don't include kernel-features.h.
22844         * nptl/pthread_cancel.c: Likewise.
22845         * nptl/pthread_condattr_setclock.c: Likewise.
22846         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
22847         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
22848         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
22849         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
22850         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
22851         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
22852         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
22853         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
22854         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
22855         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
22856         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
22857         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
22858         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
22859         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
22860         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
22861         * nscd/gai.c: Likewise.
22862         * nss/nss_db/db-open.c: Likewise.
22863         * sysdeps/generic/ldsodefs.h: Likewise.
22864         * sysdeps/sh/nptl/tls.h: Likewise.
22865         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
22866         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
22867         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
22868         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
22869         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
22870         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
22871         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
22872         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22873         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22874         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
22875         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
22876         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22877         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
22878         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
22879         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
22880         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
22881         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
22882         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
22883         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
22884         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
22885         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
22886         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
22887         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
22888         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
22889         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
22890         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
22891         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
22892         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
22893         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
22894         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
22895         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
22896         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
22897         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
22898         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
22899         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22900         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
22901         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
22902         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
22903         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
22904         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
22905         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
22906         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
22907         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
22908         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22909         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
22910         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
22911         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
22912         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
22913         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
22914         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
22915         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
22916         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
22917         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
22918         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
22919         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
22920         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
22921         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
22922         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
22923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
22924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
22925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
22926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
22927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
22928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
22929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
22930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
22931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
22932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
22933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
22934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
22935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
22936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
22937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
22938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
22943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
22944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
22945         * sysdeps/unix/sysv/linux/pread.c: Likewise.
22946         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
22947         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
22948         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
22949         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
22950         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
22951         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
22952         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
22953         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
22954         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
22955         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
22956         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
22957         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
22958         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
22959         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
22960         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
22961         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
22962         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
22963         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
22964         * sysdeps/unix/sysv/linux/system.c: Likewise.
22965         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
22966         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
22967         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22968         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22969         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22970         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
22971         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
22973         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
22974         * configure: Regenerated.
22975         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
22977         * configure.ac (base_machine): Do not set specially for particular
22978         machines here.
22979         * configure: Regenerated.
22980         * sysdeps/powerpc/preconfigure: Move machine and base_machine
22981         settings from configure.ac.
22982         * sysdeps/i386/preconfigure: New file.
22983         * sysdeps/s390/preconfigure: Likewise.
22984         * sysdeps/sh/preconfigure: Likewise.
22985         * sysdeps/sparc/preconfigure: Likewise.
22987 2014-06-25  Roland McGrath  <roland@hack.frob.com>
22989         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
22990         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
22991         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
22992         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
22993         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
22994         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
22995         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
22996         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
22997         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
22998         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
22999         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
23000         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
23001         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
23002         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
23003         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
23004         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
23005         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
23006         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
23007         * sysdeps/sparc/sparc64/Makefile: ... appended here.
23009         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
23010         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
23011         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
23012         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
23013         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
23014         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
23015         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
23016         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
23017         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
23018         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
23019         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
23020         * sysdeps/sparc/sparc32/sem_post.c: ... here.
23021         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
23022         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
23023         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
23024         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
23025         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
23026         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
23027         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
23028         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
23029         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
23030         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
23031         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
23032         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
23033         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
23034         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
23035         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
23036         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
23037         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
23038         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
23039         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
23040         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
23041         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
23042         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
23043         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
23044         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
23045         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
23046         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
23048         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
23049         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
23050         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
23051         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
23052         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
23053         Moved ...
23054         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
23055         ... here.
23056         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
23057         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
23058         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
23059         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
23060         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
23061         Moved ...
23062         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
23063         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
23064         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
23065         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
23066         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
23067         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
23068         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
23069         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23070         Moved ...
23071         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
23072         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
23073         Moved ...
23074         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
23075         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
23076         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
23077         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
23078         Moved ...
23079         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
23080         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
23081         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
23082         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
23083         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
23084         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
23085         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
23086         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
23087         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
23088         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
23089         Moved ...
23090         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
23091         ... here.
23092         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
23093         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
23094         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
23095         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
23096         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
23097         Moved ...
23098         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
23099         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
23100         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
23101         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
23102         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
23103         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
23104         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
23105         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23106         Moved ...
23107         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
23108         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
23109         Moved ...
23110         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
23111         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
23112         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
23113         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
23114         Moved ...
23115         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
23116         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
23117         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
23118         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
23119         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
23121 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
23123         * timezone/checktab.awk: Update from tzcode 2014e.
23124         * timezone/private.h: Likewise.
23125         * timezone/tzfile.h: Likewise.
23126         * timezone/zdump.c: Likewise.
23127         * timezone/zic.c: Likewise.
23129         * sysdeps/unix/sysv/linux/kernel-features.h
23130         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
23131         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
23132         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
23133         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
23134         Remove conditional code.
23136 2014-06-25  Will Newton  <will.newton@linaro.org>
23138         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
23139         (_dl_arm_cap_flags): Add HWCAP2 values.
23140         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
23141         (_DL_HWCAP_COUNT): Increase to 37.
23142         (_DL_HWCAP_LAST): New define.
23143         (_DL_HWCAP2_LAST): New define.
23144         (_dl_procinfo): Add support for printing
23145         AT_HWCAP2 entries.
23146         (_dl_string_hwcap): Use _dl_hwcap_string.
23148 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23150         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23152 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
23154         * README: Do not mention ports directory.
23156         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
23157         Remove macro.
23158         * sysdeps/unix/sysv/linux/futimes.c: Do not include
23159         <kernel-features.h>.
23160         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
23161         conditional variable definition.
23162         (__futimes): Update comment.
23163         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
23164         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
23166         [BZ #16560]
23167         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
23168         arguments close to 0.
23169         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
23170         Likewise.
23171         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
23172         Likewise.
23173         * math/auto-libm-test-in: Add more tests of exp10.
23174         * math/auto-libm-test-out: Regenerated.
23175         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23177         * sysdeps/unix/sysv/linux/kernel-features.h
23178         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
23179         * sysdeps/unix/sysv/linux/readv.c: Do not include
23180         <kernel-features.h>.
23181         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
23182         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
23183         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
23184         unconditional.
23185         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
23186         conditional code.
23187         * sysdeps/unix/sysv/linux/writev.c: Do not include
23188         <kernel-features.h>.
23189         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
23190         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
23191         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
23192         unconditional.
23193         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
23194         conditional code.
23196 2014-06-25  Will Newton  <will.newton@linaro.org>
23198         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
23199         comment changes throughout the file.  Remove checks
23200         for HAVE_*_H definitions that are not required.
23201         (__gen_tempname): Call abort if an unknown kind value is
23202         passed.
23204 2014-06-25  Andreas Schwab  <schwab@suse.de>
23206         [BZ #17086]
23207         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
23208         scalbln, scalblnf, scalblnl in libc.
23210 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23212         [BZ #17086]
23213         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
23214         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
23215         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
23217 2014-06-24  Roland McGrath  <roland@hack.frob.com>
23219         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
23220         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
23221         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
23222         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
23223         Update #include.
23224         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
23225         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
23226         Update #include.
23227         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
23228         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
23229         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
23230         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
23231         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
23232         * sysdeps/x86/bits/pthreadtypes.h: ... here.
23233         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
23234         * sysdeps/x86/bits/semaphore.h: ... here.
23235         * sysdeps/x86/nptl/elide.h: Moved ...
23236         * sysdeps/x86/elide.h: ... here.
23237         * sysdeps/x86_64/nptl/Implies: File removed.
23238         * sysdeps/i386/nptl/Implies: File removed.
23240 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
23242         [BZ #16539]
23243         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
23244         return the argument for normal arguments with exponent below -64.
23245         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
23246         Likewise.
23247         * math/auto-libm-test-in: Add another test of expm1.
23248         * math/auto-libm-test-out: Regenerated.
23250         [BZ #16287]
23251         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
23252         calling __erfcl for arguments at least 16.
23253         * math/auto-libm-test-in: Add more tests of erf.
23254         * math/auto-libm-test-out: Regenerated.
23256         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
23257         individual architectures.
23258         * sysdeps/unix/sysv/linux/configure: Regenerated.
23259         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
23260         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
23261         * sysdeps/unix/sysv/linux/powerpc/configure.ac
23262         (ldd_rewrite_script): Define variable.
23263         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
23265         file.
23266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
23267         generated file.
23268         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
23269         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
23270         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
23271         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
23272         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
23273         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
23274         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
23275         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
23277 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23279         [BZ #17084]
23280         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
23281         Rename member __data.d to __data.__elision_data.
23283 2014-06-24  Wilco  <wdijkstr@arm.com>
23285         * NEWS: Add 16918 to fixed bug list.
23287 2014-06-24  Wilco  <wdijkstr@arm.com>
23289         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
23291 2014-06-24  Wilco  <wdijkstr@arm.com>
23293         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
23294         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
23295         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
23296         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
23297         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
23298         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
23299         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
23300         Use _FPU_MASK_RM.
23302 2014-06-24  Wilco  <wdijkstr@arm.com>
23304         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
23306 2014-06-24  Wilco  <wdijkstr@arm.com>
23308         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
23309         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
23310         * sysdeps/arm/fesetround.c (fesetround): Remove space.
23311         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
23313 2014-06-24  Wilco  <wdijkstr@arm.com>
23315         [BZ #16918]
23316         * sysdeps/arm/feupdateenv.c (feupdateenv):
23317         Rewrite to reduce FPSCR accesses and fix return value.
23319 2014-06-24  Wilco  <wdijkstr@arm.com>
23321         * sysdeps/arm/fclrexcpt.c (feclearexcept):
23322         Optimize to avoid unnecessary FPSCR writes.
23323         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
23324         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
23325         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
23326         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
23328 2014-06-24  Wilco  <wdijkstr@arm.com>
23330         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
23331         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
23332         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
23333         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
23334         Call libc_fetestexcept_vfp.
23335         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
23336         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
23337         __SOFTFP__ ifdef so that they can be built for softfp.
23339 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23341         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
23342         argument type signed char.
23344         * Makerules (check-abi): Dump diff of symlist if the test
23345         fails.
23347 2014-06-23  Roland McGrath  <roland@hack.frob.com>
23349         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
23350         using abort.
23352         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
23353         Remove unused variable ST.
23355 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
23357         [BZ #16354]
23358         [BZ #17061]
23359         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
23360         small arguments before calling __expm1.
23361         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
23362         small arguments before calling __expm1f.
23363         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
23364         small arguments before calling __expm1l.
23365         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
23366         Likewise.
23367         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
23368         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
23369         spurious underflow for some cosh tests.
23370         * math/auto-libm-test-out: Regenerated.
23371         * sysdeps/i386/fpu/libm-test-ulps: Update.
23373         [BZ #17050]
23374         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
23375         (__ieee754_y1): Set errno if return value overflows.
23376         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
23377         (__ieee754_y1f): Set errno if return value overflows.
23378         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
23379         (__ieee754_y1l): Set errno if return value overflows.
23380         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
23381         (__ieee754_y1l): Set errno if return value overflows.
23382         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
23383         * math/auto-libm-test-out: Regenerated.
23385         * math/gen-auto-libm-tests.c: Document use of
23386         ignore-zero-inf-sign.
23387         (input_flag_type): Add value flag_ignore_zero_inf_sign.
23388         (input_flags): Add ignore-zero-inf-sign.
23389         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
23390         * math/gen-libm-test.pl (generate_testfile): Handle
23391         ignore-zero-inf-sign.
23392         * math/auto-libm-test-in: Mark some cpow tests with
23393         ignore-zero-inf-sign and some with xfail-rounding.
23394         * math/auto-libm-test-out: Regenerated.
23395         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
23396         * sysdeps/i386/fpu/libm-test-ulps: Update.
23397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23399         [BZ #16315]
23400         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
23401         overflowing or underflowing operations take place with sign of
23402         result.
23403         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23404         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
23405         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
23406         (__ieee754_pow): Recompute overflowing and underflowing results in
23407         original rounding mode.
23408         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
23409         (__powl_helper): Allow negative argument X and scale negated value
23410         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
23411         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
23412         overflowing or underflowing operations take place with sign of
23413         result.
23414         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
23415         Include <math.h>.
23416         * math/auto-libm-test-in: Add more tests of pow.
23417         * math/auto-libm-test-out: Regenerated.
23418         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
23419         (pow_tonearest_test_data): Remove.
23420         (pow_test_tonearest): Likewise.
23421         (pow_towardzero_test_data): Likewise.
23422         (pow_test_towardzero): Likewise.
23423         (pow_downward_test_data): Likewise.
23424         (pow_test_downward): Likewise.
23425         (pow_upward_test_data): Likewise.
23426         (pow_test_upward): Likewise.
23427         (main): Don't call removed functions.
23428         * sysdeps/i386/fpu/libm-test-ulps: Update.
23429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23431 2014-06-23  Roland McGrath  <roland@hack.frob.com>
23433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
23434         Moved ...
23435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
23436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23437         Moved ...
23438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
23439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
23440         Moved ...
23441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
23442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
23443         Moved ...
23444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
23445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
23446         File removed.
23447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
23448         File removed.
23449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
23450         File removed.
23451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
23452         File removed.
23453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
23454         File removed.
23455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
23456         File removed.
23457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
23458         File removed.
23459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23460         File removed.
23461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
23462         File removed.
23463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
23464         File removed.
23465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
23466         File removed.
23467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
23468         File removed.
23469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
23470         Moved ...
23471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
23472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
23473         Moved ...
23474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
23475         ... here.
23476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
23477         Moved ...
23478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
23479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
23480         Moved ...
23481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
23482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
23483         Moved ...
23484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
23485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
23486         Moved ...
23487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
23488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
23489         Moved ...
23490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
23491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
23492         Moved ...
23493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
23494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
23495         Moved ...
23496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
23497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
23498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
23499         ... here.
23500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
23501         Moved ...
23502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
23503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
23504         Moved ...
23505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
23506         ... here.
23507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
23508         Moved ...
23509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
23510         ... here.
23511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23512         Moved ...
23513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
23514         ... here.
23515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
23516         Moved ...
23517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
23518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
23519         Moved ...
23520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
23521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
23522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
23523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
23524         Moved ...
23525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
23526         ... here.
23527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
23528         Moved ...
23529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
23530         ... here.
23531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
23532         Moved ...
23533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
23534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
23535         Moved ...
23536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
23537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
23538         Moved ...
23539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
23540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23541         Moved ...
23542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
23543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
23544         Moved ...
23545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
23546         ... here.
23547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
23548         Moved ...
23549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
23550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
23551         Moved ...
23552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
23553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
23554         Moved ...
23555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
23556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
23557         Moved ...
23558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
23559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
23560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
23561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
23562         Moved ...
23563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
23564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
23565         Moved ...
23566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
23567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
23568         Moved ...
23569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
23570         ... here.
23571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23572         Moved ...
23573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
23574         ... here.
23575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
23576         Moved ...
23577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
23578         ... here.
23579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
23580         Moved ...
23581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
23582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
23583         Moved ...
23584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
23585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
23586         Moved ...
23587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
23588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
23589         Moved ...
23590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
23591         ... here.
23592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
23593         Moved ...
23594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
23595         ... here.
23596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
23597         Moved ...
23598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
23599         ... here.
23600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
23601         Moved ...
23602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
23603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
23604         Moved ...
23605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
23607 2014-06-23  Will Newton  <will.newton@linaro.org>
23608             Wilco  <wdijkstr@arm.com>
23610         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
23611         implementation.  Include get-rounding-mode.h.
23612         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
23613         [!libc_feholdsetround_noex_ctx]: Define
23614         libc_feholdsetround_noex_ctx.
23615         [!libc_feholdsetround_noexf_ctx]: Define
23616         libc_feholdsetround_noexf_ctx.
23617         [!libc_feholdsetround_noexl_ctx]: Define
23618         libc_feholdsetround_noexl_ctx.
23619         (libc_feholdsetround_ctx): New function.
23620         (libc_feresetround_ctx): New function.
23621         (libc_feholdsetround_noex_ctx): New function.
23622         (libc_feresetround_noex_ctx): New function.
23624 2014-06-23  Roland McGrath  <roland@hack.frob.com>
23626         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
23627         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
23628         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
23629         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
23630         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
23631         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
23633         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
23634         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
23635         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
23636         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
23637         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
23638         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
23639         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
23640         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
23641         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
23642         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
23643         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
23644         Moved ...
23645         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
23646         ... here.
23647         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
23648         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
23649         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
23650         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
23651         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
23652         Moved ...
23653         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
23654         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
23655         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
23656         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
23657         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
23658         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
23659         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
23660         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
23661         Moved ...
23662         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
23663         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
23664         Moved ...
23665         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
23666         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
23667         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
23668         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
23669         Moved ...
23670         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
23671         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
23672         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
23673         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
23674         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
23675         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
23676         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
23677         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
23678         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
23679         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
23680         Moved ...
23681         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
23682         ... here.
23683         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
23684         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
23685         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
23686         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
23687         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
23688         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
23689         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
23690         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
23691         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
23692         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
23693         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
23694         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
23695         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
23696         Moved ...
23697         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
23698         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
23699         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
23700         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
23701         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
23702         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
23703         Moved ...
23704         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
23705         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
23706         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
23707         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
23708         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
23710         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
23711         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
23712         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
23713         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
23714         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
23715         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
23716         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
23717         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
23718         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
23719         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
23720         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
23721         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
23722         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
23723         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
23724         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
23725         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
23726         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
23727         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
23728         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
23729         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
23730         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
23731         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
23732         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
23733         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
23734         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
23735         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
23736         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
23737         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
23739 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
23741         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
23742         (FALLOC_FL_COLLAPSE_RANGE): New macro.
23743         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
23744         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
23745         (IPV6_PMTUDISC_INTERFACE): Likewise.
23746         (IPV6_PMTUDISC_OMIT): Likewise.
23748 2014-06-23  Andreas Schwab  <schwab@suse.de>
23750         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
23751         Remove unused errout label.
23753 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23755         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
23756         macro: hardware supports Vector Crypto instructions.
23758 2014-06-23  Will Newton  <will.newton@linaro.org>
23760         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
23761         rather than __builtin_expect.
23763         * elf/dl-lookup.c (undefined_msg): Remove variable.
23764         (_dl_lookup_symbol_x): Replace undefined_msg with string
23765         literal.
23767         * elf/dl-lookup.c (do_lookup_unique): New function.
23768         (do_lookup_x): Move STB_GNU_UNIQUE handling code
23769         to a separate function.
23771 2014-06-23  Andreas Schwab  <schwab@suse.de>
23773         [BZ #17079]
23774         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
23775         before reading the next line.
23777 2014-06-23  Will Newton  <will.newton@linaro.org>
23779         * test-skeleton.c (signal_handler): Use printf and %m
23780         rather than perror.  Use printf rather than fprintf to
23781         stderr.  Use puts rather than fputs to stderr.
23782         (main): Likewise.
23784 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
23786         * nscd/nscd.c (thread_info_t): Remove typedef.
23787         (thread_info): Remove variable.
23789 2014-06-21  Allan McRae  <allan@archlinux.org>
23791         * NEWS: Mention CVE-2014-4043.
23793 2014-06-20  Roland McGrath  <roland@hack.frob.com>
23795         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
23796         * nptl/smp.h: ... here.
23798         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
23800         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
23801         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
23802         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
23803         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
23805         * nptl/allocatestack.c: Include <stack-aliasing.h>.
23806         * nptl/stack-aliasing.h: New file.
23807         * sysdeps/i386/i686/stack-aliasing.h: New file.
23808         * sysdeps/i386/i686/nptl/Makefile: File removed.
23809         * sysdeps/x86_64/stack-aliasing.h: New file.
23810         * sysdeps/x86_64/nptl/Makefile
23811         (CFLAGS-pthread_create.c): Variable removed.
23813         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
23814         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
23815         old file.
23816         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
23817         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
23818         old file.
23820 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
23822         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23823         (__ASSUME_SIGFRAME_V2): Remove macro.
23824         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
23825         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
23826         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
23827         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
23828         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
23829         Declare as function.  Remove conditional macro definitions.
23830         (__default_rt_sa_restorer): Likewise.
23831         (__default_sa_restorer_v1): Remove declaration.
23832         (__default_sa_restorer_v2): Likewise.
23833         (__default_rt_sa_restorer_v1): Likewise.
23834         (__default_rt_sa_restorer_v2): Likewise.
23835         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
23836         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
23837         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
23839 2014-06-20  Roland McGrath  <roland@hack.frob.com>
23841         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
23842         (libpthread-routines): Add sysdep.
23843         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
23844         * sysdeps/unix/sysv/linux/sparc/Versions
23845         (libpthread: GLIBC_2.3.3): New version set.
23846         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
23847         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
23848         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
23849         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
23850         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
23851         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
23852         Moved ...
23853         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
23854         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
23855         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
23856         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
23857         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
23858         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
23859         * sysdeps/sparc/nptl/sem_init.c: ... here.
23860         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
23861         * sysdeps/sparc/nptl/sem_post.c: ... here.
23862         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
23863         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
23864         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
23865         * sysdeps/sparc/nptl/sem_wait.c: ... here.
23866         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
23867         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
23868         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
23869         (libpthread-routines): Add cpu_relax.
23870         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
23871         File removed.
23872         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
23873         (librt: GLIBC_2.3.3): New version set.
23874         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
23875         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
23876         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
23877         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
23878         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
23879         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
23880         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
23881         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
23882         Moved ...
23883         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
23884         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
23885         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
23886         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
23887         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
23888         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
23889         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
23890         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
23891         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
23892         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
23893         Moved ...
23894         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
23895         Update #include.
23896         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
23897         Moved ...
23898         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
23899         Update #include.
23900         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
23901         Moved ...
23902         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
23903         Update #include.
23904         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
23905         Moved ...
23906         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
23907         Update #include.
23908         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
23909         Moved ...
23910         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
23911         Update #include.
23912         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
23913         Moved ...
23914         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
23915         Update #include.
23916         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
23917         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
23918         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
23919         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
23920         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
23921         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
23922         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
23923         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
23924         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
23925         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
23926         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
23927         Moved ...
23928         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
23929         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
23930         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
23931         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
23932         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
23934 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
23936         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
23937         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
23938         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
23939         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
23940         * nscd/nscd.c: Likewise.
23941         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
23942         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
23943         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
23944         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
23946         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
23947         <kernel-features.h>.
23948         (init_mq_netlink): Remove conditional have_sock_cloexec
23949         definitions.  Remove code conditional on have_sock_cloexec < 0.
23950         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
23951         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
23952         * sysdeps/unix/sysv/linux/opensock.c: Do not include
23953         <kernel-features.h>.
23954         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
23955         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
23957 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
23959         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23960         Add tests for memset_chk and memset.
23962         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
23963         with AVX2_Usable.
23965 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
23967         [BZ #16046]
23968         * elf/tst-dl-iter-static.c: New file.
23969         * elf/Makefile (tests-static): Add tst-dl-iter-static.
23971         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
23972         error.
23974 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
23976         * sysdeps/unix/sysv/linux/kernel-features.h
23977         (__ASSUME_F_GETOWN_EX): Remove macro.
23978         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
23979         <kernel-features.h>.
23980         (miss_F_GETOWN_EX): Remove variable or macro.
23981         (do_fcntl): Do not check miss_F_GETOWN_EX.
23982         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
23984         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
23985         Remove macro.
23986         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
23987         [!__ASSUME_AT_RANDOM]: Remove conditional code.
23988         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
23990         * sysdeps/unix/sysv/linux/kernel-features.h
23991         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
23992         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
23993         [ADJ_OFFSET_SS_READ]: Make code unconditional.
23994         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
23996 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
23998         [BZ #17075]
23999         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
24000         Fix calculation of the symbol's value.
24001         * sysdeps/arm/tst-armtlsdescloc.c: New file.
24002         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
24003         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
24004         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
24005         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
24006         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
24007         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
24008         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
24009         (modules-names): Add `tst-armtlsdescmod',
24010         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
24011         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
24012         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
24013         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
24014         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
24015         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
24016         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
24017         ($(objpfx)tst-armtlsdescloc): New dependency.
24018         ($(objpfx)tst-armtlsdescextnow): Likewise.
24019         ($(objpfx)tst-armtlsdescextlazy): Likewise.
24020         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
24021         TLS scheme support.
24022         * sysdeps/arm/configure: Regenerate.
24024 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
24026         * include/fcntl.h (__atfct_seterrno): Remove prototype.
24027         (__atfct_seterrno_2): Likewise.
24028         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
24029         <kernel-features.h>.
24030         (__ASSUME_ATFCTS): Do not undefine and redefine.
24031         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
24032         (__have_atfcts): Remove conditional definition.
24033         (__fxstatat([__NR_fstatat64]: Make code unconditional.
24034         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
24035         unreachable if [__ASSUME_ATFCTS].
24036         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
24037         not undefine and redefine.
24038         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
24039         <kernel-features.h>.
24040         (faccessat) [__NR_faccessat]: Make code unconditional.
24041         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
24042         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
24043         <kernel-features.h>.
24044         (fchmodat) [__NR_fchmodat]: Make code unconditional.
24045         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
24046         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
24047         <kernel-features.h>.
24048         (fchownat) [__NR_fchownat]: Make code unconditional.
24049         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
24050         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
24051         <kernel-features.h>.
24052         (futimesat) [__NR_futimesat]: Make code unconditional.
24053         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
24054         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24055         <kernel-features.h>.
24056         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
24057         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
24058         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24059         <kernel-features.h>.
24060         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
24061         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
24062         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
24063         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24064         <kernel-features.h>.
24065         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
24066         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
24067         * sysdeps/unix/sysv/linux/linkat.c: Do not include
24068         <kernel-features.h>.
24069         (linkat) [__NR_linkat]: Make code unconditional.
24070         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
24071         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
24072         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
24073         <kernel-features.h>.
24074         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
24075         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
24076         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
24077         <kernel-features.h>.
24078         (mkdirat) [__NR_mkdirat]: Make code unconditional.
24079         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
24080         * sysdeps/unix/sysv/linux/openat.c: Do not include
24081         <kernel-features.h>.
24082         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
24083         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
24084         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
24085         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
24086         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
24087         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
24088         <kernel-features.h>.
24089         (readlinkat) [__NR_readlinkat]: Make code unconditional.
24090         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
24091         result of INLINE_SYSCALL directly, not via int variable.
24092         * sysdeps/unix/sysv/linux/renameat.c: Do not include
24093         <kernel-features.h>.
24094         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
24095         (renameat) [__NR_renameat]: Make code unconditional.
24096         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
24097         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
24098         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
24099         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
24100         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
24101         (__ASSUME_ATFCTS): Do not undefine and redefine.
24102         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
24103         <kernel-features.h>.
24104         (symlinkat) [__NR_symlinkat]: Make code unconditional.
24105         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
24106         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
24107         <kernel-features.h>.
24108         (unlinkat) [__NR_unlinkat]: Make code unconditional.
24109         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
24110         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
24111         (__ASSUME_ATFCTS): Do not undefine and redefine.
24112         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24113         <kernel-features.h>.
24114         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
24115         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
24116         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24117         <kernel-features.h>.
24118         (__xmknodat) [__NR_mknodat]: Make code unconditional.
24119         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
24121 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
24123         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
24125 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
24127         [BZ #17069]
24128         * posix/regcomp.c (parse_reg_exp): Deallocate partially
24129         constructed tree before returning error.
24130         * posix/bug-regexp36.c: Expand test case.
24132 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
24134         [BZ #6803]
24135         * math/libm-test.inc (scalbln_test_date):
24136         Add errno expectations.
24137         * math/w_scalblnf.c: New File.
24138         Add wrapper which checks for setting errno to ERANGE.
24139         Add weak_alias for corresponding scalbln function.
24140         * math/w_scalbln.c: Likewise.
24141         * math/w_scalblnl.c: Likewise.
24142         * math/Makefile (libm-calls): Add w_scalbln.
24143         * sysdeps/ieee754/flt-32/s_scalblnf.c:
24144         Remove weak_alias for corresponding scalbln function.
24145         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24146         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
24147         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24148         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24149         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
24150         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
24151         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
24152         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
24153         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
24154         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
24155         Remove long_double_symbol for scalblnl function in libm, libc.
24156         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
24157         Add wrapper which checks for setting errno to ERANGE.
24158         Add long_double_symbol for scalblnl function in libm, libc.
24159         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
24160         Remove long_double_symbol for scalblnl in libm.
24161         * sysdeps/ieee754/ldbl-128ibm/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.
24164         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
24165         Do not use wrapper because of own implementation.
24167 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
24169         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
24170         3 bytes for __pad1 for x32.
24171         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
24173 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
24174             H.J. Lu  <hongjiu.lu@intel.com>
24176         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
24177         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
24178         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24179         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24180         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
24182 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
24184         [BZ #17069]
24185         * posix/regcomp.c (parse_expression): Deallocate partially
24186         constructed tree before returning error.
24187         * posix/Makefile.c (tests): Add bug-regex36.
24188         (generated): Add bug-regex36.mtrace.
24189         (tests-special): Add $(objpfx)bug-regex36-mem.out
24190         (bug-regex36-ENV): New variable.
24191         ($(objpfx)bug-regex36-mem.out): New rule.
24192         * posix/bug-regex36.c: New file.
24194 2014-06-19  Will Newton  <will.newton@linaro.org>
24196         * malloc/malloc.c (systrim): If extra is zero then return
24197         early.
24199 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24201         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
24203 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
24205         * sysdeps/aarch64/strchr.S: New file.
24207 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
24209         [BZ #17022]
24210         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
24211         from arguments -2 or below.
24212         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
24213         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
24215 2014-06-18  Andreas Schwab  <schwab@suse.de>
24217         [BZ #17062]
24218         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
24219         of a bracket expr not to run off the end of the string.
24220         * posix/Makefile (tests): Add tst-fnmatch3.
24221         * posix/tst-fnmatch3.c: New file.
24223 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
24225         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
24226         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
24227         [$(cross-compiling) = no]: Likewise.
24228         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
24229         [$(cross-compiling) = no]: Likewise.
24231 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24233         [BZ #17031]
24234         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
24235         double, adjusted for any remainder from the high double.
24236         * math/libm-test.inc (nearbyint): Add tests.
24237         (rint): Likewise.
24239 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24241         * nptl/sysdeps/powerpc/Makefile: Moved ...
24242         * sysdeps/powerpc/nptl/Makefile: ... here.
24243         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
24244         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
24245         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
24246         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
24247         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
24248         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
24249         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
24250         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
24251         * nptl/sysdeps/powerpc/tls.h: Moved ...
24252         * sysdeps/powerpc/nptl/tls.h: ... here.
24254 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
24256         [BZ #16681]
24257         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
24258         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
24259         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
24260         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
24261         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
24262         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
24263         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
24264         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
24265         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
24267 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
24269         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
24271 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
24273         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
24274         defined operator.
24276         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
24277         $TIMEOUTFACTOR.
24279 2014-06-16  Florian Weimer  <fweimer@redhat.com>
24281         [BZ #17058]
24282         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
24283         non-executed part of the test.
24285 2014-06-16  Andreas Schwab  <schwab@suse.de>
24287         * string/bits/string2.h (strdup, strndup): Update feature guard.
24289 2014-06-14  David S. Miller  <davem@davemloft.net>
24291         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24293 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
24295         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
24296         that was previously under [RESET_PID].
24297         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
24299         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
24300         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
24301         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
24302         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
24303         (__libc_vfork): New strong alias.
24304         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
24306 2014-06-14 Andi Kleen  <ak@linux.intel.com>
24308         * sysdeps/generic/elide.h: New file.
24310 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24312         * Makefile (installed-headers): Adjust path of pthread.h header.
24314 2014-06-13  Roland McGrath  <roland@hack.frob.com>
24316         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
24317         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
24318         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
24319         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
24321         * nptl/sysdeps/s390/Makefile: Moved ...
24322         * sysdeps/s390/nptl/Makefile: ... here.
24323         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
24324         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
24325         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
24326         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
24327         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
24328         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
24329         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
24330         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
24331         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
24332         * sysdeps/s390/nptl/pthreaddef.h: ... here.
24333         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
24334         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
24335         * nptl/sysdeps/s390/tls.h: Moved ...
24336         * sysdeps/s390/nptl/tls.h: ... here.
24338         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
24339         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
24341 2014-06-13  David S. Miller  <davem@davemloft.net>
24343         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
24344         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
24345         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
24346         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
24347         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
24348         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
24349         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
24350         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
24351         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
24352         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
24353         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
24354         Remove RESET_PID cpp guards.
24355         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
24356         Remove RESET_PID cpp guards.
24357         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
24359 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
24361         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
24362         __sp to uintptr_t.
24364 2014-06-13  Andi Kleen  <ak@linux.intel.com>
24366         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
24367         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
24368         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
24369         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
24370         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
24371         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
24372         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
24373         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
24374         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
24375         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
24376         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
24377         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
24378         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
24379         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
24380         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
24381         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
24382         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
24383         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
24384         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
24385         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
24387         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
24388         (pthread_rwlock_rdlock): Add elision.
24389         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
24390         (pthread_rwlock_wrlock): Add elision.
24391         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
24392         (pthread_rwlock_trywrlock): Add elision.
24393         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
24394         (pthread_rwlock_tryrdlock): Add elision.
24395         * nptl/pthread_rwlock_unlock.c: Include elide.h.
24396         (pthread_rwlock_tryrdlock): Add elision unlock.
24397         * nptl/sysdeps/pthread/pthread.h:
24398         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
24399         (PTHREAD_RWLOCK_INITIALIZER,
24400         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
24401         Handle new elision field.
24402         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
24403         * sysdeps/arm/nptl/bits/pthreadtypes.h
24404         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24405         * sysdeps/sh/nptl/bits/pthreadtypes.h
24406         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24407         * sysdeps/tile/nptl/bits/pthreadtypes.h
24408         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24409         * sysdeps/a/nptl/bits/pthreadtypes.h
24410         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24411         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
24412         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24413         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
24414         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24415         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
24416         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24417         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
24418         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24419         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
24420         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24421         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
24422         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24423         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
24424         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24425         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
24426         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24427         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
24428         (elision_init): Set try_xbegin to zero when no RTM.
24429         * sysdeps/x86/nptl/bits/pthreadtypes.h
24430         (pthread_rwlock_t): Change __pad1 to __rwelision.
24431         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24433 2014-06-13  Andi Kleen  <ak@linux.intel.com>
24435         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
24436         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
24437         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
24438         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
24440 2014-06-13  Meador Inge  <meadori@codesourcery.com>
24442         [BZ #16996]
24443         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
24444         that the cached result has been set before returning it.
24446 2014-06-12  Roland McGrath  <roland@hack.frob.com>
24448         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
24449         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
24450         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
24451         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
24452         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
24453         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
24455         * nptl/sysdeps/sparc/Makefile: Moved ...
24456         * sysdeps/sparc/nptl/Makefile: ... here.
24457         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
24458         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
24459         * nptl/sysdeps/sparc/tls.h: Moved ...
24460         * sysdeps/sparc/nptl/tls.h: ... here.
24461         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
24462         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
24463         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
24464         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
24465         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
24466         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
24467         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
24468         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
24469         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
24470         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
24471         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
24472         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
24473         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
24474         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
24475         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
24476         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
24477         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
24478         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
24479         Update #include.
24480         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
24481         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
24482         Update #include.
24483         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
24484         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
24485         Update #include.
24486         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
24487         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
24488         Update #include.
24490         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
24492         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
24493         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
24495         * sysdeps/pthread/posix-timer.h: Include <list.h>.
24496         (struct list_links): Type removed.
24497         (struct thread_node, struct timer_node): Replace struct list_links
24498         with struct list_head.
24499         (list_unlink_ip): Likewise.
24500         * sysdeps/pthread/timer_routines.c
24501         (timer_free_list, thread_free_list, thread_active_list): Likewise.
24502         (list_append, list_insbefore): Likewise.
24503         (list_init): Function removed.
24504         (thread_init, init_module): Use INIT_LIST_HEAD instead.
24505         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
24506         * sysdeps/pthread/Makefile: ... here, new file.
24508         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
24509         * sysdeps/nptl/Implies: ... here.
24510         * sysdeps/unix/sysv/linux/Implies: Add nptl.
24511         * nptl/sysdeps/pthread/list.h: Moved ...
24512         * include/list.h: ... here.
24513         * nptl/sysdeps/pthread/createthread.c: Moved ...
24514         * nptl/createthread.c: ... here.
24515         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
24516         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
24517         * nptl/pt-longjmp.c: ... here.
24518         * nptl/sysdeps/pthread/Makefile: Moved ...
24519         * sysdeps/nptl/Makefile: ... here.
24520         * nptl/sysdeps/pthread/Subdirs: Moved ...
24521         * sysdeps/nptl/Subdirs: ... here.
24522         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
24523         * sysdeps/nptl/aio_misc.h: ... here.
24524         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
24525         * sysdeps/nptl/bits/libc-lock.h: ... here.
24526         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
24527         * sysdeps/nptl/bits/libc-lockP.h: ... here.
24528         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
24529         * sysdeps/nptl/bits/stdio-lock.h: ... here.
24530         * nptl/sysdeps/pthread/configure: Moved ...
24531         * sysdeps/nptl/configure: ... here.
24532         * nptl/sysdeps/pthread/configure.ac: Moved ...
24533         * sysdeps/nptl/configure.ac: ... here.
24534         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
24535         * sysdeps/nptl/gai_misc.h: ... here.
24536         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
24537         * sysdeps/nptl/librt-cancellation.c: ... here.
24538         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
24539         * sysdeps/nptl/malloc-machine.h: ... here.
24540         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
24541         * sysdeps/nptl/pthread-functions.h: ... here.
24542         * nptl/sysdeps/pthread/pthread.h: Moved ...
24543         * sysdeps/nptl/pthread.h: ... here.
24544         * nptl/sysdeps/pthread/setxid.h: Moved ...
24545         * sysdeps/nptl/setxid.h: ... here.
24546         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
24547         * sysdeps/nptl/sigfillset.c: ... here.
24548         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
24549         * sysdeps/nptl/tcb-offsets.h: ... here.
24550         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
24551         * sysdeps/nptl/tst-mqueue8x.c: ... here.
24552         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
24553         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
24554         * nptl/sysdeps/pthread/allocalim.h: Moved ...
24555         * sysdeps/pthread/allocalim.h: ... here.
24556         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
24557         * sysdeps/pthread/bits/sigthread.h: ... here.
24558         * nptl/sysdeps/pthread/flockfile.c: Moved ...
24559         * sysdeps/pthread/flockfile.c: ... here.
24560         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
24561         * sysdeps/pthread/ftrylockfile.c: ... here.
24562         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
24563         * sysdeps/pthread/funlockfile.c: ... here.
24564         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
24565         * sysdeps/pthread/posix-timer.h: ... here.
24566         * nptl/sysdeps/pthread/timer_create.c: Moved ...
24567         * sysdeps/pthread/timer_create.c: ... here.
24568         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
24569         * sysdeps/pthread/timer_delete.c: ... here.
24570         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
24571         * sysdeps/pthread/timer_getoverr.c: ... here.
24572         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
24573         * sysdeps/pthread/timer_gettime.c: ... here.
24574         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
24575         * sysdeps/pthread/timer_routines.c: ... here.
24576         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
24577         * sysdeps/pthread/timer_settime.c: ... here.
24578         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
24579         * sysdeps/pthread/tst-timer.c: ... here.
24580         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
24581         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
24583         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
24584         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
24586         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
24587         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
24588         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
24589         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
24590         Update #include target.
24591         * nptl/sysdeps/i386/i686/Makefile: Moved ...
24592         * sysdeps/i386/i686/nptl/Makefile: ... here.
24593         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
24594         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
24595         Update #include target.
24596         * nptl/sysdeps/i386/i686/tls.h: Moved ...
24597         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
24598         * nptl/sysdeps/i386/Makefile: Moved ...
24599         * sysdeps/i386/nptl/Makefile: ... here.
24600         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
24601         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
24602         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
24603         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
24604         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
24605         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
24606         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
24607         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
24608         * sysdeps/i386/nptl/pthreaddef.h: ... here.
24609         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
24610         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
24611         * nptl/sysdeps/i386/tls.h: Moved ...
24612         * sysdeps/i386/nptl/tls.h: ... here.
24614         * sysdeps/sh/Makefile [$(subdir) = csu]
24615         (gen-as-const-headers): Add tcb-offsets.sym.
24616         * nptl/sysdeps/sh/Makefile: File removed.
24617         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
24618         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
24619         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
24620         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
24621         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
24622         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
24623         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
24624         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
24625         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
24626         * sysdeps/sh/nptl/pthreaddef.h: ... here.
24627         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
24628         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
24629         * nptl/sysdeps/sh/tls.h: Moved ...
24630         * sysdeps/sh/nptl/tls.h: ... here.
24631         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
24632         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
24633         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
24634         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
24635         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
24636         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
24637         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
24638         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
24639         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
24640         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
24641         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
24642         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
24643         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
24644         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
24645         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
24646         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
24647         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
24648         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
24649         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
24650         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
24651         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
24652         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
24653         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
24654         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
24655         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
24656         Moved ...
24657         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
24658         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
24659         Moved ...
24660         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
24661         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
24662         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
24663         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
24664         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
24665         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
24666         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
24667         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
24668         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
24669         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
24670         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
24671         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
24672         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
24673         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
24674         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
24675         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
24676         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
24677         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
24678         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
24680 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24682         * posix/spawn_faction_addopen.c: Include string.h.
24684 2014-06-11  Roland McGrath  <roland@hack.frob.com>
24686         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
24687         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
24688         * nptl/sysdeps/x86_64/Makefile: Moved ...
24689         * sysdeps/x86_64/nptl/Makefile: ... here.
24690         * nptl/sysdeps/x86_64/configure: Moved ...
24691         * sysdeps/x86_64/nptl/configure: ... here.
24692         * nptl/sysdeps/x86_64/configure.ac: Moved ...
24693         * sysdeps/x86_64/nptl/configure.ac: ... here.
24694         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
24695         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
24696         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
24697         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
24698         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
24699         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
24700         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
24701         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
24702         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
24703         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
24704         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
24705         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
24706         * nptl/sysdeps/x86_64/tls.h: Moved ...
24707         * sysdeps/x86_64/nptl/tls.h: ... here.
24708         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
24709         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
24710         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
24711         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
24713         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
24715 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24717         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24719 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
24721         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
24722         type.
24723         [POSIX] (off_t): Likewise.
24724         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
24725         [POSIX] (S_ISBLK): Require macro.
24726         [POSIX] (S_ISCHR): Likewise.
24727         [POSIX] (S_ISDIR): Likewise.
24728         [POSIX] (S_ISFIFO): Likewise.
24729         [POSIX] (S_ISREG): Likewise.
24730         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
24731         optional-macro.
24732         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
24733         type.
24734         [POSIX] (time_t): Likewise.
24735         [POSIX] (timer_t): Likewise.
24737 2014-06-11  Florian Weimer  <fweimer@redhat.com>
24739         [BZ #17048]
24740         * posix/spawn_int.h (struct __spawn_action): Make the path string
24741         non-const to support deallocation.
24742         * posix/spawn_faction_addopen.c
24743         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
24744         * posix/spawn_faction_destroy.c
24745         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
24746         path in all spawn_do_open actions.
24747         * posix/tst-spawn.c (do_test): Exercise the copy operation in
24748         posix_spawn_file_actions_addopen.
24750 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
24752         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
24753         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
24754         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
24755         conditional code always true.
24756         (__libc_vfork): New alias.
24758 2014-06-11  Roland McGrath  <roland@hack.frob.com>
24760         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24761         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
24763         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
24765         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24766         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
24768         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
24769         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
24771         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24772         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
24774 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
24776         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
24777         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
24778         multiarch strcmp for PPC64.
24779         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
24780         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
24781         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
24782         multiarch optimizations.
24783         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24784         (__libc_ifunc_impl_list): Likewise.
24786 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24788         * benchtests/scripts/validate_benchout.py: New script.
24789         * benchtests/Makefile (bench-func): Call it.
24790         * benchtests/scripts/benchout.schema.json: New file.
24792 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
24794         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
24795         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
24796         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
24797         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
24798         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
24799         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
24800         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
24801         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
24802         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
24803         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
24804         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
24805         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
24806         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
24807         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
24808         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
24809         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
24810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
24811         Moved ...
24812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
24813         ... here.
24814         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
24815         Moved ...
24816         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
24817         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
24818         Moved ...
24819         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
24820         ... here.
24821         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
24822         Moved ...
24823         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
24824         ... here.
24825         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
24826         Moved ...
24827         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
24828         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
24829         Moved ...
24830         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
24831         ... here.
24832         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
24833         Moved ...
24834         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
24835         ... here.
24836         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
24837         Moved ...
24838         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
24839         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
24840         Moved ...
24841         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
24842         ... here.
24843         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
24844         Moved ...
24845         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
24846         ... here.
24847         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
24848         Moved ...
24849         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
24850         ... here.
24851         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
24852         Moved ...
24853         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
24854         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
24855         Moved ...
24856         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
24857         ... here.
24858         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
24859         Moved ...
24860         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
24861         ... here.
24862         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
24863         Moved ...
24864         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
24865         ... here.
24866         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
24867         Moved ...
24868         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
24869         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
24870         Moved ...
24871         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
24872         ... here.
24873         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
24874         Moved ...
24875         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
24876         ... here.
24877         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
24878         Moved ...
24879         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
24880         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
24881         Moved ...
24882         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
24883         ... here.
24884         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
24885         Moved ...
24886         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
24887         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
24888         Moved ...
24889         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
24890         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
24891         Moved ...
24892         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
24893         ... here.
24894         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
24895         Moved ...
24896         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
24897         ... here.
24898         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
24899         Moved ...
24900         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
24901         ... here.
24902         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
24903         Moved ...
24904         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
24905         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
24906         Moved ...
24907         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
24908         ... here.
24909         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
24910         Moved ...
24911         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
24912         ... here.
24913         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
24914         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
24915         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
24916         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
24917         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
24918         Moved ...
24919         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
24920         ... here.
24921         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
24922         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
24923         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
24924         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
24925         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
24926         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
24927         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
24928         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
24929         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
24930         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
24931         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
24932         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
24933         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
24934         Moved ...
24935         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
24936         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
24937         Moved ...
24938         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
24939         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
24940         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
24941         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
24942         Moved ...
24943         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
24944         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
24945         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
24946         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
24947         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
24948         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
24949         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
24951 2014-06-10  Wilco  <wdijkstr@arm.com>
24953         * math/test-fenv-return.c: New file.
24954         * math/Makefile: Add new test test-fenv-return.
24956 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
24958         [BZ #17042]
24959         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
24960         when x - 1 is zero.
24961         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
24962         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
24963         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
24964         0.0L for an argument of 1.0L.
24965         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
24966         Likewise.
24967         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
24968         value when x - 1 is zero.
24969         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
24970         * sysdeps/i386/fpu/libm-test-ulps: Update.
24971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24973 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
24975         [BZ #15119]
24976         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
24978 2014-06-09  Roland McGrath  <roland@hack.frob.com>
24980         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
24981         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
24983 2014-06-09  Roland McGrath  <roland@hack.frob.com>
24985         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24986         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
24988         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24989         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
24991         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24992         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
24994         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24995         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
24997         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
24998         if not already defined.
24999         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
25000         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
25001         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
25002         (TLS_INIT_TP): Use it.
25003         (TLS_DEFINE_INIT_TP): New macro.
25004         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
25006 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
25008         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
25009         constant.
25010         [POSIX] (IXANY): Likewise.
25011         [POSIX] (OLCUC): Likewise.
25012         [POSIX || POSIX2008] (CBAUD): Do not allow.
25013         [POSIX || POSIX2008] (DEFECHO): Likewise.
25014         [POSIX || POSIX2008] (ECHOCTL): Likewise.
25015         [POSIX || POSIX2008] (ECHOKE): Likewise.
25016         [POSIX || POSIX2008] (ECHOPRT): Likewise.
25017         [POSIX || POSIX2008] (EXTA): Likewise.
25018         [POSIX || POSIX2008] (EXTB): Likewise.
25019         [POSIX || POSIX2008] (FLUSHO): Likewise.
25020         [POSIX || POSIX2008] (LOBLK): Likewise.
25021         [POSIX || POSIX2008] (PENDIN): Likewise.
25022         [POSIX || POSIX2008] (SWTCH): Likewise.
25023         [POSIX || POSIX2008] (VDISCARD): Likewise.
25024         [POSIX || POSIX2008] (VDSUSP): Likewise.
25025         [POSIX || POSIX2008] (VLNEXT): Likewise.
25026         [POSIX || POSIX2008] (VREPRINT): Likewise.
25027         [POSIX || POSIX2008] (VSTATUS): Likewise.
25028         [POSIX || POSIX2008] (VWERASE): Likewise.
25029         (B*): Change to B[0123456789]*.
25030         * conform/data/time.h-data [POSIX || UNIX98]
25031         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
25032         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25033         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
25034         [POSIX] (tm_*): Do not allow.
25036 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
25038         * Makefile (install): Don't set LANGUAGE.
25039         * Makefile.in (install): Likewise.
25040         * assert/Makefile (test-assert-ENV): Remove variable.
25041         (test-assert-perr-ENV): Likewise.
25042         * elf/Makefile (neededtest4-ENV): Likewise.
25043         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
25044         [$(cross-compiling) = no]: Don't set LANGUAGE.
25045         * io/ftwtest-sh (LANG): Remove variable.
25046         * libio/Makefile (tst-widetext-ENV): Likewise.
25047         * manual/install.texi (Running make install): Don't refer to
25048         environment settings for make install.
25049         * INSTALL: Regenerated.
25050         * nptl/tst-tls6.sh: Don't set LANG.
25051         * posix/globtest.sh (LANG): Remove variable.
25052         * string/Makefile (tester-ENV): Likewise.
25053         (inl-tester-ENV): Likewise.
25054         (noinl-tester-ENV): Likewise.
25055         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
25056         [$(cross-compiling) = no]: Don't set LANGUAGE.
25057         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
25058         without explicit environment settings.
25060 2014-06-06  Roland McGrath  <roland@hack.frob.com>
25062         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
25063         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
25064         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
25065         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
25067 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
25069         * crypt/crypt-private.h [DOS]: Add some includes taken from the
25070         other files in the crypt directory.
25071         * crypt/crypt.c: Remove duplicate includes.
25072         * crypt/crypt-entry.c: Likewise.
25073         * crypt/crypt_util.c: Likewise.
25075 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
25077         * Makeconfig (run-program-env): New variable.
25078         (run-program-prefix-before-env): Likewise.
25079         (run-program-prefix-after-env): Likewise.
25080         (run-program-prefix): Define in terms of new variables.
25081         (built-program-cmd-before-env): New variable.
25082         (built-program-cmd-after-env): Likewise.
25083         (built-program-cmd): Define in terms of new variables.
25084         (test-program-prefix-before-env): New variable.
25085         (test-program-prefix-after-env): Likewise.
25086         (test-program-prefix): Define in terms of new variables.
25087         (test-program-cmd-before-env): New variable.
25088         (test-program-cmd-after-env): Likewise.
25089         (test-program-cmd): Define in terms of new variables.
25090         * Rules (make-test-out): Use $(run-program-env).
25091         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
25092         (help): Do not mention environment variables.  Mention
25093         --timeoutfactor option.
25094         (timeoutfactor): New variable.
25095         (blacklist_exports): Remove function.
25096         (exports): Remove variable.
25097         (command): Do not include ${exports}.
25098         * manual/install.texi (Configuring and compiling): Do not mention
25099         test wrappers preserving environment variables.  Mention that last
25100         assignment to a variable must take precedence.
25101         * INSTALL: Regenerated.
25102         * benchtests/Makefile (run-bench): Use $(run-program-env).
25103         * catgets/Makefile ($(objpfx)test1.cat): Use
25104         $(built-program-cmd-before-env), $(run-program-env) and
25105         $(built-program-cmd-after-env).
25106         ($(objpfx)test2.cat): Do not specify environment variables
25107         explicitly.
25108         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
25109         $(run-program-env) and $(built-program-cmd-after-env).
25110         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
25111         $(run-program-env) and $(test-program-cmd-after-env).
25112         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
25113         explicitly.
25114         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
25115         run_program_env and test_program_cmd_after_env arguments.
25116         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
25117         * elf/tst-pathopt.sh: Use run_program_env argument.
25118         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
25119         $(test-wrapper-env) and $(run-program-env).
25120         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
25121         run_program_env arguments.
25122         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
25123         * intl/Makefile ($(objpfx)tst-gettext.out): Use
25124         $(test-program-prefix-before-env), $(run-program-env) and
25125         $(test-program-prefix-after-env).
25126         ($(objpfx)tst-gettext2.out): Likewise.
25127         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
25128         run_program_env and test_program_prefix_after_env arguments.
25129         * intl/tst-gettext2.sh: Likewise.
25130         * intl/tst-gettext4.sh: Do not set environment variables
25131         explicitly.
25132         * intl/tst-gettext6.sh: Likewise.
25133         * intl/tst-translit.sh: Likewise.
25134         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
25135         $(test-program-prefix-before-env), $(run-program-env) and
25136         $(test-program-prefix-after-env).
25137         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
25138         run_program_env and test_program_prefix_after_env arguments.
25139         * math/Makefile (run-regen-ulps): Use $(run-program-env).
25140         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
25141         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
25142         explicitly with each use of ${test_wrapper_env}.
25143         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
25144         $(test-program-prefix-before-env), $(run-program-env) and
25145         $(test-program-prefix-after-env).
25146         * posix/tst-getconf.sh: Do not set environment variables
25147         explicitly.
25148         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
25149         run_program_env and test_program_prefix_after_env arguments.
25150         * stdio-common/tst-printf.sh: Do not set environment variables
25151         explicitly.
25152         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
25153         $(test-program-prefix-before-env), $(run-program-env) and
25154         $(test-program-prefix-after-env).
25155         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
25156         run_program_env and test_program_prefix_after_env arguments.
25157         Split $test calls into $test_pre and $test.
25158         * timezone/Makefile (build-testdata): Use
25159         $(built-program-cmd-before-env), $(run-program-env) and
25160         $(built-program-cmd-after-env).
25162 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25164         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
25165         strlen for non SHARED builds.
25167 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25169         * nptl/allocatestack.c (check_list): Inlined function...
25170         (__reclaim_stacks): ... here.
25172 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
25174         [BZ #15698]
25175         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
25176         memory overrun.
25178 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
25180         * Rules (make-test-out): Include
25181         LOCPATH=$(common-objpfx)localedata in default environment.
25182         * debug/Makefile (tst-chk1-ENV): Remove variable.
25183         (tst-chk2-ENV): Likewise.
25184         (tst-chk3-ENV): Likewise.
25185         (tst-chk4-ENV): Likewise.
25186         (tst-chk5-ENV): Likewise.
25187         (tst-chk6-ENV): Likewise.
25188         (tst-lfschk1-ENV): Likewise.
25189         (tst-lfschk2-ENV): Likewise.
25190         (tst-lfschk3-ENV): Likewise.
25191         (tst-lfschk4-ENV): Likewise.
25192         (tst-lfschk5-ENV): Likewise.
25193         (tst-lfschk6-ENV): Likewise.
25194         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
25195         (tst-iconv7-ENV): Likewise.
25196         * intl/Makefile (LOCPATH-ENV): Likewise.
25197         (tst-codeset-ENV): Likewise.
25198         (tst-gettext3-ENV): Likewise.
25199         (tst-gettext5-ENV): Likewise.
25200         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
25201         (tst-fopenloc-ENV): Likewise.
25202         (tst-fgetws-ENV): Remove variable.
25203         (tst-ungetwc1-ENV): Likewise.
25204         (tst-ungetwc2-ENV): Likewise.
25205         (bug-ungetwc2-ENV): Likewise.
25206         (tst-swscanf-ENV): Likewise.
25207         (bug-ftell-ENV): Likewise.
25208         (tst-fgetwc-ENV): Likewise.
25209         (tst-fseek-ENV): Likewise.
25210         (tst-ftell-partial-wide-ENV): Likewise.
25211         (tst-ftell-active-handler-ENV): Likewise.
25212         (tst-ftell-append-ENV): Likewise.
25213         * posix/Makefile (tst-fnmatch-ENV): Likewise.
25214         (tst-regexloc-ENV): Likewise.
25215         (bug-regex1-ENV): Likewise.
25216         (tst-regex-ENV): Likewise.
25217         (tst-regex2-ENV): Likewise.
25218         (bug-regex5-ENV): Likewise.
25219         (bug-regex6-ENV): Likewise.
25220         (bug-regex17-ENV): Likewise.
25221         (bug-regex18-ENV): Likewise.
25222         (bug-regex19-ENV): Likewise.
25223         (bug-regex20-ENV): Likewise.
25224         (bug-regex22-ENV): Likewise.
25225         (bug-regex23-ENV): Likewise.
25226         (bug-regex25-ENV): Likewise.
25227         (bug-regex26-ENV): Likewise.
25228         (bug-regex30-ENV): Likewise.
25229         (bug-regex32-ENV): Likewise.
25230         (bug-regex33-ENV): Likewise.
25231         (bug-regex34-ENV): Likewise.
25232         (bug-regex35-ENV): Likewise.
25233         (tst-rxspencer-ENV): Likewise.
25234         (tst-rxspencer-no-utf8-ENV): Likewise.
25235         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
25236         (tst-sscanf-ENV): Likewise.
25237         (tst-swprintf-ENV): Likewise.
25238         (tst-swscanf-ENV): Likewise.
25239         (test-vfprintf-ENV): Likewise.
25240         (scanf13-ENV): Likewise.
25241         (bug14-ENV): Likewise.
25242         (tst-grouping-ENV): Likewise.
25243         * stdlib/Makefile (tst-strtod-ENV): Likewise.
25244         (tst-strtod3-ENV): Likewise.
25245         (tst-strtod4-ENV): Likewise.
25246         (tst-strtod5-ENV): Likewise.
25247         (testmb2-ENV): Likewise./
25248         * string/Makefile (tst-strxfrm-ENV): Likewise.
25249         (tst-strxfrm2-ENV): Likewise.
25250         (bug-strcoll1-ENV): Likewise.
25251         (test-strcasecmp-ENV): Likewise.
25252         (test-strncasecmp-ENV): Likewise.
25253         * time/Makefile (tst-strptime-ENV): Likewise.
25254         (tst-ftime_l-ENV): Likewise.
25255         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
25256         (tst-mbrtowc-ENV): Likewise.
25257         (tst-wcrtomb-ENV): Likewise.
25258         (tst-mbrtowc2-ENV): Likewise.
25259         (tst-c16c32-1-ENV): Likewise.
25260         (tst-mbsnrtowcs-ENV): Likewise.
25262 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
25264         * manual/resource.texi (How to get information about the memory
25265         subsystem?): Fix typo.
25266         Reported by Peon de la Parra Ivan <peon@keba.com>
25268 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
25270         [BZ #16882]
25271         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
25272         (pthread_spin_lock): Branch out of spin loop to proper location.
25273         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
25274         (pthread_spin_lock): Likewise.
25276         * nptl/tst-spin4.c: New test.
25277         * nptl/Makefile (tests): Add tst-spin4.
25279 2014-06-03  Andreas Schwab  <schwab@suse.de>
25281         [BZ #15946]
25282         * resolv/res_send.c (send_dg): Reload file descriptor after
25283         calling reopen.
25285 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
25287         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25289 2014-06-03  Richard Henderson  <rth@redhat.com>
25291         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
25292         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
25293         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
25294         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
25295         in the SAVE_PID block.
25296         (__libc_vfork): New alias.
25297         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
25299         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
25300         child in registers, not on the stack.  Remove RESET_PID conditionals.
25301         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
25303 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
25305         * sysdeps/aarch64/libm-test-ulps: Regenerate.
25307 2014-06-03  Wilco  <wdijkstr@arm.com>
25309         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
25310         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
25311         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
25312         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
25313         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
25314         Likewise.
25316 2014-06-03  Wilco  <wdijkstr@arm.com>
25318         * sysdeps/aarch64/fpu/math_private.h
25319         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
25320         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
25321         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
25322         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
25323         Fix declarations.
25325 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25327         * crypt/crypt-private.h: Include ufc-crypt.h.
25328         (__b64_from_24bit): Declare extern.
25329         * crypt/crypt_util.c(__b64_from_24bit): New function.
25330         (b64t): New static const variable.
25331         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
25332         (b64t): Remove variable.
25333         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
25334         * crypt/sha256-crypt.c: Include crypt-private.h.
25335         (b64t): Remove variable.
25336         (__sha256_crypt_r): Remove b64_from_24bit and replace
25337         with __b64_from_24bit.
25338         * crypt/sha512-crypt.c: Likewise.
25340 2014-06-02  Roland McGrath  <roland@hack.frob.com>
25342         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
25343         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
25344         Label the code __libc_vfork rather than __vfork.
25345         [!NOT_IN_libc] (vfork): Define as weak alias.
25346         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
25347         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
25348         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
25350 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25352         * malloc/malloc.c (malloc_info): Fix format specifier for
25353         n_mmaps.
25355 2014-06-02  Wilco  <wdijkstr@arm.com>
25357         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
25358         FPCR write.
25360 2014-06-02  Wilco  <wdijkstr@arm.com>
25362         [BZ #17009]
25363         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
25364         Rewrite to reduce FPCR/FPSR accesses.
25366 2014-06-01  David S. Miller  <davem@davemloft.net>
25368         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25370 2014-05-31  David S. Miller  <davem@davemloft.net>
25372         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
25373         to occur in round to nearest mode when |x| >= 2.0
25375 2014-05-30  Richard Henderson  <rth@twiddle.net>
25377         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
25378         (PSEUDO_RET_NOERRNO): Remove.
25379         (ret): Don't redefine.
25380         (ret_NOERRNO): Define in terms of ret.
25381         (ret_ERRVAL): Likewise.
25383         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
25384         use of PSEUDO_RET; perform the error check directly.
25386 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
25388         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
25389         with __int128_t.
25391 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25393         * malloc/malloc (malloc_info): Fix formatting.
25395 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25396             Roland McGrath  <roland@hack.frob.com>
25398         * malloc/malloc (malloc_info): Also print mmapped statistics.
25400 2014-05-30  Roland McGrath  <roland@hack.frob.com>
25402         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
25403         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
25405 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
25407         * malloc/malloc.c (malloc_info): Inline mi_arena.
25409 2014-05-29  Richard Henderson  <rth@twiddle.net>
25411         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
25412         Remove comma before expanding ASM_ARGS_##nr.
25413         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
25414         Make _x0 a strict output; make _x8 a strict input; adjust expansion
25415         of ASM_ARGS_##nr.
25416         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
25417         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
25418         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
25419         (ASM_ARGS_1): Add leading comma.
25421         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
25422         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
25423         to __errno_location.
25424         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
25425         Remove the expected plt for __errno_location.
25427         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
25428         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
25429         call to __read_tp.
25431         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
25432         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
25433         it and break it down.
25434         (DOCARGS_0, DOCARGS_1): Do nothing.
25435         (DOCARGS_2): Update to store into the new stack frame.
25436         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
25437         (UNDOCARGS_1): Update to restore from the new stack frame.
25438         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
25439         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
25441         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
25442         (SINGLE_THREAD_P): New parameter for result regno.
25443         (PSEUDO): Update to match; use cbz instead of beq.
25445         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
25446         Use ENTRY to define the _nocancel entry point.  Share the syscall
25447         and syscall error check paths with the cancel path.
25448         (PSEUDO_END): New.
25450         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
25451         whitespace; tabs before and after asm mnemonics.
25453 2014-05-29  Eric Wong  <normalperson@yhbt.net>
25455         [BZ #15132]
25456         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25457         Call fstat64 or stat64 internally, depending on arguments passed.
25458         Replace stat buffer argument with file descriptor argument.
25459         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
25460         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
25461         Pass fd to __internal_statvfs instead of calling fstat64.
25462         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
25463         Pass fd to __internal_statvfs64 instead of calling fstat64.
25464         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
25465         Pass -1 to __internal_statvfs instead of calling stat64.
25466         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
25467         Pass -1 to __internal_statvfs64 instead of calling stat64.
25469 2014-05-28  Roland McGrath  <roland@hack.frob.com>
25471         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
25472         that was previously under [RESET_PID].
25473         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
25475         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
25476         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
25478 2014-05-27  Roland McGrath  <roland@hack.frob.com>
25480         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
25482         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
25483         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
25485 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
25487         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
25489 2014-05-27  Andreas Schwab  <schwab@suse.de>
25491         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
25492         TLS_INIT_TP macro.
25493         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
25494         * elf/rtld.c (init_tls, dl_main): Likewise.
25495         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
25496         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
25497         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
25498         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
25499         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
25500         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
25501         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
25502         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
25503         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
25504         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
25505         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
25506         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
25507         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
25508         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
25509         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
25510         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
25511         * sysdeps/generic/tls.h: Update description.
25513 2014-05-27  Will Newton  <will.newton@linaro.org>
25515         [BZ #16990]
25516         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
25517         and restore r2 rather than just restoring.
25519 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25521         [BZ #16724]
25522         * libio/tst-ftell-append.c: New test case.
25523         * libio/Makefile (tests): Add test case.
25524         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
25525         append mode.
25526         * libio/wfileops.c (do_ftell_wide): Likewise.
25528 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25530         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25532         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
25533         ...
25534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
25535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
25536         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
25537         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
25538         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
25539         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
25540         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
25541         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
25542         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
25543         Moved ...
25544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
25545         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
25546         Moved ...
25547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
25548         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
25549         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
25550         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
25551         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
25552         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
25553         ...
25554         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
25555         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
25556         Moved ...
25557         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
25558         here.
25559         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
25560         ...
25561         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
25562         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
25563         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
25565         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
25566         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
25567         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
25568         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
25570         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
25571         merge into ...
25572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
25573         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
25574         ...
25575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
25576         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
25577         ...
25578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
25579         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
25580         Moved ...
25581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
25582         here.
25583         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
25584         Moved ...
25585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
25586         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
25587         Moved ...
25588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
25590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
25591         conditional [RESET_PID].
25592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
25593         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
25594         removed.
25595         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
25596         removed.
25598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
25599         <tcb-offsets.h>.
25600         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
25601         (__libc_vfork): New strong alias.
25602         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
25603         removed.
25604         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
25605         Removed.
25607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
25608         <tcb-offsets.h>.
25609         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
25610         (__libc_vfork): New strong alias.
25611         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
25612         removed.
25613         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
25614         removed.
25616 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
25618         * malloc/malloc.c (mi_arena): New function.
25619         (malloc_info): Remove nested function mi_arena. Call non-nosted
25620         function mi_arena.
25622 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25624         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
25625         by insrwi.
25626         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
25627         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
25628         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
25629         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
25630         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
25631         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
25632         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
25634 2014-05-26  Andreas Schwab  <schwab@suse.de>
25636         [BZ #16984]
25637         * locale/programs/repertoire.c (repertoire_read): Add slash
25638         between I18NPATH element and file name.
25639         * locale/programs/locfile.c (locfile_read): Likewise.
25641 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
25643         * nptl/pthread_mutexattr_settype.c
25644         (__pthread_mutexattr_settype):
25645         Disable lock elision for PTHREAD_MUTEX_NORMAL.
25647 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
25649         * nptl/tst-mutex5 (do_test):
25650         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
25652 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25654         * benchtests/README: Document 'init' directive.
25655         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
25656         BENCH_INIT.
25657         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
25658         (parse_file): Recognize 'init' directive.
25660 2014-05-26  Kyle McMartin  <kyle@redhat.com>
25662         [BZ #16796]
25663         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
25664         alignment of struct pthread.
25666 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25668         [BZ #16878]
25669         * nscd/netgroupcache.c (addgetnetgrentX): Look for
25670         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
25671         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
25672         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
25674 2014-05-25  Richard Henderson  <rth@twiddle.net>
25676         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
25677         (SINGLE_THREAD_P_PIC): Remove.
25678         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
25679         (SINGLE_THREAD_P_PIC): Remove.
25681         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
25682         branch to syscall error ...
25683         (PSEUDO): ... here.
25684         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
25685         from __local_syscall_error to .Lsyscall_error.
25686         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
25687         (SYSCALL_ERROR): Update label name.
25689         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
25690         Do not use DOARGS/UNDOARGS.
25691         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
25692         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
25693         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
25694         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
25695         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
25697         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
25698         block comment.
25700         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
25701         define if !NOT_IN_libc.
25702         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
25703         define with non-default symbol versions.
25705 2014-05-23  Richard Henderson  <rth@twiddle.net>
25707         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
25708         (vfork, __vfork): Define via compat_symbol.
25710         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
25711         [!HAVE_IFUNC] (vfork_compat): Remove.
25712         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
25714 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
25716         [BZ #16978]
25717         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
25718         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
25719         variable.
25721 2014-05-23  Richard Henderson  <rth@twiddle.net>
25723         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
25724         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
25725         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
25726         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
25728         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
25729         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
25730         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
25731         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
25732         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
25733         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
25734         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
25735         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
25736         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
25737         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
25738         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
25739         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
25740         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
25741         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
25742         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
25743         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
25744         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
25745         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
25746         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
25747         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
25748         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
25749         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
25750         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
25751         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
25752         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
25753         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
25754         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
25755         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
25756         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
25757         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
25758         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
25759         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
25760         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
25761         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
25762         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
25763         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
25764         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
25765         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
25766         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
25767         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
25768         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
25769         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
25770         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
25771         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
25772         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
25773         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
25774         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
25775         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
25776         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
25777         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
25778         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
25779         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
25780         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
25781         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
25782         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
25783         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
25785         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
25786         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
25787         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
25788         before exiting on error.
25789         (__libc_vfork): New strong alias.
25790         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
25791         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
25793         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
25794         that was previously under [RESET_PID].
25795         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
25797         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
25799 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
25801         [BZ #16977]
25802         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
25803         value when x - 1 is zero.
25804         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
25805         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
25806         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
25807         0.0L for an argument of 1.0L.
25808         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
25809         Likewise.
25810         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
25811         value when x - 1 is zero.
25812         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
25813         * sysdeps/i386/fpu/libm-test-ulps: Update.
25814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25816 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
25818         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
25819         alphasort and versionsort.
25821 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25823         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
25824         macro.
25825         [copysignf]: Likewise.
25827 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
25829         * crypt/md5-crypt.c: Fix formatting.
25831 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25833         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
25834         (b64_from_24bit): New function.
25836 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25838         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
25839         libc_hidden_builtin_def to ifunc.
25840         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
25841         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
25843 2014-05-21  Roland McGrath  <roland@hack.frob.com>
25845         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
25846         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
25848 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
25850         * nscd/Depend (linuxthreads): Remove.
25851         (nptl): Add.
25852         * resolv/Depend (linuxthreads): Remove.
25853         * rt/Depend (linuxthreads): Remove.
25855         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
25856         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
25857         $(common-objpfx)elf/.
25858         (link-libc-before-gnulib): Likewise.
25859         (elfobjdir): Remove variable.
25860         * Makefile (install): Use $(elf-objpfx) instead of
25861         $(common-objpfx)elf/.
25862         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
25863         $(elfobjdir)/.
25864         (link-libc-deps): Likewise.
25865         ($(common-objpfx)libc.so): Likewise.
25866         ($(common-objpfx)linkobj/libc.so): Likewise.
25867         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
25868         instead of $(common-objpfx)elf/.
25869         (symbolic-link-list): Likewise.
25870         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
25871         [$(cross-compiling) = no]: Likewise.
25872         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
25873         $(elfobjdir)/.
25874         (static-gnulib-arch): Likewise.
25875         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
25876         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
25877         $(common-objpfx)elf/.
25879 2014-05-21  Richard Henderson  <rth@redhat.com>
25881         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
25882         (SINGLE_THREAD_P): Use the correct width load.  Fold
25883         into the ldr offset.
25885         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
25886         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
25888 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
25890         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
25891         (libgcc_s_resume): Use __attribute_used__.
25892         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
25893         Likewise.
25895 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25897         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
25898         optimization when used with float constants.
25900         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25902 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
25904         [BZ #16915]
25905         * locale/nl_langinfo_l.c: Make direct reference to every
25906         _nl_current_CATEGORY symbol.
25907         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
25908         (tests-static): Add tst-langinfo-static.
25909         (tests-special): Add tst-langinfo-static.out.
25910         ($(objpfx)tst-langinfo.out): Redirect output.
25911         ($(objpfx)tst-langinfo-static.out): New.
25912         * localedata/tst-langinfo.sh: Send output to stdout.
25913         * localedata/tst-langinfo-static.c: New file.
25915         [BZ #16965]
25916         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
25917         when the shift amount is modulo the limb size.
25919 2014-05-20  Richard Henderson  <rth@redhat.com>
25921         [BZ #16967]
25922         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
25923         Change type of sa_flags from unsigned int to int.
25925         [BZ #16966]
25926         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
25928         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
25930 2014-05-20  Will Newton  <will.newton@linaro.org>
25932         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
25933         Test the return value of the system call in the nocancel case.
25935 2014-05-20  Will Newton  <will.newton@linaro.org>
25936             Yvan Roux  <yvan.roux@linaro.org>
25938         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
25939         #include of asm/ptrace.h.
25940         (PTRACE_GET_THREAD_AREA): Remove #undef.
25941         (PTRACE_GETHBPREGS): Likewise.
25942         (PTRACE_SETHBPREGS): Likewise.
25943         (struct user_regs_struct): New structure.
25944         (struct user_fpsimd_struct): New structure.
25945         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
25946         #include of asm/ptrace.h and second #include of sys/user.h.
25947         (PTRACE_GET_THREAD_AREA): Remove #undef.
25948         (PTRACE_GETHBPREGS): Likewise.
25949         (PTRACE_SETHBPREGS): Likewise.
25950         (ELF_NGREG): Use new struct user_regs_struct.
25951         (elf_fpregset_t): Use new struct user_fpsimd_struct.
25953 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25955         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
25956         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
25958 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
25960         [BZ #16958]
25961         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
25962         membar to avoid block loads/stores to overlap previous stores.
25964 2014-05-17  Richard Henderson  <rth@redhat.com>
25966         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
25967         Create the __##syscall_name##_nocancel entry point.
25968         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
25969         Remove; let the sysdep-cancel.h code create it.
25971 2014-05-17  David S. Miller  <davem@davemloft.net>
25973         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
25974         Protect with __USE_GNU.
25975         (TIOCSET_TEMPT): Likewise.
25976         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
25977         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
25978         these are already provided in bits/ioctl-types.h
25980 2014-05-16  Roland McGrath  <roland@hack.frob.com>
25982         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
25983         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
25985         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
25986         Use wait4 regardless of [__NR_waitpid].
25988 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
25990         PR libgcc/60166
25991         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
25992         (_FP_NANSIGN_Q): Set the quiet bit.
25994 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
25996         * benchtests/Makefile
25997         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
25998         not $(common-objpfx)math/libm.so.
25999         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
26000         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
26001         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
26002         $(common-objpfx)dlfcn/libdl.so.
26003         ($(objpfx)tst-audit8): Depend on $(libm), not
26004         $(common-objpfx)math/libm.so.
26005         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
26006         not $(common-objpfx)dlfcn/libdl.so.
26007         * math/Makefile
26008         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
26009         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
26010         [$(build-shared) = yes].
26011         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
26012         $(common-objpfx)nptl/libpthread.so.
26013         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
26014         $(common-objpfx)math/libm.so$(libm.so-version) or
26015         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
26016         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
26017         $(common-objpfx)dlfcn/libdl.so.
26018         * setjmp/Makefile (link-libm): Remove variable.
26019         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
26020         * stdio-common/Makefile (link-libm): Remove variable.
26021         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
26022         * stdlib/Makefile (link-libm): Remove variable.
26023         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
26024         ($(objpfx)tst-strtod-round): Likewise.
26025         ($(objpfx)tst-tininess): Likewise.
26026         ($(objpfx)tst-strtod-underflow): Likewise.
26027         ($(objpfx)tst-strtod6): Likewise.
26028         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
26029         $(libdl), not $(common-objpfx)nptl/libpthread.so and
26030         $(common-objpfx)dlfcn/libdl.so.
26032 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26034         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
26035         BSD terminal modes definitions.
26037 2014-05-16  Roland McGrath  <roland@hack.frob.com>
26039         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
26040         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
26042         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
26043         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
26044         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
26045         Don't do #include_next.
26046         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
26047         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
26048         Don't do #include_next.
26049         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
26050         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
26051         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
26052         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
26054 2014-05-16  Allan McRae  <allan@archlinux.org>
26056         * po/sv.po: Update Swedish translation from translation project.
26058         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
26059         in sed expression.
26061 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
26063         [BZ #16917]
26064         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
26065         errno if the TIOCGPTN ioctl fails with an error different than
26066         EINVAL.
26067         * login/tst-ptsname.c: New file.
26068         * login/Makefile (tests): Add tst-ptsname.
26070         [BZ #16943]
26071         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
26072         and prlimit64.
26074 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26076         [BZ #16849]
26077         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
26078         herrno to return EAI_AGAIN.
26080 2014-05-14  Roland McGrath  <roland@hack.frob.com>
26082         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
26083         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
26084         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
26085         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
26086         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
26087         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
26088         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
26089         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
26090         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
26091         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
26092         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
26093         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
26094         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
26095         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
26096         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
26097         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
26098         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
26099         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
26100         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
26101         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
26102         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
26103         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
26104         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
26105         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
26106         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
26107         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
26108         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
26109         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
26110         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
26111         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
26112         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
26113         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
26114         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
26115         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
26116         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
26117         Moved ...
26118         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
26119         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
26120         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
26121         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
26122         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
26123         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
26124         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
26125         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
26126         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
26127         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
26128         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
26129         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
26130         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
26131         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
26132         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
26133         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
26134         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
26135         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
26136         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
26137         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
26138         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
26139         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
26140         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
26141         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
26142         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
26143         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
26144         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
26145         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
26146         Moved ...
26147         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
26148         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
26149         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
26150         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
26151         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
26152         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
26153         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
26154         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
26155         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
26156         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
26157         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
26158         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
26159         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
26160         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
26161         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
26162         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
26163         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
26164         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
26165         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
26166         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
26167         Moved ...
26168         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
26169         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
26170         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
26172         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
26173         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
26174         (libpthread-sysdep_routines): Add elision-related stuff here instead.
26175         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
26176         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
26177         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
26178         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
26179         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
26180         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
26181         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
26182         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
26183         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
26184         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
26185         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
26186         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
26187         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
26188         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
26189         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
26190         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
26191         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
26192         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
26193         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
26194         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
26195         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
26196         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
26197         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
26198         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
26199         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
26200         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
26201         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
26202         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
26204         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
26205         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
26207         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
26208         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
26209         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
26210         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
26211         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
26212         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
26213         Moved ...
26214         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
26215         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
26216         Moved ...
26217         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
26218         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
26219         Moved ...
26220         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
26221         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
26222         Moved ...
26223         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
26224         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
26225         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
26226         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
26227         Moved ...
26228         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
26229         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
26230         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
26231         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
26232         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
26233         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
26234         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
26235         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
26236         Moved ...
26237         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
26238         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
26239         Moved ...
26240         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
26241         ... here.
26242         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
26243         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
26244         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
26245         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
26246         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
26247         Moved ...
26248         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
26249         ... here.
26250         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
26251         Moved ...
26252         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
26253         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
26254         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
26255         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
26256         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
26257         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
26258         Moved ...
26259         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
26260         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
26261         Moved ...
26262         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
26263         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
26264         Moved ...
26265         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
26266         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
26267         Moved ...
26268         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
26269         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
26270         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
26271         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
26272         Moved ...
26273         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
26274         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
26275         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
26276         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
26277         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
26278         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
26279         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
26280         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
26281         Moved ...
26282         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
26283         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
26284         Moved ...
26285         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
26286         ... here.
26287         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
26288         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
26289         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
26290         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
26291         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
26292         Moved ...
26293         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
26294         ... here.
26295         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
26296         Moved ...
26297         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
26298         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
26299         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
26300         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
26301         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
26302         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
26303         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
26304         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
26305         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
26306         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
26307         Moved ...
26308         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
26309         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
26310         Moved ...
26311         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
26312         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
26313         Moved ...
26314         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
26315         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
26316         Moved ...
26317         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
26318         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
26319         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
26320         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
26321         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
26322         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
26323         Moved ...
26324         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
26325         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
26326         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
26327         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
26328         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
26329         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
26330         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
26331         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
26332         Moved ...
26333         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
26334         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
26335         Moved ...
26336         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
26337         ... here.
26338         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
26339         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
26340         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
26341         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
26342         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
26343         Moved ...
26344         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
26345         ... here.
26346         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
26347         Moved ...
26348         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
26349         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
26350         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
26351         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
26352         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
26353         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
26354         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
26355         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
26356         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
26357         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
26358         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
26360         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
26361         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
26363         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
26364         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
26366         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
26367         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
26368         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
26369         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
26370         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
26371         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
26372         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
26373         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
26374         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
26375         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
26376         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
26377         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
26378         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
26379         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
26380         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
26381         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
26382         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
26383         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
26384         Moved ...
26385         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
26386         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
26387         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
26388         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
26389         Moved ...
26390         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
26391         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
26392         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
26393         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
26394         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
26395         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
26396         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
26397         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
26398         Moved ...
26399         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
26400         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
26401         Moved ...
26402         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
26403         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
26404         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
26405         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
26406         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
26407         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
26408         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
26409         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
26410         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
26411         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
26412         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
26413         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
26414         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
26415         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
26416         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
26417         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
26418         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
26420         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
26421         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
26422         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
26423         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
26424         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
26426         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
26427         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
26428         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
26429         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
26430         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
26431         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
26432         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
26433         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
26434         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
26435         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
26437         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
26438         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
26440         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
26441         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
26442         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
26443         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
26444         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
26445         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
26446         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
26447         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
26448         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
26449         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
26450         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
26451         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
26452         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
26453         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
26454         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
26455         Update #include.
26456         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
26457         Likewise.
26458         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
26459         Likewise.
26460         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
26461         Likewise.
26462         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
26463         Likewise.
26464         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
26465         Likewise.
26466         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
26467         Likewise.
26468         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
26469         Likewise.
26470         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
26471         Likewise.
26472         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
26473         Likewise.
26474         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
26475         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
26476         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
26477         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
26478         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
26479         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
26480         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
26481         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
26482         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
26483         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
26484         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
26485         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
26486         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
26487         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
26488         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
26490         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
26491         that was previously under [RESET_PID].
26492         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26493         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
26494         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
26496         * sysdeps/i386/nptl/Implies: New file.
26497         * sysdeps/x86_64/nptl/Implies: New file.
26498         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
26499         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
26500         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
26501         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
26503         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
26504         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
26505         (__libc_vfork): New strong alias.
26506         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
26507         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
26509         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
26510         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
26511         (__libc_vfork): New strong alias.
26512         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
26513         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
26515         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
26516         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
26517         (__libc_vfork): New strong alias.
26518         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
26519         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
26520         * nptl/pt-vfork.c: New file.
26521         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
26522         (libpthread: GLIBC_2.20): New version set (empty).
26524 2014-05-14  Will Newton  <will.newton@linaro.org>
26526         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
26527         rather than #if.
26529 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
26531         [BZ #16564]
26532         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
26533         arguments with exponent 65 or above.
26534         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
26535         arguments 0x1p113L or above.
26536         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
26537         to arguments 0x1p107L or above.
26538         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
26539         positive arguments with exponent 65 or above.
26540         * math/auto-libm-test-in: Add more tests of log1p.
26541         * math/auto-libm-test-out: Regenerated.
26543         [BZ #16928]
26544         * math/s_cacos.c (__cacos): Ensure zero real part of result from
26545         non-finite arguments is +0.
26546         * math/s_cacosf.c (__cacosf): Likewise.
26547         * math/s_cacosl.c (__cacosl): Likewise.
26548         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
26549         * sysdeps/i386/fpu/libm-test-ulps: Update.
26550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26552         [BZ #16927]
26553         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
26554         value.
26555         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
26556         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
26557         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
26558         for explicit high bit of mantissa when testing for argument equal
26559         to 1.
26560         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
26561         * sysdeps/i386/fpu/libm-test-ulps: Update.
26562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26564         [BZ #16516]
26565         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
26566         (__erf): Scale by 16 instead of 8 in potentially underflowing
26567         case.  Ensure exception if result actually underflows.
26568         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
26569         (__erff): Scale by 16 instead of 8 in potentially underflowing
26570         case.  Ensure exception if result actually underflows.
26571         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
26572         (efx8): Remove variable.
26573         (__erfl): Scale by 16 instead of 8 in potentially underflowing
26574         case.  Ensure exception if result actually underflows.
26575         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
26576         (efx8): Remove variable.
26577         (__erfl): Scale by 16 instead of 8 in potentially underflowing
26578         case.  Ensure exception if result actually underflows.
26579         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
26580         (efx8): Remove variable.
26581         (__erfl): Scale by 16 instead of 8 in potentially underflowing
26582         case.  Ensure exception if result actually underflows.
26583         * math/auto-libm-test-in: Add more tests of erf.
26584         * math/auto-libm-test-out: Regenerated.
26586 2014-05-14  Andreas Schwab  <schwab@suse.de>
26588         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
26589         Remove code conditionalized on USE___THREAD.
26591         * config.h.in (HAVE_PT_CHOWN): Define as 0.
26592         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
26593         not definedness.
26595 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
26597         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
26598         Define unconditionally.
26599         (__ASSUME_O_CLOEXEC): Likewise.
26600         (__ASSUME_SOCK_CLOEXEC): Likewise.
26601         (__ASSUME_IN_NONBLOCK): Likewise.
26602         (__ASSUME_PIPE2): Likewise.
26603         (__ASSUME_EVENTFD2): Likewise.
26604         (__ASSUME_SIGNALFD4): Likewise.
26605         (__ASSUME_DUP3): Likewise.
26606         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26607         (__ASSUME_DUP3): Do not define.
26608         (__ASSUME_EVENTFD2): Likewise.
26609         (__ASSUME_IN_NONBLOCK): Likewise.
26610         (__ASSUME_O_CLOEXEC): Likewise.
26611         (__ASSUME_PIPE2): Likewise.
26612         (__ASSUME_SIGNALFD4): Likewise.
26613         (__ASSUME_SOCK_CLOEXEC): Likewise.
26614         (__ASSUME_UTIMES): Undefine.
26615         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26616         (__ASSUME_UTIMES): Do not define.
26617         (__ASSUME_O_CLOEXEC): Likewise.
26618         (__ASSUME_SOCK_CLOEXEC): Likewise.
26619         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
26620         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
26621         0x020621].
26622         (__ASSUME_PIPE2): Likewise.
26623         (__ASSUME_EVENTFD2): Likewise.
26624         (__ASSUME_SIGNALFD4): Likewise.
26625         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
26626         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
26627         Do not define.
26628         (__ASSUME_EVENTFD2): Likewise.
26629         (__ASSUME_SIGNALFD4): Likewise.
26630         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26631         (__ASSUME_32BITUIDS): Likewise.
26632         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
26633         (__ASSUME_IPC64): Likewise.
26634         (__ASSUME_ST_INO_64_BIT): Likewise.
26635         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
26636         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
26637         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26638         (__ASSUME_UTIMES): Do not define.
26639         (__ASSUME_PSELECT): Likewise.
26640         (__ASSUME_PPOLL): Likewise.
26641         (__ASSUME_O_CLOEXEC): Likewise.
26642         (__ASSUME_SOCK_CLOEXEC): Likewise.
26643         (__ASSUME_IN_NONBLOCK): Likewise.
26644         (__ASSUME_PIPE2): Likewise.
26645         (__ASSUME_EVENTFD2): Likewise.
26646         (__ASSUME_SIGNALFD4): Likewise.
26647         (__ASSUME_DUP3): Likewise.
26648         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
26649         (__ASSUME_UTIMES): Likewise.
26650         (__ASSUME_O_CLOEXEC): Likewise.
26651         (__ASSUME_SOCK_CLOEXEC): Likewise.
26652         (__ASSUME_IN_NONBLOCK): Likewise.
26653         (__ASSUME_PIPE2): Likewise.
26654         (__ASSUME_EVENTFD2): Likewise.
26655         (__ASSUME_SIGNALFD4): Likewise.
26656         (__ASSUME_DUP3): Likewise.
26657         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26658         (__ASSUME_UTIMES): Likewise.
26659         (__ASSUME_O_CLOEXEC): Likewise.
26660         (__ASSUME_SOCK_CLOEXEC): Likewise.
26661         (__ASSUME_IN_NONBLOCK): Likewise.
26662         (__ASSUME_PIPE2): Likewise.
26663         (__ASSUME_EVENTFD2): Likewise.
26664         (__ASSUME_SIGNALFD4): Likewise.
26665         (__ASSUME_DUP3): Likewise.
26666         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
26667         Likewise.
26668         (__ASSUME_UTIMES): Likewise.
26669         (__ASSUME_EVENTFD2): Likewise.
26670         (__ASSUME_SIGNALFD4): Likewise.
26671         * sysdeps/unix/sysv/linux/tile/kernel-features.h
26672         (__ASSUME_O_CLOEXEC): Likewise.
26673         (__ASSUME_SOCK_CLOEXEC): Likewise.
26674         (__ASSUME_IN_NONBLOCK): Likewise.
26675         (__ASSUME_PIPE2): Likewise.
26676         (__ASSUME_EVENTFD2): Likewise.
26677         (__ASSUME_SIGNALFD4): Likewise.
26678         (__ASSUME_DUP3): Likewise.
26679         (__ASSUME_UTIMES): Undefine.
26681         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
26682         feclearexcept.  Remove symbol versioning code.
26683         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
26684         symbol versioning code.
26685         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
26686         symbol versioning code.
26687         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
26688         feupdateenv.  Remove symbol versioning code.
26689         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
26690         fegetexceptflag.  Remove symbol versioning code.
26691         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
26692         fesetexceptflag.  Remove symbol versioning code.
26693         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
26694         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
26695         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
26696         (__posix_fadvise64_l32): Remove prototype.
26697         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
26698         code.
26700 2014-05-13  Roland McGrath  <roland@hack.frob.com>
26702         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
26703         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
26704         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
26705         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
26707 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
26709         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
26710         current working directory
26712 2014-05-13  Roland McGrath  <roland@hack.frob.com>
26714         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
26715         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
26716         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
26717         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
26718         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
26719         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
26720         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
26721         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
26722         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
26723         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
26724         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
26725         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
26726         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
26727         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
26728         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
26729         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
26730         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
26731         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
26732         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
26733         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
26734         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
26735         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
26736         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
26737         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
26738         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
26739         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
26740         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
26741         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
26742         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
26743         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
26744         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
26745         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
26746         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
26747         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
26748         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
26749         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
26750         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
26751         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
26752         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
26753         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
26754         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
26755         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
26757         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
26758         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
26760         * sysdeps/unix/sysv/linux/arm/Makefile
26761         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
26762         Add rt-aeabi_unwind_cpp_pr1.
26763         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
26764         Add nptl-aeabi_unwind_cpp_pr1.
26765         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
26766         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
26767         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
26768         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
26769         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
26770         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
26772         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
26773         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
26774         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
26775         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
26777         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
26778         Deconditionalize the code that was previously under [RESET_PID].
26779         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
26781         * sysdeps/generic/exit-thread.h: New file.
26782         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
26783         * include/unistd.h (__exit_thread): Remove declaration.
26784         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
26785         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
26786         * csu/libc-start.c: Include <exit-thread.h>.
26787         (LIBC_START_MAIN): Pass no argument to __exit_thread.
26788         * nptl/pthread_create.c: Include <exit-thread.h>.
26789         (start_thread): Call __exit_thread in place of __exit_thread_inline.
26790         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
26791         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
26792         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
26793         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
26794         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
26795         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
26796         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
26797         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
26798         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
26799         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
26800         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
26801         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
26802         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
26803         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
26804         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
26805         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
26807 2014-05-13  Andreas Schwab  <schwab@suse.de>
26809         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
26811 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
26813         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
26814         (__ASSUME_UTIMES): Do not condition on kernel version.
26815         (__ASSUME_PSELECT): Define unconditionally.
26816         (__ASSUME_PPOLL): Likewise.
26817         (__ASSUME_ATFCTS): Likewise.
26818         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
26819         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
26820         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
26821         (__ASSUME_UTIMENSAT): Define unconditionally.
26822         (__ASSUME_PRIVATE_FUTEX): Likewise.
26823         (__ASSUME_FALLOCATE): Likewise.
26824         (__ASSUME_O_CLOEXEC): Likewise.
26825         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
26826         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
26827         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
26828         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
26829         (__ASSUME_IN_NONBLOCK): Likewise.
26830         (__ASSUME_PIPE2): Likewise.
26831         (__ASSUME_EVENTFD2): Likewise.
26832         (__ASSUME_SIGNALFD4): Likewise.
26833         (__ASSUME_DUP3): Likewise.
26834         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
26835         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
26836         (__ASSUME_AT_RANDOM): Likewise.
26837         (__ASSUME_PREADV): Likewise.
26838         (__ASSUME_PWRITEV): Likewise.
26839         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
26840         (__ASSUME_F_GETOWN_EX): Define unconditionally.
26841         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
26842         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
26843         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
26844         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26845         (__ASSUME_O_CLOEXEC): Define unconditionally.
26846         (__ASSUME_PSELECT): Do not undefine conditionally.
26847         (__ASSUME_PPOLL): Likewise.
26848         (__ASSUME_ATFCTS): Likewise.
26849         (__ASSUME_SET_ROBUST_LIST): Likewise.
26850         (__ASSUME_UTIMENSAT): Likewise.
26851         (__ASSUME_FDATASYNC): Define unconditionally.
26852         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26853         (__ASSUME_SIGFRAME_V2): Likewise.
26854         )__ASSUME_EVENTFD2): Likewise.
26855         (__ASSUME_SIGNALFD4): Likewise.
26856         (__ASSUME_PSELECT): Do not undefine conditionally.
26857         (__ASSUME_PPOLL): Likewise.
26858         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26859         (__ASSUME_PSELECT): Define unconditionally.
26860         (__ASSUME_PPOLL): Likewise.
26861         (__ASSUME_O_CLOEXEC): Likewise.
26862         (__ASSUME_SOCK_CLOEXEC): Likewise.
26863         (__ASSUME_IN_NONBLOCK): Likewise.
26864         (__ASSUME_PIPE2): Likewise.
26865         (__ASSUME_EVENTFD2): Likewise.
26866         (__ASSUME_SIGNALFD4): Likewise.
26867         (__ASSUME_DUP3): Likewise.
26868         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
26869         (__ASSUME_O_CLOEXEC): Likewise.
26870         (__ASSUME_SOCK_CLOEXEC): Likewise.
26871         (__ASSUME_IN_NONBLOCK): Likewise.
26872         (__ASSUME_PIPE2): Likewise.
26873         (__ASSUME_EVENTFD2): Likewise.
26874         (__ASSUME_SIGNALFD4): Likewise.
26875         (__ASSUME_DUP3): Likewise.
26876         * sysdeps/unix/sysv/linux/mips/kernel-features.h
26877         (__ASSUME_EVENTFD2): Likewise.
26878         (__ASSUME_SIGNALFD4): Likewise.
26879         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
26881 2014-05-12  Andreas Schwab  <schwab@suse.de>
26883         [BZ #16932]
26884         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
26885         (_nss_nis_gethostbyname4_r): Return error if item length is larger
26886         than maximum RPC packet size.
26887         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
26888         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
26889         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
26890         (_nss_nis_getservbyport_r): Likewise.
26892 2014-05-12  Will Newton  <will.newton@linaro.org>
26894         * malloc/Makefile (tests): Add tst-mallopt.
26895         * malloc/tst-mallopt.c: New file.
26897 2014-05-09  Roland McGrath  <roland@hack.frob.com>
26899         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
26900         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
26902 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26904         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
26905         (tst-tlsmod6.so): Likewise.
26907 2014-05-09  Roland McGrath  <roland@hack.frob.com>
26909         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
26911 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
26913         [BZ #16064]
26914         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
26915         and <dl-procinfo.h>.
26916         (__fegetenv): Save SSE state in envp->__eip if supported.
26917         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
26918         envp->__eip if supported.
26919         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
26920         and <dl-procinfo.h>.
26921         (__fesetenv): Always set __eip, __cs_selector, __opcode,
26922         __data_offset and __data_selector in environment to 0.  Set SSE
26923         state if supported.
26924         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
26925         test-fenv-sse.
26926         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
26927         -mfpmath=sse.
26928         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
26930 2014-05-09  Will Newton  <will.newton@linaro.org>
26932         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
26933         and libc_relro_required for ARM.
26934         * sysdeps/arm/preconfigure: Regenerate.
26936 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
26937             Stefan Liebler  <stli@linux.vnet.ibm.com>
26939         * config.make.in (enable-lock-elision): New Makefile variable.
26940         * configure.ac: Likewise.
26941         * configure: Regenerate.
26942         * sysdeps/s390/configure.ac:
26943         Add check for gcc transactions support.
26944         * sysdeps/s390/configure: Regenerate.
26945         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
26946         Build elision files if enabled.
26947         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
26948         Add lock elision support for s390.
26949         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
26950         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
26951         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
26952         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
26953         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
26954         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
26955         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
26956         Likewise.
26957         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
26958         Likewise.
26959         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
26960         Likewise.
26961         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
26962         Likewise.
26963         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
26964         (__lll_timedlock_elision, __lll_lock_elision)
26965         (__lll_unlock_elision, __lll_trylock_elision)
26966         (lll_timedlock_elision, lll_lock_elision)
26967         (lll_unlock_elision, lll_trylock_elision): Add.
26968         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
26969         (pthread_mutex_t): Add lock elision support for s390.
26971 2014-05-14  Wilco  <wdijkstr@arm.com>
26973         * sysdeps/arm/fclrexcpt.c: Cleanup.
26974         * sysdeps/arm/fedisblxcpt.c: Cleanup.
26975         * sysdeps/arm/feenablxcpt.c: Cleanup.
26976         * sysdeps/arm/fegetenv.c: Cleanup.
26977         * sysdeps/arm/fegetexcept.c: Cleanup.
26978         * sysdeps/arm/fegetround.c: Cleanup.
26979         * sysdeps/arm/feholdexcpt.c: Cleanup.
26980         * sysdeps/arm/fesetenv.c: Cleanup.
26981         * sysdeps/arm/fesetround.c: Cleanup.
26982         * sysdeps/arm/feupdateenv.c: Cleanup.
26983         * sysdeps/arm/fgetexcptflg.c: Cleanup.
26984         * sysdeps/arm/fraiseexcpt.c: Cleanup.
26985         * sysdeps/arm/fsetexcptflg.c: Cleanup.
26986         * sysdeps/arm/ftestexcept.c: Cleanup.
26987         * sysdeps/arm/get-rounding-mode.h: Cleanup.
26988         * sysdeps/arm/setfpucw.c: Cleanup.
26990 2014-05-09  Will Newton  <will.newton@linaro.org>
26992         * sysdeps/arm/armv7/strcmp.S: New file.
26993         * NEWS: Mention addition of ARMv7 optimized strcmp.
26995 2014-05-08  Roland McGrath  <roland@hack.frob.com>
26997         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
26998         look for %.ac rather than %.in.
27000         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
27001         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
27002         * sysdeps/mach/hurd/configure: Regenerated.
27003         * sysdeps/unix/sysv/linux/configure: Regenerated.
27005         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
27007 2014-05-07  Steve Ellcey  <sellcey@mips.com>
27009         [BZ# 16922]
27010         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
27011         (LONG_SUB): Ditto.
27012         (PTR_SUB): Ditto.
27014 2014-05-07  Andreas Schwab  <schwab@suse.de>
27016         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
27017         when skipping over non-matching result from nscd.
27019 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
27021         [BZ #16876]
27022         * nptl/sockperf.c (client): Check socket return value.
27024         [BZ #16877]
27025         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
27026         nscd security class.
27028 2014-05-06  Roland McGrath  <roland@hack.frob.com>
27030         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
27031         * sysdeps/arm/unwind.h: ... here.
27033 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
27035         [BZ# 16916]
27036         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
27037         Define.
27039 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27041         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
27042         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
27043         multiarch strncpy for PPC64.
27044         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
27045         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
27046         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
27047         multiarch optimizations.
27048         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27049         (__libc_ifunc_impl_list): Likewise.
27050         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
27051         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
27052         multiarch stpncpy for PPC64.
27053         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
27054         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
27056 2014-05-06  Andreas Schwab  <schwab@suse.de>
27058         [BZ #16912]
27059         * gmon/mcount.c (_MCOUNT_DECL): Use
27060         atomic_compare_and_exchange_bool_acq instead of
27061         catomic_compare_and_exchange_bool_acq.
27063 2014-05-05  Roland McGrath  <roland@hack.frob.com>
27065         * elf/Makefile (others, install-bin): Remove pldd.
27066         (pldd-modules): Variable removed.
27067         ($(objpfx)pldd): Target removed.
27068         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
27069         (others, install-bin): Append pldd here.
27070         ($(objpfx)pldd): New target.
27072         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
27073         to 0, so the first #if test emitted later doesn't see it undefined.
27074         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
27075         * sysdeps/gnu/errlist.c: Regenerated.
27077 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27079         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
27080         [libc_hidden_builtin_def]: Define to empty value.
27081         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
27082         [libc_hidden_builtin_def]: Likewise.
27083         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
27084         [libc_hidden_builtin_def]: Likewise.
27085         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
27086         [libc_hidden_builtin_def]: Likewise.
27087         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
27088         __redirect_memcpy and define ifunc as default hidden symbol.
27089         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
27090         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
27092 2014-05-04  Adam Conrad  <adconrad@0c3.net>
27094         * locale/iso-4217.def: Reintroduce XDR currency.
27096 2014-05-04  Allan McRae  <allan@archlinux.org>
27098         * po/eo.po: Update Esperanto translation from translation project.
27100 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
27102         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
27103         and FEATURE_INDEX_MAX to 1.
27104         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
27106 2014-05-01  Steve Ellcey  <sellcey@mips.com>
27108         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
27109         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
27110         * iconvdata/big5.c (ONE_DIRECTION): Define.
27111         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
27112         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
27113         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
27114         * iconvdata/cp932.c (ONE_DIRECTION): Define.
27115         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
27116         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
27117         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
27118         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
27119         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
27120         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
27121         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
27122         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
27123         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
27124         * iconvdata/gbk.c (ONE_DIRECTION): Define.
27125         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
27126         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
27127         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
27128         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
27129         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
27130         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
27131         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
27132         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
27133         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
27134         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
27135         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
27136         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
27137         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
27138         * iconvdata/iso646.c (ONE_DIRECTION): Define.
27139         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
27140         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
27141         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
27142         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
27143         * iconvdata/johab.c (ONE_DIRECTION): Define.
27144         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
27145         * iconvdata/sjis.c (ONE_DIRECTION): Define.
27146         * iconvdata/t.61.c (ONE_DIRECTION): Define.
27147         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
27148         * iconvdata/tscii.c (ONE_DIRECTION): Define.
27149         * iconvdata/uhc.c (ONE_DIRECTION): Define.
27150         * iconvdata/unicode.c (ONE_DIRECTION): Define.
27151         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
27152         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
27153         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
27155 2014-05-01  Roland McGrath  <roland@hack.frob.com>
27157         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
27158         (_IO_JUMPS_OFFSET): Define to 0.
27160         * nptl/sysdeps/pthread/bits/libc-lock.h
27161         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
27162         (__libc_lock_define_initialized_recursive): Always define using
27163         initializer.  Modern compilers treat uninitialized (implicit zero) and
27164         explicit zero initializers the same (i.e. put the datum in bss).
27166 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
27168         * nscd/nscd-client.h: Include <string.h>.
27170 2014-05-01  David S. Miller  <davem@davemloft.net>
27172         [BZ #16885]
27173         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
27174         multiple zero bytes exist at the end of a string.
27175         Reported by Aurelien Jarno <aurelien@aurel32.net>
27177         * string/test-strcmp.c (check): Add explicit test for situations where
27178         there are multiple zero bytes after the first.
27180 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
27182         [BZ #16890]
27183         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
27184         when compiling wprintf.
27185         * stdio-common/tstdiomisc.c (t3): New function.
27186         (main): Call it.
27188 2014-05-01  Steve Ellcey  <sellcey@mips.com>
27190         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
27191         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
27192         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
27193         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
27195 2014-05-01  Steve Ellcey  <sellcey@mips.com>
27197         * stdlib/longlong.h: Updated from GCC.
27199 2014-05-01  Will Newton  <will.newton@linaro.org>
27200             Bernard Ogden  <bernie.ogden@linaro.org>
27202         * NEWS: Update fixed bug list.
27204         [BZ #15119]
27205         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
27207 2014-04-30  David S. Miller  <davem@davemloft.net>
27209         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
27210         (libc_feholdexcept_setround_sparc_ctx): New function.
27211         (libc_fesetenv_sparc_ctx): Likewise.
27212         (libc_feupdateenv_sparc_ctx): Likewise.
27213         (libc_feholdsetround_sparc_ctx): Likewise.
27214         (libc_feholdexcept_setround_ctx): Define.
27215         (libc_feholdexcept_setroundf_ctx): Likewise.
27216         (libc_feholdexcept_setroundl_ctx): Likewise.
27217         (libc_fesetenv_ctx): Likewise.
27218         (libc_fesetenvf_ctx): Likewise.
27219         (libc_fesetenvl_ctx): Likewise.
27220         (libc_feupdateenv_ctx): Likewise.
27221         (libc_feupdateenvf_ctx): Likewise.
27222         (libc_feupdateenvl_ctx): Likewise.
27223         (libc_feresetround_ctx): Likewise.
27224         (libc_feresetroundf_ctx): Likewise.
27225         (libc_feresetroundl_ctx): Likewise.
27226         (libc_feholdsetround_ctx): Likewise.
27227         (libc_feholdsetroundf_ctx): Likewise.
27228         (libc_feholdsetroundl_ctx): Likewise.
27230         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
27231         with __USE_GNU instead of XOPEN cpp guards.
27233         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
27234         0.
27236         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
27237         with XOPEN cpp guards.
27239 2014-04-30  Julian Brown  <julian@codesourcery.com>
27241         [BZ #16888]
27242         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
27243         handling.
27245 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
27247         [BZ #9894]
27248         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
27249         Change to 2.6.32.
27250         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
27251         * sysdeps/unix/sysv/linux/configure: Regenerated.
27252         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
27253         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
27254         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
27255         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
27256         * README: Update reference to required Linux kernel version.
27257         * manual/install.texi (Linux): Update reference to required Linux
27258         kernel headers version.
27259         * INSTALL: Regenerated.
27261         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
27262         header inclusion.
27263         [POSIX] (limits.h): Likewise.
27264         [POSIX] (math.h): Likewise.
27265         [POSIX] (sys/wait.h): Likewise.
27266         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
27267         function.
27268         [POSIX] (stddef.h): Do not allow header inclusion.
27270 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27272         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
27274 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
27276         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
27277         Return immediately after lll_futex_wake.
27279 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27281         [BZ #16791]
27282         * nscd/nscd-client.h (datahead_init_common): Initialize entire
27283         structure.
27284         (datahead_init_pos): Call datahead_init_common early.
27285         (datahead_init_neg): Likewise.
27287         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
27288         datahead_init_neg): New functions.
27289         * nscd/aicache.c (addhstaiX): Use them.
27290         * nscd/grpcache.c (cache_addgr): Likewise.
27291         * nscd/hstcache.c (cache_addhst): Likewise.
27292         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27293         * nscd/netgroupcache.c (do_notfound): Likewise.
27294         (addgetnetgrentX): Likewise.
27295         (addinnetgrX): Likewise.
27296         * nscd/pwdcache.c (cache_addpw): Likewise.
27297         * nscd/servicescache.c (cache_addserv): Likewise.
27299 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27300             Atsushi Onoe  <atsushi@onoe.org>
27302         [BZ #14308]
27303         [BZ #12994]
27304         [BZ #13651]
27305         * resolv/res_query.c (__libc_res_nsearch): Return if at least
27306         one response is valid.
27307         * resolv/res_send.c (send_dg): Check for validity of other
27308         response if the current response is a referral.
27310 2014-04-29  Steve Ellcey  <sellcey@mips.com>
27312         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
27314 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
27316         [BZ #16823]
27317         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
27318         Always divide by positive zero when computing -Inf result.
27319         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
27320         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
27322 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27324         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
27325         FPSCR if value do not change.
27326         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27327         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
27328         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
27329         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
27330         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
27331         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
27332         function.
27334 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
27336         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
27337         * sysdeps/unix/sysv/linux/hppa: Move directory from
27338         ports/systeps/unix/sysv/linux/hppa.
27339         * README: Update listing for hppa-*-linux-gnu.
27341 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
27343         [BZ #16754]
27344         * manual/stdio.texi (Hook functions): Fix types of stream hook
27345         functions.
27346         [BZ #16854]
27347         * socket/sys/socket.h: Fix typo in comment.
27349 2014-04-28  Wilco  <wdijkstr@arm.com>
27351         * sysdeps/arm/fenv_private.h: New file.
27352         * sysdeps/arm/math_private.h: New file.
27353         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
27355 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
27357         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
27358         with __int128_t.
27359         (La_x86_64_retval): Likewise.
27361 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
27363         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
27364         fpsr if value didn't change.
27365         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
27366         to fpcr if value didn't change.
27367         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
27368         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
27369         fpsr or fpcr if value didn't change.
27370         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
27371         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
27372         fpcr if value didn't change.
27373         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
27374         to fpsr if value didn't change.
27376 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
27378         * nptl/tst-sem3.c: Use test-skeleton.c
27379         (main): Rename to do_test.  Use return instead of
27380         exit.
27381         * nptl/tst-sem4.c: Use test-skeleton.c
27382         (main): Rename to do_test.
27384 2014-04-22  David S. Miller  <davem@davemloft.net>
27386         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
27387         (struct sigaction): New struct member __glibc_reserved0, change
27388         type of sa_flags to int.
27390 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
27392         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
27393         (COUNT_LEADING_ZEROS_0): Define for AArch64.
27395 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27397         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
27398         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
27400 2014-04-22  Will Newton  <will.newton@linaro.org>
27401             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
27403         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
27404         (__longjmp): Add longjmp and longjmp_target SystemTap
27405         probes.
27406         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
27407         (__sigsetjmp): Add setjmp SystemTap probe.
27409 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
27411         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
27412         match manual order.
27414 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27416         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
27418         * sysdeps/powerpc/fpu/fenv_private.h
27419         (libc_feholdexcept_setroundl_ctx): Define to
27420         libc_feholdexcept_setround_ppc_ctx.
27421         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
27422         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
27423         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
27424         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
27426 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
27428         * sysdeps/aarch64/math-tests.h: New file.
27430 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
27432         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
27433         New.
27434         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27435         Check and set bit_AVX2_Usable.
27436         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
27437         macro.
27438         (bit_AVX2): Likewise.
27439         (index_AVX2_Usable): Likewise.
27440         (CPUID_AVX2): Likewise.
27441         (HAS_AVX2): Likewise.
27443 2014-04-17  Will Newton  <will.newton@linaro.org>
27445         * manual/setjmp.texi (System V contexts): Add note that
27446         calling setcontext on a context created by a call to a
27447         signal handler is undefined.  Update text to note that
27448         setcontext from a signal handler is possible but not
27449         recommended.
27451         [BZ #16629]
27452         * stdlib/tst-setcontext.c: Include signal.h.
27453         (main): Check that the signal stack before and
27454         after swapcontext is the same.
27456         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
27457         Re-implement to restore registers in user code and avoid
27458         rt_sigreturn system call.
27460 2014-04-17  Wilco  <wdijkstr@arm.com>
27462         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
27463         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
27464         * math/test-fenv.c: Skip exception trap tests on targets which only
27465         support non-stop mode.
27467 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
27468             Wilco Dijkstra  <wilco.dijkstra@arm.com>
27470         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
27471         (libc_feholdsetround_aarch64_ctx)
27472         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
27473         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
27474         (libc_feresetround_ctx, libc_feresetroundf_ctx)
27475         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
27476         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
27477         (libc_feresetround_noexl_ctx): Define.
27479 2014-04-16  Richard Henderson  <rth@redhat.com>
27481         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
27483         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
27484         unwind tables.
27486         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
27487         const from the non-libc, non-ldso copy.
27489         * sysdeps/alpha/libm-test-ulps: Regenerate.
27491 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
27492             Wilco Dijkstra  <wilco.dijkstra@arm.com>
27494         * sysdeps/aarch64/fpu/math_private.h: New file.
27496 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
27498         * sysdeps/aarch64/libm-test-ulps: Regenerate.
27500 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
27502         [BZ #16275]
27503         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
27504         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
27505         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
27506         Intel MPX bound registers before _dl_profile_fixup.
27507         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
27508         registers after _dl_profile_fixup.  Save and restore bound
27509         registers bnd0/bnd1 when calling _dl_call_pltexit.
27510         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
27511         (LR_BND_OFFSET): Likewise.
27512         (LRV_BND0_OFFSET): Likewise.
27513         (LRV_BND1_OFFSET): Likewise.
27515 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27517         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
27518         to...
27519         * sysdeps/mach/hurd/i386/tls.h: ... here.
27520         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
27521         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
27522         fields.
27524 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27526         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
27528 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
27530         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27532 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
27534         [BZ #14770]
27535         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
27536         * sysdeps/s390/configure: Regenerate.
27538         [BZ #16824]
27539         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
27540         Set round-to-nearest internally to reduce error accumulation.
27542 2014-04-16  Alan Modra  <amodra@gmail.com>
27544         [BZ #16740]
27545         [BZ #16619]
27546         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
27547         * math/libm-test.inc (frexp_test_data): Add tests.
27548         * NEWS: Update fixed bug list.
27550 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27552         * benchtests/Makefile: Depend on libraries in build directory.
27553         (bench-math): Separate out math tests.
27554         (bench-pthread): Separate out pthread tests.
27555         (bench): Include math and pthread tests.
27557 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
27559         [BZ #16831]
27560         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
27561         _dl_debug_initialize.
27563         * configure.ac: Remove SELinux header check.
27564         * configure: Regenerate.
27565         * nscd/selinux.c (perms): Array of const char* to permission names.
27566         (nscd_request_avc_has_perm): Call security_deny_unknown to find
27567         default policy. Call string_to_security_class and string_to_av_perm to
27568         translate strings. Enforce default policy and call avs_has_perm with
27569         results of translated strings.
27571 2014-04-13  David S. Miller  <davem@davemloft.net>
27573         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27575 2014-04-12  Allan McRae  <allan@archlinux.org>
27577         [BZ #16838]
27578         * manual/string.texi (Collation Functions): Fix qsort argument
27579         order in example.
27580         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
27582 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
27584         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
27585         Make the test a no-op if there are no exceptions defined.
27587 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
27589         * elf/Makefile (tests): make tst-dlopen-aout conditional on
27590         enable-hardcoded-path-in-tests
27592 2014-04-11  Will Newton  <will.newton@linaro.org>
27594         * benchtests/Makefile (extra-objs): Add json-lib.o.
27595         (bench-func): Tidy up JSON output.
27596         * benchtests/bench-skeleton.c: Include json-lib.h.
27597         (main): Use JSON library functions to do output of
27598         benchmark results.
27599         * benchtests/bench-timing-type.c (main): Output the
27600         timing type simply, leaving formatting to the user.
27601         * benchtests/json-lib.c: New file.
27602         * benchtests/json-lib.h: Likewise.
27604 2014-04-11  Torvald Riegel  <triegel@redhat.com>
27606         [BZ #15215]
27607         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
27608         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
27609         memory barriers.  Add comments.
27610         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
27611         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
27612         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
27613         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
27614         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
27615         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
27617 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
27619         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
27620         * sysdeps/s390/s390-64/configure.ac: ... this ...
27621         * sysdeps/s390/configure.ac: ... to here.
27622         * sysdeps/s390/s390-32/configure: Delete file.
27623         * sysdeps/s390/s390-64/configure: Delete file.
27624         * sysdeps/s390/configure: Regenerate.
27626 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
27628         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
27630 2014-04-11  Will Newton  <will.newton@linaro.org>
27632         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
27633         to zero if it is not defined elsewhere.  (mtrim): Test
27634         the value of MALLOC_DEBUG with #if rather than #ifdef.
27636 2014-04-10 Torvald Riegel  <triegel@redhat.com>
27638         * benchtests/pthread_once-inputs: New file.
27639         * benchtests/pthread_once-source.c: New file.
27640         * benchtests/README: Update documentation.
27642 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
27643             H.J. Lu  <hongjiu.lu@intel.com>
27645         [BZ #16275]
27646         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
27647         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
27648         * sysdeps/x86_64/configure: Regenerated.
27649         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
27650         macro.
27651         (REGISTER_SAVE_RAX): Likewise.
27652         (REGISTER_SAVE_RCX): Likewise.
27653         (REGISTER_SAVE_RDX): Likewise.
27654         (REGISTER_SAVE_RSI): Likewise.
27655         (REGISTER_SAVE_RDI): Likewise.
27656         (REGISTER_SAVE_R8): Likewise.
27657         (REGISTER_SAVE_R9): Likewise.
27658         (REGISTER_SAVE_BND0): Likewise.
27659         (REGISTER_SAVE_BND1): Likewise.
27660         (REGISTER_SAVE_BND2): Likewise.
27661         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
27662         bound registers when calling _dl_fixup.
27664 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27666         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
27667         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
27668         of its definition.
27669         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
27670         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
27671         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
27672         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
27673         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
27674         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
27675         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
27677 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
27679         [BZ #15514]
27680         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
27681         pathconf(_PC_NAME_MAX).
27683 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27685         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
27686         Remove macro usage.
27687         (__PTHREAD_SPINS): Move definition to ...
27688         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
27689         (__PTHREAD_SPINS): ... here.
27690         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
27691         (__PTHREAD_SPIN): Likewise.
27692         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
27693         (__PTHREAD_SPIN): Likewise.
27694         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
27695         (__PTHREAD_SPIN): Likewise.
27696         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
27697         (__PTHREAD_SPIN): Likewise.
27698         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
27699         (__PTHREAD_SPIN): Likewise.
27700         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
27701         (__PTHREAD_SPIN): Likewise.
27702         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
27703         (__PTHREAD_SPIN): Likewise.
27704         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
27705         (__PTHREAD_SPIN): Likewise.
27706         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
27707         (__PTHREAD_SPIN): Likewise.
27708         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
27709         (__PTHREAD_SPIN): Likewise.
27710         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
27711         (__PTHREAD_SPIN): Likewise.
27712         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
27713         (__PTHREAD_SPIN): Likewise.
27715         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
27716         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
27717         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
27718         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
27719         imply folder.
27720         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
27721         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
27722         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
27723         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
27724         correct imply path.
27725         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
27726         strlen symbol for non multi-arch builds.
27727         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
27728         missing hidden_def and weak_alias.
27730 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
27732         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
27734 2014-04-07  Will Newton  <will.newton@linaro.org>
27736         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
27737         and contents.  [!_LIBC] Remove #ifndef and contents.
27738         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
27739         * string/memccpy.c (__memccpy): Use ANSI prototype.
27740         * string/memfrob.c (memfrob): Likewise.
27741         * string/strcoll.c (STRCOLL): Likewise.
27742         * string/strlen.c (strlen): Likewise.
27743         * string/strtok.c (STRTOK): Likewise.
27744         * string/strcat.c: Remove unused #include of memcopy.h.
27745         (strcat): Use ANSI prototype.
27746         * string/strchr.c: Remove unused #include of memcopy.h.
27747         (strchr): Use ANSI prototype.
27748         * string/strcmp.c: Remove unused #include of memcopy.h.
27749         (strcmp): Use ANSI prototype.
27750         * string/strcpy.c: Remove unused #include of memcopy.h.
27751         (strcpy): Use ANSI prototype.
27753 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27755         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
27756         * config.make.in (config-extra-cppflags): Set it from
27757         libc_extra_cppflags.
27758         * configure.ac (libc_extra_cflags): Make it accumulate over
27759         configure fragments.
27760         (libc_extra_cppflags): New flag.
27761         * configure. Regenerate.
27762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
27763         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
27764         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
27765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
27767         [BZ #16815]
27768         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
27769         result for FE_DOWNWARD rounding mode.
27770         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
27771         Likewise.
27772         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27774 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
27776         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
27777         in function argument name.
27779 2014-04-03  David Svoboda  <svoboda@cert.org>
27781         [BZ #5666]
27782         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
27783         explicitly.
27785 2014-04-03  Roland McGrath  <roland@hack.frob.com>
27787         * elf/dl-unmap-segments.h: New file.
27788         * sysdeps/generic/ldsodefs.h
27789         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
27790         * elf/dl-close.c: Include <dl-unmap-segments.h>.
27791         * elf/dl-fptr.c: Likewise.
27792         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
27793         * sysdeps/aarch64/tlsdesc.c: Likewise.
27794         * sysdeps/arm/tlsdesc.c: Likewise.
27795         * sysdeps/i386/tlsdesc.c: Likewise.
27796         * sysdeps/tile/dl-runtime.c: Likewise.
27797         * sysdeps/x86_64/tlsdesc.c: Likewise.
27798         * elf/dl-load.h: New file.
27799         * elf/dl-load.c: Include it.
27800         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
27801         Macros moved to dl-load.h.
27802         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
27803         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
27804         Use _dl_unmap_segments in place of __munmap.
27805         Break out segment-mapping loop into ...
27806         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
27808 2014-04-03  Will Newton  <will.newton@linaro.org>
27810         * elf/dl-lookup.c (do_lookup_x): Remove comment
27811         referring to nested function and move variable
27812         declarations down to before first use.
27814 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
27816         [BZ #16799]
27817         [BZ #16800]
27818         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
27819         with 0 numerator.
27820         * math/s_catanf.c (__catanf): Likewise.
27821         * math/s_catanh.c (__catanh): Likewise.
27822         * math/s_catanhf.c (__catanhf): Likewise.
27823         * math/s_catanhl.c (__catanhl): Likewise.
27824         * math/s_catanl.c (__catanl): Likewise.
27825         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
27826         by positive zero when computing -Inf result.
27827         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
27828         (catanh_test): Likewise.
27829         * sysdeps/i386/fpu/libm-test-ulps: Update.
27830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27832         [BZ #16789]
27833         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
27834         instead of using underflowing value in computing result.
27835         * math/s_clog10.c (__clog10): Likewise.
27836         * math/s_clog10f.c (__clog10f): Likewise.
27837         * math/s_clog10l.c (__clog10l): Likewise.
27838         * math/s_clogf.c (__clogf): Likewise.
27839         * math/s_clogl.c (__clogl): Likewise.
27840         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
27841         (clog10_test): Likewise.
27842         * sysdeps/i386/fpu/libm-test-ulps: Update.
27843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27845 2014-04-02  Alan Modra  <amodra@gmail.com>
27847         [BZ #16739]
27848         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
27849         output when value is near a power of two.  Use int64_t for lx and
27850         remove casts.  Use decimal rather than hex exponent constants.
27851         Don't use long double multiplication when double will suffice.
27852         * math/libm-test.inc (nextafter_test_data): Add tests.
27853         * NEWS: Add 16739 and 16786 to bug list.
27855         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
27857         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
27859 2014-04-01  Will Newton  <will.newton@linaro.org>
27861         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
27862         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
27864 2014-04-01  Florian Weimer  <fweimer@redhat.com>
27866         [BZ #13347]
27867         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
27868         * nptl/tst-setuid2.c: New file.
27869         * nptl/Makefile (xtests): Add tst-setuid2.
27871 2014-04-01  Alan Modra  <amodra@gmail.com>
27873         [BZ #16786]
27874         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
27876 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
27878         [BZ #6803]
27879         [BZ #6804]
27880         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
27881         set errno as appropriate.
27882         * math/w_scalbf.c (__scalbf): Likewise.
27883         * math/w_scalbl.c (__scalbl): Likewise.
27884         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
27885         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
27886         * math/libm-test.inc (scalb_test_data): Add errno expectations.
27887         Add more NaN tests.
27889         [BZ #16349]
27890         * math/w_atan2.c: Include <errno.h>.
27891         (__atan2): Set errno for result underflowing to zero.
27892         * math/w_atan2f.c: Include <errno.h>.
27893         (__atan2f): Set errno for result underflowing to zero.
27894         * math/w_atan2l.c: Include <errno.h>.
27895         (__atan2l): Set errno for result underflowing to zero.
27896         * math/auto-libm-test-in: Don't allow missing errno for some atan2
27897         tests.
27898         * math/auto-libm-test-out: Regenerated.
27900 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27902         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
27903         Encode instruction correctly in little endian.
27904         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
27905         Likewise.
27906         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
27907         Likewise.
27908         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
27909         Likewise.
27910         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
27911         Likewise.
27913 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
27915         [BZ #9894]
27916         * sysdeps/unix/sysv/linux/kernel-features.h
27917         [__sparc__ && !__arch64__ && !__sparc_v9__]
27918         (__ASSUME_SET_ROBUST_LIST): Do not define.
27919         [__sparc__ && !__arch64__ && !__sparc_v9__]
27920         (__ASSUME_FUTEX_LOCK_PI): Likewise.
27921         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
27922         Likewise.
27923         * sysdeps/unix/sysv/linux/arm/kernel-features.h
27924         (__ASSUME_FUTEX_LOCK_PI): Undefine.
27925         (__ASSUME_REQUEUE_PI): Likewise.
27926         (__ASSUME_SET_ROBUST_LIST): Likewise.
27927         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
27928         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
27929         Undefine.
27930         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27931         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
27932         Likewise.
27933         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
27934         Likewise.
27935         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
27936         Likewise.
27937         * sysdeps/unix/sysv/linux/mips/kernel-features.h
27938         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
27939         Undefine.
27940         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
27941         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
27942         Likewise.
27944         [BZ #16648]
27945         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27946         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
27947         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
27949 2014-03-31  Will Newton  <will.newton@linaro.org>
27951         * benchtests/Makefile (bench): Add ffs and ffsll to list
27952         of tests.
27953         * benchtests/ffs-inputs: New file.
27954         * benchtests/ffsll-inputs: Likewise.
27956 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
27958         [BZ #16770]
27959         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
27960         too large before casting to int.
27961         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
27962         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
27963         * math/libm-test.inc (scalb_test_data): Add more tests.
27965 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27967         * benchtests/Makefile (DETAILED_OPT): New make option.
27968         (bench-func): Run benchmark program with -d if DETAILED_OPT is
27969         set.
27970         * benchtests/bench-skeleton.c: Include stdbool.h.
27971         (main): Store and print timings per input.
27972         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
27973         member to each argument value.
27974         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
27975         (_print_arg_data): Initialize per-input timing to 0.
27977         * benchtests/Makefile (timing-type): New binary.
27978         (bench-clean): Also remove bench-timing-type.
27979         (bench): New target for timing-type.
27980         (bench-func): Print output in JSON format.
27981         * benchtests/bench-skeleton.c (main): Print output in JSON
27982         format.
27983         * benchtests/bench-timing-type.c: New file.
27984         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
27985         (TIMING_PRINT_STATS): Remove.
27986         * benchtests/scripts/bench.py (_print_arg_data): Store variant
27987         name separately.
27989         * benchtests/bench-modf.c: Remove.
27990         * benchtests/modf-inputs: New inputs file.
27992 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
27994         [BZ #16362]
27995         * math/s_clog10.c (M_PI_LOG10E): New macro.
27996         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
27997         imaginary parts are 0.
27998         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
27999         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
28000         imaginary parts are 0.
28001         * math/s_clog10l.c (M_PI_LOG10El): New macro.
28002         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
28003         imaginary parts are 0.
28004         * math/libm-test.inc (clog10_test_data): Update expected results
28005         for when real and imaginary parts are 0.
28007 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
28009         * elf/dl-load.c: Finish conversion of __builtin_expect into
28010         __glibc_{un}likely.
28012 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
28014         [BZ #16348]
28015         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
28016         1+x for argument with exponent below -67.
28017         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
28018         Likewise.
28019         * math/auto-libm-test-in: Add more tests of exp.
28020         * math/auto-libm-test-out: Regenerated.
28022 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28024         [BZ #16759]
28025         * inet/getnetgrent_r.c (get_nonempty_val): New function.
28026         (nscd_getnetgrent): Use it.
28028         [BZ #16760]
28029         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
28030         of stpcpy.
28032 2014-03-27  Andi Kleen  <ak@linux.intel.com>
28034         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
28035         (lll_robust_lock, lll_cond_lock, lll_timedlock)
28036         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
28037         (lll_robust_unlock): Remove out of line section. Use cfi
28038         intrinsics.
28039         (LLL_STUB_UNWIND_INFO*): Remove.
28040         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
28041         (lll_robust_lock, lll_cond_lock, lll_timedlock)
28042         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
28043         (lll_robust_unlock): Remove out of line section. Use cfi
28044         intrinsics.
28045         (LLL_STUB_UNWIND_INFO*): Remove.
28047 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28049         [BZ #16758]
28050         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
28051         blank values.
28053 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
28055         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
28057 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
28059         [BZ #16198]
28060         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
28061         fnstenv.
28062         * math/test-fenv-preserve.c: New file.
28063         * math/Makefile (tests): Add test-fenv-preserve.
28065 2014-03-26  Will Newton <will.newton@linaro.org>
28067         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
28069 2014-03-25  Roland McGrath  <roland@hack.frob.com>
28071         * scripts/versionlist.awk: Partition the version sets and emit all
28072         GLIBC_* (sorted) before all others (sorted).
28074 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
28076         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
28077         GLIBC_2.2.5 version.
28079 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28081         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
28082         calls.
28084         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
28085         previous change.
28087         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28089 2014-03-25  Andreas Schwab  <schwab@suse.de>
28091         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
28092         label to be used after in6ailist is initialized.
28094 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28096         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
28097         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
28099 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
28101         [BZ #16357]
28102         [BZ #16599]
28103         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
28104         min_plus_half.
28105         (fp_formats): Update initializers.
28106         (init_fp_formats): Initialize new field.
28107         (output_for_one_input_case): Allow underflow for results up to
28108         min_plus_half.
28109         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
28110         * math/auto-libm-test-in: Don't mark some underflows from asin and
28111         atanh as spurious.
28112         * math/auto-libm-test-out: Regenerated.
28113         * sysdeps/i386/fpu/libm-test-ulps: Update.
28114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28116 2014-03-25  Andreas Schwab  <schwab@suse.de>
28118         * libio/Makefile (tst-ftell-partial-wide-ENV)
28119         (tst-ftell-active-handler-ENV): Define.
28121 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
28123         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
28125 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
28127         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
28129 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
28131         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
28132         * sysdeps/x86_64/fpu/multiarch/e_exp.c
28133         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28135 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
28137         [BZ #16634]
28138         * elf/dl-load.c (open_verify): Add mode parameter.
28139         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
28140         (open_path): Change from boolean 'secure' to complete flag 'mode'
28141         (_dl_map_object): Adjust.
28142         * elf/Makefile (tests): Add tst-dlopen-aout.
28143         * elf/tst-dlopen-aout.c: New test.
28145 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
28147         [BZ #16714]
28148         * sysdeps/unix/sysv/linux/s390/bits/stat.h
28149         (struct stat): Rename member pad0 to __glibc_reserved0.
28151         [BZ #16712]
28152         * sysdeps/s390/s390-32/bits/wordsize.h
28153         (__WORDSIZE32_SIZE_ULONG): New define.
28154         * sysdeps/s390/s390-64/bits/wordsize.h
28155         (__WORDSIZE32_SIZE_ULONG): Likewise.
28156         * sysdeps/generic/stdint.h (SIZE_MAX):
28157         Define as UL if __WORDSIZE32_SIZE_ULONG.
28159         [BZ #16713]
28160         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
28161         (__glibc_reserved0): New variable.
28162         (sa_flags): Change type to int.
28164         * posix/Makefile (before-compile): Use += before-compile instead
28165         of a :=.
28167         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
28168         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
28170 2014-03-20  Andreas Schwab  <schwab@suse.de>
28172         [BZ #16743]
28173         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
28174         non-matching result from nscd.
28176 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28178         * scripts/bench.py: Moved to ...
28179         * benchtests/scripts/bench.py: ... here.
28180         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
28182 2014-03-24  Andreas Schwab  <schwab@suse.de>
28184         [BZ #16002]
28185         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
28186         alloca_account and account alloca use for struct in6ailist.
28188 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
28190         [BZ #16284]
28191         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
28192         rounding mode to recompute results that overflow to infinity or
28193         underflow to zero.
28194         * math/auto-libm-test-in: Don't mark tests as expected to fail for
28195         bug 16284.
28196         * math/auto-libm-test-out: Regenerated.
28197         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
28198         (ccosh_test): Likewise.
28199         (csin_test_data): Use plus_oflow.
28200         (csin_test): Use ALL_RM_TEST.
28201         (csinh_test_data): Use plus_oflow.
28202         (csinh_test): Use ALL_RM_TEST.
28203         * sysdeps/i386/fpu/libm-test-ulps: Update.
28204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28206 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
28208         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
28209         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
28210         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
28212         [BZ #16731]
28213         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
28214         when x - 1 is zero.
28215         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
28216         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
28217         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
28218         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
28219         argument is 1.
28220         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
28221         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
28222         zero.
28223         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
28224         * sysdeps/i386/fpu/libm-test-ulps: Update.
28225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28227 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28229         * scripts/bench.pl: Remove file.
28230         * scripts/bench.py: New benchmark script.
28231         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
28232         * benchtests/README: Mention python dependency.
28233         * scripts/pylintrc: New file.
28234         * scripts/pylint: New file.
28236         * bits/mathdef.h: Use #ifdef instead of #if.
28237         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
28238         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
28239         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
28240         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
28241         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
28242         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
28244 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28245             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28247         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
28248         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
28249         and strpbrk-ppc64 objects.
28250         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28251         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
28252         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
28253         multiarch strpbrk for POWER7.
28254         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
28255         multiarch strpbrk for PPC64.
28256         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
28257         ifunc selector.
28258         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
28259         strpbrk for POWER7.
28261 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
28263         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
28264         (atan_test): Likewise.
28265         (atanh_test_data): Use NO_TEST_INLINE for two tests.
28266         (atanh_test): Use ALL_RM_TEST.
28267         (atan2_test_data): Likewise.
28268         (cabs_test): Likewise.
28269         (cacosh_test): Likewise.
28270         (carg_test): Likewise.
28271         (casin_test): Likewise.
28272         (casinh_test): Likewise.
28273         (cbrt_test): Likewise.
28274         (csqrt_test): Likewise.
28275         (erf_test): Likewise.
28276         (erfc_test): Likewise.
28277         (pow10_test): Likewise.
28278         (exp2_test): Likewise.
28279         (hypot_test): Likewise.
28280         (j0_test): Likewise.
28281         (j1_test): Likewise.
28282         (lgamma_test): Likewise.
28283         (gamma_test): Likewise.
28284         (sincos_test): Likewise.
28285         (tanh_test): Likewise.
28286         (y0_test): Likewise.
28287         (y1_test): Likewise.
28288         * sysdeps/i386/fpu/libm-test-ulps: Update.
28289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28291 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28293         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
28294         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
28295         and strcspn-ppc64 objects.
28296         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28297         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
28298         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
28299         multiarch strcspn for POWER7.
28300         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
28301         multiarch strcspn for PPC64.
28302         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
28303         ifunc selector.
28304         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
28305         strcspn for POWER7.
28307 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
28309         * math/gen-libm-test.pl (generate_testfile): Expect only function
28310         name as argument to AUTO_TESTS_* and pass results for all rounding
28311         modes to parse_args.
28312         (parse_auto_input): Separate inputs of automatic tests from
28313         outputs before storing in %auto_tests.
28314         * math/libm-test.inc (acos_test_data): Update call to
28315         AUTO_TESTS_f_f.
28316         (acos_test): Use ALL_RM_TEST.
28317         (acos_tonearest_test_data): Remove.
28318         (acos_test_tonearest): Likewise.
28319         (acos_towardzero_test_data): Likewise.
28320         (acos_test_towardzero): Likewise.
28321         (acos_downward_test_data): Likewise.
28322         (acos_test_downward): Likewise.
28323         (acos_upward_test_data): Likewise.
28324         (acos_test_upward): Likewise.
28325         (acosh_test_data): Update call to AUTO_TESTS_f_f.
28326         (asin_test_data): Likewise.
28327         (asin_test): Use ALL_RM_TEST.
28328         (asin_tonearest_test_data): Remove.
28329         (asin_test_tonearest): Likewise.
28330         (asin_towardzero_test_data): Likewise.
28331         (asin_test_towardzero): Likewise.
28332         (asin_downward_test_data): Likewise.
28333         (asin_test_downward): Likewise.
28334         (asin_upward_test_data): Likewise.
28335         (asin_test_upward): Likewise.
28336         (asinh_test_data): Update call to AUTO_TESTS_f_f.
28337         (atan_test_data): Likewise.
28338         (atanh_test_data): Likewise.
28339         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
28340         (cabs_test_data): Update call to AUTO_TESTS_c_f.
28341         (carg_test_data): Likewise.
28342         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
28343         (ccos_test_data): Update call to AUTO_TESTS_c_c.
28344         (ccosh_test_data): Likewise.
28345         (cexp_test_data): Likewise.
28346         (clog_test_data): Likewise.
28347         (clog10_test_data): Likewise.
28348         (cos_test_data): Update call to AUTO_TESTS_f_f.
28349         (cos_test): Use ALL_RM_TEST.
28350         (cos_tonearest_test_data): Remove.
28351         (cos_test_tonearest): Likewise.
28352         (cos_towardzero_test_data): Likewise.
28353         (cos_test_towardzero): Likewise.
28354         (cos_downward_test_data): Likewise.
28355         (cos_test_downward): Likewise.
28356         (cos_upward_test_data): Likewise.
28357         (cos_test_upward): Likewise.
28358         (cosh_test_data): Update call to AUTO_TESTS_f_f.
28359         (cosh_test): Use ALL_RM_TEST.
28360         (cosh_tonearest_test_data): Remove.
28361         (cosh_test_tonearest): Likewise.
28362         (cosh_towardzero_test_data): Likewise.
28363         (cosh_test_towardzero): Likewise.
28364         (cosh_downward_test_data): Likewise.
28365         (cosh_test_downward): Likewise.
28366         (cosh_upward_test_data): Likewise.
28367         (cosh_test_upward): Likewise.
28368         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
28369         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
28370         (ctan_test_data): Likewise.
28371         (ctan_test): Use ALL_RM_TEST.
28372         (ctan_tonearest_test_data): Remove.
28373         (ctan_test_tonearest): Likewise.
28374         (ctan_towardzero_test_data): Likewise.
28375         (ctan_test_towardzero): Likewise.
28376         (ctan_downward_test_data): Likewise.
28377         (ctan_test_downward): Likewise.
28378         (ctan_upward_test_data): Likewise.
28379         (ctan_test_upward): Likewise.
28380         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
28381         (ctanh_test): Use ALL_RM_TEST.
28382         (ctanh_tonearest_test_data): Remove.
28383         (ctanh_test_tonearest): Likewise.
28384         (ctanh_towardzero_test_data): Likewise.
28385         (ctanh_test_towardzero): Likewise.
28386         (ctanh_downward_test_data): Likewise.
28387         (ctanh_test_downward): Likewise.
28388         (ctanh_upward_test_data): Likewise.
28389         (ctanh_test_upward): Likewise.
28390         (erf_test_data): Update call to AUTO_TESTS_f_f.
28391         (erfc_test_data): Likewise.
28392         (exp_test_data): Likewise.
28393         (exp_test): Use ALL_RM_TEST.
28394         (exp_tonearest_test_data): Remove.
28395         (exp_test_tonearest): Likewise.
28396         (exp_towardzero_test_data): Likewise.
28397         (exp_test_towardzero): Likewise.
28398         (exp_downward_test_data): Likewise.
28399         (exp_test_downward): Likewise.
28400         (exp_upward_test_data): Likewise.
28401         (exp_test_upward): Likewise.
28402         (exp10_test_data): Update call to AUTO_TESTS_f_f.
28403         (exp10_test): Use ALL_RM_TEST.
28404         (exp10_tonearest_test_data): Remove.
28405         (exp10_test_tonearest): Likewise.
28406         (exp10_towardzero_test_data): Likewise.
28407         (exp10_test_towardzero): Likewise.
28408         (exp10_downward_test_data): Likewise.
28409         (exp10_test_downward): Likewise.
28410         (exp10_upward_test_data): Likewise.
28411         (exp10_test_upward): Likewise.
28412         (exp2_test_data): Update call to AUTO_TESTS_f_f.
28413         (expm1_test_data): Likewise.
28414         (expm1_test): Use ALL_RM_TEST.
28415         (expm1_tonearest_test_data): Remove.
28416         (expm1_test_tonearest): Likewise.
28417         (expm1_towardzero_test_data): Likewise.
28418         (expm1_test_towardzero): Likewise.
28419         (expm1_downward_test_data): Likewise.
28420         (expm1_test_downward): Likewise.
28421         (expm1_upward_test_data): Likewise.
28422         (expm1_test_upward): Likewise.
28423         (fma_test_data): Update call to AUTO_TESTS_fff_f.
28424         (fma_test): Use ALL_RM_TEST.
28425         (fma_towardzero_test_data): Remove.
28426         (fma_test_towardzero): Likewise.
28427         (fma_downward_test_data): Likewise.
28428         (fma_test_downward): Likewise.
28429         (fma_upward_test_data): Likewise.
28430         (fma_test_upward): Likewise.
28431         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
28432         (j0_test_data): Update call to AUTO_TESTS_f_f.
28433         (j1_test_data): Likewise.
28434         (jn_test_data): Update call to AUTO_TESTS_if_f.
28435         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
28436         (log_test_data): Update call to AUTO_TESTS_f_f.
28437         (log10_test_data): Likewise.
28438         (log1p_test_data): Likewise.
28439         (log2_test_data): Likewise.
28440         (pow_test_data): Update call to AUTO_TESTS_ff_f.
28441         (pow_tonearest_test_data): Likewise.
28442         (sin_test_data): Update call to AUTO_TESTS_f_f.
28443         (sin_test): Use ALL_RM_TEST.
28444         (sin_tonearest_test_data): Remove.
28445         (sin_test_tonearest): Likewise.
28446         (sin_towardzero_test_data): Likewise.
28447         (sin_test_towardzero): Likewise.
28448         (sin_downward_test_data): Likewise.
28449         (sin_test_downward): Likewise.
28450         (sin_upward_test_data): Likewise.
28451         (sin_test_upward): Likewise.
28452         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
28453         (sinh_test_data): Update call to AUTO_TESTS_f_f.
28454         (sinh_test): Use ALL_RM_TEST.
28455         (sinh_tonearest_test_data): Remove.
28456         (sinh_test_tonearest): Likewise.
28457         (sinh_towardzero_test_data): Likewise.
28458         (sinh_test_towardzero): Likewise.
28459         (sinh_downward_test_data): Likewise.
28460         (sinh_test_downward): Likewise.
28461         (sinh_upward_test_data): Likewise.
28462         (sinh_test_upward): Likewise.
28463         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
28464         (sqrt_test): Use ALL_RM_TEST.
28465         (sqrt_tonearest_test_data): Remove.
28466         (sqrt_test_tonearest): Likewise.
28467         (sqrt_towardzero_test_data): Likewise.
28468         (sqrt_test_towardzero): Likewise.
28469         (sqrt_downward_test_data): Likewise.
28470         (sqrt_test_downward): Likewise.
28471         (sqrt_upward_test_data): Likewise.
28472         (sqrt_test_upward): Likewise.
28473         (tan_test_data): Update call to AUTO_TESTS_f_f.
28474         (tan_test): Use ALL_RM_TEST.
28475         (tan_tonearest_test_data): Remove.
28476         (tan_test_tonearest): Likewise.
28477         (tan_towardzero_test_data): Likewise.
28478         (tan_test_towardzero): Likewise.
28479         (tan_downward_test_data): Likewise.
28480         (tan_test_downward): Likewise.
28481         (tan_upward_test_data): Likewise.
28482         (tan_test_upward): Likewise.
28483         (tanh_test_data): Update call to AUTO_TESTS_f_f.
28484         (tgamma_test_data): Likewise.
28485         (y0_test_data): Likewise.
28486         (y1_test_data): Likewise.
28487         (yn_test_data): Update call to AUTO_TESTS_if_f.
28488         (main): Do not call removed functions.
28490 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
28492         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
28493         (ldexp_test_data): Remove.
28494         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
28495         scalbn_test_data.
28496         (scalb_test): Use ALL_RM_TEST.
28498 2014-03-19  Andreas Schwab  <schwab@suse.de>
28500         * nscd/nscd.service: Also invalidate netgroup cache on reload.
28502 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
28504         [BZ #16649]
28505         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28506         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
28507         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
28508         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28509         (__ASSUME_PREADV): Undefine.
28510         (__ASSUME_PWRITEV): Likewise.
28512 2014-03-18  Roland McGrath  <roland@hack.frob.com>
28514         * bits/mman-linux.h: Add comment about non-Linux use.
28515         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
28516         bits/mman-linux.h resting place.
28518         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
28519         * bits/mman-linux.h: ... here.
28521 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28523         * conform/conformtest.pl: Add standard definition when calling C
28524         preprocessor on data files.
28525         (checknamespace): Remove unused variable.
28527 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
28529         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
28530         minus_oflow, plus_uflow and minus_uflow in expected results.
28531         * math/libm-test.inc (scalbn_test_data): Add more tests of
28532         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
28533         minus_uflow.
28534         (scalbn_test): Use ALL_RM_TEST.
28535         (scalbln_test_data): Add more tests of negative arguments.  Use
28536         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
28537         (scalbln_test): Use ALL_RM_TEST.
28539 2014-03-18  Roland McGrath  <roland@hack.frob.com>
28541         * scripts/abilist.awk: Ignore symbols marked with .hidden.
28543 2014-03-18  Will Newton  <will.newton@linaro.org>
28545         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
28546         inaccurate comment.
28548 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
28550         * Makerules [!subdir] (check-abi): Exit with error status if a
28551         test failed.
28553 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
28555         * math/libm-test.inc (nearbyint_test_data): Include all tests used
28556         for rint.  Include results for all rounding modes.
28557         (nearbyint_test): Use ALL_RM_TEST.
28558         (rint_test_data): Include all tests used for nearbyint.
28560 2014-03-17  Will Newton  <will.newton@linaro.org>
28562         * nptl/sysdeps/pthread/pthread.h: Revert previous
28563         change.
28565         * sysdeps/generic/ldsodefs.h: Revert previous
28566         change.
28568         * libio/genops.c: Revert previous change.
28569         * libio/libioP.h: Likewise.
28570         * stdio-common/vfprintf.c: Likewise.
28572         * sysdeps/generic/math_private.h: Revert previous
28573         change.
28575         * sysdeps/generic/math_private.h: Check whether
28576         HAVE_RM_CTX is defined with #ifdef rather
28577         than #if.
28579         * argp/argp-fmtstream.h: Check whether
28580         __STRICT_ANSI__ is defined with #ifdef rather
28581         than #if.
28582         * argp/argp.h: Likewise.
28584         * libio/genops.c: Check whether
28585         _IO_JUMPS_OFFSET is defined with #ifdef rather
28586         than #if.
28587         * libio/libioP.h: Likewise.
28588         * stdio-common/vfprintf.c: Likewise.
28590         * sysdeps/generic/ldsodefs.h: Check whether
28591         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
28592         than #if.
28594         * nptl/sysdeps/pthread/pthread.h: Check
28595         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
28596         its value.
28598 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28600         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
28601         setting O_APPEND.
28602         * libio/tst-ftell-active-handler.c (do_append_test): Add a
28603         test case.
28605         [BZ #16680]
28606         * libio/fileops.c (_IO_file_open): Seek to end of file but
28607         don't cache the offset.
28608         (get_file_offset): Remove function.
28609         (do_ftell): Use cached offset when available.
28610         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
28611         don't cache the offset.
28612         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
28613         case.
28614         (do_one_test): Call it.
28615         (do_ftell_test): Fix up expected old offset for a+ mode.
28616         * libio/wfileops.c (do_ftell_wide): Used cached offset when
28617         available.
28619         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
28620         up test status with function return status.
28621         (do_write_test): Likewise.
28622         (do_append_test): Likewise.
28624         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
28625         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
28626         Remove.
28628 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
28630         * math/gen-libm-test.pl (parse_args): Handle results specified for
28631         each rounding mode separately.
28632         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
28633         tests and results from lrint_tonearest_test_data,
28634         lrint_towardzero_test_data, lrint_downward_test_data and
28635         lrint_upward_test_data.
28636         (lrint_test): Use ALL_RM_TEST.
28637         (lrint_tonearest_test_data): Remove.
28638         (lrint_test_tonearest): Likewise.
28639         (lrint_towardzero_test_data): Likewise.
28640         (lrint_test_towardzero): Likewise.
28641         (lrint_downward_test_data): Likewise.
28642         (lrint_test_downward): Likewise.
28643         (lrint_upward_test_data): Likewise.
28644         (lrint_test_upward): Likewise.
28645         (llrint_test_data): Merge in per-rounding-mode tests and results
28646         from llrint_tonearest_test_data, llrint_towardzero_test_data,
28647         llrint_downward_test_data and llrint_upward_test_data.
28648         (llrint_test): Use ALL_RM_TEST.
28649         (llrint_tonearest_test_data): Remove.
28650         (llrint_test_tonearest): Likewise.
28651         (llrint_towardzero_test_data): Likewise.
28652         (llrint_test_towardzero): Likewise.
28653         (llrint_downward_test_data): Likewise.
28654         (llrint_test_downward): Likewise.
28655         (llrint_upward_test_data): Likewise.
28656         (llrint_test_upward): Likewise.
28657         (rint_test_data): Merge in per-rounding-mode tests and results
28658         from rint_tonearest_test_data, rint_towardzero_test_data,
28659         rint_downward_test_data and rint_upward_test_data.  Add
28660         per-rounding-mode results for tests not in those arrays.
28661         (rint_test): Use ALL_RM_TEST.
28662         (rint_tonearest_test_data): Remove.
28663         (rint_test_tonearest): Likewise.
28664         (rint_towardzero_test_data): Likewise.
28665         (rint_test_towardzero): Likewise.
28666         (rint_downward_test_data): Likewise.
28667         (rint_test_downward): Likewise.
28668         (rint_upward_test_data): Likewise.
28669         (rint_test_upward): Likewise.
28670         (main): Don't call removed functions.
28672 2014-03-14  Roland McGrath  <roland@hack.frob.com>
28674         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
28675         "Compiled on ..." crapola.  It is anti-useful.
28677 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
28679         * scripts/evaluate-test.sh: Handle fourth argument to determine
28680         whether test run should stop on failure.
28681         * Makeconfig (stop-on-test-failure): New variable.
28682         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
28683         $(stop-on-test-failure).
28684         * Makefile (tests): Give a summary of results from testing and
28685         exit with failure status if they include an ERROR or FAIL.
28686         (xtests): Likewise.
28687         * manual/install.texi (Configuring and compiling): Mention
28688         stop-on-test-failure=y.
28689         * INSTALL: Regenerated.
28691 2014-03-14  Roland McGrath  <roland@hack.frob.com>
28693         * scripts/versionlist.awk: New file.
28694         * Makerules [$(build-shared) = yes]
28695         (postclean-generated): Add Versions.def, not Versions.def.v and
28696         Versions.def.v.i.
28697         ($(common-objpfx)Versions.def.v.i): Target removed.
28698         ($(common-objpfx)Versions.def): New target.
28699         ($(common-objpfx)Versions.all): Depend on that rather that
28700         $(common-objpfx)Versions.def.v.
28701         * Versions.def: File removed.
28703         * Makeconfig (+gccwarn): Add -Wundef.
28704         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
28705         a dl-sysdep.h breaking its contract.
28706         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
28707         * include/stackinfo.h: New file.
28708         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
28709         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
28710         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
28711         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
28712         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
28713         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
28714         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28715         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28716         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28717         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28718         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28719         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
28720         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28721         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28722         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28724 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28726         [BZ #16707]
28727         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
28728         implementation.
28729         * math/libm-test.inc (round_test_data): Add more tests.
28731         [BZ #16706]
28732         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
28733         implementation.
28734         * math/libm-test.inc (nearbyint_test_data): Add more tests.
28736         [BZ #16701]
28737         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
28738         implementation.
28739         * math/libm-test.inc (ceil_test_data): Add more tests.
28741         * math/libm-test.inc (trunc_test_data): Add more tests related to
28742         BZ#16414.
28744 2014-03-14  Roland McGrath  <roland@hack.frob.com>
28746         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
28747         with #if rather than #ifdef.
28748         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
28750 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
28752         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
28753         first.  Disable AVX-512 GCC support if assembler doesn't support
28754         it.
28755         * sysdeps/x86_64/configure: Regenerated.
28757 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
28759         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
28760         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
28761         (__old_pthread_attr_setstack): Likewise.
28762         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
28763         [!_STACK_GROWS_DOWN]: Likewise.
28765 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
28767         * config.make.in (have-bash2): Delete.
28768         * configure.ac (libc_cv_have_bash2): Delete.
28769         * configure: Regenerate.
28770         * elf/Makefile (common-ldd-rewrite): Rename to ...
28771         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
28772         (sh-ldd-rewrite): Delete.
28773         (bash-ldd-rewrite): Delete.
28774         (have-bash2): Delete checks.
28775         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
28776         ldd-rewrite.
28778         * config.make.in (have-ksh): Delete.
28779         (KSH): Delete.
28780         * configure.ac (libc_cv_have_ksh): Delete.
28781         * configure: Regenerate.
28783         * elf/Makefile: Delete $(have-ksh) check.
28784         ($(objpfx)sotruss): Change KSH to BASH.
28785         * elf/sotruss.ksh: Rename to ...
28786         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
28787         function style to match POSIX.  Drop ksh vim mode setting.
28789         * manual/time.texi (Specifying the Time Zone with TZ): Change
28790         Tuesday to Thursday.
28792         * debug/tst-longjmp_chk2.c: Update header comment.
28793         (stackoverflow_handler): Add comment.  Call assert on pass value.
28795 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
28797         [BZ #16194]
28798         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
28799         (HAVE_AVX512_ASM_SUPPORT): Likewise.
28800         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
28801         (La_x86_64_vector): Add zmm.
28802         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
28803         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
28804         ($(objpfx)tst-audit10): New target.
28805         ($(objpfx)tst-audit10.out): Likewise.
28806         (tst-audit10-ENV): New.
28807         (AVX512-CFLAGS): Likewise.
28808         (CFLAGS-tst-audit10.c): Likewise.
28809         (CFLAGS-tst-auditmod10a.c): Likewise.
28810         (CFLAGS-tst-auditmod10b.c): Likewise.
28811         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
28812         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
28813         * sysdeps/x86_64/configure: Regenerated.
28814         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
28815         AVX-512 zmm register support.
28816         (_dl_x86_64_save_sse): Likewise.
28817         (_dl_x86_64_restore_sse): Likewise.
28818         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
28819         size vector registers.
28820         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
28821         (ZMM_SIZE): Likewise.
28822         * sysdeps/x86_64/tst-audit10.c: New file.
28823         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
28824         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
28826 2014-03-13  Roland McGrath  <roland@hack.frob.com>
28828         * configure.ac (HAVE_EHDR_START): New check.
28829         * configure: Regenerated.
28830         * config.h.in (HAVE_EHDR_START): New #undef.
28831         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
28832         assuming the lowest-addressed segment maps the start of the file.
28834 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
28836         * INSTALL: Regenerated.
28838 2014-03-13  Will Newton  <will.newton@linaro.org>
28840         * manual/setjmp.texi (System V contexts): Improve
28841         clarity and grammar of documentation.
28843 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
28845         [BZ #16381]
28846         * elf/Makefile (tests): Add tst-pie2.
28847         (tests-pie): Add tst-pie2.
28848         * elf/tst-pie2.c: New file.
28849         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
28850         for ET_EXEC.
28851         * elf/rtld.c (map_doit): Load executable as lt_executable.
28852         (dl_main): Likewise.
28854 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
28856         [BZ #16642]
28857         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28858         (__ASSUME_PSELECT): Undefine.
28860 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28862         [BZ #16689]
28863         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
28864         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
28865         static build.
28866         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
28867         selector for static builds.
28869 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28871         [BZ #16695]
28872         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
28873         key in the buffer.
28875 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28877         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
28878         IFUNC selector for static builds.
28880 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
28882         * sysdeps/mips/math_private.h [__mips_hard_float]
28883         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
28884         libc_feresetround_mips_ctx.
28885         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
28886         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
28887         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
28889         [BZ #16677]
28890         * math/s_nextafter.c (__nextafter): Do not return value from
28891         overflowing computation.
28892         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
28893         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
28894         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
28895         Likewise.
28896         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
28897         Likewise.
28898         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
28899         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
28901 2014-03-11  Roland McGrath  <roland@hack.frob.com>
28903         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
28904         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
28905         Move sfi_sp use from the load-multiple (that no longer sets sp) to
28906         the new mov targetting sp.
28908 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28910         [BZ #16683]
28911         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
28912         Define it for static builds as well.
28913         (NO_BZERO_IMPL): Likewise.
28915 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28917         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
28918         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
28919         multiarch strspn for PPC64.
28920         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
28921         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
28922         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28923         (__libc_ifunc_impl_list): Likewise.
28924         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
28925         multiarch optimizations
28926         * string/strspn.c (strspn): Using macro to redefine symbol name.
28928 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28929             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28931         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
28932         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
28933         multiarch strncat for PPC64.
28934         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
28935         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
28936         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28937         (__libc_ifunc_impl_list): Likewise.
28938         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
28939         multiarch optimizations
28941 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28943         [BZ #16639]
28944         * nscd/nscd.service: Make service type forking.
28946 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28948         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
28949         sign in non default rounding modes.
28950         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
28952 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
28954         * math/libm-test.inc (ALL_RM_TEST): New macro.
28955         (ceil_test): Use ALL_RM_TEST.
28956         (cimag_test): Likewise.
28957         (conj_test): Likewise.
28958         (copysign_test): Likewise.
28959         (cproj_test): Likewise.
28960         (creal_test): Likewise.
28961         (fabs_test): Likewise.
28962         (floor_test): Likewise.
28963         (fmax_test): Likewise.
28964         (fmin_test): Likewise.
28965         (fmod_test): Likewise.
28966         (fpclassify_test): Likewise.
28967         (frexp_test): Likewise.
28968         (ilogb_test): Likewise.
28969         (isfinite_test): Likewise.
28970         (finite_test): Likewise.
28971         (isgreater_test): Likewise.
28972         (isgreaterequal_test): Likewise.
28973         (isinf_test): Likewise.
28974         (isless_test): Likewise.
28975         (islessequal_test): Likewise.
28976         (islessgreater_test): Likewise.
28977         (isnan_test): Likewise.
28978         (isnormal_test): Likewise.
28979         (issignaling_test): Likewise.
28980         (isunordered_test): Likewise.
28981         (logb_test): Likewise.
28982         (logb_downward_test_data): Remove.
28983         (logb_test_downward): Likewise.
28984         (lround_test): Use ALL_RM_TEST.
28985         (llround_test): Likewise.
28986         (modf_test): Likewise.
28987         (nexttoward_test): Likewise.
28988         (remainder_test): Likewise.
28989         (drem_test): Likewise.
28990         (remainder_tonearest_test_data): Likewise.
28991         (remainder_test_tonearest): Likewise.
28992         (drem_test_tonearest): Likewise.
28993         (remainder_towardzero_test_data): Likewise.
28994         (remainder_test_towardzero): Likewise.
28995         (drem_test_towardzero): Likewise.
28996         (remainder_downward_test_data): Likewise.
28997         (remainder_test_downward): Likewise.
28998         (drem_test_downward): Likewise.
28999         (remainder_upward_test_data): Likewise.
29000         (remainder_test_upward): Likewise.
29001         (drem_test_upward): Likewise.
29002         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
29003         (round_test): Use ALL_RM_TEST.
29004         (signbit_test): Likewise.
29005         (trunc_test): Likewise.
29006         (significand_test): Likewise.
29007         (main): Don't call removed functions.
29009 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
29011         [BZ #16674]
29012         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
29013         || __USE_XOPEN2K8].
29014         (ILL_ILLOPN): Likewise.
29015         (ILL_ILLADR): Likewise.
29016         (ILL_ILLTRP): Likewise.
29017         (ILL_PRVOPC): Likewise.
29018         (ILL_PRVREG): Likewise.
29019         (ILL_COPROC): Likewise.
29020         (ILL_BADSTK): Likewise.
29021         (FPE_INTDIV): Likewise.
29022         (FPE_INTOVF): Likewise.
29023         (FPE_FLTDIV): Likewise.
29024         (FPE_FLTOVF): Likewise.
29025         (FPE_FLTUND): Likewise.
29026         (FPE_FLTRES): Likewise.
29027         (FPE_FLTINV): Likewise.
29028         (FPE_FLTSUB): Likewise.
29029         (SEGV_MAPERR): Likewise.
29030         (SEGV_ACCERR): Likewise.
29031         (BUS_ADRALN): Likewise.
29032         (BUS_ADRERR): Likewise.
29033         (BUS_OBJERR): Likewise.
29034         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29035         (TRAP_TRACE): Likewise.
29036         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29037         __USE_XOPEN2K8].
29038         (CLD_KILLED): Likewise.
29039         (CLD_DUMPED): Likewise.
29040         (CLD_TRAPPED): Likewise.
29041         (CLD_STOPPED): Likewise.
29042         (CLD_CONTINUED): Likewise.
29043         (POLL_IN): Likewise.
29044         (POLL_OUT): Likewise.
29045         (POLL_MSG): Likewise.
29046         (POLL_ERR): Likewise.
29047         (POLL_PRI): Likewise.
29048         (POLL_HUP): Likewise.
29049         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
29050         Likewise.
29051         (ILL_ILLOPN): Likewise.
29052         (ILL_ILLADR): Likewise.
29053         (ILL_ILLTRP): Likewise.
29054         (ILL_PRVOPC): Likewise.
29055         (ILL_PRVREG): Likewise.
29056         (ILL_COPROC): Likewise.
29057         (ILL_BADSTK): Likewise.
29058         (FPE_INTDIV): Likewise.
29059         (FPE_INTOVF): Likewise.
29060         (FPE_FLTDIV): Likewise.
29061         (FPE_FLTOVF): Likewise.
29062         (FPE_FLTUND): Likewise.
29063         (FPE_FLTRES): Likewise.
29064         (FPE_FLTINV): Likewise.
29065         (FPE_FLTSUB): Likewise.
29066         (SEGV_MAPERR): Likewise.
29067         (SEGV_ACCERR): Likewise.
29068         (BUS_ADRALN): Likewise.
29069         (BUS_ADRERR): Likewise.
29070         (BUS_OBJERR): Likewise.
29071         (BUS_MCEERR_AR): Likewise.
29072         (BUS_MCEERR_AO): Likewise.
29073         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29074         (TRAP_TRACE): Likewise.
29075         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29076         __USE_XOPEN2K8].
29077         (CLD_KILLED): Likewise.
29078         (CLD_DUMPED): Likewise.
29079         (CLD_TRAPPED): Likewise.
29080         (CLD_STOPPED): Likewise.
29081         (CLD_CONTINUED): Likewise.
29082         (POLL_IN): Likewise.
29083         (POLL_OUT): Likewise.
29084         (POLL_MSG): Likewise.
29085         (POLL_ERR): Likewise.
29086         (POLL_PRI): Likewise.
29087         (POLL_HUP): Likewise.
29088         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
29089         (ILL_ILLOPN): Likewise.
29090         (ILL_ILLADR): Likewise.
29091         (ILL_ILLTRP): Likewise.
29092         (ILL_PRVOPC): Likewise.
29093         (ILL_PRVREG): Likewise.
29094         (ILL_COPROC): Likewise.
29095         (ILL_BADSTK): Likewise.
29096         (FPE_INTDIV): Likewise.
29097         (FPE_INTOVF): Likewise.
29098         (FPE_FLTDIV): Likewise.
29099         (FPE_FLTOVF): Likewise.
29100         (FPE_FLTUND): Likewise.
29101         (FPE_FLTRES): Likewise.
29102         (FPE_FLTINV): Likewise.
29103         (FPE_FLTSUB): Likewise.
29104         (SEGV_MAPERR): Likewise.
29105         (SEGV_ACCERR): Likewise.
29106         (BUS_ADRALN): Likewise.
29107         (BUS_ADRERR): Likewise.
29108         (BUS_OBJERR): Likewise.
29109         (BUS_MCEERR_AR): Likewise.
29110         (BUS_MCEERR_AO): Likewise.
29111         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29112         (TRAP_TRACE): Likewise.
29113         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29114         __USE_XOPEN2K8].
29115         (CLD_KILLED): Likewise.
29116         (CLD_DUMPED): Likewise.
29117         (CLD_TRAPPED): Likewise.
29118         (CLD_STOPPED): Likewise.
29119         (CLD_CONTINUED): Likewise.
29120         (POLL_IN): Likewise.
29121         (POLL_OUT): Likewise.
29122         (POLL_MSG): Likewise.
29123         (POLL_ERR): Likewise.
29124         (POLL_PRI): Likewise.
29125         (POLL_HUP): Likewise.
29126         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
29127         Likewise.
29128         (ILL_ILLOPN): Likewise.
29129         (ILL_ILLADR): Likewise.
29130         (ILL_ILLTRP): Likewise.
29131         (ILL_PRVOPC): Likewise.
29132         (ILL_PRVREG): Likewise.
29133         (ILL_COPROC): Likewise.
29134         (ILL_BADSTK): Likewise.
29135         (ILL_BADIADDR): Likewise.
29136         (ILL_BREAK): Likewise.
29137         (FPE_INTDIV): Likewise.
29138         (FPE_INTOVF): Likewise.
29139         (FPE_FLTDIV): Likewise.
29140         (FPE_FLTOVF): Likewise.
29141         (FPE_FLTUND): Likewise.
29142         (FPE_FLTRES): Likewise.
29143         (FPE_FLTINV): Likewise.
29144         (FPE_FLTSUB): Likewise.
29145         (FPE_DECOVF): Likewise.
29146         (FPE_DECDIV): Likewise.
29147         (FPE_DECERR): Likewise.
29148         (FPE_INVASC): Likewise.
29149         (FPE_INVDEC): Likewise.
29150         (SEGV_MAPERR): Likewise.
29151         (SEGV_ACCERR): Likewise.
29152         (SEGV_PSTKOVF): Likewise.
29153         (BUS_ADRALN): Likewise.
29154         (BUS_ADRERR): Likewise.
29155         (BUS_OBJERR): Likewise.
29156         (BUS_MCEERR_AR): Likewise.
29157         (BUS_MCEERR_AO): Likewise.
29158         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29159         (TRAP_TRACE): Likewise.
29160         (TRAP_BRANCH): Likewise.
29161         (TRAP_HWBKPT): Likewise.
29162         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29163         __USE_XOPEN2K8].
29164         (CLD_KILLED): Likewise.
29165         (CLD_DUMPED): Likewise.
29166         (CLD_TRAPPED): Likewise.
29167         (CLD_STOPPED): Likewise.
29168         (CLD_CONTINUED): Likewise.
29169         (POLL_IN): Likewise.
29170         (POLL_OUT): Likewise.
29171         (POLL_MSG): Likewise.
29172         (POLL_ERR): Likewise.
29173         (POLL_PRI): Likewise.
29174         (POLL_HUP): Likewise.
29175         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
29176         (ILL_ILLOPN): Likewise.
29177         (ILL_ILLADR): Likewise.
29178         (ILL_ILLTRP): Likewise.
29179         (ILL_PRVOPC): Likewise.
29180         (ILL_PRVREG): Likewise.
29181         (ILL_COPROC): Likewise.
29182         (ILL_BADSTK): Likewise.
29183         (FPE_INTDIV): Likewise.
29184         (FPE_INTOVF): Likewise.
29185         (FPE_FLTDIV): Likewise.
29186         (FPE_FLTOVF): Likewise.
29187         (FPE_FLTUND): Likewise.
29188         (FPE_FLTRES): Likewise.
29189         (FPE_FLTINV): Likewise.
29190         (FPE_FLTSUB): Likewise.
29191         (SEGV_MAPERR): Likewise.
29192         (SEGV_ACCERR): Likewise.
29193         (BUS_ADRALN): Likewise.
29194         (BUS_ADRERR): Likewise.
29195         (BUS_OBJERR): Likewise.
29196         (BUS_MCEERR_AR): Likewise.
29197         (BUS_MCEERR_AO): Likewise.
29198         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29199         (TRAP_TRACE): Likewise.
29200         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29201         __USE_XOPEN2K8].
29202         (CLD_KILLED): Likewise.
29203         (CLD_DUMPED): Likewise.
29204         (CLD_TRAPPED): Likewise.
29205         (CLD_STOPPED): Likewise.
29206         (CLD_CONTINUED): Likewise.
29207         (POLL_IN): Likewise.
29208         (POLL_OUT): Likewise.
29209         (POLL_MSG): Likewise.
29210         (POLL_ERR): Likewise.
29211         (POLL_PRI): Likewise.
29212         (POLL_HUP): Likewise.
29213         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
29214         (ILL_ILLOPN): Likewise.
29215         (ILL_ILLADR): Likewise.
29216         (ILL_ILLTRP): Likewise.
29217         (ILL_PRVOPC): Likewise.
29218         (ILL_PRVREG): Likewise.
29219         (ILL_COPROC): Likewise.
29220         (ILL_BADSTK): Likewise.
29221         (FPE_INTDIV): Likewise.
29222         (FPE_INTOVF): Likewise.
29223         (FPE_FLTDIV): Likewise.
29224         (FPE_FLTOVF): Likewise.
29225         (FPE_FLTUND): Likewise.
29226         (FPE_FLTRES): Likewise.
29227         (FPE_FLTINV): Likewise.
29228         (FPE_FLTSUB): Likewise.
29229         (SEGV_MAPERR): Likewise.
29230         (SEGV_ACCERR): Likewise.
29231         (BUS_ADRALN): Likewise.
29232         (BUS_ADRERR): Likewise.
29233         (BUS_OBJERR): Likewise.
29234         (BUS_MCEERR_AR): Likewise.
29235         (BUS_MCEERR_AO): Likewise.
29236         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29237         (TRAP_TRACE): Likewise.
29238         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29239         __USE_XOPEN2K8].
29240         (CLD_KILLED): Likewise.
29241         (CLD_DUMPED): Likewise.
29242         (CLD_TRAPPED): Likewise.
29243         (CLD_STOPPED): Likewise.
29244         (CLD_CONTINUED): Likewise.
29245         (POLL_IN): Likewise.
29246         (POLL_OUT): Likewise.
29247         (POLL_MSG): Likewise.
29248         (POLL_ERR): Likewise.
29249         (POLL_PRI): Likewise.
29250         (POLL_HUP): Likewise.
29251         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
29252         (ILL_ILLOPN): Likewise.
29253         (ILL_ILLADR): Likewise.
29254         (ILL_ILLTRP): Likewise.
29255         (ILL_PRVOPC): Likewise.
29256         (ILL_PRVREG): Likewise.
29257         (ILL_COPROC): Likewise.
29258         (ILL_BADSTK): Likewise.
29259         (FPE_INTDIV): Likewise.
29260         (FPE_INTOVF): Likewise.
29261         (FPE_FLTDIV): Likewise.
29262         (FPE_FLTOVF): Likewise.
29263         (FPE_FLTUND): Likewise.
29264         (FPE_FLTRES): Likewise.
29265         (FPE_FLTINV): Likewise.
29266         (FPE_FLTSUB): Likewise.
29267         (SEGV_MAPERR): Likewise.
29268         (SEGV_ACCERR): Likewise.
29269         (BUS_ADRALN): Likewise.
29270         (BUS_ADRERR): Likewise.
29271         (BUS_OBJERR): Likewise.
29272         (BUS_MCEERR_AR): Likewise.
29273         (BUS_MCEERR_AO): Likewise.
29274         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29275         (TRAP_TRACE): Likewise.
29276         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29277         __USE_XOPEN2K8].
29278         (CLD_KILLED): Likewise.
29279         (CLD_DUMPED): Likewise.
29280         (CLD_TRAPPED): Likewise.
29281         (CLD_STOPPED): Likewise.
29282         (CLD_CONTINUED): Likewise.
29283         (POLL_IN): Likewise.
29284         (POLL_OUT): Likewise.
29285         (POLL_MSG): Likewise.
29286         (POLL_ERR): Likewise.
29287         (POLL_PRI): Likewise.
29288         (POLL_HUP): Likewise.
29289         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
29290         (ILL_ILLOPN): Likewise.
29291         (ILL_ILLADR): Likewise.
29292         (ILL_ILLTRP): Likewise.
29293         (ILL_PRVOPC): Likewise.
29294         (ILL_PRVREG): Likewise.
29295         (ILL_COPROC): Likewise.
29296         (ILL_BADSTK): Likewise.
29297         (ILL_DBLFLT): Likewise.
29298         (ILL_HARDWALL): Likewise.
29299         (FPE_INTDIV): Likewise.
29300         (FPE_INTOVF): Likewise.
29301         (FPE_FLTDIV): Likewise.
29302         (FPE_FLTOVF): Likewise.
29303         (FPE_FLTUND): Likewise.
29304         (FPE_FLTRES): Likewise.
29305         (FPE_FLTINV): Likewise.
29306         (FPE_FLTSUB): Likewise.
29307         (SEGV_MAPERR): Likewise.
29308         (SEGV_ACCERR): Likewise.
29309         (BUS_ADRALN): Likewise.
29310         (BUS_ADRERR): Likewise.
29311         (BUS_OBJERR): Likewise.
29312         (BUS_MCEERR_AR): Likewise.
29313         (BUS_MCEERR_AO): Likewise.
29314         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29315         (TRAP_TRACE): Likewise.
29316         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29317         __USE_XOPEN2K8].
29318         (CLD_KILLED): Likewise.
29319         (CLD_DUMPED): Likewise.
29320         (CLD_TRAPPED): Likewise.
29321         (CLD_STOPPED): Likewise.
29322         (CLD_CONTINUED): Likewise.
29323         (POLL_IN): Likewise.
29324         (POLL_OUT): Likewise.
29325         (POLL_MSG): Likewise.
29326         (POLL_ERR): Likewise.
29327         (POLL_PRI): Likewise.
29328         (POLL_HUP): Likewise.
29329         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
29330         (ILL_ILLOPN): Likewise.
29331         (ILL_ILLADR): Likewise.
29332         (ILL_ILLTRP): Likewise.
29333         (ILL_PRVOPC): Likewise.
29334         (ILL_PRVREG): Likewise.
29335         (ILL_COPROC): Likewise.
29336         (ILL_BADSTK): Likewise.
29337         (FPE_INTDIV): Likewise.
29338         (FPE_INTOVF): Likewise.
29339         (FPE_FLTDIV): Likewise.
29340         (FPE_FLTOVF): Likewise.
29341         (FPE_FLTUND): Likewise.
29342         (FPE_FLTRES): Likewise.
29343         (FPE_FLTINV): Likewise.
29344         (FPE_FLTSUB): Likewise.
29345         (SEGV_MAPERR): Likewise.
29346         (SEGV_ACCERR): Likewise.
29347         (BUS_ADRALN): Likewise.
29348         (BUS_ADRERR): Likewise.
29349         (BUS_OBJERR): Likewise.
29350         (BUS_MCEERR_AR): Likewise.
29351         (BUS_MCEERR_AO): Likewise.
29352         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29353         (TRAP_TRACE): Likewise.
29354         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29355         __USE_XOPEN2K8].
29356         (CLD_KILLED): Likewise.
29357         (CLD_DUMPED): Likewise.
29358         (CLD_TRAPPED): Likewise.
29359         (CLD_STOPPED): Likewise.
29360         (CLD_CONTINUED): Likewise.
29361         (POLL_IN): Likewise.
29362         (POLL_OUT): Likewise.
29363         (POLL_MSG): Likewise.
29364         (POLL_ERR): Likewise.
29365         (POLL_PRI): Likewise.
29366         (POLL_HUP): Likewise.
29367         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
29368         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
29370         [BZ #16670]
29371         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
29372         before #include of <time.h>.
29373         [!__USE_XOPEN2K] (__need_timespec): Likewise.
29374         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
29375         (test-xfail-UNIX98/sched.h/conform): Likewise.
29377 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
29379         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
29380         error absence of trapping exception support.
29381         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
29383 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
29385         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
29386         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
29387         * timezone/Makefile (testdata): Move definition above include of
29388         Rules.
29389         (test-zones): New variable.
29390         (tests-special): Add zone files.
29391         (build-testdata): Use $(evaluate-test).
29393         * elf/Makefile (tests-special): Rename tests to end with .out.
29394         ($(objpfx)noload-mem): Likewise.
29395         ($(objpfx)tst-leaks1-mem): Likewise.
29396         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
29397         * iconv/Makefile (xtests-special): Change test-iconvconfig to
29398         $(objpfx)test-iconvconfig.out.
29399         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
29400         set -e inside subshell and redirect output to file.
29401         * iconvdata/Makefile (generated): Rename tests to end with .out.
29402         Correct type.
29403         (tests-special): Rename tests to end with .out.
29404         ($(objpfx)mtrace-tst-loading): Likewise.
29405         * intl/Makefile (generated): Likewise.
29406         (tests-special): Likewise.
29407         ($(objpfx)mtrace-tst-gettext): Likewise.
29408         * misc/Makefile (generated): Likewise.
29409         (tests-special): Likewise.
29410         ($(objpfx)tst-error1-mem): Likewise.
29411         * nptl/Makefile (tests-special): Likewise.
29412         ($(objpfx)tst-stack3-mem): Likewise.
29413         (generated): Likewise.
29414         * posix/Makefile (generated): Likewise.
29415         (tests-special): Likewise.
29416         (xtests-special): Likewise.
29417         ($(objpfx)tst-fnmatch-mem): Likewise.
29418         ($(objpfx)bug-regex2-mem): Likewise.
29419         ($(objpfx)bug-regex14-mem): Likewise.
29420         ($(objpfx)bug-regex21-mem): Likewise.
29421         ($(objpfx)bug-regex31-mem): Likewise.
29422         ($(objpfx)tst-vfork3-mem): Likewise.
29423         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
29424         ($(objpfx)tst-pcre-mem): Likewise.
29425         ($(objpfx)tst-boost-mem): Likewise.
29426         ($(objpfx)bug-ga2-mem): Likewise.
29427         ($(objpfx)bug-glob2-mem): Likewise.
29428         * resolv/Makefile (generate): Likewise.
29429         (tests-special): Likewise.
29430         (xtests-special): Likewise.
29431         (generated): Likewise.
29432         ($(objpfx)mtrace-tst-leaks): Likewise.
29433         ($(objpfx)mtrace-tst-leaks2): Likewise.
29435         * scripts/merge-test-results.sh: New file.
29436         * Makefile (tests-special-notdir): New variable.
29437         (tests): Run merge-test-results.sh.
29438         (xtests): Likewise.
29439         * Rules (tests-special-notdir): New variable.
29440         (xtests-special-notdir): Likewise.
29441         (tests): Run merge-test-results.sh
29442         (xtests): Likewise.
29444         * Makeconfig (test-xfail-name): New variable.
29445         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
29446         compute variable name for expected failures.
29447         * conform/Makefile (conformtest-headers-data): New variable.
29448         (conformtest-standards): Likewise.
29449         (conformtest-headers-ISO): Likewise.
29450         (conformtest-headers-ISO99): Likewise.
29451         (conformtest-headers-ISO11): Likewise.
29452         (conformtest-headers-POSIX): Likewise.
29453         (conformtest-headers-XPG3): Likewise.
29454         (conformtest-headers-XPG4): Likewise.
29455         (conformtest-headers-UNIX98): Likewise.
29456         (conformtest-headers-XOPEN2K): Likewise.
29457         (conformtest-headers-POSIX2008): Likewise.
29458         (conformtest-headers-XOPEN2K8): Likewise.
29459         (conformtest-header-list-base): Likewise.
29460         (conformtest-header-list-tests): Likewise.
29461         (conformtest-header-base): Likewise.
29462         (conformtest-header-tests): Likewise.
29463         (tests-special): Add $(conformtest-header-list-tests).  If
29464         [$(fast-check) && !$(cross-compiling)], add
29465         $(conformtest-header-tests) instead of
29466         $(objpfx)run-conformtest.out.
29467         (generated): Add $(conformtest-header-list-base).  If
29468         [$(fast-check) && !$(cross-compiling)], add
29469         $(conformtest-header-base).  Remove previous setting.
29470         ($(conformtest-header-list-tests)): New target.
29471         (test-xfail-run-conformtest): Remove variable.
29472         ($(objpfx)run-conformtest.out): Remove target.
29473         (test-xfail-ISO11/complex.h/conform): New variable.
29474         (test-xfail-ISO11/stdalign.h/conform): Likewise.
29475         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
29476         (test-xfail-XPG3/varargs.h/conform): Likewise.
29477         (test-xfail-XPG4/varargs.h/conform): Likewise.
29478         (test-xfail-UNIX98/varargs.h/conform): Likewise.
29479         (test-xfail-XPG4/ndbm.h/conform): Likewise.
29480         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
29481         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
29482         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
29483         (test-xfail-XPG3/fcntl.h/conform): Likewise.
29484         (test-xfail-XPG3/ftw.h/conform): Likewise.
29485         (test-xfail-XPG3/grp.h/conform): Likewise.
29486         (test-xfail-XPG3/langinfo.h/conform): Likewise.
29487         (test-xfail-XPG3/limits.h/conform): Likewise.
29488         (test-xfail-XPG3/pwd.h/conform): Likewise.
29489         (test-xfail-XPG3/search.h/conform): Likewise.
29490         (test-xfail-XPG3/signal.h/conform): Likewise.
29491         (test-xfail-XPG3/stdio.h/conform): Likewise.
29492         (test-xfail-XPG3/stdlib.h/conform): Likewise.
29493         (test-xfail-XPG3/string.h/conform): Likewise.
29494         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
29495         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
29496         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
29497         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
29498         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
29499         (test-xfail-XPG3/sys/types.h/conform): Likewise.
29500         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
29501         (test-xfail-XPG3/termios.h/conform): Likewise.
29502         (test-xfail-XPG3/time.h/conform): Likewise.
29503         (test-xfail-XPG3/unistd.h/conform): Likewise.
29504         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
29505         (test-xfail-XPG4/fcntl.h/conform): Likewise.
29506         (test-xfail-XPG4/langinfo.h/conform): Likewise.
29507         (test-xfail-XPG4/netdb.h/conform): Likewise.
29508         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
29509         (test-xfail-XPG4/signal.h/conform): Likewise.
29510         (test-xfail-XPG4/stdio.h/conform): Likewise.
29511         (test-xfail-XPG4/stdlib.h/conform): Likewise.
29512         (test-xfail-XPG4/stropts.h/conform): Likewise.
29513         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
29514         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
29515         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
29516         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
29517         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
29518         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
29519         (test-xfail-XPG4/sys/time.h/conform): Likewise.
29520         (test-xfail-XPG4/sys/types.h/conform): Likewise.
29521         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
29522         (test-xfail-XPG4/termios.h/conform): Likewise.
29523         (test-xfail-XPG4/ucontext.h/conform): Likewise.
29524         (test-xfail-XPG4/unistd.h/conform): Likewise.
29525         (test-xfail-XPG4/utmpx.h/conform): Likewise.
29526         (test-xfail-POSIX/sched.h/conform): Likewise.
29527         (test-xfail-POSIX/signal.h/conform): Likewise.
29528         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
29529         (test-xfail-POSIX/tar.h/conform): Likewise.
29530         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
29531         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
29532         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
29533         (test-xfail-UNIX98/netdb.h/conform): Likewise.
29534         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
29535         (test-xfail-UNIX98/sched.h/conform): Likewise.
29536         (test-xfail-UNIX98/signal.h/conform): Likewise.
29537         (test-xfail-UNIX98/stdio.h/conform): Likewise.
29538         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
29539         (test-xfail-UNIX98/stropts.h/conform): Likewise.
29540         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
29541         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
29542         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
29543         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
29544         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
29545         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
29546         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
29547         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
29548         (test-xfail-UNIX98/unistd.h/conform): Likewise.
29549         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
29550         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
29551         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
29552         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
29553         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
29554         (test-xfail-XOPEN2K/math.h/conform): Likewise.
29555         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
29556         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
29557         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
29558         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
29559         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
29560         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
29561         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
29562         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
29563         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
29564         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
29565         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
29566         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
29567         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
29568         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
29569         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
29570         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
29571         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
29572         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
29573         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
29574         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
29575         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
29576         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
29577         (test-xfail-POSIX2008/signal.h/conform): Likewise.
29578         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
29579         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
29580         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
29581         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
29582         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
29583         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
29584         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
29585         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
29586         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
29587         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
29588         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
29589         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
29590         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
29591         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
29592         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
29593         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
29594         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
29595         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
29596         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
29597         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
29598         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
29599         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
29600         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
29601         (conformtest-cc-flags): Likewise.
29602         ($(conformtest-header-tests): New target.
29603         * conform/check-header-lists.sh: New file.
29604         * conform/run-conformtest.sh: Remove.
29606         * conform/conformtest.pl: Allow ' and \ in values given for
29607         constants.
29608         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
29609         inclusion.
29610         [POSIX] (sys/types.h): Likewise.
29611         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
29612         inclusion.
29613         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
29614         inclusion.
29615         * conform/data/signal.h-data (SIGIO): Remove expectation.
29616         [XPG3] (SIGBUS): Do not expect.
29617         [POSIX || XPG3] (SIGPOLL): Likewise.
29618         [POSIX || XPG3] (SIGPROF): Likewise.
29619         [POSIX || XPG3] (SIGSYS): Likewise.
29620         [XPG3] (SIGTRAP): Likewise.
29621         [POSIX || XPG3] (SIGURG): Likewise.
29622         [POSIX || XPG3] (SIGVTALRM): Likewise.
29623         [POSIX || XPG3] (SIGXCPU): Likewise.
29624         [POSIX || XPG3] (SIGXFSZ): Likewise.
29625         [POSIX] (SA_SIGINFO): Expect.
29626         [XPG3] (siginfo_t): Do not expect type or contents.
29627         [POSIX] (si_pid): Do not expect element.
29628         [POSIX] (si_uid): Likewise.
29629         [POSIX] (si_addr): Likewise.
29630         [POSIX] (si_status): Likewise.
29631         [POSIX] (si_band): Likewise.
29632         [XPG4] (si_value): Likewise.
29633         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
29634         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
29635         [POSIX || XPG3] (ILL_ILLADR): Likewise.
29636         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
29637         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
29638         [POSIX || XPG3] (ILL_PRVREG): Likewise.
29639         [POSIX || XPG3] (ILL_COPROC): Likewise.
29640         [POSIX || XPG3] (ILL_BADSTK): Likewise.
29641         [POSIX || XPG3] (FPE_INTDIV): Likewise.
29642         [POSIX || XPG3] (FPE_INTOVF): Likewise.
29643         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
29644         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
29645         [POSIX || XPG3] (FPE_FLTUND): Likewise.
29646         [POSIX || XPG3] (FPE_FLTRES): Likewise.
29647         [POSIX || XPG3] (FPE_FLTINV): Likewise.
29648         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
29649         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
29650         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
29651         [POSIX || XPG3] (BUS_ADRALN): Likewise.
29652         [POSIX || XPG3] (BUS_ADRERR): Likewise.
29653         [POSIX || XPG3] (BUS_OBJERR): Likewise.
29654         [POSIX || XPG3] (CLD_EXITED): Likewise.
29655         [POSIX || XPG3] (CLD_KILLED): Likewise.
29656         [POSIX || XPG3] (CLD_DUMPED): Likewise.
29657         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
29658         [POSIX || XPG3] (CLD_STOPPED): Likewise.
29659         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
29660         [POSIX || XPG3] (POLL_IN): Likewise.
29661         [POSIX || XPG3] (POLL_OUT): Likewise.
29662         [POSIX || XPG3] (POLL_MSG): Likewise.
29663         [POSIX || XPG3] (POLL_ERR): Likewise.
29664         [POSIX || XPG3] (POLL_PRI): Likewise.
29665         [POSIX || XPG3] (POLL_HUP): Likewise.
29666         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
29667         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
29668         (SIG*): Do not allow.
29669         [XPG3] (si_*): Likewise.
29670         [XPG3] (SI_*): Likewise.
29671         [XPG3 || XPG4] (sigev_*): Likewise.
29672         [XPG3 || XPG4] (SIGEV_*): Likewise.
29673         [XPG3 || XPG4] (sival_*): Likewise.
29674         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
29675         [POSIX || XPG3] (BUS_*): Likewise.
29676         [POSIX || XPG3] (CLD_*): Likewise.
29677         [POSIX || XPG3] (FPE_*): Likewise.
29678         [POSIX || XPG3] (ILL_*): Likewise.
29679         [POSIX || XPG3] (POLL_*): Likewise.
29680         [POSIX || XPG3] (SEGV_*): Likewise.
29681         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
29682         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
29683         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
29684         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
29685         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
29686         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
29687         Specify type and value.
29688         (TVERSLEN): Likewise.
29689         (REGTYPE): Likewise.
29690         (AREGTYPE): Likewise.
29691         (LNKTYPE): Likewise.
29692         (SYMTYPE): Likewise.
29693         (CHRTYPE): Likewise.
29694         (BLKTYPE): Likewise.
29695         (DIRTYPE): Likewise.
29696         (FIFOTYPE): Likewise.
29697         (CONTTYPE): Likewise.
29698         (TSUID): Likewise.
29699         (TSGID): Likewise.
29700         (TSVTX): Likewise.
29701         (TUREAD): Likewise.
29702         (TUWRITE): Likewise.
29703         (TUEXEC): Likewise.
29704         (TGREAD): Likewise.
29705         (TGWRITE): Likewise.
29706         (TGEXEC): Likewise.
29707         (TOREAD): Likewise.
29708         (TOWRITE): Likewise.
29709         (TOEXEC): Likewise.
29710         [POSIX] (TSVTX): Expect constant.
29712 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
29714         * Makefile (tests): Change dependencies to ....
29715         (tests-special): ... additions to this variable.
29716         (tests): Depend on $(tests-special).
29717         * Makerules (check-abi-list): New variable.
29718         (check-abi): Depend on $(check-abi-list).
29719         [$(subdir) = elf] (tests-special): Add
29720         $(objpfx)check-abi-libc.out.
29721         [$(build-shared) = yes && subdir] (tests-special): Add
29722         $(check-abi-list).
29723         [$(build-shared) = yes && subdir] (tests): Do not depend on
29724         check-abi.
29725         * Rules (tests): Depend on $(tests-special).
29726         (xtests): Depend on $(xtests-special).
29727         * catgets/Makefile (tests): Change dependencies to ....
29728         (tests-special): ... additions to this variable.
29729         * conform/Makefile (tests): Change dependencies to ....
29730         (tests-special): ... additions to this variable.
29731         * elf/Makefile (tests): Change dependencies to ....
29732         (tests-special): ... additions to this variable.
29733         * grp/Makefile (tests): Change dependencies to ....
29734         (tests-special): ... additions to this variable.
29735         * iconv/Makefile (xtests): Change dependencies to ....
29736         (xtests-special): ... additions to this variable.
29737         * iconvdata/Makefile (tests): Change dependencies to ....
29738         (tests-special): ... additions to this variable.
29739         * intl/Makefile (tests): Change dependencies to ....
29740         (tests-special): ... additions to this variable.  Also add
29741         $(objpfx)tst-gettext.out.
29742         * io/Makefile (tests): Change dependencies to ....
29743         (tests-special): ... additions to this variable.
29744         * libio/Makefile (tests): Change dependencies to ....
29745         (tests-special): ... additions to this variable.
29746         * malloc/Makefile (tests): Change dependencies to ....
29747         (tests-special): ... additions to this variable.
29748         * misc/Makefile (tests): Change dependencies to ....
29749         (tests-special): ... additions to this variable.
29750         * nptl/Makefile (tests): Change dependencies to ....
29751         (tests-special): ... additions to this variable.
29752         * nptl_db/Makefile (tests): Change dependencies to ....
29753         (tests-special): ... additions to this variable.
29754         * posix/Makefile (tests): Change dependencies to ....
29755         (tests-special): ... additions to this variable.
29756         (xtests): Change dependencies to ....
29757         (xtests-special): ... additions to this variable.
29758         * resolv/Makefile (tests): Change dependencies to ....
29759         (tests-special): ... additions to this variable.
29760         (xtests): Change dependencies to ....
29761         (xtests-special): ... additions to this variable.
29762         * stdio-common/Makefile (tests): Change dependencies to ....
29763         (tests-special): ... additions to this variable.
29764         (do-tst-unbputc): Remove target.
29765         (do-tst-printf): Likewise.
29766         * stdlib/Makefile (tests): Change dependencies to ....
29767         (tests-special): ... additions to this variable.
29768         * string/Makefile (tests): Change dependencies to ....
29769         (tests-special): ... additions to this variable.
29770         * sysdeps/x86/Makefile (tests): Change dependencies to ....
29771         (tests-special): ... additions to this variable.
29773         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
29774         whole file.
29775         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
29776         whole file.
29777         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
29778         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
29780         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
29781         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
29782         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
29783         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
29784         * conform/data/libgen.h-data [XPG3]: Likewise.
29785         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
29786         * conform/data/ndbm.h-data [XPG3]: Likewise.
29787         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
29788         * conform/data/netdb.h-data [XPG3]: Likewise.
29789         * conform/data/netinet/in.h-data [XPG3]: Likewise.
29790         * conform/data/poll.h-data [XPG3]: Likewise.
29791         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
29792         * conform/data/strings.h-data [XPG3]: Likewise.
29793         * conform/data/stropts.h-data [XPG3]: Likewise.
29794         * conform/data/sys/mman.h-data [XPG3]: Likewise.
29795         * conform/data/sys/resource.h-data [XPG3]: Likewise.
29796         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
29797         Likewise.
29798         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
29799         * conform/data/sys/time.h-data [XPG3]: Likewise.
29800         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
29801         * conform/data/sys/uio.h-data [XPG3]: Likewise.
29802         * conform/data/sys/un.h-data [XPG3]: Likewise.
29803         * conform/data/syslog.h-data [XPG3]: Likewise.
29804         * conform/data/ucontext.h-data [XPG3]: Likewise.
29805         * conform/data/utmpx.h-data [XPG3]: Likewise.
29806         * conform/data/varargs.h-data [UNIX98]: Enable file.
29808         * manual/Makefile (INSTALL_INFO): Remove variable setting.
29810         * math/libm-test.inc (struct test_f_f_data): Move expected results
29811         into structure for each rounding mode.
29812         (struct test_ff_f_data): Likewise.
29813         (struct test_ff_f_data_nexttoward): Likewise.
29814         (struct test_fi_f_data): Likewise.
29815         (struct test_fl_f_data): Likewise.
29816         (struct test_if_f_data): Likewise.
29817         (struct test_fff_f_data): Likewise.
29818         (struct test_c_f_data): Likewise.
29819         (struct test_f_f1_data): Likewise.
29820         (struct test_fF_f1_data): Likewise.
29821         (struct test_ffI_f1_data): Likewise.
29822         (struct test_c_c_data): Likewise.
29823         (struct test_cc_c_data): Likewise.
29824         (struct test_f_i_data): Likewise.
29825         (struct test_ff_i_data): Likewise.
29826         (struct test_f_l_data): Likewise.
29827         (struct test_f_L_data): Likewise.
29828         (struct test_fFF_11_data): Likewise.
29829         (RM_): New macro.
29830         (RM_FE_DOWNWARD): Likewise.
29831         (RM_FE_TONEAREST): Likewise.
29832         (RM_FE_TOWARDZERO): Likewise.
29833         (RM_FE_UPWARD): Likewise.
29834         (RUN_TEST_LOOP_f_f): Update references to expected results.
29835         (RUN_TEST_LOOP_2_f): Likewise.
29836         (RUN_TEST_LOOP_fff_f): Likewise.
29837         (RUN_TEST_LOOP_c_f): Likewise.
29838         (RUN_TEST_LOOP_f_f1): Likewise.
29839         (RUN_TEST_LOOP_fF_f1): Likewise.
29840         (RUN_TEST_LOOP_fI_f1): Likewise.
29841         (RUN_TEST_LOOP_ffI_f1): Likewise.
29842         (RUN_TEST_LOOP_c_c): Likewise.
29843         (RUN_TEST_LOOP_cc_c): Likewise.
29844         (RUN_TEST_LOOP_f_i): Likewise.
29845         (RUN_TEST_LOOP_f_i_tg): Likewise.
29846         (RUN_TEST_LOOP_ff_i_tg): Likewise.
29847         (RUN_TEST_LOOP_f_b): Likewise.
29848         (RUN_TEST_LOOP_f_b_tg): Likewise.
29849         (RUN_TEST_LOOP_f_l): Likewise.
29850         (RUN_TEST_LOOP_f_L): Likewise.
29851         (RUN_TEST_LOOP_fFF_11): Likewise.
29852         * math/gen-libm-test.pl (parse_args): Output four copies of
29853         expected results for each test.
29855         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
29856         (__ASSUME_UTIMES): Remove.
29857         * sysdeps/unix/sysv/linux/tile/kernel-features.h
29858         (__ASSUME_UTIMES): Likewise.
29860         * math/gen-auto-libm-tests.c: Update comment on output format.
29861         (output_for_one_input_case): Generate before-rounding and
29862         after-rounding information as conditions on output flags not
29863         floating-point format.
29864         * math/auto-libm-test-out: Regenerated.
29865         * math/gen-libm-test.pl (cond_value): New function.
29866         (or_cond_value): Use cond_value.
29867         (generate_testfile): Handle conditional exceptions.
29869 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
29871         * math/libm-test.inc (max_valid_error): New variable.
29872         (init_max_error): Take new argument specifying whether function
29873         results are exactly determined.  Set max_valid_error and bound
29874         other variables for errors based on this argument.
29875         (set_max_error): Do not record results above max_valid_error.
29876         (check_float_internal): Only accept errors of up to 0.5ulps if
29877         also at most max_valid_error.
29878         (START): Take new argument EXACT and pass it to init_max_error.
29879         (acos_test): Update call to START.
29880         (acos_test_tonearest): Likewise.
29881         (acos_test_towardzero): Likewise.
29882         (acos_test_downward): Likewise.
29883         (acos_test_upward): Likewise.
29884         (acosh_test): Likewise.
29885         (asin_test): Likewise.
29886         (asin_test_tonearest): Likewise.
29887         (asin_test_towardzero): Likewise.
29888         (asin_test_downward): Likewise.
29889         (asin_test_upward): Likewise.
29890         (asinh_test): Likewise.
29891         (atan_test): Likewise.
29892         (atanh_test): Likewise.
29893         (atan2_test): Likewise.
29894         (cabs_test): Likewise.
29895         (cacos_test): Likewise.
29896         (cacosh_test): Likewise.
29897         (carg_test): Likewise.
29898         (casin_test): Likewise.
29899         (casinh_test): Likewise.
29900         (catan_test): Likewise.
29901         (catanh_test): Likewise.
29902         (cbrt_test): Likewise.
29903         (ccos_test): Likewise.
29904         (ccosh_test): Likewise.
29905         (ceil_test): Likewise.
29906         (cexp_test): Likewise.
29907         (cimag_test): Likewise.
29908         (clog_test): Likewise.
29909         (clog10_test): Likewise.
29910         (conj_test): Likewise.
29911         (copysign_test): Likewise.
29912         (cos_test): Likewise.
29913         (cos_test_tonearest): Likewise.
29914         (cos_test_towardzero): Likewise.
29915         (cos_test_downward): Likewise.
29916         (cos_test_upward): Likewise.
29917         (cosh_test): Likewise.
29918         (cosh_test_tonearest): Likewise.
29919         (cosh_test_towardzero): Likewise.
29920         (cosh_test_downward): Likewise.
29921         (cosh_test_upward): Likewise.
29922         (cpow_test): Likewise.
29923         (cproj_test): Likewise.
29924         (creal_test): Likewise.
29925         (csin_test): Likewise.
29926         (csinh_test): Likewise.
29927         (csqrt_test): Likewise.
29928         (ctan_test): Likewise.
29929         (ctan_test_tonearest): Likewise.
29930         (ctan_test_towardzero): Likewise.
29931         (ctan_test_downward): Likewise.
29932         (ctan_test_upward): Likewise.
29933         (ctanh_test): Likewise.
29934         (ctanh_test_tonearest): Likewise.
29935         (ctanh_test_towardzero): Likewise.
29936         (ctanh_test_downward): Likewise.
29937         (ctanh_test_upward): Likewise.
29938         (erf_test): Likewise.
29939         (erfc_test): Likewise.
29940         (exp_test): Likewise.
29941         (exp_test_tonearest): Likewise.
29942         (exp_test_towardzero): Likewise.
29943         (exp_test_downward): Likewise.
29944         (exp_test_upward): Likewise.
29945         (exp10_test): Likewise.
29946         (exp10_test_tonearest): Likewise.
29947         (exp10_test_towardzero): Likewise.
29948         (exp10_test_downward): Likewise.
29949         (exp10_test_upward): Likewise.
29950         (pow10_test): Likewise.
29951         (exp2_test): Likewise.
29952         (expm1_test): Likewise.
29953         (expm1_test_tonearest): Likewise.
29954         (expm1_test_towardzero): Likewise.
29955         (expm1_test_downward): Likewise.
29956         (expm1_test_upward): Likewise.
29957         (fabs_test): Likewise.
29958         (fdim_test): Likewise.
29959         (floor_test): Likewise.
29960         (fma_test): Likewise.
29961         (fma_test_towardzero): Likewise.
29962         (fma_test_downward): Likewise.
29963         (fma_test_upward): Likewise.
29964         (fmax_test): Likewise.
29965         (fmin_test): Likewise.
29966         (fmod_test): Likewise.
29967         (fpclassify_test): Likewise.
29968         (frexp_test): Likewise.
29969         (hypot_test): Likewise.
29970         (ilogb_test): Likewise.
29971         (isfinite_test): Likewise.
29972         (finite_test): Likewise.
29973         (isgreater_test): Likewise.
29974         (isgreaterequal_test): Likewise.
29975         (isinf_test): Likewise.
29976         (isless_test): Likewise.
29977         (islessequal_test): Likewise.
29978         (islessgreater_test): Likewise.
29979         (isnan_test): Likewise.
29980         (isnormal_test): Likewise.
29981         (issignaling_test): Likewise.
29982         (isunordered_test): Likewise.
29983         (j0_test): Likewise.
29984         (j1_test): Likewise.
29985         (jn_test): Likewise.
29986         (ldexp_test): Likewise.
29987         (lgamma_test): Likewise.
29988         (gamma_test): Likewise.
29989         (lrint_test): Likewise.
29990         (lrint_test_tonearest): Likewise.
29991         (lrint_test_towardzero): Likewise.
29992         (lrint_test_downward): Likewise.
29993         (lrint_test_upward): Likewise.
29994         (llrint_test): Likewise.
29995         (llrint_test_tonearest): Likewise.
29996         (llrint_test_towardzero): Likewise.
29997         (llrint_test_downward): Likewise.
29998         (llrint_test_upward): Likewise.
29999         (log_test): Likewise.
30000         (log10_test): Likewise.
30001         (log1p_test): Likewise.
30002         (log2_test): Likewise.
30003         (logb_test): Likewise.
30004         (logb_test_downward): Likewise.
30005         (lround_test): Likewise.
30006         (llround_test): Likewise.
30007         (modf_test): Likewise.
30008         (nearbyint_test): Likewise.
30009         (nextafter_test): Likewise.
30010         (nexttoward_test): Likewise.
30011         (pow_test): Likewise.
30012         (pow_test_tonearest): Likewise.
30013         (pow_test_towardzero): Likewise.
30014         (pow_test_downward): Likewise.
30015         (pow_test_upward): Likewise.
30016         (remainder_test): Likewise.
30017         (drem_test): Likewise.
30018         (remainder_test_tonearest): Likewise.
30019         (drem_test_tonearest): Likewise.
30020         (remainder_test_towardzero): Likewise.
30021         (drem_test_towardzero): Likewise.
30022         (remainder_test_downward): Likewise.
30023         (drem_test_downward): Likewise.
30024         (remainder_test_upward): Likewise.
30025         (drem_test_upward): Likewise.
30026         (remquo_test): Likewise.
30027         (rint_test): Likewise.
30028         (rint_test_tonearest): Likewise.
30029         (rint_test_towardzero): Likewise.
30030         (rint_test_downward): Likewise.
30031         (rint_test_upward): Likewise.
30032         (round_test): Likewise.
30033         (scalb_test): Likewise.
30034         (scalbn_test): Likewise.
30035         (scalbln_test): Likewise.
30036         (signbit_test): Likewise.
30037         (sin_test): Likewise.
30038         (sin_test_tonearest): Likewise.
30039         (sin_test_towardzero): Likewise.
30040         (sin_test_downward): Likewise.
30041         (sin_test_upward): Likewise.
30042         (sincos_test): Likewise.
30043         (sinh_test): Likewise.
30044         (sinh_test_tonearest): Likewise.
30045         (sinh_test_towardzero): Likewise.
30046         (sinh_test_downward): Likewise.
30047         (sinh_test_upward): Likewise.
30048         (sqrt_test): Likewise.
30049         (sqrt_test_tonearest): Likewise.
30050         (sqrt_test_towardzero): Likewise.
30051         (sqrt_test_downward): Likewise.
30052         (sqrt_test_upward): Likewise.
30053         (tan_test): Likewise.
30054         (tan_test_tonearest): Likewise.
30055         (tan_test_towardzero): Likewise.
30056         (tan_test_downward): Likewise.
30057         (tan_test_upward): Likewise.
30058         (tanh_test): Likewise.
30059         (tgamma_test): Likewise.
30060         (trunc_test): Likewise.
30061         (y0_test): Likewise.
30062         (y1_test): Likewise.
30063         (yn_test): Likewise.
30064         (significand_test): Likewise.
30066         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
30067         individual tests in comment.
30068         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
30069         (prev_max_error): New variable.
30070         (prev_real_max_error): Likewise.
30071         (prev_imag_max_error): Likewise.
30072         (compare_ulp_data): Don't refer to test names in comment.
30073         (find_test_ulps): Remove function.
30074         (find_function_ulps): Likewise.
30075         (find_complex_function_ulps): Likewise.
30076         (init_max_error): Take function name as argument.  Look up ulps
30077         for that function.
30078         (print_ulps): Remove function.
30079         (print_max_error): Use prev_max_error instead of calling
30080         find_function_ulps.
30081         (print_complex_max_error): Use prev_real_max_error and
30082         prev_imag_max_error instead of calling find_complex_function_ulps.
30083         (check_float_internal): Take max_ulp parameter instead of calling
30084         find_test_ulps.  Don't call print_ulps.
30085         (check_float): Update call to check_float_internal.
30086         (check_complex): Update calls to check_float_internal.
30087         (START): Pass argument to init_max_error.
30088         * math/gen-libm-test.pl (%results): Don't include "kind"
30089         information.
30090         (parse_ulps): Don't handle ulps of individual tests.
30091         (print_ulps_file): Likewise.
30092         (output_ulps): Likewise.
30093         * math/README.libm-test: Update.
30094         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
30095         individual tests.
30096         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
30097         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
30098         * sysdeps/arm/libm-test-ulps: Likewise.
30099         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
30100         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
30101         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
30102         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
30103         * sysdeps/microblaze/libm-test-ulps: Likewise.
30104         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
30105         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30106         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30107         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
30108         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30109         * sysdeps/sh/libm-test-ulps: Likewise.
30110         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30111         * sysdeps/tile/libm-test-ulps: Likewise.
30112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30114 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
30116         * math/libm-test.inc (print_complex_max_error): Check separately
30117         whether real and imaginary errors are within allowed range and
30118         pass 0 to print_complex_function_ulps instead of value within
30119         allowed range.
30121 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30123         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
30124         formatting.
30125         (get_handles_fopen): Likewise.
30126         (do_write_test): Likewise.
30128         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
30130         * libio/fileops.c (do_ftell): Use cached offset when
30131         available.
30132         * libio/iofwide.c (do_ftell_wide): Likewise.
30133         * libio/iofdopen.c (_IO_new_fdopen): Don't use
30134         _IO_file_attach.
30135         * libio/wfileops.c (_IO_fwide): Don't cache offset.
30137         [BZ #16532]
30138         * libio/libioP.h (get_file_offset): New function.
30139         * libio/fileops.c (get_file_offset): Likewise.
30140         (do_ftell): Likewise.
30141         (_IO_new_file_seekoff): Split out ftell logic.
30142         * libio/wfileops.c (do_ftell_wide): Likewise.
30143         (_IO_wfile_seekoff): Split out ftell logic.
30144         * libio/tst-ftell-active-handler.c: New test case.
30145         * libio/Makefile (tests): Add it.
30147 2014-03-03  Roland McGrath  <roland@hack.frob.com>
30149         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
30150         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
30152 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
30154         [BZ #16639]
30155         * nscd/connections.c (nscd_init): Call do_exit.
30156         (start_threads): Call do_exit and notify_parent.
30157         (begin_drop_privileges): Call do_exit.
30158         (finish_drop_privileges): Likewise.
30159         * nscd/selinux.c (preserve_capabilities): Likewise.
30160         (install_real_capabilities): Likewise.
30161         (nscd_selinux_enabled): Likewise.
30162         (avc_create_thread): Likewise.
30163         (avc_alloc_lock): Likewise.
30164         (nscd_avc_init): Likewise.
30165         * nscd/nscd.c (parent_fd): New static variable.
30166         (main): Create a pipe between parent and child processes.
30167         Skip closing parent_fd.
30168         (monitor_child): New function.
30169         (do_exit): Likewise.
30170         (notify_parent): Likewise.
30171         * nscd/nscd.h (notify_parent): Likewise.
30172         (do_exit): Likewise.
30174 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
30176         * malloc/malloc.c (__libc_calloc): Revert last change.
30178 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30180         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30182 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30184         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
30185         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
30186         implementation.
30187         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30188         (__libc_ifunc_impl_list): Likewise.
30189         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
30190         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
30191         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
30192         * string/strrchr.c: Define STRRCHR.
30194 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
30196         * benchtest/bench-strtok.c (simple_strtok): Delete.
30197         (strtok_string): Use as benchmark.
30198         * string/strtok (STRTOK): New macro.
30200 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
30202         * manual/threads.texi: Add header and standard comments to all
30203         functions.
30205         * elf/dl-lookup.c (check_match): New function.
30206         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
30207         (do_lookup_x): Remove nested function check_match. Use non-nested
30208         function check_match.
30210 2014-02-28  Roland McGrath  <roland@hack.frob.com>
30212         * csu/Makefile (generated, before-compile): Use += rather than =.
30213         * catgets/Makefile (generated, generated-dirs): Likewise.
30214         * debug/Makefile (generated): Likewise.
30215         * dlfcn/Makefile (generated): Likewise.
30216         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
30217         * iconvdata/Makefile (before-compile, generated): Likewise.
30218         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
30219         * libio/Makefile (generated): Likewise.
30220         * malloc/Makefile (generated): Likewise.
30221         * manual/Makefile (generated, generated-dirs): Likewise.
30222         * misc/Makefile (generated): Likewise.
30223         * posix/Makefile (generated): Likewise.
30224         * resolv/Makefile (generated): Likewise.
30225         * sunrpc/Makefile (generated, generated-dirs): Likewise.
30226         * timezone/Makefile (generated, generated-dirs): Likewise.
30228         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
30230 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30232         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
30233         power8 implementation.
30234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
30235         file: POWER8 llround ifunc implementation.
30236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
30237         (__lllround): Add POWER8 implementation.
30238         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
30239         POWER8 llround implementation.
30241         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
30242         power8 implementation.
30243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
30244         file: POWER8 llrint ifunc implementation.
30245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
30246         Add POWER8 implementation.
30247         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
30248         POWER8 llrint implementation.
30250         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
30251         power8 implementation.
30252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
30253         file: POWER8 finite ifunc implementation.
30254         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
30255         Add POWER8 implementation.
30256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
30257         Likewise.
30258         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
30259         POWER8 finite implementation.
30260         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
30262         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
30263         power8 implementation.
30264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
30265         file: POWER8 isinf ifunc implementation.
30266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
30267         POWER8 implementation.
30268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
30269         Likewise.
30270         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
30271         isinf implementation.
30272         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
30274         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
30275         (INIT_ARCH): Add hwcap2 initialization.
30276         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
30277         power8 implementation.
30278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
30279         file: POWER8 isnan ifunc implementation.
30280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
30281         POWER8 implementation.
30282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
30283         Likewise.
30284         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
30285         isnan implementation.
30286         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
30288 2014-02-27  Joey Ye  <joey.ye@arm.com>
30290         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
30291         (_FP_NANFRAC_Q): Set to zero.
30293 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30295         [BZ #16623]
30296         * math/auto-libm-test-in: New test inputs.
30297         * math/auto-libm-test-out: Regenerate.
30298         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
30299         and DA.
30300         (__cos): Likewise.
30301         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
30303 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
30305         * scripts/evaluate-test.sh: Take new argument indicating whether
30306         failure is expected.
30307         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
30308         indicating whether failure is expected.
30309         * conform/Makefile (test-xfail-run-conformtest): New variable.
30310         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
30311         level.
30312         * posix/Makefile (test-xfail-annexc): New variable.
30313         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
30315 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
30317         * argp/Makefile: Include Makeconfig immediately after defining
30318         subdir.
30319         * assert/Makefile: Likewise.
30320         * benchtests/Makefile: Likewise.
30321         * catgets/Makefile: Likewise.
30322         * conform/Makefile: Likewise.
30323         * crypt/Makefile: Likewise.
30324         * csu/Makefile: Likewise.
30325         (all): Remove target.
30326         * ctype/Makefile: Include Makeconfig immediately after defining
30327         subdir.
30328         * debug/Makefile: Likewise.
30329         * dirent/Makefile: Likewise.
30330         * dlfcn/Makefile: Likewise.
30331         * gmon/Makefile: Likewise.
30332         * gnulib/Makefile: Likewise.
30333         * grp/Makefile: Likewise.
30334         * gshadow/Makefile: Likewise.
30335         * hesiod/Makefile: Likewise.
30336         * hurd/Makefile: Likewise.
30337         (all): Remove target.
30338         * iconvdata/Makefile: Include Makeconfig immediately after
30339         defining subdir.
30340         * inet/Makefile: Likewise.
30341         * intl/Makefile: Likewise.
30342         * io/Makefile: Likewise.
30343         * libio/Makefile: Likewise.
30344         (all): Remove target.
30345         * locale/Makefile: Include Makeconfig immediately after defining
30346         subdir.
30347         * login/Makefile: Likewise.
30348         * mach/Makefile: Likewise.
30349         (all): Remove target.
30350         * malloc/Makefile: Include Makeconfig immediately after defining
30351         subdir.
30352         (all): Remove target.
30353         * manual/Makefile: Include Makeconfig immediately after defining
30354         subdir.
30355         * math/Makefile: Likewise.
30356         * misc/Makefile: Likewise.
30357         * nis/Makefile: Likewise.
30358         * nss/Makefile: Likewise.
30359         * po/Makefile: Likewise.
30360         (all): Remove target.
30361         * posix/Makefile: Include Makeconfig immediately after defining
30362         subdir.
30363         * pwd/Makefile: Likewise.
30364         * resolv/Makefile: Likewise.
30365         * resource/Makefile: Likewise.
30366         * rt/Makefile: Likewise.
30367         * setjmp/Makefile: Likewise.
30368         * shadow/Makefile: Likewise.
30369         * signal/Makefile: Likewise.
30370         * socket/Makefile: Likewise.
30371         * soft-fp/Makefile: Likewise.
30372         * stdio-common/Makefile: Likewise.
30373         * stdlib/Makefile: Likewise.
30374         * streams/Makefile: Likewise.
30375         * string/Makefile: Likewise.
30376         * sunrpc/Makefile: Likewise.
30377         (all): Remove target.
30378         * sysvipc/Makefile: Include Makeconfig immediately after defining
30379         subdir.
30380         * termios/Makefile: Likewise.
30381         * time/Makefile: Likewise.
30382         * timezone/Makefile: Likewise.
30383         (all): Remove target.
30384         * wcsmbs/Makefile: Include Makeconfig immediately after defining
30385         subdir.
30386         * wctype/Makefile: Likewise.
30388 2014-02-26  Steve Ellcey  <sellcey@mips.com>
30390         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
30391         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
30392         (libc_feholdexcept_setround_mips): Ditto.
30393         (libc_feholdsetround): New.
30394         (libc_feholdsetroundf): New.
30395         (libc_feholdsetroundl): New.
30396         (libc_feupdateenv_test_mips): New.
30397         (libc_feupdateenv_test): New.
30398         (libc_feupdateenv_testf): New.
30399         (libc_feupdateenv_testl): New.
30400         (libc_feresetround): New.
30401         (libc_feresetroundf): New.
30402         (libc_feresetroundl): New.
30403         (libc_fetestexcept_mips): New.
30404         (libc_fetestexcept): New.
30405         (libc_fetestexceptf): New.
30406         (libc_fetestexceptl): New.
30407         (HAVE_RM_CTX): New.
30408         (libc_feholdexcept_setround_mips_ctx): New.
30409         (libc_feholdexcept_setround_ctx): New.
30410         (libc_feholdexcept_setroundf_ctx): New.
30411         (libc_feholdexcept_setroundl_ctx): New.
30412         (libc_fesetenv_mips_ctx): New.
30413         (libc_fesetenv_ctx): New.
30414         (libc_fesetenv_ctxf): New.
30415         (libc_fesetenv_ctxl): New.
30416         (libc_feupdateenv_mips_ctx): New.
30417         (libc_feupdateenv_ctx): New.
30418         (libc_feupdateenvf_ctx): New.
30419         (libc_feupdateenvl_ctx): New.
30420         (libc_feholdsetround_mips_ctx): New.
30421         (libc_feholdsetround_ctx): New.
30422         (libc_feholdsetroundf_ctx): New.
30423         (libc_feholdsetroundl_ctx): New.
30424         (libc_feresetround_mips_ctx): New.
30425         (libc_feresetround_ctx): New.
30426         (libc_feresetroundf_ctx): New.
30427         (libc_feresetroundl_ctx): New.
30429 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
30431         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
30433         * manual/ipc.texi: New file.
30434         * manual/Makefile (chapters): Add ipc.
30435         * manual/job.texi: Add "Inter-Process Communication" to next.
30436         * manual/process.texi: Add "Inter-Process Communication" to prev.
30438 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30440         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30442 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
30444         * malloc/malloc.c (__libc_calloc): Simplify implementation.
30446         * manual/arith.texi: Fix spaces after sentences.
30447         * manual/charset.texi: Likewise.
30448         * manual/errno.texi: Likewise.
30449         * manual/install.texi: Likewise.
30450         * manual/llio.texi: Likewise.
30451         * manual/locale.texi: Likewise.
30452         * manual/maint.texi: Likewise.
30453         * manual/math.texi: Likewise.
30454         * manual/memory.texi: Likewise.
30455         * manual/message.texi: Likewise.
30456         * manual/probes.texi: Likewise.
30457         * manual/resource.texi: Likewise.
30458         * manual/signal.texi: Likewise.
30459         * manual/socket.texi: Likewise.
30460         * manual/stdio.texi: Likewise.
30461         * manual/string.texi: Likewise.
30462         * manual/time.texi: Likewise.
30463         * manual/users.texi: Likewise.
30465 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
30467         [BZ #16632]
30468         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
30469         _DEFAULT_SOURCE is defined.
30471 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
30472             Carlos O'Donell  <carlos@redhat.com>
30474         [BZ #16613]
30475         * elf/dl-tls.c (_dl_count_modids): New function.
30476         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
30477         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
30478         audit library and increment generation counter.
30479         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
30480         * elf/tst-audit9.c: New file.
30481         * elf/tst-auditmod9a.c: New file.
30482         * elf/tst-auditmod9b.c: New file.
30483         * elf/Makefile: Add rules to build and run tst-audit9.
30485 2014-02-25  Florian Weimer  <fweimer@redhat.com>
30487         [BZ #15347]
30488         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
30490 2014-02-25  Will Newton  <will.newton@linaro.org>
30492         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
30493         (__longjmp): Restore sp and lr before restoring callee
30494         saved registers.  Add longjmp and longjmp_target
30495         SystemTap probe point.
30496         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
30497         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
30498         Define to zero to match jmpbuf layout.
30499         * sysdeps/arm/setjmp.S: Include stap-probe.h.
30500         (__sigsetjmp): Save sp and lr before saving callee
30501         saved registers.  Add setjmp SystemTap probe point.
30503 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
30505         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30507 2014-02-24  Andreas Schwab  <schwab@suse.de>
30509         [BZ #15804]
30510         * elf/pldd.c (wait_for_ptrace_stop): New function.
30511         (main): Call it after attaching.
30513 2014-02-22  Roland McGrath  <roland@hack.frob.com>
30515         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
30516         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
30517         Versions files is now verboten.
30518         * hurd/Versions (libc: GLIBC_2.0):
30519         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
30520         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
30521         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
30522         * mach/Versions: Likewise.
30524         * csu/Versions: Remove unused %include.
30525         * resolv/Versions: Likewise.
30527 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
30529         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
30530         ($(objpfx)check-local-headers.out): Likewise.
30531         ($(objpfx)begin-end-check.out): Likewise.
30532         * Makerules (check-abi-%.out): Likewise.
30533         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
30534         ($(objpfx)test2.cat): Likewise.
30535         ($(objpfx)de/libc.cat): Likewise.
30536         ($(objpfx)test-gencat.out): Likewise.
30537         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
30538         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
30539         ($(objpfx)noload-mem): Likewise.
30540         ($(objpfx)tst-pathopt.out): Likewise.
30541         ($(objpfx)tst-rtld-load-self.out): Likewise.
30542         ($(objpfx)tst-array1-cmp.out): Likewise.
30543         ($(objpfx)tst-array1-static-cmp.out): Likewise.
30544         ($(objpfx)tst-array2-cmp.out): Likewise.
30545         ($(objpfx)tst-array3-cmp.out): Likewise.
30546         ($(objpfx)tst-array4-cmp.out): Likewise.
30547         ($(objpfx)tst-array5-cmp.out): Likewise.
30548         ($(objpfx)tst-array5-static-cmp.out): Likewise.
30549         ($(objpfx)check-textrel.out): Likewise.
30550         ($(objpfx)check-execstack.out): Likewise.
30551         ($(objpfx)check-localplt.out): Likewise.
30552         ($(objpfx)order2-cmp.out): Likewise.
30553         ($(objpfx)tst-leaks1-mem): Likewise.
30554         ($(objpfx)tst-leaks1-static-mem): Likewise.
30555         ($(objpfx)tst-initorder-cmp.out): Likewise.
30556         ($(objpfx)tst-initorder2-cmp.out): Likewise.
30557         ($(objpfx)tst-unused-dep.out): Likewise.
30558         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
30559         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
30560         * iconv/Makefile (test-iconvconfig): Likewise.
30561         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
30562         ($(objpfx)iconv-test.out): Likewise.
30563         ($(objpfx)tst-tables.out): Likewise.
30564         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
30565         ($(objpfx)tst-gettext.out): Likewise.
30566         ($(objpfx)tst-translit.out): Likewise.
30567         ($(objpfx)tst-gettext2.out): Likewise.
30568         ($(objpfx)tst-gettext4.out): Likewise.
30569         ($(objpfx)tst-gettext6.out): Likewise.
30570         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
30571         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
30572         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
30573         ($(objpfx)tst-fopenloc-mem.out): Likewise.
30574         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
30575         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
30576         * posix/Makefile ($(objpfx)globtest.out): Likewise.
30577         ($(objpfx)wordexp-tst.out): Likewise.
30578         ($(objpfx)annexc.out): Likewise.
30579         ($(objpfx)tst-fnmatch-mem): Likewise.
30580         ($(objpfx)bug-regex2-mem): Likewise.
30581         ($(objpfx)bug-regex14-mem): Likewise.
30582         ($(objpfx)bug-regex21-mem): Likewise.
30583         ($(objpfx)bug-regex31-mem): Likewise.
30584         ($(objpfx)tst-vfork3-mem): Likewise.
30585         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
30586         ($(objpfx)tst-pcre-mem): Likewise.
30587         ($(objpfx)tst-boost-mem): Likewise.
30588         ($(objpfx)tst-getconf.out): Likewise.
30589         ($(objpfx)bug-ga2-mem): Likewise.
30590         ($(objpfx)bug-glob2-mem): Likewise.
30591         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
30592         ($(objpfx)mtrace-tst-leaks2): Likewise.
30593         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
30594         ($(objpfx)tst-printf.out): Likewise.
30595         ($(objpfx)tst-setvbuf1.out): Likewise.
30596         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
30597         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
30598         ($(objpfx)tst-fmtmsg.out): Likewise.
30599         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
30600         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
30602         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
30603         * bits/sigaction.h [__USE_MISC]: Likewise.
30604         * bits/waitstatus.h: Update #endif comments.
30605         * ctype/ctype.h: Likewise.
30606         * dirent/dirent.h: Likewise.
30607         [__USE_MISC]: Remove redundant conditionals.
30608         * grp/grp.h: Update #endif comments.
30609         [__USE_GNU]: Remove redundant conditionals.
30610         [__USE_MISC]: Likewise.
30611         * inet/netinet/in.h [__USE_GNU]: Likewise.
30612         * io/sys/stat.h [__USE_MISC]: Likewise.
30613         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
30614         * libio/bits/stdio.h: Update #endif comments.
30615         [__USE_MISC]: Remove redundant conditionals.
30616         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
30617         * libio/stdio.h: Update #endif comments.
30618         [__USE_MISC]: Remove redundant conditionals.
30619         * math/bits/math-finite.h [__USE_MISC]: Likewise.
30620         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
30621         * math/math.h: Update #else and #endif comments.
30622         [__USE_MISC]: Remove redundant conditionals.
30623         * misc/sys/uio.h: Update #endif comments.
30624         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
30625         * posix/glob.h [__USE_MISC]: Likewise.
30626         * posix/sys/types.h: Update #endif comments.
30627         [__USE_MISC]: Remove redundant conditionals.
30628         * posix/sys/wait.h: Update #endif comments.
30629         [__USE_MISC]: Remove redundant conditionals.
30630         * posix/unistd.h: Update #endif comments.
30631         [__USE_MISC]: Remove redundant conditionals.
30632         * pwd/pwd.h [__USE_GNU]: Likewise.
30633         [__USE_MISC]: Likewise.
30634         * resolv/netdb.h [__USE_GNU]: Likewise.
30635         * signal/signal.h: Update #endif comments.
30636         [__USE_MISC]: Remove redundant conditionals.
30637         * stdlib/stdlib.h: Update #else and #endif comments.
30638         [__USE_MISC]: Remove redundant conditionals.
30639         [__USE_GNU]: Likewise.
30640         * string/bits/string2.h [__USE_MISC]: Likewise.
30641         * string/string.h: Update #endif comments.
30642         [__USE_MISC]: Remove redundant conditionals.
30643         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
30644         Likewise.
30645         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
30646         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
30647         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
30648         Likewise.
30649         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
30650         Likewise.
30651         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
30652         comments.
30653         [__USE_MISC]: Remove redundant conditionals.
30654         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
30655         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
30656         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
30657         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
30658         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
30659         Likewise.
30660         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
30661         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
30662         Likewise.
30663         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
30664         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
30665         Likewise.
30666         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
30667         Likewise.
30668         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
30669         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
30670         Likewise.
30671         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
30672         Likewise.
30673         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
30674         * sysdeps/x86/bits/string.h: Update #endif comments.
30675         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
30676         conditionals.
30677         * time/sys/time.h: Update #endif comments.
30678         * time/time.h: Likewise.
30679         [__USE_MISC]: Remove redundant conditionals.
30681 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
30683         [BZ #16600]
30684         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
30686 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
30688         * Versions.def (librt): Add GLIBC_2.17.
30690 2014-02-21  Adam Conrad  <adconrad@0c3.net>
30692         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
30693         synonym for _SYS_AUXV_H to allow direct inclusion.
30694         * sysdeps/sparc/bits/hwcap.h: Likewise.
30695         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
30696         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
30697         * sysdeps/sparc/sysdep.h: Likewise.
30699 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30701         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
30703 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30705         * benchtests/bench-strrchr.c: Print length instead of position.
30707 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
30709         [BZ #16611]
30710         * sysdeps/unix/sysv/linux/kernel-features.h
30711         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
30712         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
30713         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
30714         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
30715         Likewise.
30716         [__i386__ || __powerpc__ || __sh__ || __sparc__]
30717         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30718         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
30719         (__ASSUME_SENDMMSG): Define instead of using previous
30720         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
30721         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30722         (__ASSUME_SENDMMSG_SYSCALL): Define.
30723         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30724         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
30725         Likewise.
30726         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30727         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
30728         Likewise.
30729         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
30730         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
30731         Likewise.
30732         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
30733         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
30734         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
30735         [__ASSUME_SENDMMSG]: Change conditionals to
30736         [__ASSUME_SENDMMSG_SOCKETCALL].
30737         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30738         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
30739         Define.
30740         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30741         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
30742         Likewise.
30743         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
30744         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
30745         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
30746         [!__ASSUME_SENDMMSG]: Change conditional to
30747         [!__ASSUME_SENDMMSG_SOCKETCALL].
30748         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30749         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
30750         Define.
30752         [BZ #16610]
30753         * sysdeps/unix/sysv/linux/kernel-features.h
30754         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
30755         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
30756         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
30757         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
30758         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30759         [__i386__ || __sparc__]
30760         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30761         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
30762         (__ASSUME_RECVMMSG): Define instead of using previous
30763         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
30764         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30765         (__ASSUME_RECVMMSG_SYSCALL): Define.
30766         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30767         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30768         Likewise.
30769         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30770         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30771         Likewise.
30772         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
30773         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30774         Likewise.
30775         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
30776         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
30777         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
30778         [__ASSUME_RECVMMSG]: Change condition to
30779         [__ASSUME_RECVMMSG_SOCKETCALL].
30780         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30781         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30782         Define.
30783         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30784         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30785         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30786         Likewise.
30787         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
30788         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
30789         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
30790         [!__ASSUME_RECVMMSG]: Change condition to
30791         [!__ASSUME_RECVMMSG_SOCKETCALL].
30792         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30793         (__ASSUME_RECVMMSG_SYSCALL): Define.
30795         [BZ #16609]
30796         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
30797         __powerpc__ || __s390__ || __sh__ || __sparc__]
30798         (__ASSUME_SOCKETCALL): Define.
30799         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
30800         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
30801         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
30802         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
30803         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
30804         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
30805         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
30806         (__ASSUME_ACCEPT4): Define instead of using previous
30807         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
30808         __powerpc__ || __sparc__ || __s390__)] condition.
30809         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30810         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
30811         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
30812         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
30813         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
30814         [!__ASSUME_ACCEPT4]: Change condition to
30815         [!__ASSUME_ACCEPT4_SOCKETCALL].
30816         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30817         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
30818         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
30819         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30820         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
30821         __ASSUME_ACCEPT4_SYSCALL.
30822         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
30823         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
30824         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
30825         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
30826         __ASSUME_ACCEPT4_SYSCALL.
30827         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
30828         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
30829         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
30830         [__ASSUME_ACCEPT4]: Change condition to
30831         [__ASSUME_ACCEPT4_SOCKETCALL].
30832         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
30833         (__ASSUME_SOCKETCALL): Define.
30834         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
30835         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30836         (__ASSUME_SOCKETCALL): Define.
30837         (__ASSUME_ACCEPT4): Remove.
30838         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
30839         Define.
30840         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30841         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
30842         Likewise.
30843         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30844         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
30846         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
30847         macro.
30848         (HWCAP_ARM_LPAE): Likewise.
30849         (HWCAP_ARM_EVTSTRM): Likewise.
30850         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
30851         Add vpfd32, lpae and evtstrm.
30852         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
30853         Increase to 22.
30855 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
30857         * math/auto-libm-test-in: Add tests of clog10.
30858         * math/auto-libm-test-out: Regenerated.
30859         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
30860         * sysdeps/i386/fpu/libm-test-ulps: Update.
30861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30863 2014-02-18  Andreas Schwab  <schwab@suse.de>
30865         [BZ #16574]
30866         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
30867         Store non-zero if the second buffer was newly allocated.
30868         (send_dg): Likewise.
30869         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
30870         to send_vc and send_dg.
30871         (res_nsend): Pass NULL for ansp2_malloced.
30872         * resolv/res_query.c (__libc_res_nquery): Add parameter
30873         answerp2_malloced and pass it down to __libc_res_nsend.
30874         (res_nquery): Pass additional NULL to __libc_res_nquery.
30875         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
30876         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
30877         second answer buffer if answerp2_malloced was set.
30878         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
30879         (__libc_res_nquerydomain): Add parameter
30880         answerp2_malloced and pass it down to __libc_res_nquery.
30881         (res_nquerydomain): Pass additional NULL to
30882         __libc_res_nquerydomain.
30883         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
30884         additional NULL to __libc_res_nsend and __libc_res_nquery.
30885         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
30886         additional NULL to __libc_res_nsearch.
30887         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
30888         parameter of __libc_res_nsearch to check for separately allocated
30889         second buffer.
30890         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
30891         __libc_res_nquery.
30892         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
30893         additional NULL to __libc_res_nquery.
30894         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
30895         __libc_res_nsearch.
30896         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
30897         * include/resolv.h: Update prototypes of __libc_res_nquery,
30898         __libc_res_nsearch, __libc_res_nsend.
30900 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
30902         * math/auto-libm-test-in: Add tests of fma.
30903         * math/auto-libm-test-out: Regenerated.
30904         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
30905         (fma_towardzero_test_data): Likewise.
30906         (fma_downward_test_data): Likewise.
30907         (fma_upward_test_data): Likewise.
30908         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
30909         mpc_mode.
30910         (rounding_modes): Add values for new field.
30911         (func_calc_method): Add value mpfr_fff_f.
30912         (func_calc_desc): Add mpfr_fff_f union field.
30913         (test_function): Add field exact_args.
30914         (FUNC): Add macro argument EXACT_ARGS.
30915         (FUNC_mpfr_f_f): Update call to FUNC.
30916         (FUNC_mpfr_f_f): Likewise.
30917         (FUNC_mpfr_ff_f): Likewise.
30918         (FUNC_mpfr_if_f): Likewise.
30919         (FUNC_mpc_c_f): Likewise.
30920         (FUNC_mpc_c_c): Likewise.
30921         (test_functions): Add fma.  Update calls to FUNC.
30922         (handle_input_arg): Add argument exact_args.
30923         (add_test): Update call to handle_input_arg.
30924         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
30925         (output_for_one_input_case): Update call to calc_generic_results.
30926         Recalculate exact zero results in each rounding mode.
30928         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
30929         non-negative before setting low bit.
30930         * math/auto-libm-test-in: Mark one asin test possibly having
30931         spurious underflow.
30932         * math/auto-libm-test-out: Regenerated.
30933         * sysdeps/i386/fpu/libm-test-ulps: Update.
30934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30936 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
30938         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
30939         * sysdeps/unix/sysv/linux/microblaze: Move directory from
30940         ports/sysdeps/unix/sysv/linux/microblaze.
30941         * README: Add missing listing for microblaze*-*-linux-gnu.
30943 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
30945         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
30946         duplicate code
30948 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
30950         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
30951         * sysdeps/unix/sysv/linux/ia64: Move directory from
30952         ports/sysdeps/unix/sysv/linux/ia64.
30953         * README: Update listing for ia64-*-linux-gnu.
30955 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
30956             Joseph Myers  <joseph@codesourcery.com>
30958         * Makeconfig (test-name): New variable.
30959         (evaluate-test): Likewise.
30960         * Makerules (do-test-clean): Remove .test-result files.
30961         (common-mostlyclean): Likewise.
30962         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
30963         * scripts/evaluate-test.sh: New file.
30965 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
30967         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
30968         separate $(objpfx)tst-fopenloc-cmp.out and
30969         $(objpfx)tst-fopenloc-mem.out targets.
30970         (tests): Update dependencies.
30971         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
30972         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
30973         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
30974         (tst-rxspencer-no-utf8-ARGS): New variable.
30975         (tst-rxspencer-no-utf8-ENV): Likewise.
30976         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
30977         instead of $(objpfx)tst-rxspencer-mem.
30978         ($(objpfx)tst-rxspencer-mem): Change target to
30979         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
30980         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
30981         * posix/tst-rxspencer-no-utf8.c: New file.
30983         * elf/Makefile ($(objpfx)order.out): Remove rule.
30984         [$(run-built-tests) = yes] (tests): Depend on
30985         $(objpfx)order-cmp.out.
30986         ($(objpfx)order-cmp.out): New rule.
30987         [$(run-built-tests) = yes] (tests): Depend on
30988         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
30989         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
30990         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
30991         $(objpfx)tst-array5-static-cmp.out.
30992         ($(objpfx)tst-array1.out): Remove rule.
30993         ($(objpfx)tst-array1-cmp.out): New rule.
30994         ($(objpfx)tst-array1-static.out): Remove rule.
30995         ($(objpfx)tst-array1-static-cmp.out): New rule.
30996         ($(objpfx)tst-array2.out): Remove rule.
30997         ($(objpfx)tst-array2-cmp.out): New rule.
30998         ($(objpfx)tst-array3.out): Remove rule.
30999         ($(objpfx)tst-array3-cmp.out): New rule.
31000         ($(objpfx)tst-array4.out): Remove rule.
31001         ($(objpfx)tst-array4-cmp.out): New rule.
31002         ($(objpfx)tst-array5.out): Remove rule.
31003         ($(objpfx)tst-array5-cmp.out): New rule.
31004         ($(objpfx)tst-array5-static.out): Remove rule.
31005         ($(objpfx)tst-array5-static-cmp.out): New rule.
31006         [$(run-built-tests) = yes] (tests): Depend on
31007         $(objpfx)order2-cmp.out.
31008         ($(objpfx)order2.out): Remove rule.
31009         ($(objpfx)order2-cmp.out): New rule.
31010         ($(objpfx)tst-initorder.out): Remove rule.
31011         [$(run-built-tests) = yes] (tests): Depend on
31012         $(objpfx)tst-initorder-cmp.out.
31013         ($(objpfx)tst-initorder-cmp.out): New rule.
31014         ($(objpfx)tst-initorder2.out): Remove rule.
31015         [$(run-built-tests) = yes] (tests): Depend on
31016         $(objpfx)tst-initorder2-cmp.out.
31017         ($(objpfx)tst-initorder2-cmp.out): New rule.
31018         [$(run-built-tests) = yes] (tests): Depend on
31019         $(objpfx)tst-unused-dep-cmp.out.
31020         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
31021         ($(objpfx)tst-unused-dep-cmp.out): New rule.
31022         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
31023         on $(objpfx)tst-setvbuf1-cmp.out.
31024         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
31025         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
31026         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
31027         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
31028         ($(objpfx)tst-svc.out): Remove rule.
31029         ($(objpfx)tst-svc-cmp.out): New rule.
31031 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
31033         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
31034         * ctype/ctype.h [__USE_MISC]: Likewise.
31035         * dirent/dirent.h [__USE_MISC]: Likewise.
31036         * grp/grp.h [__USE_MISC]: Likewise.
31037         * io/fcntl.h [__USE_MISC]: Likewise.
31038         * io/sys/stat.h [__USE_MISC]: Likewise.
31039         * libio/stdio.h [__USE_MISC]: Likewise.
31040         * posix/unistd.h [__USE_MISC]: Likewise.
31041         * pwd/pwd.h [__USE_MISC]: Likewise.
31042         * stdlib.h [__USE_MISC]: Likewise.
31043         * string/bits/string2.h [__USE_MISC]: Likewise.
31044         * string/string.h [__USE_MISC]: Likewise.
31045         * time/time.h [__USE_MISC]: Likewise.
31047 2014-02-13  Andreas Schwab  <schwab@suse.de>
31049         [BZ #16574]
31050         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
31051         second answer buffer if it was separately allocated.
31053 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
31055         * sysdeps/mips/math-tests.h: Include <features.h>.
31056         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
31057         (ROUNDING_TESTS_long_double): Do not define.
31058         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
31059         (EXCEPTION_TESTS_long_double): Likewise.
31060         * sysdeps/mips/mips64/libm-test-ulps: Update.
31062         * include/features.h (__USE_BSD): Remove macro definitions.
31063         (__USE_SVID): Likewise.
31064         (_BSD_SOURCE): Likewise.
31065         (_SVID_SOURCE): Likewise.
31066         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
31067         from definition of _DEFAULT_SOURCE.
31068         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
31069         [_DEFAULT_SOURCE].
31070         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
31071         * bits/mman.h [__USE_BSD]: Likewise.
31072         * bits/termios.h [__USE_BSD]: Likewise.
31073         * bits/waitstatus.h [__USE_BSD]: Likewise.
31074         * ctype/ctype.h [__USE_SVID]: Likewise.
31075         * dirent/dirent.h [__USE_BSD]: Likewise.
31076         * grp/grp.h [__USE_SVID]: Likewise.
31077         [__USE_BSD]: Likewise.
31078         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
31079         * io/fcntl.h [__USE_BSD]: Likewise.
31080         * io/ftw.h [__USE_BSD]: Likewise.
31081         * io/sys/stat.h [__USE_BSD]: Likewise.
31082         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
31083         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
31084         * libio/stdio.h [__USE_SVID]: Likewise.
31085         [__USE_BSD]: Likewise.
31086         * math/math.h [__USE_SVID]: Likewise.
31087         [__USE_BSD]: Likewise.
31088         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
31089         * misc/bits/syslog.h [__USE_BSD]: Likewise.
31090         * misc/search.h [__USE_SVID]: Likewise.
31091         * misc/sys/mman.h [__USE_BSD]: Likewise.
31092         * misc/sys/syslog.h [__USE_BSD]: Likewise.
31093         * misc/sys/uio.h [__USE_BSD]: Likewise.
31094         * posix/bits/unistd.h [__USE_BSD]: Likewise.
31095         * posix/glob.h [__USE_BSD]: Likewise.
31096         * posix/regex.h [__USE_BSD]: Likewise.
31097         * posix/sys/types.h [__USE_BSD]: Likewise.
31098         [__USE_SVID]: Likewise.
31099         * posix/sys/utsname.h [__USE_SVID]: Likewise.
31100         * posix/sys/wait.h [__USE_BSD]: Likewise.
31101         [__USE_SVID]: Likewise.
31102         * posix/unistd.h [__USE_BSD]: Likewise.
31103         [__USE_SVID]: Likewise.
31104         * pwd/pwd.h [__USE_SVID]: Likewise.
31105         * resolv/netdb.h [__USE_BSD]: Likewise.
31106         * setjmp/setjmp.h [__USE_BSD]: Likewise.
31107         * signal/signal.h [__USE_BSD]: Likewise.
31108         [__USE_SVID]: Likewise.
31109         * socket/sys/socket.h [__USE_BSD]: Likewise.
31110         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
31111         * stdlib/stdlib.h [__USE_BSD]: Likewise.
31112         [__USE_SVID]: Likewise.
31113         * string/bits/string2.h [__USE_BSD]: Likewise.
31114         [__USE_SVID]: Likewise.
31115         * string/bits/string3.h [__USE_BSD]: Likewise.
31116         * string/endian.h [__USE_BSD]: Likewise.
31117         * string/string.h [__USE_SVID]: Likewise.
31118         [__USE_BSD]: Likewise.
31119         * string/strings.h [__USE_BSD]: Likewise.
31120         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
31121         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
31122         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
31123         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
31124         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
31125         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
31126         Likewise.
31127         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
31128         Likewise.
31129         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
31130         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
31131         Likewise.
31132         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
31133         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
31134         Likewise.
31135         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
31136         Likewise.
31137         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
31138         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
31139         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
31140         Likewise.
31141         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
31142         Likewise.
31143         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
31144         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
31145         * termios/termios.h [__USE_BSD]: Likewise.
31146         * time/sys/time.h [__USE_BSD]: Likewise.
31147         * time/time.h [__USE_BSD]: Likewise.
31148         [__USE_SVID]: Likewise.
31150         * Makefile (subdir_targets): Remove subdir_lint.out.
31152         * stdio-common/Makefile (do-tst-unbputc): Remove target.
31153         (do-tst-printf): Likewise.
31154         (tests): Depend directly on $(objpfx)tst-unbputc.out and
31155         $(objpfx)tst-printf.out.
31157         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
31159         * Makerules (check-abi-%): Change target to
31160         $(objpfx)check-abi-%.out.
31161         (check-abi target): Update dependencies.
31162         (check-abi-pattern variable): Redirect output of diff to $@.
31163         (check-abi variable): Likewise.
31164         * elf/Makefile (check-abi): Update dependencies.
31166         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
31167         unused.
31168         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
31169         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
31170         subnormal range.
31171         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
31172         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
31173         value has largest subnormal exponent.
31174         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
31175         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
31176         * sysdeps/aarch64/soft-fp/sfp-machine.h
31177         (_FP_TININESS_AFTER_ROUNDING): New macro.
31178         * sysdeps/alpha/soft-fp/sfp-machine.h
31179         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31180         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
31181         Likewise.
31182         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
31183         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31184         * sysdeps/mips/soft-fp/sfp-machine.h
31185         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31186         * sysdeps/powerpc/soft-fp/sfp-machine.h
31187         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31188         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
31189         Likewise.
31190         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
31191         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31192         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
31193         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31194         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
31195         Likewise.
31197 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
31199         [BZ #16545]
31200         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
31201         model 1.
31203 2014-02-12  Richard Henderson  <rth@redhat.com>
31205         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
31206         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
31207         * sysdeps/unix/sysv/linux/alpha: Move directory from
31208         ports/sysdeps/unix/sysv/linux/alpha.
31209         * README: Update listing for alpha-*-linux-gnu.
31211 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
31213         * include/features.h: Update comment documenting feature test
31214         macros.
31215         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
31216         _DEFAULT_SOURCE.
31217         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
31218         (_SVID_SOURCE): Likewise.
31219         (_DEFAULT_SOURCE): Update description of default features.
31220         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
31221         with _GNU_SOURCE.
31222         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
31223         (S_ISVTX): Likewise.
31224         * manual/math.texi (Mathematical Constants): Likewise.
31225         * manual/signal.texi (Interrupted Primitives): Likewise.
31226         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
31227         * math/test-matherr.c (_SVID_SOURCE): Do not define.
31228         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
31229         Don't refer to _SVID_SOURCE in warning text.
31231         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31233         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
31234         already defined.
31235         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
31236         * sysdeps/mips/dl-lookup.c: Remove.
31237         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
31239 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
31241         [BZ #16447]
31242         * math/auto-libm-test-in: Add testcase for expl.
31243         * math/auto-libm-test-out: Regenerate.
31244         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
31245         calculation of unsafe.
31246         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
31248 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
31250         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
31251         * sysdeps/unix/sysv/linux/aarch64: Move directory from
31252         ports/sysdeps/unix/sysv/linux/aarch64.
31253         * README: Update listing for aarch64*-*-linux-gnu.
31255 2014-02-11  Will Newton  <will.newton@linaro.org>
31257         * manual/probes.texi (Mathematical Function Probes): Use
31258         "triggered" instead of "hit".
31260         * manual/probes.texi (Internal Probes): Add documentation
31261         of setjmp, longjmp and longjmp_target probes.
31263         * include/stap-probe.h: Add comment about probe argument
31264         format.
31266         * malloc/mtrace.c (attribute_hidden): Remove unused macro
31267         definition.  (tr_where, tr_freehook, tr_mallochook,
31268         tr_reallochook, tr_memalignhook): Use ANSI protoype.
31270 2014-02-11  David S. Miller  <davem@davemloft.net>
31272         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
31273         processing int_tests.
31275 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
31277         * sysdeps/mips: Move directory from ports/sysdeps/mips.
31278         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
31279         * sysdeps/unix/sysv/linux/mips: Move directory from
31280         ports/sysdeps/unix/sysv/linux/mips.
31281         * README: Update listing for mips-*-linux-gnu and
31282         mips64-*-linux-gnu.
31284 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
31286         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
31287         * sysdeps/unix/sysv/linux/m68k: Move directory from
31288         ports/sysdeps/unix/sysv/linux/m68k.
31289         * README: Update listing for m68k-*-linux-gnu.
31291 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
31293         * sysdeps/tile: Move directory from ports/sysdeps/tile.
31294         * sysdeps/unix/sysv/linux/generic: Move directory from
31295         ports/sysdeps/unix/sysv/linux/generic.
31296         * sysdeps/unix/sysv/linux/tile: Move directory from
31297         ports/sysdeps/unix/sysv/linux/tile.
31298         * README: Update listing for tile*-*-linux-gnu.
31300 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
31302         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
31303         __builtin_expect.
31304         * benchtests/bench-memmem.c (simple_memmem): Likewise.
31305         * catgets/open_catalog.c (__open_catalog): Likewise.
31306         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
31307         * debug/confstr_chk.c: Likewise.
31308         * debug/fread_chk.c (__fread_chk): Likewise.
31309         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
31310         * debug/getgroups_chk.c: Likewise.
31311         * debug/mbsnrtowcs_chk.c: Likewise.
31312         * debug/mbsrtowcs_chk.c: Likewise.
31313         * debug/mbstowcs_chk.c: Likewise.
31314         * debug/memcpy_chk.c: Likewise.
31315         * debug/memmove_chk.c: Likewise.
31316         * debug/mempcpy_chk.c: Likewise.
31317         * debug/memset_chk.c: Likewise.
31318         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
31319         * debug/strcat_chk.c (__strcat_chk): Likewise.
31320         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
31321         * debug/strncat_chk.c (__strncat_chk): Likewise.
31322         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
31323         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
31324         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
31325         * debug/wcpncpy_chk.c: Likewise.
31326         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
31327         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
31328         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
31329         * debug/wcsncpy_chk.c: Likewise.
31330         * debug/wcsnrtombs_chk.c: Likewise.
31331         * debug/wcsrtombs_chk.c: Likewise.
31332         * debug/wcstombs_chk.c: Likewise.
31333         * debug/wmemcpy_chk.c: Likewise.
31334         * debug/wmemmove_chk.c: Likewise.
31335         * debug/wmempcpy_chk.c: Likewise.
31336         * debug/wmemset_chk.c: Likewise.
31337         * dirent/scandirat.c (SCANDIRAT): Likewise.
31338         * dlfcn/dladdr1.c (dladdr1): Likewise.
31339         * dlfcn/dladdr.c (dladdr): Likewise.
31340         * dlfcn/dlclose.c (dlclose_doit): Likewise.
31341         * dlfcn/dlerror.c (__dlerror): Likewise.
31342         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
31343         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
31344         * dlfcn/dlopen.c (dlopen_doit): Likewise.
31345         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
31346         * dlfcn/dlsym.c (dlsym_doit): Likewise.
31347         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
31348         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
31349         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
31350         Likewise.
31351         * elf/dl-conflict.c: Likewise.
31352         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
31353         * elf/dl-dst.h: Likewise.
31354         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
31355         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
31356         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
31357         * elf/dl-init.c (call_init, _dl_init): Likewise.
31358         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
31359         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
31360         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
31361         Likewise.
31362         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
31363         Likewise.
31364         * elf/dl-minimal.c (__libc_memalign): Likewise.
31365         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
31366         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
31367         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
31368         * elf/dl-sym.c (do_sym): Likewise.
31369         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
31370         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
31371         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
31372         * elf/dl-writev.h (_dl_writev): Likewise.
31373         * elf/ldconfig.c (search_dir): Likewise.
31374         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
31375         (dl_main): Likewise.
31376         * elf/setup-vdso.h (setup_vdso): Likewise.
31377         * grp/compat-initgroups.c (compat_call): Likewise.
31378         * grp/fgetgrent.c (fgetgrent): Likewise.
31379         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
31380         * grp/putgrent.c (putgrent): Likewise.
31381         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
31382         Likewise.
31383         * hurd/hurdinit.c: Likewise.
31384         * iconvdata/8bit-gap.c (struct): Likewise.
31385         * iconvdata/ansi_x3.110.c : Likewise.
31386         * iconvdata/big5.c : Likewise.
31387         * iconvdata/big5hkscs.c : Likewise.
31388         * iconvdata/cp1255.c: Likewise.
31389         * iconvdata/cp1258.c : Likewise.
31390         * iconvdata/cp932.c : Likewise.
31391         * iconvdata/euc-cn.c: Likewise.
31392         * iconvdata/euc-jisx0213.c : Likewise.
31393         * iconvdata/euc-jp.c: Likewise.
31394         * iconvdata/euc-jp-ms.c : Likewise.
31395         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
31396         * iconvdata/gb18030.c : Likewise.
31397         * iconvdata/gbbig5.c (const): Likewise.
31398         * iconvdata/gbgbk.c: Likewise.
31399         * iconvdata/gbk.c : Likewise.
31400         * iconvdata/ibm1364.c : Likewise.
31401         * iconvdata/ibm930.c : Likewise.
31402         * iconvdata/ibm932.c: Likewise.
31403         * iconvdata/ibm933.c : Likewise.
31404         * iconvdata/ibm935.c : Likewise.
31405         * iconvdata/ibm937.c : Likewise.
31406         * iconvdata/ibm939.c : Likewise.
31407         * iconvdata/ibm943.c: Likewise.
31408         * iconvdata/iso_11548-1.c: Likewise.
31409         * iconvdata/iso-2022-cn.c : Likewise.
31410         * iconvdata/iso-2022-cn-ext.c : Likewise.
31411         * iconvdata/iso-2022-jp-3.c: Likewise.
31412         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
31413         * iconvdata/iso-2022-kr.c : Likewise.
31414         * iconvdata/iso646.c (gconv_end): Likewise.
31415         * iconvdata/iso_6937-2.c : Likewise.
31416         * iconvdata/iso_6937.c : Likewise.
31417         * iconvdata/iso8859-1.c: Likewise.
31418         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
31419         * iconvdata/shift_jisx0213.c : Likewise.
31420         * iconvdata/sjis.c : Likewise.
31421         * iconvdata/t.61.c : Likewise.
31422         * iconvdata/tcvn5712-1.c : Likewise.
31423         * iconvdata/tscii.c: Likewise.
31424         * iconvdata/uhc.c : Likewise.
31425         * iconvdata/unicode.c (gconv_end): Likewise.
31426         * iconvdata/utf-16.c (gconv_end): Likewise.
31427         * iconvdata/utf-32.c (gconv_end): Likewise.
31428         * iconvdata/utf-7.c (base64): Likewise.
31429         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
31430         * iconv/gconv_close.c (__gconv_close): Likewise.
31431         * iconv/gconv_open.c (__gconv_open): Likewise.
31432         * iconv/gconv_simple.c (internal_ucs4_loop_single)
31433         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
31434         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
31435         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
31436         (ucs4le_internal_loop_single): Likewise.
31437         * iconv/iconv.c (iconv): Likewise.
31438         * iconv/iconv_close.c: Likewise.
31439         * iconv/loop.c (SINGLE): Likewise.
31440         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
31441         * include/atomic.h: Likewise.
31442         * inet/inet6_option.c (option_alloc): Likewise.
31443         * intl/bindtextdom.c (set_binding_values): Likewise.
31444         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
31445         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
31446         * intl/localealias.c (read_alias_file): Likewise.
31447         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
31448         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
31449         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
31450         * libio/fmemopen.c (fmemopen): Likewise.
31451         * libio/iofgets.c (_IO_fgets): Likewise.
31452         * libio/iofgets_u.c (fgets_unlocked): Likewise.
31453         * libio/iofgetws.c (fgetws): Likewise.
31454         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
31455         * libio/iogetdelim.c (_IO_getdelim): Likewise.
31456         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
31457         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
31458         * locale/findlocale.c (_nl_find_locale): Likewise.
31459         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31460         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
31461         Likewise.
31462         * locale/setlocale.c (setlocale): Likewise.
31463         * login/programs/pt_chown.c (main): Likewise.
31464         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
31465         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
31466         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
31467         (mmap, mmap64, mremap, munmap): Likewise.
31468         * math/e_exp2l.c: Likewise.
31469         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
31470         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
31471         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
31472         * math/s_catan.c (__catan): Likewise.
31473         * math/s_catanf.c (__catanf): Likewise.
31474         * math/s_catanh.c (__catanh): Likewise.
31475         * math/s_catanhf.c (__catanhf): Likewise.
31476         * math/s_catanhl.c (__catanhl): Likewise.
31477         * math/s_catanl.c (__catanl): Likewise.
31478         * math/s_ccosh.c (__ccosh): Likewise.
31479         * math/s_ccoshf.c (__ccoshf): Likewise.
31480         * math/s_ccoshl.c (__ccoshl): Likewise.
31481         * math/s_cexp.c (__cexp): Likewise.
31482         * math/s_cexpf.c (__cexpf): Likewise.
31483         * math/s_cexpl.c (__cexpl): Likewise.
31484         * math/s_clog10.c (__clog10): Likewise.
31485         * math/s_clog10f.c (__clog10f): Likewise.
31486         * math/s_clog10l.c (__clog10l): Likewise.
31487         * math/s_clog.c (__clog): Likewise.
31488         * math/s_clogf.c (__clogf): Likewise.
31489         * math/s_clogl.c (__clogl): Likewise.
31490         * math/s_csin.c (__csin): Likewise.
31491         * math/s_csinf.c (__csinf): Likewise.
31492         * math/s_csinh.c (__csinh): Likewise.
31493         * math/s_csinhf.c (__csinhf): Likewise.
31494         * math/s_csinhl.c (__csinhl): Likewise.
31495         * math/s_csinl.c (__csinl): Likewise.
31496         * math/s_csqrt.c (__csqrt): Likewise.
31497         * math/s_csqrtf.c (__csqrtf): Likewise.
31498         * math/s_csqrtl.c (__csqrtl): Likewise.
31499         * math/s_ctan.c (__ctan): Likewise.
31500         * math/s_ctanf.c (__ctanf): Likewise.
31501         * math/s_ctanh.c (__ctanh): Likewise.
31502         * math/s_ctanhf.c (__ctanhf): Likewise.
31503         * math/s_ctanhl.c (__ctanhl): Likewise.
31504         * math/s_ctanl.c (__ctanl): Likewise.
31505         * math/w_pow.c: Likewise.
31506         * math/w_powf.c: Likewise.
31507         * math/w_powl.c: Likewise.
31508         * math/w_scalb.c (sysv_scalb): Likewise.
31509         * math/w_scalbf.c (sysv_scalbf): Likewise.
31510         * math/w_scalbl.c (sysv_scalbl): Likewise.
31511         * misc/error.c (error_tail): Likewise.
31512         * misc/pselect.c (__pselect): Likewise.
31513         * nis/nis_callback.c (__nis_create_callback): Likewise.
31514         * nis/nis_call.c (__nisfind_server): Likewise.
31515         * nis/nis_creategroup.c (nis_creategroup): Likewise.
31516         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
31517         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
31518         * nis/nis_getservlist.c (nis_getservlist): Likewise.
31519         * nis/nis_lookup.c (nis_lookup): Likewise.
31520         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
31521         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
31522         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
31523         * nis/nis_xdr.c (xdr_endpoint): Likewise.
31524         * nis/nss_compat/compat-grp.c (getgrent_next_file)
31525         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
31526         * nis/nss_compat/compat-initgroups.c (add_group)
31527         (internal_getgrent_r): Likewise.
31528         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
31529         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
31530         * nis/nss_compat/compat-spwd.c (getspent_next_file)
31531         (internal_getspnam_r): Likewise.
31532         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
31533         (_nss_nis_getaliasbyname_r): Likewise.
31534         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
31535         (_nss_nis_getntohost_r): Likewise.
31536         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
31537         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
31538         (_nss_nis_getgrgid_r): Likewise.
31539         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
31540         (internal_nis_gethostent_r, internal_gethostbyname2_r)
31541         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
31542         (_nss_nis_gethostbyname4_r): Likewise.
31543         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
31544         (initgroups_netid): Likewise.
31545         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
31546         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
31547         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
31548         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
31549         (_nss_nis_getprotobynumber_r): Likewise.
31550         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
31551         (_nss_nis_getsecretkey): Likewise.
31552         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
31553         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
31554         (_nss_nis_getpwuid_r): Likewise.
31555         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
31556         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
31557         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
31558         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
31559         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
31560         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
31561         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
31562         Likewise.
31563         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
31564         (_nss_nisplus_getntohost_r): Likewise.
31565         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
31566         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
31567         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
31568         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
31569         Likewise.
31570         * nis/nss_nisplus/nisplus-initgroups.c
31571         (_nss_nisplus_initgroups_dyn): Likewise.
31572         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
31573         (_nss_nisplus_getnetbyaddr_r): Likewise.
31574         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
31575         (_nss_nisplus_getprotobynumber_r): Likewise.
31576         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
31577         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
31578         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
31579         Likewise.
31580         * nis/nss_nisplus/nisplus-service.c
31581         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
31582         (_nss_nisplus_getservbyport_r): Likewise.
31583         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
31584         (_nss_nisplus_getspnam_r): Likewise.
31585         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
31586         Likewise.
31587         * nscd/aicache.c (addhstaiX): Likewise.
31588         * nscd/cache.c (cache_search, prune_cache): Likewise.
31589         * nscd/connections.c (register_traced_file, send_ro_fd)
31590         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
31591         (main_loop_epoll): Likewise.
31592         * nscd/grpcache.c (addgrbyX): Likewise.
31593         * nscd/hstcache.c (addhstbyX): Likewise.
31594         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31595         * nscd/mem.c (gc, mempool_alloc): Likewise.
31596         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
31597         (addinnetgrX): Likewise.
31598         * nscd/nscd-client.h (__nscd_acquire_maplock)
31599         (__nscd_drop_map_ref): Likewise.
31600         * nscd/nscd_getai.c (__nscd_getai): Likewise.
31601         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31602         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
31603         Likewise.
31604         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31605         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31606         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
31607         (__nscd_get_map_ref): Likewise.
31608         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
31609         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
31610         Likewise.
31611         * nscd/pwdcache.c (addpwbyX): Likewise.
31612         * nscd/selinux.c (preserve_capabilities): Likewise.
31613         * nscd/servicescache.c (addservbyX): Likewise.
31614         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
31615         * posix/fnmatch.c (fnmatch): Likewise.
31616         * posix/getopt.c (_getopt_internal_r): Likewise.
31617         * posix/glob.c (glob, glob_in_dir): Likewise.
31618         * posix/wordexp.c (exec_comm_child): Likewise.
31619         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
31620         (getanswer_r, gaih_getanswer_slice): Likewise.
31621         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
31622         * resolv/res_init.c: Likewise.
31623         * resolv/res_mkquery.c (res_nmkquery): Likewise.
31624         * resolv/res_query.c (__libc_res_nquery): Likewise.
31625         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
31626         Likewise.
31627         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
31628         * stdio-common/perror.c (perror): Likewise.
31629         * stdio-common/printf_fp.c (___printf_fp): Likewise.
31630         * stdio-common/tmpnam.c (tmpnam): Likewise.
31631         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
31632         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
31633         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
31634         Likewise.
31635         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
31636         * stdlib/putenv.c (putenv): Likewise.
31637         * stdlib/setenv.c (__add_to_environ): Likewise.
31638         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
31639         * stdlib/strtol_l.c (INTERNAL): Likewise.
31640         * string/memmem.c (memmem): Likewise.
31641         * string/strerror.c (strerror): Likewise.
31642         * string/strnlen.c (__strnlen): Likewise.
31643         * string/test-memmem.c (simple_memmem): Likewise.
31644         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
31645         * sunrpc/pm_getport.c (__get_socket): Likewise.
31646         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
31647         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
31648         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
31649         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
31650         Likewise.
31651         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
31652         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
31653         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
31654         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
31655         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
31656         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
31657         Likewise.
31658         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
31659         Likewise.
31660         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
31661         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
31662         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
31663         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
31664         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
31665         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
31666         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
31667         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
31668         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
31669         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
31670         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
31671         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
31672         Likewise.
31673         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
31674         Likewise.
31675         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
31676         Likewise.
31677         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
31678         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31679         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
31680         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
31681         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
31682         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
31683         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
31684         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
31685         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
31686         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
31687         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
31688         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31689         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
31690         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
31691         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31692         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
31693         Likewise.
31694         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
31695         Likewise.
31696         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
31697         Likewise.
31698         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
31699         Likewise.
31700         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31701         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31702         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
31703         Likewise.
31704         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
31705         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
31706         * sysdeps/posix/opendir.c (__opendirat): Likewise.
31707         * sysdeps/posix/sleep.c: Likewise.
31708         * sysdeps/posix/tempname.c: Likewise.
31709         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
31710         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
31711         Likewise.
31712         * sysdeps/powerpc/powerpc32/dl-machine.h
31713         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
31714         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
31715         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31716         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
31717         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
31718         Likewise.
31719         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
31720         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
31721         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
31722         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
31723         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
31724         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
31725         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
31726         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
31727         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31728         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
31729         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
31730         (elf_machine_lazy_rel): Likewise.
31731         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
31732         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
31733         (elf_machine_lazy_rel): Likewise.
31734         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
31735         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
31736         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
31737         * sysdeps/unix/grantpt.c (grantpt): Likewise.
31738         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
31739         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
31740         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
31741         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31742         Likewise.
31743         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
31744         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
31745         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
31746         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
31747         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
31748         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
31749         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
31750         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
31751         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
31752         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
31753         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
31754         Likewise.
31755         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
31756         (__posix_fallocate64_l64): Likewise.
31757         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
31758         (posix_fallocate): Likewise.
31759         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
31760         Likewise.
31761         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31762         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
31763         (getifaddrs_internal): Likewise.
31764         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
31765         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
31766         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
31767         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
31768         * sysdeps/unix/sysv/linux/posix_fallocate64.c
31769         (__posix_fallocate64_l64): Likewise.
31770         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
31771         Likewise.
31772         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
31773         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
31774         (__get_clockfreq): Likewise.
31775         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
31776         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
31777         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
31778         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31779         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31780         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
31781         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
31782         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
31783         Likewise.
31784         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
31785         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
31786         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
31787         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
31788         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31789         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
31790         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
31791         Likewise.
31792         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31793         (posix_fallocate): Likewise.
31794         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31795         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
31796         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
31797         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
31798         (elf_machine_rela, elf_machine_rela_relative)
31799         (elf_machine_lazy_rel): Likewise.
31800         * time/asctime.c (asctime_internal): Likewise.
31801         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
31802         * time/tzset.c (__tzset_parse_tz): Likewise.
31803         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
31804         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
31805         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
31806         * wcsmbs/wcsmbsload.h: Likewise.
31808         [BZ #15894]
31809         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
31811         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
31812         (arena_get2): Remove THREAD_STATS conditionals.
31813         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
31814         (__malloc_stats, int): Likewise.
31816 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
31818         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
31819         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
31821         * manual/setjmp.texi: Fix typos/grammar errors.
31823         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
31824         Only return early when n is <= 0.  Delete unused return statement.
31826         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
31827         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
31828         * debug/tst-longjmp_chk3.c: New file.
31830         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
31831         (test_main): Replace code with set_fortify_handler call.
31832         * debug/test-strcpy_chk.c: Likewise.
31833         * debug/tst-chk1.c: Likewise.
31834         * debug/tst-longjmp_chk.c: Likewise.
31835         * test-skeleton.c: Include fcntl.h & paths.h
31836         (set_fortify_handler): Define.
31838         * debug/tst-longjmp_chk.c: Add header comment and include
31839         ../test-skeleton.c.
31840         (do_test): Mark static.
31841         (TEST_FUNCTION): Define.
31843         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
31844         (IP_PMTUDISC_INTERFACE): Likewise.
31845         (IP_MULTICAST_IF): Likewise.
31846         (IP_MULTICAST_TTL): Likewise.
31847         (IP_MULTICAST_LOOP): Likewise.
31848         (IP_ADD_MEMBERSHIP): Likewise.
31849         (IP_DROP_MEMBERSHIP): Likewise.
31850         (IP_UNBLOCK_SOURCE): Likewise.
31851         (IP_BLOCK_SOURCE): Likewise.
31852         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
31853         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
31854         (IP_MSFILTER): Likewise.
31855         (MCAST_JOIN_GROUP): Likewise.
31856         (MCAST_BLOCK_SOURCE): Likewise.
31857         (MCAST_UNBLOCK_SOURCE): Likewise.
31858         (MCAST_LEAVE_GROUP): Likewise.
31859         (MCAST_JOIN_SOURCE_GROUP): Likewise.
31860         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
31861         (MCAST_MSFILTER): Likewise.
31862         (IP_MULTICAST_ALL): Likewise.
31863         (IP_UNICAST_IF): Likewise.
31865         * timezone/Makefile: Delete $(have-ksh) check.
31866         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
31867         * timezone/tzselect.ksh: Add +x mode bits.
31869         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
31870         (ANON_INODE_FS_MAGIC): Likewise.
31871         (BDEVFS_MAGIC): Likewise.
31872         (BINFMTFS_MAGIC): Likewise.
31873         (BTRFS_TEST_MAGIC): Likewise.
31874         (CRAMFS_MAGIC_WEND): Likewise.
31875         (DEBUGFS_MAGIC): Likewise.
31876         (ECRYPTFS_SUPER_MAGIC): Likewise.
31877         (EXT3_SUPER_MAGIC): Likewise.
31878         (EXT4_SUPER_MAGIC): Likewise.
31879         (FUTEXFS_SUPER_MAGIC): Likewise.
31880         (HOSTFS_SUPER_MAGIC): Likewise.
31881         (HUGETLBFS_MAGIC): Likewise.
31882         (MINIX3_SUPER_MAGIC): Likewise.
31883         (MTD_INODE_FS_MAGIC): Likewise.
31884         (NILFS_SUPER_MAGIC): Likewise.
31885         (OPENPROM_SUPER_MAGIC): Likewise.
31886         (PIPEFS_MAGIC): Likewise.
31887         (PSTOREFS_MAGIC): Likewise.
31888         (QNX6_SUPER_MAGIC): Likewise.
31889         (RAMFS_MAGIC): Likewise.
31890         (REISERFS_SUPER_MAGIC_STRING): Likewise.
31891         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
31892         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
31893         (SECURITYFS_MAGIC): Likewise.
31894         (SELINUX_MAGIC): Likewise.
31895         (SMACK_MAGIC): Likewise.
31896         (SOCKFS_MAGIC): Likewise.
31897         (SQUASHFS_MAGIC): Likewise.
31898         (STACK_END_MAGIC): Likewise.
31899         (TMPFS_MAGIC): Likewise.
31900         (USBDEVICE_SUPER_MAGIC): Likewise.
31901         (V9FS_MAGIC): Likewise.
31902         (XENFS_SUPER_MAGIC): Likewise.
31903         (CRAMFS_MAGIC): Fix typo in comment.
31904         (EXT2_SUPER_MAGIC): Update comment.
31905         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
31907 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
31909         * sysdeps/arm: Move directory from ports/sysdeps/arm.
31910         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
31911         * sysdeps/unix/sysv/linux/arm: Move directory from
31912         ports/sysdeps/unix/sysv/linux/arm.
31913         * README: Update listing for arm-*-linux-gnueabi.
31915         * README: Remove mention of am33.
31917 2014-02-07  Roland McGrath  <roland@hack.frob.com>
31919         * bits/sigset.h (__sigemptyset): Use a statement expression rather
31920         than the comma operator, to avoid "rhs of comma has no effect"
31921         compiler warnings.
31922         (__sigfillset, __sigandset, __sigorset): Likewise.
31923         * include/signal.h (__sigemptyset): Likewise.
31924         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
31926 2014-02-07  Allan McRae  <allan@archlinux.org>
31928         * version.h (RELEASE): Set to "development".
31929         (VERSION): Set to "2.19.90"
31930         * NEWS: Add 2.20 section.
31932 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
31934         [BZ #16529]
31935         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
31937 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
31939         * manual/contrib.texi: Update entry for Carlos O'Donell,
31940         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
31942 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
31944         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
31946         * sysdeps/unix/sysv/linux/kernel-features.h
31947         [__LINUX_KERNEL_VERSION >= 0x020621]
31948         (__ASSUME_PROC_PID_TASK_COMM): Define.
31950 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31952         [BZ #16398]
31953         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
31954         conversion when destination buffer does not have enough space.
31955         * libio/tst-ftell-partial-wide.c: New test case.
31956         * libio/Makefile (tests): Add tst-ftell-partial-wide.
31958         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
31959         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
31960         Leonard and Allan McRae.
31962 2014-02-04  David S. Miller  <davem@davemloft.net>
31964         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
31965         32-bit.
31967 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
31970         New file
31971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
31972         New file
31973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
31974         New file.
31975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
31976         New file.
31977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
31978         New file.
31979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
31980         New file.
31981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
31982         New file.
31983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
31984         New file.
31985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
31986         New file.
31987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
31988         New file.
31989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
31990         New file.
31991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
31992         New file.
31993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
31994         New file.
31996 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31998         * nptl/shlib-versions: Change powerpc*le start to 2.17.
31999         * shlib-versions: Likewise.
32001 2014-02-04  Roland McGrath  <roland@hack.frob.com>
32002             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32004         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
32005         (abilist-pattern): New variable, set to %-le.abilist.
32007         * Makerules (abilist-pattern): New variable.
32008         (vpath): Use $(abilist-pattern) in place of %.abilist.
32009         (check-abi-% pattern rule): Likewise.
32010         (check-abi, update-abi): Likewise.
32012 2014-02-04  Eric Wong  <normalperson@yhbt.net>
32014         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32016 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
32018         * manual/startup.texi: Add next, previous, and top entries for
32019         the `Program Arguments' and `Environment Variables' nodes.
32021 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
32023         * manual/macros.texi: Add comments before MTASC-safety macros.
32025         * manual/users.texi: Document MTASC-safety properties.
32027         * manual/threads.texi (pthread_key_create, pthread_key_delete)
32028         (pthread_getspecific, pthread_setspecific): Format with
32029         @deftypefun, and add @safety note.
32030         * manual/signal.texi: Move comments that analyze the above
32031         functions to their home place.
32033 2014-02-03  Allan McRae  <allan@archlinux.org>
32035         * po/sl.po: Update Slovenian translation from translation project.
32037 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
32039         * manual/time.texi (timegm): Add missing blank after @c.
32040         Reported by Joseph Myers <joseph@codesourcery.com>.
32042 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
32044         * manual/check-safety.sh: New.
32045         * manual/Makefile ($(objpfx)stamp-summary): Run it.
32047         * manual/terminal.texi: Document MTASC-safety properties.
32049         * manual/filesys.texi: Document MTASC-safety properties.
32051         * manual/errno.texi: Document MTASC-safety properties.
32053         * manual/intro.texi: Document safety identifiers and
32054         conditionals.
32056         * manual/string.texi (wcstok): Fix prototype.
32057         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
32059         * manual/time.texi: Document MTASC-safety properties.
32061         * manual/string.texi: Document MTASC-safety properties.
32063         * manual/threads.texi: Document MTASC-safety properties.
32065         * manual/stdio.texi: Document MTASC-safety properties.
32067         * manual/syslog.texi: Document MTASC-safety properties.
32069         * manual/sysinfo.texi: Document MTASC-safety properties.
32071         * manual/startup.texi: Document MTASC-safety properties.
32073         * manual/socket.texi: Document MTASC-safety properties.
32075         * manual/signal.texi: Document MTASC-safety properties.
32077 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
32079         * manual/setjmp.texi: Document MTASC-safety properties.
32081         * manual/search.texi: Document MTASC-safety properties.
32083         * manual/resource.texi: Document MTASC-safety properties.
32085         * manual/process.texi: Document MTASC-safety properties.
32087         * manual/platform.texi: Document MTASC-safety properties.
32089         * manual/pipe.texi: Document MTASC-safety properties.
32091         * manual/pattern.texi: Document MTASC-safety properties.
32093         * manual/message.texi: Document MTASC-safety properties.
32095         [BZ #12751]
32096         * manual/memory.texi: Document MTASC-safety properties.
32098         * manual/math.texi: Document MTASC-safety properties.
32100         * manual/locale.texi: Document MTASC-safety properties.
32102         * manual/llio.texi: Document MTASC-safety properties.
32104         * manual/libdl.texi: New.
32106         * manual/lang.texi: Document MTASC-safety properties.
32108         * manual/job.texi: Document MTASC-safety properties.
32110         * manual/getopt.texi: Document MTASC-safety properties.
32112         * manual/ctype.texi: Document MTASC-safety properties.
32114 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
32116         [BZ #16046]
32117         * csu/libc-tls.c (static_map): Remove variable.
32118         (__libc_setup_tls): Use main executable's link map for TLS data.
32119         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
32120         casing for LM_ID_BASE and GL(dl_nns).
32121         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
32122         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
32123         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
32124         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
32125         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
32126         member.
32127         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
32128         l_phnum members.
32130 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
32132         * manual/debug.texi: Document MTASC-safety properties.
32134 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
32136         [BZ #16510]
32137         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
32138         of __x86_64__ when disabling x87 inline functions.
32140 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
32142         * manual/charset.texi: Document MTASC-safety properties.
32144         * manual/crypt.texi: Document MTASC-safety properties.
32146         * manual/conf.texi: Document MTASC-safety properties.
32148         * manual/arith.texi: Document MTASC-safety properties.
32150         * manual/argp.texi: Document MTASC-safety properties.
32152         * manual/macros.texi: Introduce macros to document multi
32153         thread, asynchronous signal and asynchronous cancellation
32154         safety properties.
32155         * manual/intro.texi: Introduce the properties themselves.
32157 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32159         * sysdeps/sh/sh4/Makefile: New file.
32161 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
32163         * math/gen-libm-test.pl ($srcdir): New variable.
32164         ($auto_input): Use it.
32166 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32168         [BZ #16506]
32169         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
32170         access beyond array bounds when parsing netgroups file.
32172         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
32173         the old buffer before realloc.
32175 2014-01-27  Allan McRae  <allan@archlinux.org>
32177         * po/fr.po: Update French translation from translation project.
32179 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32181         * sysdeps/sh/libm-test-ulps: Regenerate.
32183 2014-01-24  David S. Miller  <davem@davemloft.net>
32185         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
32187 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32189         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
32190         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
32192 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32194         [BZ #16474]
32195         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
32196         string pointers after reallocation.
32198 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32200         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
32201         __SH4A__ instead of __SH_FPU_ANY__.
32203 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32205         * sysdeps/sh/fpu_control.h: New file.
32206         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
32207         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
32208         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
32209         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
32210         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
32211         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
32212         * sysdeps/sh/sys/ucontext.h: Remove.
32213         * sysdeps/sh/sys: Remove directory.
32215 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32217         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
32218         s390/sys/ucontext.h.
32219         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
32220         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
32222 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
32224         [BZ #15605]
32225         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
32227 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32229         [BZ#16431]
32230         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
32231         Adjust the vDSO correctly for internal calls.
32232         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
32234 2014-01-20  Allan McRae  <allan@archlinux.org>
32236         * po/ca.po: Update Catalan translation from translation project.
32238 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
32240         * sysdeps/s390/sotruss-lib.c: New file.
32242 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32244         [BZ#16430]
32245         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
32246         (__GI___gettimeofday): Alias for a different internal symbol to avoid
32247         local calls issues by not having a PLT stub required for IFUNC calls.
32248         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
32250 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
32252         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
32253         * math/test-fpucw-static.c: Likewise.
32255 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32257         [BZ #16453]
32258         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
32260 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32262         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
32263         implementation for powerpc.
32265 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
32267         [BZ #14782]
32268         * sysdeps/posix/system.c (__libc_system): Do not enable
32269         asynchronous cancellation.
32271 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32273         [BZ #16427]
32274         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
32275         handling only for numbers special also in the IEEE case.
32277 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32279         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32281 2014-01-11  Allan McRae  <allan@archlinux.org>
32283         * po/bg.po: Update Bulgarian translation from translation project.
32285         * po/de.po: Update German translation from translation project.
32287 2014-01-10  Roland McGrath  <roland@hack.frob.com>
32289         * sysdeps/generic/gcc-compat.h: New file.
32291 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32293         * benchtests/asin-inputs: Correct slow inputs.
32294         * benchtests/acos-inputs: Likewise.
32296 2014-01-10  Allan McRae  <allan@archlinux.org>
32298         * po:sv.po: Update Swedish translation from translation project.
32300         * po/vi.po: Update Vietnamese translation from translation project.
32302         * po/eo.po: Update Esperanto translation from translation project.
32304         * po/cs.po: Update Czech translation from translation project.
32306         * po/nl.po: Update Dutch translation from translation project.
32308         * po/pl.po: Update Polish translation from translation project.
32310         * po/ru.po: Update Russian translation from translation project.
32312         * po/uk.po: Update Ukrainian translation from translation project.
32314 2014-01-08  Brooks Moses  <bmoses@google.com>
32316         * elf/dl-load.c: Fix comment typo.
32318 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
32320         * po/header.pot: Rename to...
32321         * po/pot.header: ... this.
32322         * po/Makefile: Use pot.header.
32324 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
32325             Maxim Kuvyrkov  <maxim@kugelworks.com>
32327         [BZ #16394]
32328         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
32329         SRC and DEST against LEN.
32331 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32333         [BZ #16414]
32334         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
32335         implementation.
32336         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
32338 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32340         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32342 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
32344         [BZ #16408]
32345         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
32346         for large positive arguments.
32348 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
32350         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
32352         * math/auto-libm-test-in: Mark various tests with
32353         xfail-rounding:ldbl-128ibm.
32354         * math/auto-libm-test-out: Regenerated.
32356         [BZ #16407]
32357         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
32358         Increase overflow threshold.
32360 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
32362         [BZ #14286]
32363         * stdio-common/vfprintf.c: Check for integer overflow.
32365 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32367         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
32368         the first argument and return value of __tls_get_addr_internal.
32370 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32372         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
32373         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
32375 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32377         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
32378         * sysdeps/s390/rtld-global-offsets.sym: New file.
32379         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
32380         GLIBC_2.19 symbol.
32381         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
32382         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
32383         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
32384         ... this.
32385         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
32386         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
32387         ... this.
32388         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32389         Regenerate.
32390         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32391         Regenerate.
32392         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
32393         halfs of GPRs for high_gprs contexts.
32394         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
32395         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
32396         field.
32397         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
32398         uc_flags field.
32399         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
32400         64 bit versions:
32401         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
32402         for high GPRs (uc_high_gprs) and for future extensions
32403         (__reserved).
32404         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
32405         for future extensions (__reserved).
32406         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
32407         64 bit versions:
32408         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
32409         SC_HIGHGPRS offset definition.
32410         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
32411         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
32413         * Versions.def: Add GLIBC_2.19 for libpthread.
32414         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
32415         siglongjmp for libpthread with GLIBC_2.19 symver.
32416         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
32417         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
32418         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
32419         * sysdeps/s390/__longjmp.c: New file.
32420         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
32421         * sysdeps/s390/longjmp.c: New file.
32422         * sysdeps/s390/setjmp.S: New file.
32423         * sysdeps/s390/sigjmp.S: New file.
32424         * sysdeps/s390/v1-longjmp.c: New file.
32425         * sysdeps/s390/v1-setjmp.h: New file.
32426         * sysdeps/s390/v1-sigjmp.c: New file.
32427         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
32428         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
32429         GLIBC_2.19 version.
32430         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
32431         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
32432         versioned symbols for ____longjmp_chk.
32433         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
32434         Likewise.
32435         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32436         Regenerate.
32437         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32438         Regenerate.
32439         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32440         Regenerate.
32441         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32442         Regenerate.
32443         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
32444         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
32445         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
32446         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
32447         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
32448         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
32449         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
32450         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
32451         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
32452         * sysdeps/s390/rtld-__longjmp.c: New file.
32453         * sysdeps/s390/rtld-setjmp.S: New file.
32455 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
32457         [BZ #16400]
32458         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
32459         Return -__logl (x) for small positive arguments without evaluating
32460         a polynomial.
32462 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
32464         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
32465         Rename to ...
32466         (__ptrace_peeksiginfo_args): ... this.
32467         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32468         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32469         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32471 2014-01-06  Allan McRae  <allan@archlinux.org>
32473         * inet/netinet/in.h: Fix typo in comment.
32475 2014-01-05  Andreas Jaeger  <aj@suse.de>
32477         * sysdeps/i386/fpu/libm-test-ulps: Update.
32479 2014-01-05  Allan McRae  <allan@archlinux.org>
32481         * po/libc.pot: Regenerated.
32483         * malloc/memusagestat.c: Fix gettext call formatting.
32485 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
32487         * nscd/nscd.c: Improve usage() output.
32489 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
32491         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
32492         * sysdeps/unix/sysv/linux/configure: Regenerated.
32493         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
32494         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
32496 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
32498         [BZ #16390]
32499         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
32500         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
32502 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32504         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
32505         extra tokens at end of #undef directive.
32506         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
32507         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
32508         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
32510 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
32512         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
32514         * math/auto-libm-test-in: Mark various tests with
32515         xfail-rounding:ldbl-128ibm.
32516         * math/auto-libm-test-out: Regenerated.
32518 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
32520         [BZ #16386]
32521         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
32522         numbers with subnormal high part when calculating exponent.
32524         [BZ #16385]
32525         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
32526         fabs.
32528         [BZ #16384]
32529         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
32530         M_LN2l.
32531         (__ieee754_acoshl): Use __log1pl not __log1p.
32533 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
32535         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
32536         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
32537         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
32538         (grow_heap, heap_trim, _int_new_arena, get_free_list)
32539         (reused_arena, arena_get2): Convert to GNU style.
32540         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
32541         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
32542         (memalign_check, __malloc_set_state): Likewise.
32543         * malloc/mallocbug.c (main): Likewise.
32544         * malloc/malloc.c (__malloc_assert, malloc_init_state)
32545         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
32546         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
32547         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
32548         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
32549         (__posix_memalign, malloc_info): Likewise.
32550         * malloc/malloc.h: Likewise.
32551         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
32552         (mallochook, memalignhook, reallochook, mabort): Likewise.
32553         * malloc/mcheck.h: Likewise.
32554         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
32555         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
32556         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
32557         * malloc/morecore.c (__default_morecore): Likewise.
32558         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
32559         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
32560         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
32561         (print_and_abort): Likewise.
32562         * malloc/obstack.h: Likewise.
32563         * malloc/set-freeres.c (__libc_freeres): Likewise.
32564         * malloc/tst-mallocstate.c (main): Likewise.
32565         * malloc/tst-mtrace.c (main): Likewise.
32566         * malloc/tst-realloc.c (do_test): Likewise.
32568 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32570         [BZ #16366]
32571         * nscd/netgroupcache.c (do_notfound): New function.
32572         (addgetnetgrentX): Use it.
32574         [BZ # 16365]
32575         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
32576         NSS_STATUS_NOTFOUND.
32578 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
32580         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
32581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32583 2014-01-01  Allan McRae  <allan@archlinux.org>
32585         * scripts/update-copyrights: Update configure input file suffix.
32587         * NEWS: Update copyright year.
32588         * catgets/gencat.c: Likewise.
32589         * csu/version.c: Likewise.
32590         * debug/catchsegv.sh: Likewise.
32591         * debug/pcprofiledump.c: Likewise.
32592         * debug/xtrace.sh: Likewise.
32593         * elf/ldconfig.c: Likewise.
32594         * elf/ldd.bash.in: Likewise.
32595         * elf/pldd.c: Likewise.
32596         * elf/sotruss.ksh: Likewise.
32597         * elf/sprof.c: Likewise.
32598         * iconv/iconv_prog.c: Likewise.
32599         * iconv/iconvconfig.c: Likewise.
32600         * locale/programs/locale.c: Likewise.
32601         * locale/programs/localedef.c: Likewise.
32602         * login/programs/pt_chown.c: Likewise.
32603         * malloc/memusage.sh: Likewise.
32604         * malloc/memusagestat.c: Likewise.
32605         * malloc/mtrace.pl: Likewise.
32606         * manual/libc.texinfo: Likewise.
32607         * nscd/nscd.c: Likewise.
32608         * nss/getent.c: Likewise.
32609         * nss/makedb.c: Likewise.
32610         * posix/getconf.c: Likewise.
32611         * scripts/test-installation.pl: Likewise.
32613         * All files with FSF copyright notices: Update copyright dates
32614         using scripts/update-copyrights.
32615         * intl/plural.c: Regenerated.
32616         * locale/programs/charmap-kw.h: Likewise.
32617         * locale/programs/locfile-kw.h: Likewise.
32619 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
32621         * sysdeps/unix/sysv/linux/configure: Regenerated.
32622         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
32623         the linux/fanotify.h header.
32624         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
32625         HAVE_LINUX_FANOTIFY_H is defined.
32627 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
32629         * benchtests/cos-inputs: New inputs.
32630         * benchtests/sin-inputs: Likewise.
32632         * benchtests/atan-inputs: New inputs. Fix name of multiple
32633         precision fallback inputs.
32635         * benchtests/atanh-inputs: New inputs.
32636         * benchtests/tanh-inputs: Likewise.
32638         * benchtests/acosh-inputs: New inputs.
32639         * benchtests/asinh-inputs: Likewise.
32641         * benchtests/cosh-inputs: New inputs.
32642         * benchtests/sinh-inputs: Likewise.
32644         * benchtests/acos-inputs: Add more inputs.
32645         * benchtests/asin-inputs: Likewise.
32647 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
32649         [BZ #16375]
32650         * manual/arith.texi: Fix spelling.
32651         * manual/charset.texi: Likewise.
32652         * manual/errno.texi: Likewise.
32653         * manual/filesys.texi: Likewise.
32654         * manual/lang.texi: Likewise.
32655         * manual/llio.texi: Likewise.
32656         * manual/locale.texi: Likewise.
32657         * manual/message.texi: Likewise.
32658         * manual/resource.texi: Likewise.
32659         * manual/search.texi: Likewise.
32660         * manual/setjmp.texi: Likewise.
32661         * manual/stdio.texi: Likewise.
32662         * manual/string.texi: Likewise.
32663         * manual/sysinfo.texi: Likewise.
32664         * manual/time.texi: Likewise.
32666 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
32668         * po/sl.po: New file.
32670 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
32672         * .gitignore: Add core/.gdbinit/.gdb_history.
32674 2013-12-27  Allan McRae  <allan@archlinux.org>
32676         [BZ #16369]
32677         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
32678         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
32680 2013-12-24  Brooks Moses  <bmoses@google.com>
32682         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
32683         all compilers that claim C++98 compliance, not just GCC.
32684         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
32685         Likewise.
32687 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
32689         * NEWS: Restore accidentally deleted bug-fix entries.
32691 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
32692             Ondřej Bílka  <neleai@seznam.cz>
32694         [BZ #15073]
32695         * malloc/malloc.c (_int_free): Perform sanity check only if we
32696         have_lock.
32698 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
32700         [BZ #12986]
32701         * manual/stdio.texi (String Input Conversions): Clarify that character
32702         classes are not supported.
32704 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32706         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32708 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
32710         [BZ #16337]
32711         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
32712         Calculate results for small negative arguments directly rather
32713         than using reflection formula with special underflow handling.
32715         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
32716         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
32717         sysdeps/unix/bsd/bsd4.4/syscalls.list.
32718         (fchflags): Likewise.
32719         (revoke): Likewise.
32720         (setlogin): Likewise.
32721         (sigaltstack): Likewise.
32722         (wait4): Likewise.
32723         (sigblock): Remove.
32724         (sigsetmask): Likewise.
32725         (wait3): Likewise.
32726         (waitpid): Likewise.
32727         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
32728         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
32729         file.
32730         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
32731         * sysdeps/unix/bsd/Makefile: ... here.
32732         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
32733         * sysdeps/unix/bsd/Versions: ... here.
32734         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
32735         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
32736         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
32737         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
32738         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
32739         * sysdeps/unix/bsd/sigblock.c: ... here.
32740         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
32741         * sysdeps/unix/bsd/sigsetmask.c: ... here.
32742         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
32743         * sysdeps/unix/bsd/sigvec.c: ... here.
32744         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
32745         * sysdeps/unix/bsd/tcdrain.c: ... here.
32746         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
32747         * sysdeps/unix/bsd/tcgetattr.c: ... here.
32748         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
32749         * sysdeps/unix/bsd/tcsetattr.c: ... here.
32750         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
32751         * sysdeps/unix/bsd/wait.c: ... here.
32752         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
32753         * sysdeps/unix/bsd/wait3.c: ... here.
32754         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
32755         * sysdeps/unix/bsd/waitpid.c: ... here.
32757 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
32759         [BZ #16356]
32760         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
32761         round-to-nearest for [!USE_AS_EXPM1L].
32762         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
32763         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
32764         more tests of exp and exp10.  Expect some exp10 tests to miss
32765         exceptions or fail in directed rounding modes.
32766         * math/auto-libm-test-out: Regenerated.
32767         * math/libm-test.inc (exp10_tonearest_test_data): New array.
32768         (exp10_test_tonearest): New function.
32769         (exp10_towardzero_test_data): New array.
32770         (exp10_test_towardzero): New function.
32771         (exp10_downward_test_data): New array.
32772         (exp10_test_downward): New function.
32773         (exp10_upward_test_data): New array.
32774         (exp10_test_upward): New function.
32775         (main): Call the new functions.
32776         * sysdeps/i386/fpu/libm-test-ulps: Update.
32777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32779 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
32781         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
32782         asinh, atan, atan2, atanh, cbrt, cos and cosh.
32783         * math/auto-libm-test-out: Regenerated.
32784         * math/libm-test.inc (acosh_test_data): Add more tests.
32785         (atanh_test_data): Likewise.
32786         (ceil_test_data): Likewise.
32787         (copysign_test_data): Likewise.
32788         * sysdeps/i386/fpu/libm-test-ulps: Update.
32789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32791         * timezone/checktab.awk: Update from tzcode 2013i.
32792         * timezone/private.h: Likewise.
32793         * timezone/scheck.c: Likewise.
32794         * timezone/tzfile.h: Likewise.
32795         * timezone/tzselect.ksh: Likewise.
32796         * timezone/zdump.c: Likewise.
32797         * timezone/zic.c: Likewise.
32799         * math/auto-libm-test-in: Add tests of cpow.
32800         * math/auto-libm-test-out: Regenerated.
32801         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
32802         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32803         mpc_cc_c.
32804         (func_calc_desc): Add mpc_cc_c union field.
32805         (test_functions): Add cpow.
32806         (special_fill_2pi): New function.
32807         (special_real_inputs): Add 2pi.
32808         (calc_generic_results): Handle mpc_cc_c.
32809         * sysdeps/i386/fpu/libm-test-ulps: Update.
32810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32812         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
32813         csqrt, ctan and ctanh.
32814         * math/auto-libm-test-out: Regenerated.
32815         * math/libm-test.inc (TEST_COND_x86_64): New macro.
32816         (TEST_COND_x86): Likewise.
32817         (ccos_test_data): Use AUTO_TESTS_c_c.
32818         (ccosh_test_data): Likewise.
32819         (cexp_test_data): Likewise.
32820         (clog_test_data): Likewise.
32821         (csqrt_test_data): Likewise.
32822         (ctan_test_data): Likewise.
32823         (ctan_tonearest_test_data): Likewise.
32824         (ctan_towardzero_test_data): Likewise.
32825         (ctan_downward_test_data): Likewise.
32826         (ctan_upward_test_data): Likewise.
32827         (ctanh_test_data): Likewise.
32828         (ctanh_tonearest_test_data): Likewise.
32829         (ctanh_towardzero_test_data): Likewise.
32830         (ctanh_downward_test_data): Likewise.
32831         (ctanh_upward_test_data): Likewise.
32832         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32833         mpc_c_c.
32834         (func_calc_desc): Add mpc_c_c union field.
32835         (FUNC_mpc_c_c): New macro.
32836         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
32837         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
32838         ctanh.
32839         (special_fill_min_subnorm_p120): New function.
32840         (special_real_inputs): Add min_subnorm_p120.
32841         (calc_generic_results): Handle mpc_c_c.
32842         * sysdeps/i386/fpu/libm-test-ulps: Update.
32843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32845 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
32847         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
32848         (do_sin_slow): New functions.
32849         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
32850         (cslow2, csloww1, csloww2): Use the new functions.
32852         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
32853         Use M to change sign of result instead of X.  Assume X is
32854         positive.
32855         (csloww1): Likewise.
32856         (__sin): Adjust.
32857         (__cos): Adjust.
32859         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
32860         arguments A and DA.
32861         (__sin): Adjust.
32862         (__cos): Likewise.
32864         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
32865         (__cos): Likewise.
32866         (sloww1): Don't adjust sign of DX.
32867         (csloww1): Likewise.
32868         (sloww2): Use X directly and don't adjust sign of DX.
32869         (csloww2): Likewise.
32871 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
32873         * math/auto-libm-test-in: Add tests of cabs and carg.
32874         * math/auto-libm-test-out: Regenerated.
32875         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
32876         (carg_test_data): Likewise.
32877         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32878         mpc_c_f.
32879         (func_calc_desc): Add mpc_c_f union field.
32880         (test_functions): Add cabs and carg.
32881         (calc_generic_results): Handle mpc_c_f.
32883         * sysdeps/powerpc/powerpc32/libgcc-compat.S
32884         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
32885         as a macro and a compat symbol.
32886         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
32887         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
32888         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
32889         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
32890         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
32891         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
32892         not use .hidden.
32893         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
32894         Likewise.
32895         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
32896         Likewise.
32897         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
32898         Likewise.
32899         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
32900         Likewise.
32901         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
32902         Likewise.
32903         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
32904         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
32905         from GLIBC_2.3.2.
32907 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32909         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32911 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
32913         * manual/texinfo.tex: Update to version 2013-11-26.10 with
32914         trailing whitespace removed.
32915         * scripts/config.guess: Update to version 2013-11-29.
32916         * scripts/config.sub: Update to version 2013-10-01.
32918         * math/auto-libm-test-in: Add tests of sincos.
32919         * math/auto-libm-test-out: Regenerated.
32920         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
32921         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32922         mpfr_f_11.
32923         (func_calc_desc): Add mpfr_f_11 union field.
32924         (test_functions): Add sincos.
32925         (calc_generic_results): Handle mpfr_f_11.
32926         * sysdeps/i386/fpu/libm-test-ulps: Update.
32927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32929 2013-12-19  Andreas Schwab  <schwab@suse.de>
32931         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
32932         CALL_MCOUNT.
32933         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
32934         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
32935         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
32937 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
32939         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
32940         * sysdeps/i386/fpu/libm-test-ulps: Update.
32941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32943         [BZ #16293]
32944         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
32945         round-to-nearest mode when using frndint.
32946         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
32947         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32948         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
32949         Likewise.
32950         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
32951         sinh test to fail.
32952         * math/auto-libm-test-out: Regenerated.
32953         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
32954         (TEST_COND_x86): Likewise.
32955         (expm1_tonearest_test_data): New array.
32956         (expm1_test_tonearest): New function.
32957         (expm1_towardzero_test_data): New array.
32958         (expm1_test_towardzero): New function.
32959         (expm1_downward_test_data): New array.
32960         (expm1_test_downward): New function.
32961         (expm1_upward_test_data): New array.
32962         (expm1_test_upward): New function.
32963         (main): Run the new test functions.
32964         * sysdeps/i386/fpu/libm-test-ulps: Update.
32965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32967         * include/features.h: Update comment documenting feature test
32968         macros.  Mention _DEFAULT_SOURCE in comment.
32969         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
32970         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
32971         _BSD_SOURCE and _SVID_SOURCE.
32972         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
32973         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
32974         !_SVID_SOURCE]: Likewise.
32975         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
32976         (__USE_POSIX_IMPLICITLY): Define.
32977         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
32978         (_POSIX_SOURCE): Undefine and redefine.
32979         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
32980         (_POSIX_C_SOURCE): Likewise.
32981         * manual/creature.texi (_DEFAULT_SOURCE): Document.
32982         (Feature Test Macros): Update documentation of default features.
32984 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32986         * benchtests/Makefile: Add bench-strtok.
32987         * benchtests/bench-strtok.c: New file: strtok benchtest.
32989 2013-12-19  Allan McRae  <allan@archlinux.org>
32991         * manual/install.texi: Suppress menu for plain text output.
32992         * INSTALL: Regenerated.
32994 2013-12-18  Brooks Moses  <bmoses@google.com>
32996         [BZ #15846]
32997         * misc/getauxval.c: Include errno.h.
32998         (__getauxval): Set errno to ENOENT if the requested type is not
32999         found.
33000         * misc/sys/auxv.h (getauxval): Document that it may set errno;
33001         don't declare with __attribute_const__.
33002         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
33003         * manual/startup.texi: Document that getauxval sets errno.
33005 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
33007         * math/auto-libm-test-in: Add tests of jn and yn.
33008         * math/auto-libm-test-out: Regenerated.
33009         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
33010         (yn_test_data): Likewise.
33011         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33012         mpfr_if_f.
33013         (func_calc_desc): Add mpfr_if_f union field.
33014         (FUNC_mpfr_if_f): New macro.
33015         (test_functions): Add jn and yn.
33016         (calc_generic_results): Assert type of second input for
33017         mpfr_ff_f.  Handle mpfr_if_f.
33018         (output_for_one_input_case): Disable all checking for arguments
33019         fitting floating-point types in case of an integer argument.
33020         * sysdeps/i386/fpu/libm-test-ulps: Update.
33021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
33024         Don't expect fegetround reference in libm.so.
33026 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33028         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
33029         $(config-cflags-nofma).
33031 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
33033         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
33034         * math/auto-libm-test-out: Regenerated.
33036         [BZ #16338]
33037         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
33038         to determine exponent and adjust argument to have exponent of -1.
33039         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
33040         log2.
33041         * math/auto-libm-test-out: Regenerated.
33042         * sysdeps/i386/fpu/libm-test-ulps: Update.
33043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33045 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
33047         * manual/probes.texi: Remove cases when per-thread arenas are
33048         disabled.
33050 2013-12-18  Andreas Schwab  <schwab@suse.de>
33052         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
33053         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
33054         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
33055         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
33056         * sysdeps/i386/i686/multiarch/Makefile: Update.
33057         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
33059 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
33061         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
33062         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
33064 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
33066         [BZ #15968]
33067         Support TZ transition times < 00:00:00.
33068         This is needed for version-3 tz-format files; it supports time
33069         stamps past 2037 for America/Godthab (the only entry in the tz
33070         database for which this change is relevant).
33071         * manual/time.texi (TZ Variable): Document transition times
33072         from -167:59:59 through -00:00:01.
33073         * time/tzset.c (tz_rule): Time of day is now signed.
33074         (__tzset_parse_tz): Parse negative time of day.
33076         Document TZ transition times >= 25:00:00.
33077         * manual/time.texi (TZ Variable): Document transition times from
33078         25:00:00 through 167:59:59.  These are already supported, and this
33079         support will help with version-3 tz-format files.
33081         * manual/time.texi (TZ Variable): Modernize North America example
33082         to reflect current (i.e., 2007-and-later) daylight saving rules.
33084         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
33086 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
33088         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
33089         * sysdeps/unix/bsd/bits/stat.h: Likewise.
33090         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
33091         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33092         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
33093         * sysdeps/unix/bsd/bsdstat.h: Likewise.
33094         * sysdeps/unix/bsd/clock.c: Likewise.
33095         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
33096         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
33097         * sysdeps/unix/bsd/init-posix.c: Likewise.
33098         * sysdeps/unix/bsd/poll.c: Likewise.
33099         * sysdeps/unix/bsd/ptsname.c: Likewise.
33100         * sysdeps/unix/bsd/seekdir.c: Likewise.
33101         * sysdeps/unix/bsd/setegid.c: Likewise.
33102         * sysdeps/unix/bsd/seteuid.c: Likewise.
33103         * sysdeps/unix/bsd/setgid.c: Likewise.
33104         * sysdeps/unix/bsd/setrgid.c: Likewise.
33105         * sysdeps/unix/bsd/setruid.c: Likewise.
33106         * sysdeps/unix/bsd/setsid.c: Likewise.
33107         * sysdeps/unix/bsd/setuid.c: Likewise.
33108         * sysdeps/unix/bsd/sigaction.c: Likewise.
33109         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
33110         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
33111         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
33112         * sysdeps/unix/bsd/telldir.c: Likewise.
33113         * sysdeps/unix/bsd/times.c: Likewise.
33114         * sysdeps/unix/bsd/usleep.c: Likewise.
33116         * misc/Makefile (install-lib): Remove libbsd-compat.a.
33117         ($(objpfx)libbsd-compat.a): Remove rule.
33119         * include/features.h (__FAVOR_BSD): Do not define.
33120         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
33121         features conflicting with POSIX.
33122         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
33123         (_BSD_SOURCE): Remove description of not being a subset of other
33124         feature test macros.
33125         * manual/job.texi (getpgrp): Do not document BSD version.
33126         (getpgid): Do not document by reference to BSD getpgrp.
33127         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
33128         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
33129         * signal/signal.h [__FAVOR_BSD]: Likewise.
33130         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
33131         instead of making contents conditional on [__FAVOR_BSD].
33132         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
33134 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33136         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33138 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
33140         [BZ #16314]
33141         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
33142         values below 2**-450, not 2**-500.
33143         * math/auto-libm-test-in: Don't allow spurious underflow from
33144         hypot.
33145         * math/auto-libm-test-out: Regenerated.
33147         [BZ #16316]
33148         [BZ #16330]
33149         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
33150         values of ha and hb and sort them after adjusting subnormal
33151         arguments.
33152         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
33153         Likewise.
33154         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
33155         values of ea and eb and sort them after adjusting subnormal
33156         arguments.
33157         * math/auto-libm-test-in: Do not expect some hypot tests of
33158         subnormals to fail.  Add more hypot tests.
33159         * math/auto-libm-test-out: Regenerated.
33161 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33163         [BZ #13304]
33164         * sysdeps/sh/s_fma.c: New file.
33165         * sysdeps/sh/s_fmaf.c: New file.
33166         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
33167         version.
33168         * sysdeps/sh/Implies: Add sh/soft-fp.
33170 2013-12-16  Roland McGrath  <roland@hack.frob.com>
33172         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
33173         level of indirection to members `objname', `errstring', `malloced'.
33174         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
33175         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
33176         it as the __longjmp argument (just pass 1 instead).
33177         (_dl_catch_error): Initialize C with argument pointers and address of
33178         volatile local ERRCODE rather than copying values out of C at return.
33180 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
33182         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
33183         * math/auto-libm-test-out: Regenerated.
33184         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
33185         (hypot_test_data): Likewise.
33186         (pow_test_data): Likewise.
33187         (pow_tonearest_test_data): Likewise.
33188         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33189         mpfr_ff_f.
33190         (func_calc_desc): Add mpfr_ff_f union field.
33191         (FUNC_mpfr_ff_f): New macro.
33192         (test_functions): Add atan2, hypot and pow.
33193         (special_fill_min): New function.
33194         (special_fill_minus_min): Likewise.
33195         (special_fill_min_subnorm): Likewise.
33196         (special_fill_minus_min_subnorm): Likewise.
33197         (special_real_inputs): Add min, -min, min_subnorm and
33198         -min_subnorm.
33199         (calc_generic_results): Handle mpfr_ff_f.
33200         * sysdeps/i386/fpu/libm-test-ulps: Update.
33201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33203 2013-12-16  Will Newton  <will.newton@linaro.org>
33205         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
33206         (Aligned Memory Blocks): Add documentation for aligned_alloc
33207         and suggest it as an alternative to posix_memalign.
33208         (Hooks for Malloc): Document __memalign_hook is also called
33209         for aligned_alloc.  (Summary of Malloc): Add summary for
33210         aligned alloc.  Document __memalign_hook is also called
33211         for aligned_alloc.
33213 2013-12-16  Will Newton  <will.newton@linaro.org>
33215         * manual/memory.texi (Malloc Examples): Clarify default
33216         alignment documentation.  Suggest posix_memalign rather
33217         than memalign or valloc.
33218         (Aligned Memory Blocks): Remove suggestion to use memalign
33219         or valloc.  Remove obsolete comment about BSD.
33220         Document memalign errno values and mark the function obsolete.
33221         Document posix_memalign returned error codes.  Mark valloc
33222         as obsolete.  (Hooks for Malloc): __memalign_hook is also
33223         called for posix_memalign and valloc.
33224         (Summary of Malloc): Add posix_memalign to function summary.
33225         __memalign_hook is also called for posix_memalign and valloc.
33227 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33229         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
33230         TAYLOR_SIN.
33231         (__sin): Adjust.
33232         (__cos): Likewise.
33233         (sloww): Use mynumber union.  Expand ternary operator into
33234         if-else statements.
33235         (cslow): use mynumber union.
33237 2013-12-16  Allan McRae  <allan@archlinux.org>
33239         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
33240         * configure: Regenerated.
33242         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
33244         [BZ #14120]
33245         * configure.ac: Added --enable-maintainer-mode. Check for
33246         autoconf when enabled.
33247         * configure: Regenerated.
33249         * nscd/nscd.service: New file.
33250         * nscd/nscd.tmpfiles: New file.
33252 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
33254         [BZ #12100]
33255         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
33256         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
33257         * sysdeps/x86_64/multiarch/strstr.c: ... here.
33258         (strstr): Add __strstr_sse2_unaligned ifunc.
33259         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
33260         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
33261         (strcasestr): Remove __strcasestr_sse42 ifunc.
33262         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
33263         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
33264         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
33266 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33268         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
33269         * sysdeps/sh/bits/fenv.h: ... here.
33270         * sysdeps/sh/sh4/fpu/bits: Remove directory.
33272 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33274         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
33276         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
33277         hypotf multiarch implementations.
33278         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
33279         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
33280         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
33281         multiarch hypot for PPC64.
33282         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
33283         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
33284         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
33285         multiarch hypotf for PPC64.
33287         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
33288         modff multiarch implementations.
33289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
33290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
33291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
33292         multiarch modf for PPC64.
33293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
33294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
33295         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
33296         multiarch modff for PPC64.
33298         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
33299         and logl multiarch implementations.
33300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
33301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
33302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
33303         multiarch logb for PPC64.
33304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
33305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
33306         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
33307         multiarch logb for PPC64.
33308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
33309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
33310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
33311         multiarch logb for PPC64.
33313         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
33314         isinff multiarch implementation.
33315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
33316         file.
33317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
33318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
33319         multiarch isinf for PPC64.
33320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
33321         file.
33322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
33323         multiarch isinff for PPC64.
33325         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
33326         finitef multiarch implementation.
33327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
33328         file.
33329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
33330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
33331         multiarch finite for PPC64.
33332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
33333         file.
33334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
33335         multiarch finitef for PPC64.
33337         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
33338         lrint multiarch implementation.
33339         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
33340         file.
33341         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
33342         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
33343         multiarch llrint for PPC64.
33344         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
33345         multiarch lrint for PPC64.
33347         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
33348         copysignf multiarch implementation.
33349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
33350         file.
33351         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
33352         file.
33353         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
33354         multiarch copysign for PPC64.
33355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
33356         multiarch copysignf for PPC64.
33358         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
33359         multiarch implementation.
33360         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
33361         file.
33362         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
33363         file.
33364         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
33365         file.
33366         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
33367         file.
33368         multiarch llround for PPC64.
33369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
33370         multiarch trunc for PPC64.
33371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
33372         multiarch truncf for PPC64.
33374         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
33375         multiarch implementation.
33376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
33377         file.
33378         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
33379         file.
33380         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
33381         file.
33382         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
33383         file.
33384         multiarch llround for PPC64.
33385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
33386         multiarch round for PPC64.
33387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
33388         multiarch roundf for PPC64.
33390         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
33391         multiarch implementation.
33392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
33393         file.
33394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
33395         file.
33396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
33397         file.
33398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
33399         file.
33400         multiarch llround for PPC64.
33401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
33402         multiarch floor for PPC64.
33403         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
33404         multiarch floorf for PPC64.
33406         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
33407         multiarch implementation.
33408         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
33409         file.
33410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
33411         file.
33412         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
33413         file.
33414         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
33415         file.
33416         multiarch llround for PPC64.
33417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
33418         multiarch ceil for PPC64.
33419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
33420         multiarch ceilf for PPC64.
33422         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
33423         multiarch implementation.
33424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
33425         file.
33426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
33427         file.
33428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
33429         file.
33430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
33431         multiarch llround for PPC64.
33432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
33433         multiarch lround for PPC64.
33435         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
33436         multiarch implementation.
33437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
33438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
33439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
33440         file.
33441         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
33442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
33443         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
33444         multiarch isnan for PPC64.
33445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
33446         multiarch isnanf for PPC64.
33448         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
33449         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
33450         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
33451         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
33452         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
33453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
33455         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
33456         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33457         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33458         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33460         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
33461         multiarch implementations.
33462         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33463         (__libc_ifunc_impl_list): Likewise.
33464         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
33465         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
33466         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
33467         multiarch stpcpy for PPC64.
33469         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
33470         multiarch implementations.
33471         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33472         (__libc_ifunc_impl_list): Likewise.
33473         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
33474         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
33475         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
33476         multiarch strcpy for PPC64.
33478         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
33479         redefine function name.
33480         (_wordcopy_fwd_dest_aligned): Likewise.
33481         (_wordcopy_bwd_aligned): Likewise.
33482         (_wordcopy_bwd_dest_aligned): Likewise.
33483         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
33484         multiarch implementations.
33485         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33486         (__libc_ifunc_impl_list): Likewise.
33487         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
33488         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
33489         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
33490         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
33491         multiarch wcscpy for PPC64.
33493         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
33494         multiarch implementations.
33495         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33496         (__libc_ifunc_impl_list): Likewise.
33497         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
33498         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
33499         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
33500         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
33501         multiarch wcscpy for PPC64.
33503         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
33504         multiarch implementations.
33505         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33506         (__libc_ifunc_impl_list): Likewise.
33507         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
33508         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
33509         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
33510         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
33511         multiarch wcsrchr for PPC64.
33513         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
33514         multiarch implementations.
33515         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33516         (__libc_ifunc_impl_list): Likewise.
33517         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
33518         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
33519         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
33520         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
33521         multiarch wcschr for PPC64.
33523         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
33524         multiarch implementations.
33525         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33526         (__libc_ifunc_impl_list): Likewise.
33527         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
33528         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
33529         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
33530         multiarch strchrnul for PPC64.
33532         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
33533         implementations.
33534         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33535         (__libc_ifunc_impl_list): Likewise.
33536         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
33537         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
33538         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
33539         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
33540         strchr for PPC64.
33542         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
33543         implementations.
33544         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33545         (__libc_ifunc_impl_list): Likewise.
33546         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
33547         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
33548         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
33549         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
33550         strncmp for PPC64.
33552         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
33553         multiarch implementations.
33554         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33555         (__libc_ifunc_impl_list): Likewise.
33556         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
33557         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
33558         strncasecmp for PPC64.
33559         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
33560         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
33561         multiarch strncasecmp_l for PPC64.
33563         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
33564         multiarch implementations.
33565         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33566         (__libc_ifunc_impl_list): Likewise.
33567         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
33568         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
33569         multiarch strcasecmp for PPC64.
33570         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
33571         file.
33572         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
33573         multiarch strcasecmp_l for PPC64.
33575         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
33576         implementations.
33577         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33578         (__libc_ifunc_impl_list): Likewise.
33579         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
33580         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
33581         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
33582         strnlen for PPC64.
33584         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
33585         implementations.
33586         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33587         (__libc_ifunc_impl_list): Likewise.
33588         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
33589         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
33590         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
33591         strlen for PPC64.
33593         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
33594         implementations.
33595         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33596         (__libc_ifunc_impl_list): Likewise.
33597         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
33598         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
33599         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
33600         rawmemrchr for PPC64.
33602         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
33603         implementation.
33604         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33605         (__libc_ifunc_impl_list): Likewise.
33606         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
33607         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
33608         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
33609         memrchr for PPC64.
33611         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
33612         implementation.
33613         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33614         (__libc_ifunc_impl_list): Likewise.
33615         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
33616         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
33617         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
33618         memchr for PPC64.
33620         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
33621         implementation.
33622         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33623         (__libc_ifunc_impl_list): Likewise.
33624         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
33625         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
33626         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
33627         mempcpy for PPC64.
33629         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
33630         avoid cretion of __bzero symbol.
33631         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
33632         Likewise.
33633         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
33634         Likewise.
33635         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
33636         Likewise.
33637         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
33638         multiarch implementations.
33639         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33640         (__libc_ifunc_impl_list): Likewise.
33641         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
33642         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
33643         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
33644         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
33645         bzero for PPC32.
33646         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
33647         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
33648         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
33649         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
33650         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
33651         memset for PPC64.
33652         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
33654         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
33655         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
33656         implementations.
33657         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33658         (__libc_ifunc_impl_list): Likewise.
33659         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
33660         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
33661         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
33662         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
33663         memcmp for PPC64.
33665         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
33666         multiarch for POWER/PPC64.
33667         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
33668         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
33669         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
33670         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
33671         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
33672         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
33673         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
33674         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
33675         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
33676         memcpy for PPC64.
33678         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
33679         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
33680         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
33681         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
33682         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
33683         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
33684         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
33685         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
33686         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
33687         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
33688         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
33689         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
33690         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
33691         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
33692         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
33693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
33694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
33695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
33696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
33697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
33698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
33699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
33701 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33703         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
33705 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33707         * benchtests/Makefile (bench): Add exp2 and log2.
33708         (LDLIBS-bench-exp2): Add -lm.
33709         (LDLIBS-bench-log2): Likewise.
33710         * benchtests/exp2-inputs: New inputs file.
33711         * benchtests/log2-inputs: New inputs file.
33712         * benchtests/log-inputs: Add new inputs.
33713         * benchtests/tan-inputs: Likewise.
33715 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33717         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
33718         definition...
33719         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
33720         (csloww2): ... from here.
33722         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
33723         instead of structures.
33724         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
33725         (POLYNOMIAL): Likewise.
33726         (TAYLOR_SLOW): Likewise.
33727         (__sin): Likewise.
33728         (__cos): Likewise.
33729         (slow1): Likewise.
33730         (slow2): Likewise.
33731         (sloww): Likewise.
33732         (sloww1); Likewise.
33733         (sloww2): Likewise.
33734         (bsloww1): Likewise.
33735         (bsloww2): Likewise.
33736         (cslow2): Likewise.
33737         (csloww): Likewise.
33738         (csloww1): Likewise.
33739         (csloww2): Likewise.
33741 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
33743         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
33744         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
33745         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
33746         * malloc/hooks.c (realloc_check): Likewise.
33748         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
33749         * malloc/arena.c: Remove PER_THREAD conditional.
33750         [!PER_THREAD]: Remove code.
33751         (ptmalloc_unlock_all2): Likewise.
33752         (ptmalloc_init): Likewise.
33753         (_int_new_arena): Likewise.
33754         (arena_get2): Likewise.
33755         * malloc/hooks.c (__malloc_get_state): Likewise.
33756         (__malloc_set_state): Likewise.
33757         * malloc/malloc.c: Likewise.
33758         (struct malloc_state): Likewise.
33759         (struct malloc_par): Likewise.
33760         (__libc_realloc): Likewise.
33761         (__libc_mallopt): Likewise.
33763 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33765         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
33767 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
33769         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
33770         macro to a function.  Check for zero perturb_byte.
33771         (_int_malloc, _int_free): Remove zero perturb_byte checks.
33773         * malloc/malloc.c: (force_reg): Remove.
33774         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
33775         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
33776         force_reg by atomic_forced_read.
33777         * malloc/arena.c (ptmalloc_init): Likewise.
33778         * malloc/hooks.c (top_check): Likewise.
33780 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33782         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33784 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
33786         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33788 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
33790         * math/auto-libm-test-in: Add tests of lgamma.
33791         * math/auto-libm-test-out: Regenerated.
33792         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
33793         (M_LOG_2_SQRT_PIl): Likewise.
33794         (lgamma_test_data): Use AUTO_TESTS_f_f1.
33795         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33796         mpfr_f_f1.
33797         (func_calc_desc): Add mpfr_f_f1 union field.
33798         (ARGS1): New macro.
33799         (ARGS2): Likewise.
33800         (ARGS3): Likewise.
33801         (ARGS4): Likewise.
33802         (RET1): Likewise.
33803         (RET2): Likewise.
33804         (CALC): Likewise.
33805         (FUNC): Likewise.
33806         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
33807         (test_functions): Add lgamma.
33808         (calc_generic_results): Handle mpfr_f_f1.
33809         * sysdeps/i386/fpu/libm-test-ulps: Update.
33810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33812 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33814         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
33815         __mpn_add_n for PowerPC64/POWER7.
33816         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
33817         __mpn_sub_n for PowerPC64/POWER7.
33819         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
33820         __mpn_addmul_1 for PowerPC64.
33821         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
33822         __mpn_submul_1 for PowerPC64.
33823         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
33824         for PowerPC64.
33825         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
33826         for PowerPC64.
33828 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
33830         [BZ #15089]
33831         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
33833 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33835         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
33837         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
33838         add multiarch folders.
33839         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
33840         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
33841         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
33842         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
33843         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
33844         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
33845         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
33846         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
33847         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
33848         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
33849         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
33850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
33851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
33852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
33853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
33854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
33855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
33857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
33858         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
33859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
33860         New file.
33861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
33862         New file.
33863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
33864         multiarch __ieee754_hypot for PowerPC32.
33865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
33866         New file.
33867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
33868         New file.
33869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
33870         multiarch __ieee754_hypotf for PowerPC32.
33872         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
33873         long_double_symbol only if __logbl is defined.
33874         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
33875         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
33876         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
33877         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
33878         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
33879         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
33880         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
33881         path for implementation.
33882         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
33883         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
33884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
33885         logb, and logbl multiarch implementations for PowerPC32.
33886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
33887         file.
33888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
33889         file.
33890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
33891         multiarch logb for PowerPC32.
33892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
33893         file.
33894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
33895         file.
33896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
33897         multiarch logbf for PowerPC32.
33898         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
33899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
33900         file.
33901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
33902         multiarch logbl implementation for PowerPC32.
33904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
33905         and modff multiarch implementations.
33906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
33907         New file.
33908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
33909         New file.
33910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
33911         multiarch modf for PowerPC32.
33912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
33913         New file.
33914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
33915         New file.
33916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
33917         multiarch modff for PowerPC32.
33919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
33920         and lrintf multiarch implementations.
33921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
33922         New file.
33923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
33924         New file.
33925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
33926         multiarch lrint for PowerPC32.
33927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
33928         file: multiarch lrintf for PowerPC32.
33930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
33931         and lroundf multiarch implementations.
33932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
33933         New file.
33934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
33935         New file.
33936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
33937         New file.
33938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
33939         multiarch lround for PowerPC32.
33940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
33941         file: multiarch lroundf for PowerPC32.
33943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
33944         copysign and copysignf multiarch implementations.
33945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
33946         New file.
33947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
33948         New file.
33949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
33950         file: multiarch copysign for PowerPC32.
33951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
33952         file: multiarch copysignf for PowerPC32.
33954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
33955         and truncf multiarch implementations.
33956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
33957         New file.
33958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
33959         file.
33960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
33961         multiarch trunc for PowerPC32.
33962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
33963         New file.
33964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
33965         New file.
33966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
33967         multiarch truncf for PowerPC32.
33969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
33970         and roundf multiarch implementations.
33971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
33972         New file.
33973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
33974         file.
33975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
33976         multiarch round for PowerPC32.
33977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
33978         New file.
33979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
33980         New file.
33981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
33982         multiarch roundf for PowerPC32.
33984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
33985         and floorf multiarch implementations.
33986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
33987         New file.
33988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
33989         file.
33990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
33991         multiarch floor for PowerPC32.
33992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
33993         New file.
33994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
33995         New file.
33996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
33997         multiarch floorf for PowerPC32.
33999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
34000         and ceilf multiarch implementations.
34001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
34002         New file.
34003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
34004         file.
34005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
34006         multiarch ceil for PowerPC32.
34007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
34008         New file.
34009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
34010         file.
34011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
34012         multiarch ceilf for PowerPC32.
34014         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
34015         is defined.
34016         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
34017         FINITEF is defined.
34018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
34019         and finitef multiarch implementations.
34020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
34021         New file.
34022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
34023         file.
34024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
34025         multiarch finite for PowerPC32.
34026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
34027         New file.
34028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
34029         file: multiarch finitef for PowerPC32.
34031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
34032         and isinff multiarch implementations.
34033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
34034         file.
34035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
34036         file.
34037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
34038         multiarch isinf for PowerPC32.
34039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
34040         New file.
34041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
34042         multiarch isinff for PowerPC32.
34044         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
34045         alias when __isnan is defined.
34046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
34047         and isnanf multiarch implementations.
34048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
34049         file.
34050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
34051         file.
34052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
34053         file.
34054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
34055         file.
34056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
34057         multiarch isnan for PowerPC32.
34058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
34059         New file.
34060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
34061         New file.
34062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
34063         multiarch isnanf for PowerPC32.
34065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
34066         and sqrtf multiarch implementations.
34067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
34068         file.
34069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
34070         file.
34071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
34072         multiarch sqrt for PowerPC32.
34073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
34074         file.
34075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
34076         file.
34077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
34078         multiarch sqrtf for PowerPC32.
34080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
34081         and llroundf multiarch implementations.
34082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
34083         New file.
34084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
34085         New file.
34086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
34087         New file.
34088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
34089         file: multiarch llround for PowerPC32.
34090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
34091         file: multiarch llroundf for PowerPC32.
34093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
34094         multiarch PowerPC32 fpu implementations.
34095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
34096         New file.
34097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
34098         New file.
34099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
34100         multiarch llrint for PowerPC32.
34101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
34102         New file.
34103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
34104         New file.
34105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
34106         file.
34108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
34110         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
34111         file.
34112         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
34113         file.
34114         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
34115         file.
34116         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
34117         multiarch wordcopy for PPC32.
34118         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
34119         wordcopy objects.
34120         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34121         (__libc_ifunc_impl_list): Likewise.
34122         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
34123         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
34124         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
34125         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
34126         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
34127         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
34129         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
34130         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
34131         file.
34132         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
34133         file.
34134         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
34135         file.
34136         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
34137         multiarch wcscpy for PPC32.
34138         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
34139         multiarch objects.
34140         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34141         (__libc_ifunc_impl_list): Likewise.
34142         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
34143         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
34144         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
34145         sysdeps/powerpc/power6/wcscpy.c.
34147         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
34148         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
34149         file.
34150         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
34151         file.
34152         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
34153         file.
34154         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
34155         multiarch wcsrchr for PPC32.
34156         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
34157         multiarch objects.
34158         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34159         (__libc_ifunc_impl_list): Likewise.
34160         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
34161         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
34162         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
34163         sysdeps/powerpc/power6/wcsrchr.c.
34165         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
34166         file.
34167         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
34168         file.
34169         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
34170         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
34171         multiarch wcschr for PPc32.
34172         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
34173         multiarch objects.
34174         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34175         (__libc_ifunc_impl_list): Likewise.
34176         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
34177         * sysdeps/powerpc/power6/wcschr.c: ... to here.
34178         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
34179         sysdeps/powerpc/power6/wcschr.c.
34181         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
34182         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
34183         file.
34184         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
34185         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
34186         file: multiarch strchr for PPC32.
34187         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
34188         multiarch objects.
34189         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34190         (__libc_ifunc_impl_list): Likewise.
34192         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
34193         name.
34194         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
34195         file.
34196         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
34197         file.
34198         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
34199         multiarch strchrnul for PPC32.
34200         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
34201         multiarch objects.
34202         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34203         (__libc_ifunc_impl_list): Likewise.
34205         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
34206         file.
34207         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
34208         multiarch strncasecmp for PPC32.
34209         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
34210         file.
34211         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
34212         multiarch strncasecmp_l for PPC32.
34213         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
34214         strncasecmp multiarch objects.
34215         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34216         (__libc_ifunc_impl_list): Likewise.
34218         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
34219         file.
34220         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
34221         multiarch strncasecmp for PPC32.
34222         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
34223         New file.
34224         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
34225         multiarch strcasecmp_l for PPC32.
34226         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
34227         multiarch objects.
34228         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34229         (__libc_ifunc_impl_list): Likewise.
34231         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
34232         file.
34233         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
34234         file.
34235         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
34236         multiarch strncmp for PPC32.
34237         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
34238         multiarch objects.
34239         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34240         (__libc_ifunc_impl_list): Likewise.
34242         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
34243         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
34244         file.
34245         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
34246         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
34247         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
34248         multiarch objects.
34249         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34250         (__libc_ifunc_impl_list): Likewise.
34252         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
34253         file.
34254         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
34255         file.
34256         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
34257         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
34258         multiarch objects.
34259         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34260         (__libc_ifunc_impl_list): Likewise.
34262         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
34263         file.
34264         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
34265         file.
34266         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
34267         multiarch rawmemchr for PPC32.
34268         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
34269         multiarch objects.
34270         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34271         (__libc_ifunc_impl_list): Likewise.
34273         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
34274         file.
34275         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
34276         file.
34277         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
34278         file: memrchr multiarch for PPC32.
34279         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
34280         multiarch objects.
34281         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34282         (__libc_ifunc_impl_list): Likewise.
34284         * string/memchr.c (__memchr): Using macro to redefine symbol name.
34285         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
34286         file.
34287         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
34288         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
34289         multiarch memchr for PPC32.
34290         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
34291         multiarch objects.
34292         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34293         (__libc_ifunc_impl_list): Likewise.
34295         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
34296         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
34297         file.
34298         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
34299         file.
34300         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
34301         file: multiarch mempcpy for PPC32.
34302         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
34303         multiarch objects.
34304         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34305         (__libc_ifunc_impl_list): Likewise.
34307         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
34308         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
34309         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
34310         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
34311         multiarch bzero for PPC32.
34312         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
34313         file.
34314         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
34315         file.
34316         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
34317         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
34318         file: multiarch memset for PPC32.
34319         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
34320         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
34321         memset multiarch objects.
34322         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34323         (__libc_ifunc_impl_list): Likewise.
34325         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
34326         file.
34327         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
34328         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
34329         memcmp for PPC32.
34330         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
34331         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
34332         multiarch objects.
34333         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34334         (__libc_ifunc_impl_list): Likewise.
34336         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
34337         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
34338         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
34339         file.
34340         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
34341         file.
34342         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
34343         file.
34344         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
34345         multiarch memcpy for PPC32.
34346         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
34347         multiarch objects.
34348         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34349         (__libc_ifunc_impl_list): Likewise.
34351         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
34352         support multiarch for POWER/PPC32.
34353         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
34354         Likewise.
34355         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
34356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
34357         Implies file to make multiarch folder appers before the fpu and
34358         default folder for power4 configuration.
34360 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
34362         * scripts/bench.pl: Append volatile keyword to type.
34364 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34366         * sysdeps/sh/sotruss-lib.c: New file.
34367         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
34369 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34371         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34373 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
34375         [BZ #6810]
34376         * math/w_tgamma.c: Include <errno.h>.
34377         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
34378         * math/w_tgammaf.c: Include <errno.h>.
34379         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
34380         * math/w_tgammal.c: Include <errno.h>.
34381         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
34382         * math/auto-libm-test-in: Do not allow missing errno on tgamma
34383         underflow.  Add more tgamma tests.
34384         * math/auto-libm-test-out: Regenerated.
34385         * sysdeps/i386/fpu/libm-test-ulps: Update.
34386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34388         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
34389         sin, sinh, tan, tanh, tgamma, y0 and y1.
34390         * math/auto-libm-test-out: Regenerated.
34391         * math/libm-test.inc (TEST_COND_x86_64): New macro.
34392         (TEST_COND_x86): Likewise.
34393         (M_E2l): Remove macro.
34394         (M_E3l): Likewise.
34395         (M_2_SQRT_PIl): Likewise.
34396         (M_SQRT_PIl): Likewise.
34397         (M_1_DIV_El): Likewise.
34398         (log_test_data): Use AUTO_TESTS_f_f.
34399         (log10_test_data): Likewise.
34400         (log1p_test_data): Likewise.
34401         (log2_test_data): Likewise.
34402         (sin_test_data): Likewise.
34403         (sin_tonearest_test_data): Likewise.
34404         (sin_towardzero_test_data): Likewise.
34405         (sin_downward_test_data): Likewise.
34406         (sin_upward_test_data): Likewise.
34407         (sinh_test_data): Likewise.
34408         (sinh_tonearest_test_data): Likewise.
34409         (sinh_towardzero_test_data): Likewise.
34410         (sinh_downward_test_data): Likewise.
34411         (sinh_upward_test_data): Likewise.
34412         (tan_test_data): Likewise.
34413         (tan_tonearest_test_data): Likewise.
34414         (tan_towardzero_test_data): Likewise.
34415         (tan_downward_test_data): Likewise.
34416         (tan_upward_test_data): Likewise.
34417         (tanh_test_data): Likewise.
34418         (tgamma_test_data): Likewise.
34419         (y0_test_data): Likewise.
34420         (y1_test_data): Likewise.
34421         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
34422         (special_real_inputs): Add pi/4.
34423         * sysdeps/i386/fpu/libm-test-ulps: Update.
34424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34426 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34428         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
34429         "longjmp_target" static probes.
34430         (__longjmp): Rename to __longjmp_symbol.
34431         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
34432         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
34433         on which longjmp to generate.
34434         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
34435         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
34436         probe.
34437         (__sigsetjmp): Rename to __sigsetjmp_symbol.
34438         (__sigjmp_save): Rename to __sigjmp_save_symbol.
34439         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
34440         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
34441         and __sigjmp_save_symbol based on which sigsetjmp to generated.
34442         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
34443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
34444         __longjmp_symbol based on which __longjmp to generate.
34445         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
34446         probe.
34447         (setjmp): Rename to setjmp_symbol.
34448         (__sigsetjmp): Rename to __sigsetjmp_symbol.
34449         (_setjmp): Rename to _setjmp_symbol.
34450         (__sigsetjmp): Rename to __sigsetjmp_symbol.
34451         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
34452         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
34453         which setjmp to generate.
34454         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
34455         "longjmp_target" static probes.
34457 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34459         * benchtests/README: Add note about output arguments.
34460         * benchtests/bench-sincos.c: Remove file.
34461         * benchtests/sincos-inputs: New file.
34462         * scripts/bench.pl: Identify output arguments and define
34463         static variables for them.
34465         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
34467         [BZ #15941]
34468         * Makefile (INSTALL): Add install-plain.texi as the primary
34469         dependency.
34470         * manual/install-plain.texi: New file.
34471         * manual/install.texi: Include node directive only for
34472         non-plaintext output.
34474 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
34476         * stdlib/longlong.h: Update from GCC.
34478         [BZ #6807]
34479         [BZ #15901]
34480         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
34481         * math/w_j0f.c (y0f): Likewise.
34482         * math/w_j0l.c (__y0l): Likewise.
34483         * math/w_j1.c (y1): Likewise.
34484         * math/w_j1f.c (y1f): Likewise.
34485         * math/w_j1l.c (__y1l): Likewise
34486         * math/w_jn.c (yn): Likewise.
34487         * math/w_jnf.c (ynf): Likewise.
34488         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
34489         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
34490         value for Bessel function domain errors outside _SVID_ mode.
34491         Adjust sign of return value for yn (negative integer, 0).
34492         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
34493         by zero in return for negative x and set sign appropriately for
34494         negative n.
34495         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
34496         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
34497         * math/libm-test.inc (y0_test_data): Add more tests and adjust
34498         expectations in error cases.
34499         (y1_test_data): Likewise.
34500         (yn_test_data): Likewise.
34501         * sysdeps/i386/fpu/libm-test-ulps: Update.
34502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34504 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34506         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
34507         "64" to "64-v1".  Add "64-v2".
34508         (abi-64-options): Rename to ...
34509         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
34510         (abi-64-condition): Rename to ...
34511         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
34512         (abi-64-ld-soname): Rename to ...
34513         (abi-64-v1-ld-soname): ... this.
34514         (abi-64-v2-options): Define.
34515         (abi-64-v2-condition): Likewise.
34516         (abi-64-v2-ld-soname): Likewise.
34517         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
34518         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
34519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
34520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
34521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
34523 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34524             Alan Modra  <amodra@gmail.com>
34526         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
34527         New versions for use with the ELFv2 ABI.
34528         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
34529         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
34530         declaration.
34531         (struct La_ppc64v2_retval): Likewise.
34532         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
34533         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
34534         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
34535         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
34536         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
34537         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34538         Do not save or restore CR.
34539         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
34540         (_dl_profile_resolve): Do no save or restore CR.  Support extended
34541         return values for ELFv2 ABI.  Fix location of FPR return registers.
34542         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
34543         updated values for _CALL_ELF == 2.
34544         (La_regs, La_retval, int_retval): Likewise.
34546 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34548         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
34549         (FRAME_MIN_SIZE_PARM): Likewise.
34550         (FRAME_BACKCHAIN): Likewise.
34551         (FRAME_CR_SAVE): Likewise.
34552         (FRAME_LR_SAVE): Likewise.
34553         (FRAME_TOC_SAVE): Likewise.
34554         (FRAME_PARM_SAVE): Likewise.
34555         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
34556         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
34557         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
34558         (call_mcount_parm_offset): New macro.
34559         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
34560         (PROF): Use symbolic stack frame offsets.
34561         (TAIL_CALL_SYSCALL_ERROR): Likewise.
34562         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
34563         Redefine in terms of FRAME_MIN_SIZE.
34564         (_dl_runtime_resolve): Use symbolic stack frame offsets.
34565         (_dl_profile_resolve): Likewise.  Update comment.
34566         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
34567         symbols stack frame offsets.
34568         (__sigsetjmp): Likewise.
34569         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
34570         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
34571         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
34572         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
34574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
34575         (FRAME_BACKCHAIN): Remove.
34576         (FRAME_CR_SAVE): Likewise.
34577         (FRAME_LR_SAVE): Likewise.
34578         (FRAME_COMPILER_DW): Likewise.
34579         (FRAME_LINKER_DW): Likewise.
34580         (FRAME_TOC_SAVE): Likewise.
34581         (FRAME_PARM_SAVE): Likewise.
34582         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
34583         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
34584         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
34585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
34586         (CHECK_SP): Use symbolic stack frame offsets.
34587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
34588         zone" instead of caller's parameter save area for temp storage.
34589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34590         Likewise.  Also, use symbolic stack frame offsets.
34591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
34592         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
34593         our own stack frame instead of the caller's.
34594         (__socket): Use symbolic stack frame offsets.
34596 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34597             Alan Modra  <amodra@gmail.com>
34599         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
34600         Define.
34601         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
34602         (PPC64_LOCAL_ENTRY_OFFSET): Define.
34603         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
34604         New function.
34605         (elf_machine_fixup_plt): Call it.
34606         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
34607         reloc arguments.
34608         (elf_machine_rela): Update call to elf_machine_plt_conflict.
34609         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
34610         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
34611         r2 before calling target.
34613 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34614             Alan Modra  <amodra@gmail.com>
34616         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
34617         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
34618         versions of macros to support ELFv2 ABI.
34619         (LOCALENTRY): New macro.
34620         (ENTRY, EALIGN): Use it.
34621         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
34622         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
34623         fall through into ENTRY entry point.
34624         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
34625         Only define if _CALL_ELF != 2.
34627         (elf_machine_matches_host): Verify ABI version matches.
34628         (RTLD_START): Use LOCALENTRY.
34629         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
34630         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
34631         (PLT_ENTRY_WORDS): New macro.
34632         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
34633         (elf_machine_runtime_setup): Support ELFv2 ABI.
34634         (elf_machine_fixup_plt): Likewise.
34635         (elf_machine_plt_conflict): Likewise.
34636         (resolve_ifunc): Likewise.
34637         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
34638         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
34639         Likewise.
34640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
34641         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
34642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34643         (makecontext): Support ELFv2 ABI.
34644         * elf/elf.h (EF_PPC64_ABI): Define.
34646 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34648         * sysdeps/powerpc/powerpc64/sysdep.h
34649         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
34650         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
34651         (ENTRY) [ASSEMBLER]: ... but instead here ...
34652         (EALIGN) [ASSEMBLER]: ... and here.
34653         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
34654         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
34655         (ENTRY_2) [!ASSEMBLER]: Use it.
34656         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
34657         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
34658         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
34659         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
34660         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
34661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
34662         Use PPC64_LOAD_FUNCPTR.
34664         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
34666 2013-12-04  Alan Modra  <amodra@gmail.com>
34668         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
34669         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
34670         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
34671         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
34673         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
34674         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
34675         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
34676         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
34677         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
34678         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
34680 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34683         (__makecontext): Fix incorrect CFI when backtracing out of
34684         context created via makecontext.
34685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
34686         (__setcontext): Fix incorrect CFI during switch to new context.
34687         (__novec_setcontext): Likewise.
34689 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
34691         [BZ #4772]
34692         * time/strptime_l.c (__strptime_internal): Allow modifiers
34693         in strptime.
34694         * time/tst-strptime.c (day_tests): Add testcase.
34696 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34698         * scripts/bench.pl: Skip over blank lines.
34700 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
34702         [BZ #926]
34703         * manual/time.texi (Calendar Time): Clarify what timezone functions
34704         use.
34706 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34708         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34710 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
34712         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
34713         implementation.
34714         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
34715         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
34716         * debug/memset_chk.c (__memset_chk): Likewise.
34717         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
34718         * debug/strncpy_chk.c: Likewise.
34720 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
34722         [BZ #15268]
34723         [BZ #15425]
34724         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
34725         (__ieee754_exp): For possibly underflowing results, check size of
34726         result and force underflow exception if required.
34727         * math/auto-libm-test-in: Add more tests of exp.
34728         * math/auto-libm-test-out: Regenerated.
34729         * sysdeps/i386/fpu/libm-test-ulps: Update.
34730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34732         [BZ #16283]
34733         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
34734         * math/w_exp2f.c (__exp2f): Likewise.
34735         * math/w_exp2l.c (__exp2l): Likewise.
34736         * math/auto-libm-test-in: Do not allow missing errno on exp2
34737         underflow.
34738         * math/auto-libm-test-out: Regenerated.
34740 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
34742         [BZ #16274]
34743         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
34744         handle filename validation.
34745         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
34746         (do_open): Delete.
34748 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
34750         [BZ #6786]
34751         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
34752         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
34753         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
34754         <float.h>.
34755         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
34756         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
34757         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
34758         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
34759         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
34760         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
34761         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
34762         * math/auto-libm-test-in: Don't allow missing errno from erfc.
34763         Add more erfc tests.
34764         * math/auto-libm-test-out: Regenerated.
34765         * sysdeps/i386/fpu/libm-test-ulps: Update.
34766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34768         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
34769         exp2, expm1, j0 and j1.
34770         * math/auto-libm-test-out: Regenerated.
34771         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
34772         (erfc_test_data): Likewise.
34773         (exp_test_data): Likewise.
34774         (exp_tonearest_test_data): Likewise.
34775         (exp_towardzero_test_data): Likewise.
34776         (exp_downward_test_data): Likewise.
34777         (exp_upward_test_data): Likewise.
34778         (exp10_test_data): Likewise.
34779         (exp2_test_data): Likewise.
34780         (expm1_test_data): Likewise.
34781         (j0_test_data): Likewise.
34782         (j1_test_data): Likewise.
34783         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
34784         (input_flag_type): Add flag_xfail_rounding.
34785         (input_flags): Add xfail-rounding.
34786         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
34787         (output_for_one_input_case): Handle flag_xfail_rounding.
34788         * sysdeps/i386/fpu/libm-test-ulps: Update.
34789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34791 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
34793         [BZ #16289]
34794         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
34795         division by 0.
34797 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
34799         [BZ #16195]
34800         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
34801         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
34802         (STAP_PROBE0): New macro.
34803         (STAP_PROBE1): Likewise.
34804         (STAP_PROBE2): Likewise.
34805         (STAP_PROBE3): Likewise.
34806         (STAP_PROBE4): Likewise.
34808 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
34810         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
34812 2013-12-02  Steve Ellcey  <sellcey@mips.com>
34814         * benchtests/Makefile (bench): Add sqrt.
34815         (LDLIBS-bench-sqrt): New.
34816         * benchtests/sqrt-input: New.
34818 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
34820         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
34821         (GAIH_EAI): Likewise.
34822         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
34823         (gaih_inet): Likewise.
34824         (getaddrinfo): Don't use GAIH_EAI.
34826         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
34827         (struct gaih): Remove definition.
34829 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34831         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
34832         Use HERRNOP directly.
34834 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34836         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34838 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
34840         * math/gen-auto-libm-tests.c (test_functions): Add more
34841         single-argument functions.
34842         (special_fill_pi_2): New function.
34843         (special_fill_minus_pi_2): Likewise.
34844         (special_fill_pi_6): Likewise.
34845         (special_fill_minus_pi_6): Likewise.
34846         (special_fill_pi_3): Likewise.
34847         (special_fill_2pi_3): Likewise.
34848         (special_fill_e): Likewise.
34849         (special_fill_1_e): Likewise.
34850         (special_fill_e_minus_1): Likewise.
34851         (special_real_inputs): Add more special inputs.
34852         (output_for_one_input_case): Do not require ERANGE on underflow to
34853         zero if round-to-nearest result does not underflow to zero, unless
34854         exact results required.
34855         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
34856         atan, atanh, cbrt, cos and cosh.
34857         * math/auto-libm-test-out: Regenerated.
34858         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
34859         (acos_tonearest_test_data): Likewise.
34860         (acos_towardzero_test_data): Likewise.
34861         (acos_downward_test_data): Likewise.
34862         (acos_upward_test_data): Likewise.
34863         (acosh_test_data): Likewise.
34864         (asin_test_data): Likewise.
34865         (asin_tonearest_test_data): Likewise.
34866         (asin_towardzero_test_data): Likewise.
34867         (asin_upward_test_data): Likewise.
34868         (asinh_test_data): Likewise.
34869         (atan_test_data): Likewise.
34870         (atanh_test_data): Likewise.
34871         (cbrt_test_data): Likewise.
34872         (cos_test_data): Likewise.
34873         (cos_tonearest_test_data): Likewise.
34874         (cos_towardzero_test_data): Likewise.
34875         (cos_downward_test_data): Likewise.
34876         (cos_upward_test_data): Likewise.
34877         (cosh_test_data): Likewise.
34878         (cosh_tonearest_test_data): Likewise.
34879         (cosh_towardzero_test_data): Likewise.
34880         (cosh_downward_test_data): Likewise.
34881         (cosh_upward_test_data): Likewise.
34882         * sysdeps/i386/fpu/libm-test-ulps: Update.
34883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34885 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
34887         [BZ #6787]
34888         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
34889         * math/w_exp10f.c (__exp10f): Likewise.
34890         * math/w_exp10l.c (__exp10l): Likewise.
34891         * math/libm-test.inc (exp10_test_data): Add more tests and expect
34892         errno settings in existing tests.
34894         [BZ #14032]
34895         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
34896         precision control set to double precision.
34897         * sysdeps/i386/fpu/w_sqrt.c: New file.
34898         * math/auto-libm-test-in: Add more tests.
34899         * math/auto-libm-test-out: Update.
34901         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
34902         (sqrt_test_tonearest): New function.
34903         (sqrt_towardzero_test_data): New variable.
34904         (sqrt_test_towardzero): New function.
34905         (sqrt_downward_test_data): New variable.
34906         (sqrt_test_downward): New function.
34907         (sqrt_upward_test_data): New variable.
34908         (sqrt_test_upward): New function.
34909         (main): Call the new functions.
34911         * math/gen-auto-libm-tests.c: New file.
34912         * math/auto-libm-test-in: Likewise.
34913         * math/auto-libm-test-out: New generated file.
34914         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
34915         variables.
34916         (%beautify): Add generated representations of zero.
34917         (top level): Set $auto_input and call parse_auto_input.
34918         (beautify): Remove trailing "f" from hex float constants.
34919         (parse_args): Handle XFAIL_TEST.
34920         (convert_condition): New function.
34921         (or_value): Likewise.
34922         (or_cond_value): Likewise.
34923         (generate_testfile): Handle AUTO_TESTS_* lines.
34924         (parse_auto_input): New function.
34925         * math/libm-test.inc (XFAIL_TEST): New macro.
34926         (ERRNO_UNCHANGED): Update value.
34927         (ERRNO_EDOM): Likewise.
34928         (ERRNO_ERANGE): Likewise.
34929         (IGNORE_RESULT): Likewise.
34930         (TEST_COND_flt_32): New macro.
34931         (TEST_COND_dbl_64): Likewise.
34932         (TEST_COND_ldbl_96_intel): Likewise.
34933         (TEST_COND_ldbl_96_m68k): Likewise.
34934         (TEST_COND_ldbl_128): Likewise.
34935         (TEST_COND_ldbl_128ibm): Likewise.
34936         (TEST_COND_long32): Likewise.
34937         (TEST_COND_long64): Likewise.
34938         (TEST_COND_before_rounding): Likewise.
34939         (TEST_COND_after_rounding): Likewise.
34940         (enable_test): Handle XFAIL_TEST flag.
34941         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
34942         with finite results.
34943         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
34944         auto-libm-test-out.
34946 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34947             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34949         [BZ #16214]
34950         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
34951         __tls_get_addr_internal instead of __tls_get_offset in order to
34952         avoid GOT pointer dependency.  Make rtld export
34953         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
34954         __tls_get_addr since we are a __tls_get_offset platform.
34955         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
34956         GOT pointer being set up before.
34957         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
34959 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
34961         * manual/math.texi (Errors in Math Functions): Document accuracy
34962         goals.
34964         [BZ #15004]
34965         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
34966         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
34967         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34968         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34969         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34970         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34971         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34972         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
34973         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
34974         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34975         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34976         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34977         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34978         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34979         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34980         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
34982         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
34983         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
34984         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
34985         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
34986         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
34987         Likewise.
34988         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
34989         Likewise.
34990         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
34991         Likewise.
34992         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
34993         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
34994         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
34995         atomic-feupdateenv and flt-rounds.
34996         * sysdeps/powerpc/nofpu/Versions (libc): Add
34997         __atomic_feholdexcept, __atomic_feclearexcept,
34998         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
34999         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
35000         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
35001         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
35002         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
35003         here.
35004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
35005         Update.
35007         * manual/arith.texi (FP Exceptions): Document that exceptions may
35008         not be raised when matherr is used.
35009         (Math Error Reporting): Document overflow in directed rounding
35010         modes.  Document that errno may not be set when finite values are
35011         returned on overflow.  Document intent to set errno on underflow
35012         only for underflow to zero.
35014         [BZ #16271]
35015         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
35016         round-to-nearest then adjust result for other rounding modes.
35017         * include/fenv.h (fegetround): Use libm_hidden_proto.
35018         * math/fegetround.c (fegetround): Use libm_hidden_def.
35019         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
35020         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
35021         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
35022         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
35023         Likewise.
35024         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
35025         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
35026         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
35027         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
35029 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35031         [BZ #16077]
35032         * nss/Versions (libnss_files): Add
35033         _nss_files_gethostbyname3_r.
35034         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
35035         New function.
35036         (HOST_DB_LOOKUP): Remove macro.
35037         (_nss_files_gethostbyname_r): Implement function without the
35038         HOST_DB_LOOKUP macro.
35039         (_nss_files_gethostbyname2_r): Likewise.
35041 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
35043         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
35045 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
35047         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
35048         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
35049         warning.
35051 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35053         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
35054         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
35055         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
35056         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
35057         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
35058         __fe_nomask_env_priv and attribute_hidden.
35059         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
35060         (libc_feupdateenv_test_ppc): Likewise.
35061         (libc_feresetround_ppc): Likewise.
35062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35063         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
35064         compat_symbol macro.
35065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35066         (__fe_nomask_env): Likewise.
35067         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
35069 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
35071         * string/Makefile: Remove ifunc tests.
35072         * string/test-string.h: Define TEST_IFUNC.
35073         * string/test-bcopy-ifunc.c: Remove.
35074         * string/test-bzero-ifunc.c: Likewise.
35075         * string/test-memccpy-ifunc.c: Likewise.
35076         * string/test-memchr-ifunc.c: Likewise.
35077         * string/test-memcmp-ifunc.c: Likewise.
35078         * string/test-memcpy-ifunc.c: Likewise.
35079         * string/test-memmem-ifunc.c: Likewise.
35080         * string/test-memmove-ifunc.c: Likewise.
35081         * string/test-mempcpy-ifunc.c: Likewise.
35082         * string/test-memrchr-ifunc.c: Likewise.
35083         * string/test-memset-ifunc.c: Likewise.
35084         * string/test-rawmemchr-ifunc.c: Likewise.
35085         * string/test-stpcpy-ifunc.c: Likewise.
35086         * string/test-stpncpy-ifunc.c: Likewise.
35087         * string/test-strcasecmp-ifunc.c: Likewise.
35088         * string/test-strcasestr-ifunc.c: Likewise.
35089         * string/test-strcat-ifunc.c: Likewise.
35090         * string/test-strchr-ifunc.c: Likewise.
35091         * string/test-strchrnul-ifunc.c: Likewise.
35092         * string/test-strcmp-ifunc.c: Likewise.
35093         * string/test-strcpy-ifunc.c: Likewise.
35094         * string/test-strcspn-ifunc.c: Likewise.
35095         * string/test-strlen-ifunc.c: Likewise.
35096         * string/test-strncasecmp-ifunc.c: Likewise.
35097         * string/test-strncat-ifunc.c: Likewise.
35098         * string/test-strncmp-ifunc.c: Likewise.
35099         * string/test-strncpy-ifunc.c: Likewise.
35100         * string/test-strnlen-ifunc.c: Likewise.
35101         * string/test-strpbrk-ifunc.c: Likewise.
35102         * string/test-strrchr-ifunc.c: Likewise.
35103         * string/test-strspn-ifunc.c: Likewise.
35104         * string/test-strstr-ifunc.c: Likewise.
35106 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
35108         * benchtests/Makefile: Remove ifunc tests.
35109         * benchtests/bench-string.h: Define TEST_IFUNC.
35110         * benchtests/bench-bcopy-ifunc.c: Remove.
35111         * benchtests/bench-bzero-ifunc.c: Likewise.
35112         * benchtests/bench-memccpy-ifunc.c: Likewise.
35113         * benchtests/bench-memchr-ifunc.c: Likewise.
35114         * benchtests/bench-memcmp-ifunc.c: Likewise.
35115         * benchtests/bench-memcpy-ifunc.c: Likewise.
35116         * benchtests/bench-memmem-ifunc.c: Likewise.
35117         * benchtests/bench-memmove-ifunc.c: Likewise.
35118         * benchtests/bench-mempcpy-ifunc.c: Likewise.
35119         * benchtests/bench-memrchr-ifunc.c: Likewise.
35120         * benchtests/bench-memset-ifunc.c: Likewise.
35121         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
35122         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
35123         * benchtests/bench-stpcpy-ifunc.c: Likewise.
35124         * benchtests/bench-stpncpy-ifunc.c: Likewise.
35125         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
35126         * benchtests/bench-strcasestr-ifunc.c: Likewise.
35127         * benchtests/bench-strcat-ifunc.c: Likewise.
35128         * benchtests/bench-strchr-ifunc.c: Likewise.
35129         * benchtests/bench-strchrnul-ifunc.c: Likewise.
35130         * benchtests/bench-strcmp-ifunc.c: Likewise.
35131         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
35132         * benchtests/bench-strcpy-ifunc.c: Likewise.
35133         * benchtests/bench-strcspn-ifunc.c: Likewise.
35134         * benchtests/bench-strlen-ifunc.c: Likewise.
35135         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
35136         * benchtests/bench-strncat-ifunc.c: Likewise.
35137         * benchtests/bench-strncmp-ifunc.c: Likewise.
35138         * benchtests/bench-strncpy-ifunc.c: Likewise.
35139         * benchtests/bench-strnlen-ifunc.c: Likewise.
35140         * benchtests/bench-strpbrk-ifunc.c: Likewise.
35141         * benchtests/bench-strrchr-ifunc.c: Likewise.
35142         * benchtests/bench-strsep-ifunc.c: Likewise.
35143         * benchtests/bench-strspn-ifunc.c: Likewise.
35144         * benchtests/bench-strstr-ifunc.c: Likewise.
35146 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
35148         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
35150 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
35152         * resolv/netdb.h: Use __glibc_reserved instead __unused.
35153         * rt/aio.h: Likewise.
35154         * sysdeps/gnu/bits/utmp.h: Likewise.
35155         * sysdeps/gnu/bits/utmpx.h: Likewise.
35156         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
35157         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
35158         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
35159         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
35160         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
35161         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
35162         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
35163         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
35164         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
35165         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
35166         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
35167         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
35168         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
35169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
35170         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
35171         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
35172         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
35173         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
35174         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
35175         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
35176         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
35177         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
35178         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
35179         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
35180         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
35181         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35182         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
35183         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
35184         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
35185         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
35186         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
35187         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
35188         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
35189         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
35190         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
35191         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
35192         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
35193         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
35194         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
35195         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
35196         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
35197         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
35199 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
35201         [BZ #16245]
35202         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
35203         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
35205 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
35207         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
35208         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
35209         Likewise.
35211 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35213         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
35214         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
35215         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
35216         (__fesetround): Remove define.
35217         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
35218         rounding and exceptions handling.
35219         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
35220         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
35221         (__fe_nomask_env): Likewise.
35222         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
35223         __fegetround instead of fegetround.
35224         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
35225         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
35227 2013-11-21  Roland McGrath  <roland@hack.frob.com>
35229         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
35230         it's there.
35232         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
35234 2013-11-21  Meador Inge  <meadori@codesourcery.com>
35236         [BZ #11157]
35237         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
35238         (encrypt_r): Likewise.
35239         * malloc/obstack.h (obstack_free): Likewise.
35240         * posix/unistd.h (encrypt): Likewise.
35242 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
35244         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
35245         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
35246         DL_CALL_DT_FINI() that call the functions directly.
35247         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
35248         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
35249         * elf/dl-fini.c: Likewise.
35251 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
35253         * malloc/hooks.c (memalign_check): Add alignment rounding.
35254         * malloc/malloc.c (_mid_memalign): New function.
35255         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
35256         Implement by calling _mid_memalign.
35257         * manual/probes.texi (Memory Allocation Probes): Remove
35258         memory_valloc_retry and memory_pvalloc_retry.
35260 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
35262         * locale/programs/locarchive.c (open_archive): Add const
35263         qualifier to ARCHIVEFNAME and copy default fname to
35264         DEFAULT_FNAME.
35266         [BZ #15601]
35267         * libio/tst-widetext.input: Rename Oriya to Odia.
35268         * locale/iso-639.def: Likewise.
35270         * manual/probes.texi (Mathematical Function Probes): Add
35271         documentation for sin, cos, asin and acos probes.
35272         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
35273         (__sin32): Add slowasin probe.
35274         (__cos32): Add slowacos probe.
35275         (__mpsin): Add slowsin probe.
35276         (__mpcos): Add slowcos probe.
35278 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
35280         [BZ #15483]
35281         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
35282         thread-local __sim_exceptions_thread and global
35283         __sim_exceptions_global.
35284         (__sim_disabled_exceptions): Change to thread-local
35285         __sim_disabled_exceptions_thread and global
35286         __sim_disabled_exceptions_global.
35287         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
35288         and global __sim_round_mode_global.
35289         (__simulate_exceptions): Use thread-local floating-point state and
35290         set global state from it as needed.
35291         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
35292         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
35293         __sim_round_mode_thread.
35294         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
35295         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
35296         and global __sim_exceptions_global.
35297         (__sim_disabled_exceptions): Change to thread-local
35298         __sim_disabled_exceptions_thread and global
35299         __sim_disabled_exceptions_global.
35300         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
35301         and global __sim_round_mode_global.
35302         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
35303         (SIM_SET_GLOBAL): Likewise.
35304         * sysdeps/powerpc/soft-fp/sfp-machine.h
35305         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
35306         __sim_round_mode_thread.
35307         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
35308         __sim_disabled_exceptions_thread.
35309         (__sim_exceptions): Change to __sim_exceptions_thread.
35310         (__sim_disabled_exceptions): Change to
35311         __sim_disabled_exceptions_thread.
35312         (__sim_round_mode): Change to __sim_round_mode_thread.
35313         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
35314         thread-local floating-point state and set global state from it as
35315         needed.
35316         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
35317         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
35318         (__sim_disabled_exceptions): Remove extern declaration.
35319         (feenableexcept): Use thread-local floating-point state and set
35320         global state from it as needed.
35321         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
35322         extern declaration.
35323         (__sim_disabled_exceptions): Likewise.
35324         (__sim_round_mode): Likewise.
35325         (__fegetenv): Use thread-local floating-point state.
35326         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
35327         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
35328         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
35329         floating-point state and set global state from it as needed.
35330         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
35331         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
35332         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
35333         Likewise.
35334         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
35335         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
35336         Likewise.
35337         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
35338         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
35339         Use __sim_round_mode_thread.
35340         * math/test-fenv-tls.c: New file.
35341         * math/Makefile (tests): Add test-fenv-tls.
35342         ($(objpfx)test-fenv-tls): Depend on
35343         $(common-objpfx)nptl/libpthread.so.
35345 2013-11-19  Andreas Schwab  <schwab@suse.de>
35347         * locale/programs/locale.c (show_info): Decode wordarray elements.
35348         * locale/categories.def (LC_MONETARY): Add element for
35349         _NL_MONETARY_CRNCYSTR.
35350         * locale/C-monetary.c (conversion_rate): New variable.
35351         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
35352         element.
35354 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
35356         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
35357         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
35359 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
35361         * elf/Makefile (tst-auxv): New test.
35362         * elf/tst-auxv.c: New
35363         * elf/rtld.c (dl_main): Adjust AT_EXECFN
35365 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
35367         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
35368         (hidden_proto): Caller changed.
35369         (hidden_tls_proto): New macro.
35370         (libc_hidden_tls_proto): Likewise.
35371         (rtld_hidden_tls_proto): Likewise.
35372         (libm_hidden_tls_proto): Likewise.
35373         (libresolv_hidden_tls_proto): Likewise.
35374         (librt_hidden_tls_proto): Likewise.
35375         (libdl_hidden_tls_proto): Likewise.
35376         (libnss_files_hidden_tls_proto): Likewise.
35377         (libnsl_hidden_tls_proto): Likewise.
35378         (libnss_nisplus_hidden_tls_proto): Likewise.
35379         (libutil_hidden_tls_proto): Likewise.
35381 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
35383         [BZ #10253]
35384         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
35385         (decompose_rpath): Defer expansion to fillin_rpath.
35386         (_dl_init_paths): Pass linkmap to fillin_rpath.
35388 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35390         * benchtests/Makefile: Add strsep.
35391         * benchtests/bench-strsep.c: New file: strsep benchtest.
35392         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
35394 2013-11-18  Andreas Schwab  <schwab@suse.de>
35396         * locale/programs/locale.c (show_info) [case byte]: Check for
35397         '\377' instead of '\177'.
35398         * locale/C-monetary.c (not_available): Always use "\377".
35399         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
35400         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
35401         detect unavailable sign_posn locale elements.
35402         * locale/localeconv.c (__localeconv): For grouping and
35403         mon_grouping handle "\177" and "\377" like no grouping.
35404         (INT_ELEM): New macro.  Use it to set all numeric members.
35405         * locale/programs/ld-monetary.c (monetary_read)
35406         <tok_mon_grouping>: Normalize single -1 to the empty string.
35407         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
35408         Likewise.
35410 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
35412         [BZ #16055]
35413         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
35414         when we match (nil).
35415         * stdio-common/tst-sscanf.c (struct test): Add testcase.
35417 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
35419         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
35420         (NO_TEST_INLINE): Update value.
35421         (ERRNO_UNCHANGED): Likewise.
35422         (ERRNO_EDOM): Likewise.
35423         (ERRNO_ERANGE): Likewise.
35424         (IGNORE_RESULT): Likewise.
35425         (check_float_internal): Check signs of NaN results if
35426         TEST_NAN_SIGN used.
35427         (check_complex): Pass TEST_NAN_SIGN flag through to second
35428         check_float_internal call.
35429         (copysign_test_data): Add tests with quiet NaNs as second
35430         argument.  Use TEST_NAN_SIGN.
35431         (fabs_test_data): Add test of negative quiet NaN argument.  Use
35432         TEST_NAN_SIGN.
35433         (signbit_test_data): Add tests of quiet NaN argument.
35434         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
35436         * math/gen-libm-test.pl (show_exceptions): Take extra argument
35437         $ignore_result.
35438         (parse_args): Handle function results specified as IGNORE.
35439         * math/libm-test.inc (IGNORE_RESULT): New macro.
35440         (check_float_internal): Do not check numerical result if flag
35441         IGNORE_RESULT set.
35442         (check_complex): Pass through IGNORE_RESULT to second
35443         check_float_internal call.
35444         (check_int): Do not check numerical result if flag IGNORE_RESULT
35445         set.
35446         (check_long): Likewise.
35447         (check_bool): Likewise.
35448         (check_longlong): Likewise.
35449         (lrint_test_data): Add tests of infinite and NaN arguments.
35450         (lrint_tonearest_test_data): Likewise.
35451         (lrint_towardzero_test_data): Likewise.
35452         (lrint_downward_test_data): Likewise.
35453         (lrint_upward_test_data): Likewise.
35454         (llrint_test_data): Likewise.
35455         (llrint_tonearest_test_data): Likewise.
35456         (llrint_towardzero_test_data): Likewise.
35457         (llrint_downward_test_data): Likewise.
35458         (llrint_upward_test_data): Likewise.
35459         (lround_test_data): Likewise.
35460         (llround_test_data): Likewise.
35462         * math/libm-test.inc (NO_TEST_INLINE): New macro.
35463         (ERRNO_UNCHANGED): Update value.
35464         (ERRNO_EDOM): Likewise.
35465         (ERRNO_ERANGE): Likewise.
35466         (NO_TEST_INLINE_FLOAT): New macro.
35467         (NO_TEST_INLINE_DOUBLE): Likewise.
35468         (enable_test): New function.
35469         (RUN_TEST_f_f): Check enable_test before running test.
35470         (RUN_TEST_2_f): Likewise.
35471         (RUN_TEST_fff_f): Likewise.
35472         (RUN_TEST_c_f): Likewise.
35473         (RUN_TEST_f_f1): Likewise.
35474         (RUN_TEST_fF_f1): Likewise.
35475         (RUN_TEST_fI_f1): Likewise.
35476         (RUN_TEST_ffI_f1): Likewise.
35477         (RUN_TEST_c_c): Likewise.
35478         (RUN_TEST_cc_c): Likewise.
35479         (RUN_TEST_f_i): Likewise.
35480         (RUN_TEST_f_i_tg): Likewise.
35481         (RUN_TEST_ff_i_tg): Likewise.
35482         (RUN_TEST_f_b): Likewise.
35483         (RUN_TEST_f_b_tg): Likewise.
35484         (RUN_TEST_f_l): Likewise.
35485         (RUN_TEST_f_L): Likewise.
35486         (RUN_TEST_fFF_11): Likewise.
35487         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
35488         conditionals.
35489         (cosh_test_data): Likewise.
35490         (exp_test_data): Likewise.
35491         (expm1_test_data): Likewise.
35492         (hypot_test_data): Likewise.
35493         (pow_test_data): Likewise.
35494         (sinh_test_data): Likewise.
35495         (tanh_test_data): Likewise.
35496         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
35497         flags argument.
35499         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
35500         tests with quiet NaN input and output.
35501         (acosh_test_data): Likewise.
35502         (asin_test_data): Likewise.
35503         (asinh_test_data): Likewise.
35504         (atan_test_data): Likewise.
35505         (atanh_test_data): Likewise.
35506         (atan2_test_data): Likewise.
35507         (cbrt_test_data): Likewise.
35508         (cos_test_data): Likewise.
35509         (cosh_test_data): Likewise.
35510         (erf_test_data): Likewise.
35511         (erfc_test_data): Likewise.
35512         (exp_test_data): Likewise.
35513         (exp10_test_data): Likewise.
35514         (exp2_test_data): Likewise.
35515         (expm1_test_data): Likewise.
35516         (hypot_test_data): Likewise.
35517         (j0_test_data): Likewise.
35518         (j1_test_data): Likewise.
35519         (jn_test_data): Likewise.
35520         (lgamma_test_data): Likewise.
35521         (log_test_data): Likewise.
35522         (log10_test_data): Likewise.
35523         (log1p_test_data): Likewise.
35524         (log2_test_data): Likewise.
35525         (pow_test_data): Likewise.
35526         (scalb_test_data): Likewise.
35527         (sin_test_data): Likewise.
35528         (sincos_test_data): Likewise.
35529         (sinh_test_data): Likewise.
35530         (tan_test_data): Likewise.
35531         (tanh_test_data): Likewise.
35532         (tgamma_test_data): Likewise.
35533         (y0_test_data): Likewise.
35534         (y1_test_data): Likewise.
35535         (yn_test_data): Likewise.
35537         [BZ #16167]
35538         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
35539         argument being NaN and avoid computations with second argument in
35540         that case.
35541         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35542         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
35543         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35545 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
35547         * locale/iso-639.def: Add Chitwani Tharu (the).
35549 2013-11-14  Andreas Schwab  <schwab@suse.de>
35551         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
35552         word instead of empty string.
35554 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35557         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
35558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35559         (__fe_nomask_env): Likewise.
35561 2013-11-13  Steve Ellcey  <sellcey@mips.com>
35563         * benchtests/bench-timing.h: Include time.h.
35565 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
35567         [BZ #15997]
35568         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
35569         to 3.4.0 for x32.
35570         * sysdeps/unix/sysv/linux/configure: Regenerated.
35572 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
35574         [BZ #16151]
35575         * stdlib/strtod_l.c (round_and_return): Do not consider
35576         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
35577         exponent one less than half the least subnormal exponent.
35578         * stdlib/test-strtod-round-data: Add more tests.
35579         * stdlib/tst-strtod-round.c (tests): Regenerated.
35581 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35583         [BZ #14143]
35584         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
35585         (__fe_mask_env): Likewise.
35586         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
35587         libm_hidden_proto and add function prototype.
35588         (__fe_mask_env): Add function prototype.
35589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35590         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
35591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
35592         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
35593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35594         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
35596 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35598         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
35599         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
35601 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35603         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
35604         of htab_find_slot().
35606 2013-11-11  David S. Miller  <davem@davemloft.net>
35608         [BZ #16150]
35609         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
35610         symbol in the non-vis3 case in static builds.
35611         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
35612         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
35613         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
35614         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
35616 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
35618         [BZ #387]
35619         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
35620         it is empty.
35622 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35624         * benchtests/Makefile: Add bench-strtod.
35625         * benchtests/bench-strtod.c: New file: strtod benchtest
35627 2013-11-11  Andreas Schwab  <schwab@suse.de>
35629         [BZ #16153]
35630         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
35631         terminating NUL in key length.
35633 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35635         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
35636         Add artificial ODP entry for vDSO symbol for PPC64.
35637         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
35638         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
35640 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
35642         [BZ #15374]
35643         * nss/getent.c (services_keys): Recognize services starting with digit.
35645 2013-11-06  David S. Miller  <davem@davemloft.net>
35647         [BZ #15985]
35648         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
35649         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
35651 2013-11-06  Will Newton  <will.newton@linaro.org>
35653         * manual/memory.texi (Malloc Examples): Remove register
35654         keyword from examples.
35656 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
35658         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
35660 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
35662         [BZ #6981]
35663         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
35664         depending on [__GCC_IEC_559 > 0].
35665         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
35666         depending on [__GCC_IEC_559_COMPLEX > 0].
35668 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
35670         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
35671         to iso-639.def.
35673 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
35675         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
35677 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
35679         [BZ #16112]
35680         * malloc/malloc (malloc_info): Do not handle first bin as
35681         special case.
35683 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
35685         * locale/iso-639.def: Add Central Nahuatl (nhn).
35687 2013-11-01  Bruno Haible  <bruno@clisp.org>
35689         [BZ #7003]
35690         * manual/math.texi (BSD Random): Specify range upper bound as
35691         in POSIX.
35693 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
35695         * locale/iso-639.def: Add Meadow Mari (mhr).
35697 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
35699         [BZ #14752], [BZ #15763]
35700         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
35701         Validate name.
35702         * rt/tst_shm.c: Add test for escaping directory.
35704 2013-10-31  Andreas Schwab  <schwab@suse.de>
35706         [BZ #15917]
35707         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
35708         followed by 'x' as part of digit sequence.
35709         * stdio-common/tst-sscanf.c (double_tests2): New tests.
35711 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
35713         [BZ #16037]
35714         * configure.ac: allow GNU Make 4.0 and greater.
35715         * configure: Regenerated.
35717 2013-10-30  Will Newton  <will.newton@linaro.org>
35719         [BZ #16038]
35720         * malloc/hooks.c (memalign_check): Limit alignment to the
35721         maximum representable power of two.
35722         * malloc/malloc.c (__libc_memalign): Likewise.
35723         * malloc/tst-memalign.c (do_test): Add test for very
35724         large alignment values.
35725         * malloc/tst-posix_memalign.c (do_test): Likewise.
35727 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
35729         [BZ #11087]
35730         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
35731         (munmap_chunk): Likewise.
35732         (mremap_chunk): Likewise.
35734 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
35736         [BZ #15799]
35737         * stdlib/div.c (div): Remove obsolete code.
35738         * stdlib/ldiv.c (ldiv): Likewise.
35739         * stdlib/lldiv.c (lldiv): Likewise.
35741 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35743         [BZ #16071]
35744         * nss/nss_files/files-XXX.c (get_contents_ret): New
35745         enumerator.
35746         (get_contents): New function.
35747         (internal_getent): Use it.  Expand size of LINEBUFLEN.
35749 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
35751         * configure.in: Moved to ...
35752         * configure.ac: ... here. Change reference to configure.in
35753         to configure.ac.
35754         * sysdeps/arm/preconfigure.ac: ... here.
35755         configure.in to configure.ac.
35756         * sysdeps/gnu/configure.in: Moved to ...
35757         * sysdeps/gnu/configure.ac: ... here.
35758         * sysdeps/i386/configure.in: Moved to ...
35759         * sysdeps/i386/configure.ac: ... here.
35760         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
35761         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
35762         * sysdeps/mach/configure.in: Moved to ...
35763         * sysdeps/mach/configure.ac: ... here.
35764         * sysdeps/mach/hurd/configure.in: Moved to ...
35765         * sysdeps/mach/hurd/configure.ac: ... here.
35766         * sysdeps/powerpc/configure.in: Moved to ...
35767         * sysdeps/powerpc/configure.ac: ... here.
35768         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
35769         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
35770         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
35771         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
35772         * sysdeps/s390/s390-32/configure.in: Moved to ...
35773         * sysdeps/s390/s390-32/configure.ac: ... here.
35774         * sysdeps/s390/s390-64/configure.in: Moved to ...
35775         * sysdeps/s390/s390-64/configure.ac: ... here.
35776         * sysdeps/sh/configure.in: Moved to ...
35777         * sysdeps/sh/configure.ac: ... here.
35778         * sysdeps/sparc/configure.in: Moved to ...
35779         * sysdeps/sparc/configure.ac: ... here.
35780         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
35781         * sysdeps/unix/sysv/linux/configure.ac: ... here.
35782         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
35783         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
35784         * sysdeps/x86_64/configure.in: Moved to ...
35785         * sysdeps/x86_64/configure.ac: ... here.
35786         * sysdeps/x86_64/preconfigure.in: Moved to ...
35787         * sysdeps/x86_64/preconfigure.ac: ... here.
35788         * aclocal.m4: Change reference to configure.in to configure.ac.
35789         * config.h.in: Likewise.
35790         * manual/install.texi: Likewise.
35791         * manual/maint.texi: Likewise.
35792         * Makefile: Likewise.
35793         * malloc/Makefile: Likewise.
35794         * nscd/Makefile: Likewise.
35795         * Makeconfig: Change reference to configure.in and
35796         preconfigure.in to configure.ac and preconfigure.ac
35797         respectively.
35798         * INSTALL: Regenerated.
35799         * configure: Likewise.
35800         * sysdeps/gnu/configure: Likewise.
35801         * sysdeps/i386/configure: Likewise.
35802         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
35803         * sysdeps/mach/configure: Likewise.
35804         * sysdeps/mach/hurd/configure: Likewise.
35805         * sysdeps/powerpc/configure: Likewise.
35806         * sysdeps/powerpc/powerpc32/configure: Likewise.
35807         * sysdeps/powerpc/powerpc64/configure: Likewise.
35808         * sysdeps/s390/s390-32/configure: Likewise.
35809         * sysdeps/s390/s390-64/configure: Likewise.
35810         * sysdeps/sh/configure: Likewise.
35811         * sysdeps/sparc/configure: Likewise.
35812         * sysdeps/unix/sysv/linux/configure: Likewise.
35813         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
35814         * sysdeps/x86_64/configure: Likewise.
35815         * sysdeps/x86_64/preconfigure: Likewise.
35817 2013-10-29  Andreas Schwab  <schwab@suse.de>
35819         * stdio-common/Makefile (tst-swscanf-ENV): Define.
35821 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35823         * benchtests/pow-inputs: Add new inputs.
35825         * benchtests/exp-inputs: Add new inputs.
35827         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
35828         conditional check for return value.
35829         (__cos32): Likewise.
35831 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35833         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
35834         to provide a boost for large inputs with word alignment.
35835         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
35836         implementation based on optimized PPC64 strcpy.
35837         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
35838         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
35839         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
35840         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
35842 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
35844         [BZ #2801]
35845         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
35847 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
35849         [BZ #14876]
35850         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
35851         * time/tst-strptime.c (day_tests): Add testcase.
35853 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
35855         [BZ #14029]
35856         * manual/pattern.texi: Acknowledge that fnmatch can fail.
35858 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
35860         [BZ #16074]
35861         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
35862         MAP_FAILED on error.
35864 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35866         [BZ #16072]
35867         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
35868         heap for large requests.
35870 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
35872         [BZ #9954]
35873         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
35874         result if the result has no associated interface.
35875         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
35876         interface for all 127.X.Y.Z addresses.
35878 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
35880         * locale/iso-639.def: Add Ligurian (lij)
35882 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
35884         [BZ #15825]
35885         * sunrpc/rpc_main.c: Document rpcgen -5.
35887 2013-10-19  Michael Stahl  <mstahl@redhat.com>
35889         * elf/rtld.c (do_preload): Print the reason why preloading failed.
35891 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
35893         [BZ #10278]
35894         * posix/glob.c: Match only directories when trailing slash is present.
35895         * posix/tst-gnuglob.c (my_opendir): Do not open files.
35896         (main): Add testcase.
35898 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
35900         [BZ #15670]
35901         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
35903 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
35905         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
35906         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
35907         AUTH_DES and cindex for FIPS 140-2.
35908         (DES Encryption): Add cindex FIPS 46-3.
35910         * locale/locarchive.h (struct locarhandle): Add fname.
35911         * locale/programs/localedef.c (main): Pass ARGV[remaining]
35912         if an optional argument was specified to --list-archive,
35913         otherwise NULL.
35914         * locale/programs/locarchive.c (show_archive_content): Take new
35915         argument fname and pass it via ah.fname to open_archive.
35916         * locale/programs/localedef.h: Update decl.
35917         (open_archive): If AH->fname is non-null, open that file
35918         rather than the default file name, and don't ignore ENOENT.
35919         (create_archive): Set AH.fname to NULL.
35920         (delete_locales_from_archive): Likewise.
35921         (add_locales_to_archive): Likewise.
35922         * locale/programs/locfile.c (write_all_categories): Likewise.
35924 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
35925             Aldy Hernandez  <aldyh@redhat.com>
35927         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
35928         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
35929         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
35930         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
35931         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
35932         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
35933         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
35934         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
35935         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
35936         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
35937         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
35938         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
35939         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
35940         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
35941         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
35942         Likewise.
35943         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
35944         Likewise.
35945         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
35946         Likewise.
35947         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
35948         Likewise.
35949         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
35950         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
35951         Likewise.
35952         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
35953         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
35954         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
35955         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
35956         Likewise.
35957         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
35958         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
35959         * sysdeps/powerpc/preconfigure: Likewise.
35960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
35961         Likewise.
35962         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
35963         Replace contents of file by #include of <fenv_libc.h>.
35964         * sysdeps/powerpc/soft-fp/sfp-machine.h
35965         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
35966         and <sys/prctl.h>.
35967         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
35968         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
35969         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
35970         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
35971         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
35972         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
35973         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
35974         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
35975         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
35976         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
35977         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
35978         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
35979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
35980         Allow copysignl PLT reference to be missing.
35982 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
35983             Joseph Myers  <joseph@codesourcery.com
35985         [BZ #15948]
35986         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
35987         single character.
35988         (add_to_tablewc): Assert sequence of wide characters is nonempty.
35990 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
35992         * elf/tst-tls-dlinfo.c: Don't include tls.h.
35993         * elf/tst-tls1.c: Likewise.
35994         * elf/tst-tls10.h: Likewise.
35995         * elf/tst-tls14.c: Likewise.
35996         * elf/tst-tls2.c: Likewise.
35997         * elf/tst-tls3.c: Likewise.
35998         * elf/tst-tls4.c: Likewise.
35999         * elf/tst-tls5.c: Likewise.
36000         * elf/tst-tls6.c: Likewise.
36001         * elf/tst-tls7.c: Likewise.
36002         * elf/tst-tls8.c: Likewise.
36003         * elf/tst-tls9.c: Likewise.
36004         * elf/tst-tlsmod1.c: Likewise.
36005         * elf/tst-tlsmod13.c: Likewise.
36006         * elf/tst-tlsmod13a.c: Likewise.
36007         * elf/tst-tlsmod14a.c: Likewise.
36008         * elf/tst-tlsmod16a.c: Likewise.
36009         * elf/tst-tlsmod16b.c: Likewise.
36010         * elf/tst-tlsmod2.c: Likewise.
36011         * elf/tst-tlsmod3.c: Likewise.
36012         * elf/tst-tlsmod4.c: Likewise.
36013         * elf/tst-tlsmod5.c: Likewise.
36014         * elf/tst-tlsmod6.c: Likewise.
36016 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
36018         [BZ #12486]
36019         * malloc/malloc.c: remove checks for statistics.
36021 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
36023         [BZ #15277]
36024         * inet/inet_net.c (inet_network): Detect additional invalid strings.
36025         * inet/tst-network.c: Add testcase.
36027 2013-10-17  Andreas Schwab  <schwab@suse.de>
36029         [BZ #15218]
36030         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
36031         to determine canonical name.
36033 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
36035         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
36036         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
36037         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36038         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36039         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36040         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36041         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36042         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36043         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
36044         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36045         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36046         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36047         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36048         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36049         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36050         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36051         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36052         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36053         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
36054         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36055         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36056         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36057         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36058         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
36059         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
36060         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36061         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36062         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
36063         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36064         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
36065         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36066         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36067         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
36068         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36069         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36070         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36071         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36072         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36073         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36074         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36075         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36076         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
36077         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
36078         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36079         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
36080         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36081         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36082         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
36083         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
36084         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36085         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
36086         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36087         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36088         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
36089         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36090         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
36091         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36092         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36094 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
36096         [BZ #16041]
36097         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
36098         make result into a quiet NaN.
36100 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
36102         * soft-fp/adddf3.c: Fix horizontal whitespace.
36103         * soft-fp/addsf3.c: Likewise.
36104         * soft-fp/addtf3.c: Likewise.
36105         * soft-fp/divdf3.c: Likewise.
36106         * soft-fp/divsf3.c: Likewise.
36107         * soft-fp/divtf3.c: Likewise.
36108         * soft-fp/double.h: Likewise.
36109         * soft-fp/eqdf2.c: Likewise.
36110         * soft-fp/eqsf2.c: Likewise.
36111         * soft-fp/eqtf2.c: Likewise.
36112         * soft-fp/extenddftf2.c: Likewise.
36113         * soft-fp/extended.h: Likewise.
36114         * soft-fp/extendsfdf2.c: Likewise.
36115         * soft-fp/extendsftf2.c: Likewise.
36116         * soft-fp/extendxftf2.c: Likewise.
36117         * soft-fp/fixdfdi.c: Likewise.
36118         * soft-fp/fixdfsi.c: Likewise.
36119         * soft-fp/fixdfti.c: Likewise.
36120         * soft-fp/fixsfdi.c: Likewise.
36121         * soft-fp/fixsfsi.c: Likewise.
36122         * soft-fp/fixsfti.c: Likewise.
36123         * soft-fp/fixtfdi.c: Likewise.
36124         * soft-fp/fixtfsi.c: Likewise.
36125         * soft-fp/fixtfti.c: Likewise.
36126         * soft-fp/fixunsdfdi.c: Likewise.
36127         * soft-fp/fixunsdfsi.c: Likewise.
36128         * soft-fp/fixunsdfti.c: Likewise.
36129         * soft-fp/fixunssfdi.c: Likewise.
36130         * soft-fp/fixunssfsi.c: Likewise.
36131         * soft-fp/fixunssfti.c: Likewise.
36132         * soft-fp/fixunstfdi.c: Likewise.
36133         * soft-fp/fixunstfsi.c: Likewise.
36134         * soft-fp/fixunstfti.c: Likewise.
36135         * soft-fp/floatdidf.c: Likewise.
36136         * soft-fp/floatdisf.c: Likewise.
36137         * soft-fp/floatditf.c: Likewise.
36138         * soft-fp/floatsidf.c: Likewise.
36139         * soft-fp/floatsisf.c: Likewise.
36140         * soft-fp/floatsitf.c: Likewise.
36141         * soft-fp/floattidf.c: Likewise.
36142         * soft-fp/floattisf.c: Likewise.
36143         * soft-fp/floattitf.c: Likewise.
36144         * soft-fp/floatundidf.c: Likewise.
36145         * soft-fp/floatundisf.c: Likewise.
36146         * soft-fp/floatunditf.c: Likewise.
36147         * soft-fp/floatunsidf.c: Likewise.
36148         * soft-fp/floatunsisf.c: Likewise.
36149         * soft-fp/floatunsitf.c: Likewise.
36150         * soft-fp/floatuntidf.c: Likewise.
36151         * soft-fp/floatuntisf.c: Likewise.
36152         * soft-fp/floatuntitf.c: Likewise.
36153         * soft-fp/fmadf4.c: Likewise.
36154         * soft-fp/fmasf4.c: Likewise.
36155         * soft-fp/fmatf4.c: Likewise.
36156         * soft-fp/gedf2.c: Likewise.
36157         * soft-fp/gesf2.c: Likewise.
36158         * soft-fp/getf2.c: Likewise.
36159         * soft-fp/ledf2.c: Likewise.
36160         * soft-fp/lesf2.c: Likewise.
36161         * soft-fp/letf2.c: Likewise.
36162         * soft-fp/muldf3.c: Likewise.
36163         * soft-fp/mulsf3.c: Likewise.
36164         * soft-fp/multf3.c: Likewise.
36165         * soft-fp/negdf2.c: Likewise.
36166         * soft-fp/negsf2.c: Likewise.
36167         * soft-fp/negtf2.c: Likewise.
36168         * soft-fp/op-1.h: Likewise.
36169         * soft-fp/op-2.h: Likewise.
36170         * soft-fp/op-4.h: Likewise.
36171         * soft-fp/op-8.h: Likewise.
36172         * soft-fp/op-common.h: Likewise.
36173         * soft-fp/quad.h: Likewise.
36174         * soft-fp/single.h: Likewise.
36175         * soft-fp/soft-fp.h: Likewise.
36176         * soft-fp/sqrtdf2.c: Likewise.
36177         * soft-fp/sqrtsf2.c: Likewise.
36178         * soft-fp/sqrttf2.c: Likewise.
36179         * soft-fp/subdf3.c: Likewise.
36180         * soft-fp/subsf3.c: Likewise.
36181         * soft-fp/subtf3.c: Likewise.
36182         * soft-fp/truncdfsf2.c: Likewise.
36183         * soft-fp/trunctfdf2.c: Likewise.
36184         * soft-fp/trunctfsf2.c: Likewise.
36185         * soft-fp/trunctfxf2.c: Likewise.
36186         * soft-fp/unorddf2.c: Likewise.
36187         * soft-fp/unordsf2.c: Likewise.
36188         * soft-fp/unordtf2.c: Likewise.
36190 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
36192         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
36193         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
36195 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
36197         * elf/dl-libc.c: Clear initfini list after freeing.
36199 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
36201         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
36202         * soft-fp/addsf3.c: Likewise.
36203         * soft-fp/addtf3.c: Likewise.
36204         * soft-fp/divdf3.c: Likewise.
36205         * soft-fp/divsf3.c: Likewise.
36206         * soft-fp/divtf3.c: Likewise.
36207         * soft-fp/double.h: Likewise.
36208         * soft-fp/eqdf2.c: Likewise.
36209         * soft-fp/eqsf2.c: Likewise.
36210         * soft-fp/eqtf2.c: Likewise.
36211         * soft-fp/extenddftf2.c: Likewise.
36212         * soft-fp/extended.h: Likewise.
36213         * soft-fp/extendsfdf2.c: Likewise.
36214         * soft-fp/extendsftf2.c: Likewise.
36215         * soft-fp/extendxftf2.c: Likewise.
36216         * soft-fp/fixdfdi.c: Likewise.
36217         * soft-fp/fixdfsi.c: Likewise.
36218         * soft-fp/fixdfti.c: Likewise.
36219         * soft-fp/fixsfdi.c: Likewise.
36220         * soft-fp/fixsfsi.c: Likewise.
36221         * soft-fp/fixsfti.c: Likewise.
36222         * soft-fp/fixtfdi.c: Likewise.
36223         * soft-fp/fixtfsi.c: Likewise.
36224         * soft-fp/fixtfti.c: Likewise.
36225         * soft-fp/fixunsdfdi.c: Likewise.
36226         * soft-fp/fixunsdfsi.c: Likewise.
36227         * soft-fp/fixunsdfti.c: Likewise.
36228         * soft-fp/fixunssfdi.c: Likewise.
36229         * soft-fp/fixunssfsi.c: Likewise.
36230         * soft-fp/fixunssfti.c: Likewise.
36231         * soft-fp/fixunstfdi.c: Likewise.
36232         * soft-fp/fixunstfsi.c: Likewise.
36233         * soft-fp/fixunstfti.c: Likewise.
36234         * soft-fp/floatdidf.c: Likewise.
36235         * soft-fp/floatdisf.c: Likewise.
36236         * soft-fp/floatditf.c: Likewise.
36237         * soft-fp/floatsidf.c: Likewise.
36238         * soft-fp/floatsisf.c: Likewise.
36239         * soft-fp/floatsitf.c: Likewise.
36240         * soft-fp/floattidf.c: Likewise.
36241         * soft-fp/floattisf.c: Likewise.
36242         * soft-fp/floattitf.c: Likewise.
36243         * soft-fp/floatundidf.c: Likewise.
36244         * soft-fp/floatundisf.c: Likewise.
36245         * soft-fp/floatunsidf.c: Likewise.
36246         * soft-fp/floatunsisf.c: Likewise.
36247         * soft-fp/floatuntidf.c: Likewise.
36248         * soft-fp/floatuntisf.c: Likewise.
36249         * soft-fp/floatuntitf.c: Likewise.
36250         * soft-fp/fmadf4.c: Likewise.
36251         * soft-fp/fmasf4.c: Likewise.
36252         * soft-fp/fmatf4.c: Likewise.
36253         * soft-fp/gedf2.c: Likewise.
36254         * soft-fp/gesf2.c: Likewise.
36255         * soft-fp/getf2.c: Likewise.
36256         * soft-fp/ledf2.c: Likewise.
36257         * soft-fp/lesf2.c: Likewise.
36258         * soft-fp/letf2.c: Likewise.
36259         * soft-fp/muldf3.c: Likewise.
36260         * soft-fp/mulsf3.c: Likewise.
36261         * soft-fp/multf3.c: Likewise.
36262         * soft-fp/negdf2.c: Likewise.
36263         * soft-fp/negsf2.c: Likewise.
36264         * soft-fp/negtf2.c: Likewise.
36265         * soft-fp/op-1.h: Likewise.
36266         * soft-fp/op-2.h: Likewise.
36267         * soft-fp/op-4.h: Likewise.
36268         * soft-fp/op-8.h: Likewise.
36269         * soft-fp/op-common.h: Likewise.
36270         * soft-fp/quad.h: Likewise.
36271         * soft-fp/single.h: Likewise.
36272         * soft-fp/soft-fp.h: Likewise.
36273         * soft-fp/sqrtdf2.c: Likewise.
36274         * soft-fp/sqrtsf2.c: Likewise.
36275         * soft-fp/sqrttf2.c: Likewise.
36276         * soft-fp/subdf3.c: Likewise.
36277         * soft-fp/subsf3.c: Likewise.
36278         * soft-fp/subtf3.c: Likewise.
36279         * soft-fp/truncdfsf2.c: Likewise.
36280         * soft-fp/trunctfdf2.c: Likewise.
36281         * soft-fp/trunctfsf2.c: Likewise.
36282         * soft-fp/trunctfxf2.c: Likewise.
36283         * soft-fp/unorddf2.c: Likewise.
36284         * soft-fp/unordsf2.c: Likewise.
36285         * soft-fp/unordtf2.c: Likewise.
36287 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
36289         [BZ #15672]
36290         * misc/error.c (error_tail): Fix possible buffer overflow.
36292 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
36294         [BZ #13028]
36295         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
36296         address.
36298 2013-10-14  P. J. McDermott  <pj@pehjota.net>
36300         [BZ #832]
36301         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
36302         testing pipefail option.
36304 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
36306         * soft-fp/double.h: Indent preprocessor directives inside #if.
36307         * soft-fp/extended.h: Likewise.
36308         * soft-fp/op-2.h: Likewise.
36309         * soft-fp/op-4.h: Likewise.
36310         * soft-fp/op-common.h: Likewise.
36311         * soft-fp/quad.h: Likewise.
36312         * soft-fp/single.h: Likewise.
36313         * soft-fp/soft-fp.h: Likewise.
36315 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
36317         * iconv/iconv_prog.c: Fix typos.
36318         * stdio-common/psiginfo-data.h: Likewise.
36320 2013-10-12   Reuben Thomas <rrt@sc3d.org>
36322         [BZ #15764]
36323         * locale/setlocale.c: Fix typo.
36325 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
36327         [BZ #16036]
36328         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
36329         signaling NaN arguments.
36330         * soft-fp/unordsf2.c (__unordsf2): Likewise.
36331         * soft-fp/unordtf2.c (__unordtf2): Likewise.
36333         [BZ #14910]
36334         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
36335         unordered operands.
36336         * soft-fp/gesf2.c (__gesf2): Likewise.
36337         * soft-fp/getf2.c (__getf2): Likewise.
36338         * soft-fp/ledf2.c (__ledf2): Likewise.
36339         * soft-fp/lesf2.c (__lesf2): Likewise.
36340         * soft-fp/letf2.c (__letf2): Likewise.
36342         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
36343         * soft-fp/eqsf2.c (__eqsf2): Likewise.
36344         * soft-fp/eqtf2.c (__eqtf2): Likewise.
36345         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
36346         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
36347         * soft-fp/fixdfti.c (__fixdfti): Likewise.
36348         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
36349         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
36350         * soft-fp/fixsfti.c (__fixsfti): Likewise.
36351         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
36352         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
36353         * soft-fp/fixtfti.c (__fixtfti): Likewise.
36354         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
36355         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
36356         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
36357         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
36358         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
36359         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
36360         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
36361         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
36362         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
36363         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
36364         * soft-fp/floatdisf.c (__floatdisf): Likewise.
36365         * soft-fp/floatsisf.c (__floatsisf): Likewise.
36366         * soft-fp/floattidf.c (__floattidf): Likewise.
36367         * soft-fp/floattisf.c (__floattisf): Likewise.
36368         * soft-fp/floattitf.c (__floattitf): Likewise.
36369         * soft-fp/floatundidf.c (__floatundidf): Likewise.
36370         * soft-fp/floatundisf.c (__floatundisf): Likewise.
36371         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
36372         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
36373         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
36374         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
36375         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
36376         * soft-fp/gesf2.c (__gesf2): Likewise.
36377         * soft-fp/getf2.c (__getf2): Likewise.
36378         * soft-fp/ledf2.c (__ledf2): Likewise.
36379         * soft-fp/lesf2.c (__lesf2): Likewise.
36380         * soft-fp/letf2.c (__letf2): Likewise.
36382         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
36383         Undefine and redefine.
36384         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
36385         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
36386         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
36387         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
36388         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36389         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
36390         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36391         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
36392         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36393         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
36394         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36395         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
36396         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36397         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
36398         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36400         [BZ #16032]
36401         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
36402         without decrementing exponent if mantissa >= that for the
36403         denominator, not >.
36404         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
36405         denominator, not >.  Decrement exponent in < case instead of
36406         incrementing in >= case.
36407         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
36408         without decrementing exponent if mantissa >= that for the
36409         denominator, not >.
36411         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
36412         computing saturated result for unsigned overflow.
36414 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36415             Jeff Law  <law@redhat.com>
36417         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
36418         (atan2Mp): Add systemtap probe marker.
36419         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
36420         (__ieee754_log): Add systemtap probe marker.
36421         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
36422         (atanMp): Add systemtap probe marker.
36423         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
36424         (tanMp): Add systemtap probe marker.
36425         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
36426         (__slowexp): Add systemtap probe marker.
36427         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
36428         (__slowpow): Add systemtap probe marker.
36429         * manual/probes.texi: Document probes.
36431 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
36433         [BZ #15362]
36434         * libio/fileops.c (_IO_new_file_write): Return count of bytes
36435         written.
36436         (_IO_new_file_xsputn): Don't return EOF if nothing has been
36437         written.
36438         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
36439         written to buffer but not flushed.
36440         * libio/iofwrite_u.c:  Likewise.
36441         * libio/iopadn.c:  Return bytes returned even if EOF was
36442         encountered.
36443         * libio/iowpadn.c:  Likewise.
36444         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
36445         if _IO_padn does not write the whole buffer.
36446         [!COMPILE_WPRINTF] (PAD): Likewise.
36448 2013-10-10  David S. Miller  <davem@davemloft.net>
36450         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
36451         directory block.
36453 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
36455         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
36456         instead of FSF address.
36457         * soft-fp/fixdfti.c: Likewise.
36458         * soft-fp/fixsfti.c: Likewise.
36459         * soft-fp/fixtfti.c: Likewise.
36460         * soft-fp/fixunsdfti.c: Likewise.
36461         * soft-fp/fixunssfti.c: Likewise.
36462         * soft-fp/fixunstfti.c: Likewise.
36463         * soft-fp/floattidf.c: Likewise.
36464         * soft-fp/floattisf.c: Likewise.
36465         * soft-fp/floattitf.c: Likewise.
36466         * soft-fp/floatuntidf.c: Likewise.
36467         * soft-fp/floatuntisf.c: Likewise.
36468         * soft-fp/floatuntitf.c: Likewise.
36469         * soft-fp/trunctfxf2.c: Likewise.
36471         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
36472         * soft-fp/fixdfti.c: Likewise.
36473         * soft-fp/fixsfti.c: Likewise.
36474         * soft-fp/fixtfti.c: Likewise.
36475         * soft-fp/fixunsdfti.c: Likewise.
36476         * soft-fp/fixunssfti.c: Likewise.
36477         * soft-fp/fixunstfti.c: Likewise.
36478         * soft-fp/floattidf.c: Likewise.
36479         * soft-fp/floattisf.c: Likewise.
36480         * soft-fp/floattitf.c: Likewise.
36481         * soft-fp/floatuntidf.c: Likewise.
36482         * soft-fp/floatuntisf.c: Likewise.
36483         * soft-fp/floatuntitf.c: Likewise.
36484         * soft-fp/trunctfxf2.c: Likewise.
36486 2013-10-10  David S. Miller  <davem@davemloft.net>
36488         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36490 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
36492         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
36493         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
36494         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
36495         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
36496         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
36497         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
36498         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
36500         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
36501         for NaNs before doing comparisons on argument.
36502         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
36503         Likewise.
36505 2013-10-10  Will Newton  <will.newton@linaro.org>
36507         * malloc/hooks.c (memalign_check): Ensure the value of bytes
36508         passed to _int_memalign does not overflow.
36510 2013-10-10  Torvald Riegel  <triegel@redhat.com>
36512         * scripts/bench.pl: Add include-sources directive.
36513         * benchtests/README: Update documentation.
36515 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
36517         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
36518         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
36519         instead of FP_INIT_ROUNDMODE.
36520         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
36521         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
36523         [BZ #16034]
36524         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
36525         copy class of input value.
36526         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
36527         not handle exceptions.
36528         * soft-fp/negsf2.c (__negsf2): Likewise.
36529         * soft-fp/negtf2.c (__negtf2): Likewise.
36530         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
36532 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
36534         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
36535         semicolon.  From Linux kernel.
36537 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
36539         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
36541 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
36543         [BZ #156]
36544         * manual/socket.texi: Added statement about buffer
36545         for gethostbyname2_r.
36547 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
36549         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
36550         Use .p2align directive instead, throughout.
36551         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
36552         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
36553         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
36554         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36555         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36556         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
36557         * sysdeps/x86_64/strchr.S: Likewise.
36558         * sysdeps/x86_64/strrchr.S: Likewise.
36560 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
36562         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
36564         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
36566         * sysdeps/generic/math_private.h (__mpsin1): Remove
36567         declaration.
36568         (__mpcos1): Likewise.
36569         (__mpsin): New argument __range_reduce.
36570         (__mpcos): Likewise.
36571         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36572         (slow): Use __mpsin and __mpcos.
36573         (slow1): Likewise.
36574         (slow2): Likewise.
36575         (sloww): Likewise.
36576         (sloww1): Likewise.
36577         (sloww2): Likewise.
36578         (bsloww): Likewise.
36579         (bsloww1): Likewise.
36580         (bsloww2): Likewise.
36581         (cslow2): Likewise.
36582         (csloww): Likewise.
36583         (csloww1): Likewise.
36584         (csloww2): Likewise.
36585         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
36586         range_reduce.  Merge in __mpsin1.
36587         (__mpcos): Likewise.
36588         (__mpsin1): Remove.
36589         (__mpcos1): Likewise.
36591 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
36593         * locale/loadlocale.c (_nl_intern_locale_data): Use
36594         LOCFILE_ALIGNED_P.
36595         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
36596         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
36597         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
36598         obstack data is appropriately aligned.
36599         (obstack_int32_grow_fast): Likewise.
36600         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
36601         * locale/programs/locfile.c (add_locale_uint32): Likewise.
36602         (add_locale_uint32_array): Likewise.
36604 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
36606         * benchtests/Makefile: Remove ARGLIST and RET variables.
36607         ($(objpfx)bench-%.c): Pass only function name to the script.
36608         * benchtests/README: Update documentation.
36609         * benchtests/acos-inputs: Add new directives.
36610         * benchtests/acosh-inputs: Likewise.
36611         * benchtests/asin-inputs: Likewise.
36612         * benchtests/asinh-inputs: Likewise.
36613         * benchtests/atan-inputs: Likewise.
36614         * benchtests/atanh-inputs: Likewise.
36615         * benchtests/cos-inputs: Likewise.
36616         * benchtests/cosh-inputs: Likewise.
36617         * benchtests/exp-inputs: Likewise.
36618         * benchtests/log-inputs: Likewise.
36619         * benchtests/pow-inputs: Likewise.
36620         * benchtests/rint-inputs: Likewise.
36621         * benchtests/sin-inputs: Likewise.
36622         * benchtests/sinh-inputs: Likewise.
36623         * benchtests/tan-inputs: Likewise.
36624         * benchtests/tanh-inputs: Likewise.
36625         * scripts/bench.pl: Add support for new directives.
36627 2013-10-07  Alan Modra  <amodra@gmail.com>
36629         * README: Fix careless merge.
36631 2013-10-05  Alan Modra  <amodra@gmail.com>
36633         * NEWS: Mention powerpc64le support and bugs fixed.
36634         * README: Both big-endian and little-endian powerpc64 supported.
36636 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36638         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
36639         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
36640         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
36641         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
36643 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
36645         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
36646         match prototype.
36648 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
36650         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
36651         Move -mhard-float appending from
36652         ports/sysdeps/powerpc/powerpc32/Makefile.
36653         [$(with-fp) = yes] (ASFLAGS): Likewise.
36654         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
36655         * sysdeps/powerpc/nofpu: Move directory from
36656         ports/sysdeps/powerpc/nofpu.
36657         * sysdeps/powerpc/soft-fp: Move directory from
36658         ports/sysdeps/powerpc/soft-fp.
36659         * sysdeps/powerpc/powerpc32/405: Move directory from
36660         ports/sysdeps/powerpc/powerpc32/405.
36661         * sysdeps/powerpc/powerpc32/440: Move directory from
36662         ports/sysdeps/powerpc/powerpc32/440.
36663         * sysdeps/powerpc/powerpc32/464: Move directory from
36664         ports/sysdeps/powerpc/powerpc32/464.
36665         * sysdeps/powerpc/powerpc32/476: Move directory from
36666         ports/sysdeps/powerpc/powerpc32/476.
36667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
36668         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
36669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
36670         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
36671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
36672         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
36673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
36674         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
36675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
36676         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
36677         * README: Update for powerpc-*-linux-gnu software floating point
36678         support in libc.
36680         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
36681         case to powerpc/powerpc32*.
36682         * sysdeps/unix/sysv/linux/configure: Regenerated.
36684         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
36685         (_FPU_MASK_OM): Define as 0x04.
36686         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
36687         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
36688         0x00c10080.
36689         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
36690         0x0000003c.
36691         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
36693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
36694         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
36695         getcontext_e500.
36696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
36697         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
36698         setcontext_e500.
36699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
36700         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
36701         and setcontext_e500.
36703 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
36705         * locale/iso-3166.def: Update iso-1366.def and related occurrences
36707 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36709         * manual/threads.texi (Default Thread Attributes): Fix typo.
36711 2013-10-04  Will Newton  <will.newton@linaro.org>
36713         * malloc/Makefile: Add tst-memalign.
36714         * malloc/tst-memalign.c: New file.
36716         * malloc/tst-posix_memalign.c: Add comments.
36717         (do_test): Add comments and call free on all potentially
36718         allocated pointers. Add space after cast.
36720         * malloc/tst-pvalloc.c: Add comments.
36721         (do_test): Add comments and call free on all potentially
36722         allocated pointers. Remove duplicate check for NULL pointer.
36723         Add space after cast.
36725         * malloc/tst-valloc.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 2013-10-04  Alan Modra  <amodra@gmail.com>
36732         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
36733         Use stdint types in rather than __attribute__((mode())).
36734         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
36736 2013-10-04  Alan Modra  <amodra@gmail.com>
36738         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
36739         Correct handling of unaligned relocs for little-endian.
36740         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
36742 2013-10-04  Alan Modra  <amodra@gmail.com>
36744         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
36745         * configure: Regenerate.
36746         * nptl/shlib-versions: Powerpc*le starts at 2.18.
36747         * shlib-versions: Likewise.
36749 2013-10-04  Alan Modra  <amodra@gmail.com>
36751         * string/tester.c (test_memrchr): Increment reported test cycle.
36753 2013-10-04  Alan Modra  <amodra@gmail.com>
36755         * string/test-memcpy.c (do_one_test): When reporting errors, print
36756         string address and don't overrun end of string.
36758 2013-10-04  Alan Modra  <amodra@gmail.com>
36760         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
36761         insrdi.  Make better use of reg selection to speed exit slightly.
36762         Schedule entry path a little better.  Remove useless "are we done"
36763         checks on entry to main loop.  Handle wrapping around zero address.
36764         Correct main loop count.  Handle single left-over word from main
36765         loop inline rather than by using loop_small.  Remove extra word
36766         case in loop_small caused by wrong loop count.  Add little-endian
36767         support.
36768         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
36769         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
36770         cache hint.
36771         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
36772         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
36773         support.  Avoid rlwimi.
36774         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
36776 2013-10-04  Alan Modra  <amodra@gmail.com>
36778         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
36779         insrdi.  Formatting.
36780         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
36781         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
36782         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
36783         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
36784         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
36785         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
36787 2013-10-04  Alan Modra  <amodra@gmail.com>
36789         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
36790         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
36791         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
36792         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
36793         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
36794         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
36795         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
36796         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
36797         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
36798         use of regs.  Use power7 mtocrf.  Tidy function tails.
36800 2013-10-04  Alan Modra  <amodra@gmail.com>
36802         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
36803         Formatting.  Consistently use rXXX register defines or rN defines.
36804         Use early exit labels that avoid restoring unused non-volatile regs.
36805         Make cr field use more consistent with rWORDn compares.  Rename
36806         regs used as shift registers for unaligned loop, using rN defines
36807         for short lifetime/multiple use regs.
36808         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
36809         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
36810         addi 1,1,64 to pop stack frame.  Simplify return value code.
36811         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
36813 2013-10-04  Alan Modra  <amodra@gmail.com>
36815         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
36816         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
36817         rather than rlwimi.
36818         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
36819         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
36820         little-endian support.  Correct typos.
36821         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
36822         rather than rlwimi.
36823         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
36824         in loop and entry code to keep "and." results.
36825         (strchr): Add little-endian support.  Comment.  Move cntlzd
36826         earlier in tail.
36827         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
36829 2013-10-04  Alan Modra  <amodra@gmail.com>
36831         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
36832         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
36833         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
36834         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
36836 2013-10-04  Alan Modra  <amodra@gmail.com>
36838         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
36839         (rTMP): Define as r11.
36840         (strcmp): Add little-endian support.  Optimise tail.
36841         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
36842         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
36843         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
36844         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36845         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
36846         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36847         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36849 2013-10-04  Alan Modra  <amodra@gmail.com>
36851         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
36852         little-endian support.  Remove unnecessary "are we done" tests.
36853         Handle "s" wrapping around zero and extremely large "size".
36854         Correct main loop count.  Handle single left-over word from main
36855         loop inline rather than by using small_loop.  Correct comments.
36856         Delete "zero" tail, use "end_max" instead.
36857         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
36859 2013-10-04  Alan Modra  <amodra@gmail.com>
36861         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
36862         support.  Don't branch over align.
36863         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
36864         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
36865         support.  Rearrange tmp reg use to suit.  Comment.
36866         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
36868 2013-10-04  Alan Modra  <amodra@gmail.com>
36870         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
36872 2013-10-04  Alan Modra  <amodra@gmail.com>
36874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
36875         conditional form of branch and link when obtaining pc.
36876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
36878 2013-10-04  Alan Modra  <amodra@gmail.com>
36880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
36881         HIWORD/LOWORD.
36882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
36883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
36885 2013-10-04  Alan Modra  <amodra@gmail.com>
36887         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
36888         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
36889         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
36890         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
36891         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
36892         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
36893         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
36894         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
36895         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
36896         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
36898 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
36899             Alistair Popple <alistair@ozlabs.au.ibm.com>
36900             Alan Modra <amodra@gmail.com>
36902         [BZ #15723]
36903         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
36904         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
36905         _dl_hwcap access for little-endian.
36906         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
36907         destroy vmx regs when saving unaligned.
36908         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
36909         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
36910         destroy vmx regs when saving unaligned.
36912 2013-10-04  Alan Modra  <amodra@gmail.com>
36914         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
36915         Don't use a union to pack hi/low value.
36917 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
36919         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
36920         for little-endian.
36921         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
36922         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
36923         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
36924         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
36925         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
36927 2013-10-04  Alan Modra  <amodra@gmail.com>
36929         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
36930         constants to usual value for .cst8 section, and remove redundant
36931         high address load.
36932         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
36933         constant for 0x1p52.  Load little-endian words of double from
36934         correct stack offsets.
36936 2013-10-04  Alan Modra  <amodra@gmail.com>
36938         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
36939         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
36940         words of double from correct stack offsets.
36941         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
36942         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
36943         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
36944         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
36945         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
36946         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
36947         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
36948         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
36949         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
36950         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
36951         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
36952         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
36953         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36954         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36955         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36956         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
36957         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
36959 2013-10-04  Alan Modra  <amodra@gmail.com>
36961         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
36962         64-bit int/double union.
36963         (_FPU_SETCW): Likewise.
36964         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
36965         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
36967 2013-10-04  Alan Modra  <amodra@gmail.com>
36969         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
36970         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
36972 2013-10-04  Alan Modra  <amodra@gmail.com>
36974         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
36975         use vector int constants.
36976         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
36978 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
36980         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
36981         array with long long.
36982         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
36983         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
36984         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
36985         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
36986         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
36987         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
36988         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
36989         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
36990         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
36991         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
36992         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
36993         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
36994         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
36996 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
36998         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
36999         (__signbit): Likewise.  Correct for little-endian.
37000         (__signbitl): Call __signbit.
37001         (lrint): Correct for little-endian.
37002         (lrintf): Call lrint.
37004 2013-10-04  Alan Modra  <amodra@gmail.com>
37006         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
37007         union 32-bit int array member with 64-bit int array.
37008         (t515, tm256): Double rather than long double.
37009         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
37011 2013-10-04  Alan Modra  <amodra@gmail.com>
37013         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
37014         Delete.
37015         (IEEE854_LONG_DOUBLE_BIAS): Delete.
37016         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
37017         version of math_ldbl.h.
37019 2013-10-04  Alan Modra  <amodra@gmail.com>
37021         [BZ #15734], [BZ #15735]
37022         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
37023         all uses of ieee875 long double macros and unions.  Simplify test
37024         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
37025         ldbl_extract_mantissa value for ix,iy exponents.  Properly
37026         normalize after ldbl_extract_mantissa, and don't add hidden bit
37027         already handled.  Don't treat low word of ieee854 mantissa like
37028         low word of IBM long double and mask off bit when testing for
37029         zero.
37030         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
37031         all uses of ieee875 long double macros and unions.  Simplify tests
37032         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
37033         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
37034         two1022, instead use their values.  Recognise that tests for large
37035         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
37036         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
37037         Rewrite all uses of ieee875 long double macros and unions.  Simplify
37038         test for 0.0L and nan.  Correct negation.
37039         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
37040         ieee875 long double macros and unions.  Correct output for large
37041         magnitude x.  Correct absolute value calculation.
37042         (__erfcl): Likewise.
37043         * math/libm-test.inc: Add tests for errors discovered in IBM long
37044         double versions of fmodl, remainderl, erfl and erfcl.
37046 2013-10-04  Alan Modra  <amodra@gmail.com>
37048         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
37049         all uses of ieee854 long double macros and unions.  Simplify tests
37050         for long doubles that are fully specified by the high double.
37051         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
37052         Likewise.
37053         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
37054         Remove dead code too.
37055         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
37056         (__ieee754_ynl): Likewise.
37057         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
37058         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
37059         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
37060         Remove dead code too.
37061         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
37062         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
37063         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
37064         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
37065         Simplify.
37066         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
37067         Simplify.
37068         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
37069         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
37070         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
37071         Comment on variable precision.
37072         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
37073         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37074         Likewise.
37075         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
37076         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37077         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37078         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
37079         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
37081 2013-10-04  Alan Modra  <amodra@gmail.com>
37083         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
37084         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
37085         all uses of ieee854 long double macros and unions.
37086         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
37087         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37088         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
37089         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
37090         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
37091         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
37092         Likewise.
37093         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
37094         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37095         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
37096         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37097         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
37098         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
37099         Simplify sign and nan test too.
37100         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
37101         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
37102         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
37103         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
37104         Likewise.
37105         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
37106         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
37107         Likewise.
37108         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37109         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
37110         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
37111         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
37112         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
37113         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
37115 2013-10-04  Alan Modra  <amodra@gmail.com>
37117         * stdio-common/printf_size.c (__printf_size): Don't use
37118         union ieee854_long_double in fpnum union.
37119         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
37120         signbit macro to retrieve sign from long double.
37121         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
37122         retrieve sign from long double.
37123         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
37124         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
37125         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
37126         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37127         * math/test-misc.c (main): Don't use union ieee854_long_double.
37129 2013-10-04  Alan Modra  <amodra@gmail.com>
37131         [BZ #15680]
37132         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
37133         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
37134         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
37135         calculation.  Remove unnecessary test for denormal exponent.
37136         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
37137         Correct handling of denormals.  Avoid undefined shift behaviour.
37138         Correct normalisation of low mantissa when low double is denormal.
37139         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
37140         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
37141         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
37142         Correct normalisation of low mantissa.  Test for overflow of high
37143         mantissa and normalise.
37144         (ldbl_nearbyint): Use more readable constant for two52.
37145         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
37146         (__mpn_construct_long_double): Fix test for overflow of high
37147         mantissa and correct normalisation.  Avoid undefined shift.
37149 2013-10-04  Alan Modra  <amodra@gmail.com>
37151         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
37152         (union ibm_extended_long_double): Define as an array of ieee754_double.
37153         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
37154         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
37155         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
37156         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37157         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37158         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
37159         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
37160         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
37161         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37162         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
37163         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37165 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
37167         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
37168         page size instead of calling getpagesize.
37170         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
37171         (LOCFILE_ALIGN_MASK): Likewise.
37172         (LOCFILE_ALIGN_UP): Likewise.
37173         (LOCFILE_ALIGNED_P): Likewise.
37174         * locale/programs/ld-collate.c (collate_output): Use the new
37175         macros instead of __alignof__ (int32_t).
37176         * locale/weight.h (findidx): Likewise.
37178 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
37180         [BZ #431]
37181         * manual/string.texi: Fix strncat and wcsncat.
37183 2013-10-03  Brooks Moses  <bmoses@google.com>
37185         [BZ #15915]
37186         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
37187         * Makerules: ...here, and adjust associated comments.
37189 2013-10-02  Will Newton  <will.newton@linaro.org>
37191         * malloc/Makefile: Add tst-pvalloc.
37192         * malloc/tst-pvalloc.c: New file.
37194 2013-10-02  Will Newton  <will.newton@linaro.org>
37196         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
37197         improve test coverage.
37199 2013-10-02  Will Newton  <will.newton@linaro.org>
37201         * malloc/Makefile: Add tst-posix_memalign.
37202         * malloc/tst-posix_memalign.c: New file.
37204 2013-10-01  Eric Blake  <eblake@redhat.com>
37206         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
37207         Use __THROWNL rather than __THROW on static functions.
37209 2013-09-30  Petr Machata  <pmachata@redhat.com>
37211         * elf/elf.h (R_AARCH64_ABS16): New macro.
37212         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
37213         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
37214         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
37215         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
37216         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
37217         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
37218         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
37219         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
37220         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
37221         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
37222         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
37223         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
37224         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
37225         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
37226         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
37227         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
37228         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
37229         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
37230         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
37231         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
37232         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
37233         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
37234         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
37235         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
37236         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
37237         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
37238         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
37239         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
37240         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
37241         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
37242         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
37243         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
37244         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
37245         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
37246         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
37247         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
37248         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
37249         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
37250         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
37251         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
37252         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
37253         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
37254         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
37255         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
37256         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
37257         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
37258         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
37259         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
37260         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
37261         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
37262         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
37263         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
37264         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
37265         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
37266         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
37267         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
37268         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
37269         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
37270         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
37271         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
37272         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
37273         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
37274         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
37275         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
37276         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
37277         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
37278         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
37279         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
37280         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
37281         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
37282         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
37283         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
37284         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
37285         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
37286         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
37287         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
37288         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
37289         (R_AARCH64_TLSDESC_LDR): Likewise.
37290         (R_AARCH64_TLSDESC_ADD): Likewise.
37291         (R_AARCH64_TLSDESC_CALL): Likewise.
37293 2013-09-30  Andreas Schwab  <schwab@suse.de>
37295         [BZ #15048]
37296         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
37297         the nss database lookup.
37298         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37299         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37301 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
37303         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
37305 2013-09-28  P. J. McDermott  <pj@pehjota.net>
37307         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
37308         ${Bash-specific parameter/pattern/string} parameter expansion.
37309         * sysdeps/unix/make-syscalls.sh: Likewise.
37311 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37313         * sysdeps/sh/stackguard-macros.h: New file.
37315 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
37317         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
37318         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
37319         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
37320         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
37321         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37322         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
37324 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37326         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
37327         Fix thread ID register.
37329 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
37331         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
37332         [POSIX || UNIX98]: Require rather than permitting all symbols from
37333         <time.h>.
37334         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
37335         element of struct sched_param.
37336         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
37337         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
37338         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
37339         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
37340         constant.
37342 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
37344         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
37345         argument calculation.
37347 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
37349         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
37350         Expect macro.
37351         [POSIX] (pthread_attr_t): Do not require type.
37352         [POSIX] (pthread_cond_t): Likewise.
37353         [POSIX] (pthread_condattr_t): Likewise.
37354         [POSIX] (pthread_key_t): Likewise.
37355         [POSIX] (pthread_mutex_t): Likewise.
37356         [POSIX] (pthread_mutexattr_t): Likewise.
37357         [POSIX] (pthread_once_t): Likewise.
37358         [POSIX] (pthread_t): Likewise.
37359         [POSIX-based standards] (pthread_atfork): Expect function.
37361 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
37362             Richard Sandiford  <richard@codesourcery.com>
37364         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
37365         (swap_endianness_p): New extern variable.
37366         (set_big_endian): New inline function.
37367         (maybe_swap_uint32): Likewise.
37368         (maybe_swap_uint32_array): Likewise.
37369         (maybe_swap_uint32_obstack): Likewise.
37370         * locale/programs/locfile.c: Include <stdbool.h>.
37371         (swap_endianness_p): New variable.
37372         (add_locale_uint32): Call maybe_swap_uint32.
37373         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
37374         (write_locale_data): Call maybe_swap_uint32_array.
37375         * locale/programs/ld-collate.c (obstack_int32_grow): Call
37376         maybe_swap_uint32.
37377         (obstack_int32_grow_fast): Likewise.
37378         (output_weightwc): Call maybe_swap_uint32_obstack.
37379         (collate_output): Likewise.
37380         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
37381         (OPT_LITTLE_ENDIAN): Likewise.
37382         (options): Add --little-endian and --big-endian options.
37383         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
37384         * locale/programs/locarchive.c: Include "locfile.h".
37385         (GET): New macro.
37386         (SET): Likewise.
37387         (INC): Likewise.
37388         (create_archive): Use the new macros to access fields of
37389         structures directly mapped from or written to locale archives.
37390         (oldlocrecentcmp): Likewise.
37391         (enlarge_archive): Likewise.
37392         (insert_name): Likewise.
37393         (add_alias): Likewise.
37394         (add_locale): Likewise.
37395         (delete_locales_from_archive): Likewise.
37396         (show_archive_content): Likewise.
37397         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
37398         locale data.
37400 2013-09-24  Roland McGrath  <roland@hack.frob.com>
37402         * manual/freemanuals.texi: Updated from (newly) canonical copy at
37403         http://www.gnu.org/doc/freemanuals.texi.
37404         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
37406 2013-09-24  Will Newton  <will.newton@linaro.org>
37408         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
37409         macro.
37411 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
37413         * locale/hashval.h (compute_hashval): Interpret bytes of key as
37414         unsigned char.
37416 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
37418         * manual/threads.texi (POSIX Threads): Fix a typo.
37420 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
37422         [BZ #14547]
37423         * string/tst-strcoll-overflow.c: New test case.
37424         * string/Makefile (xtests): Add tst-strcoll-overflow.
37425         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
37426         cache if string sizes may cause integer overflow.
37428         [BZ #14547]
37429         * string/strcoll_l.c (coll_seq): New members rule, idx,
37430         save_idx and back_us.
37431         (get_next_seq_nocache): New function.
37432         (do_compare_nocache): New function.
37433         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
37434         when malloc fails.
37436 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
37438         [BZ #15754]
37439         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
37440         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
37441         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
37443         [BZ #15754]
37444         * elf/Makefile (tests): Add tst-ptrguard1.
37445         (tests-static): Add tst-ptrguard1-static.
37446         (tst-ptrguard1-ARGS): Define.
37447         (tst-ptrguard1-static-ARGS): Define.
37448         * elf/tst-ptrguard1.c: New file.
37449         * elf/tst-ptrguard1-static.c: New file.
37450         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
37451         * sysdeps/i386/stackguard-macros.h: Likewise.
37452         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
37453         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
37454         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
37455         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
37456         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
37457         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
37459 2013-09-23  Hector Marco  <hecmargi@upv.es>
37460             Ismael Ripoll  <iripoll@disca.upv.es>
37461             Carlos O'Donell  <carlos@redhat.com>
37463         [BZ #15754]
37464         * sysdeps/generic/stackguard-macros.h: Define
37465         __pointer_chk_guard_local and POINTER_CHK_GUARD.
37466         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
37467         Define __pointer_chk_guard_local.
37468         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
37469         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
37471 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
37473         [BZ #15859]
37474         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
37476 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
37478         * include/string.h (__ffs): Declare as hidden.
37479         * string/ffs.c (__ffs): Define as hidden.
37480         * sysdeps/i386/ffs.c (__ffs): Likewise.
37481         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
37482         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
37483         * sysdeps/s390/ffs.c (__ffs): Likewise.
37484         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
37486 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
37488         * NEWS: Mention malloc probes.
37490         * malloc/arena.c (new_heap): New memory_heap_new probe.
37491         (grow_heap): New memory_heap_more probe.
37492         (shrink_heap): New memory_heap_less probe.
37493         (heap_trim): New memory_heap_free probe.
37494         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
37495         (systrim): New memory_sbrk_less probe.
37496         * manual/probes.texi: Document them.
37498         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
37499         * manual/probes.texi: Document it.
37501         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
37502         (__libc_realloc): Add memory_realloc_retry probe.
37503         (__libc_memalign): Add memory_memalign_retry probe.
37504         (__libc_valloc): Add memory_valloc_retry probe.
37505         (__libc_pvalloc): Add memory_pvalloc_retry probe.
37506         (__libc_calloc): Add memory_calloc_retry probe.
37507         * manual/probes.texi: Document them.
37509         * malloc/arena.c (get_free_list): Add probe
37510         memory_arena_reuse_free_list.
37511         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
37512         and memory_arena_reuse.
37513         (arena_get2) [!PER_THREAD]: Likewise.
37514         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
37515         memory_arena_reuse_realloc.
37516         * manual/probes.texi: Document them.
37518         * malloc/malloc.c (__libc_free): Add
37519         memory_mallopt_free_dyn_thresholds probe.
37520         (__libc_mallopt): Add multiple memory_mallopt probes.
37521         * manual/probes.texi: Document them.
37523         * malloc/malloc.c: Include stap-probe.h.
37524         (__libc_mallopt): Add memory_mallopt probe.
37525         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
37526         * manual/probes.texi: New.
37527         * manual/Makefile (chapters): Add probes.
37528         * manual/threads.texi: Set next node.
37530 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
37532         [BZ #15963, #13985]
37533         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
37534         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
37535         Add `Chinese' to `nan' entry name.
37537 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37539         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
37540         (POLYNOMIAL): Likewise.
37541         (TAYLOR_SINCOS): Likewise.
37542         (TAYLOR_SLOW): Likewise.
37543         (__sin): Use TAYLOR_SINCOS.
37544         (__cos): Likewise.
37545         (slow): Use TAYLOR_SLOW.
37546         (sloww): Likewise.
37547         (bsloww): Likewise.
37548         (csloww): Likewise.
37550 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37552         * stdlib/strtod_l.c: Fix buffer overrun.
37554 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37556         * benchtests/Makefile (bench): Add sincos.
37557         * benchtests/bench-sincos.c: New file.
37559         * math/libm-test.inc (cos_test_data): New test inputs.
37560         (sin_test_data): Likewise.
37562         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
37563         macro.
37564         (__sin): Use it.
37565         (__cos): Likewise.
37566         (slow1): Likewise.
37567         (slow2): Likewise.
37568         (sloww1): Likewise.
37569         (sloww2): Likewise.
37570         (bsloww1): Likewise.
37571         (bsloww2): Likewise.
37572         (cslow2): Likewise.
37573         (csloww1): Likewise.
37574         (csloww2): Likewise.
37576         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
37577         function.
37578         (__sin): Use it.
37579         (__cos): Likewise.
37581         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
37582         gotos.
37583         (__cos): Likewise.
37585 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
37587         * config.h.in (HAVE_MIPS_NAN2008): New macro.
37588         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
37589         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
37590         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
37591         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
37592         * elf/cache.c (print_entry): Handle the new cache flags.
37594 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
37595             Aldy Hernandez  <aldyh@redhat.com>
37597         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
37598         Change condition to [_SOFT_FLOAT].
37599         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
37600         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
37601         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
37602         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
37603         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
37604         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
37605         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
37606         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
37607         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
37608         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
37609         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
37610         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
37611         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
37612         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
37613         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
37614         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
37615         declaration.
37617 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
37619         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
37620         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
37621         (__longjmp): Use LOAD_GP to load saved GPRs.
37622         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
37623         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
37624         (__sigsetjmp): Use SAVE_GP to save GPRs.
37626         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
37627         Do not append -msoft-float.
37628         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
37630 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37632         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
37634 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
37636         [BZ #15966]
37637         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
37638         (_FPU_GETCW): Use initial "__" on variable and field names but not
37639         on macro parameter name.
37640         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
37641         parentheses around reference to macro parameter.
37643 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
37645         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
37646         prototype.
37647         (ctype_startup): Use uint32_t in cast and sizeof for
37648         ctype->charnames.
37650 2013-09-11  Jia Liu  <proljc@gmail.com>
37652         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
37653         __daddr_t_defined.
37654         [__FreeBSD__]: Likewise.
37656 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
37658         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
37659         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
37660         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
37661         (strchr): Remove __strchr_sse42 ifunc selection.
37662         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
37663         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
37665 2013-09-11  Will Newton  <will.newton@linaro.org>
37667         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
37668         parameter to RES. Remove hardcoded 1000 value.
37669         * benchtests/bench-skeleton.c (main): Pass RES parameter
37670         to TIMING_INIT and multiply result by 1000.
37672 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37674         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37676 2013-09-11  Andreas Schwab  <schwab@suse.de>
37678         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
37679         if not defined.
37680         (O_TMPFILE) [__USE_GNU]: Define.
37681         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
37682         Define.
37684 2013-09-11  Will Newton  <will.newton@linaro.org>
37686         [BZ #15857]
37687         * malloc/malloc.c (__libc_memalign): Check the value of bytes
37688         does not overflow.
37690 2013-09-11  Will Newton  <will.newton@linaro.org>
37692         [BZ #15856]
37693         * malloc/malloc.c (__libc_valloc): Check the value of bytes
37694         does not overflow.
37696 2013-09-11  Will Newton  <will.newton@linaro.org>
37698         [BZ #15855]
37699         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
37700         does not overflow.
37702 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
37704         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
37705         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37706         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37707         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37708         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37710 2013-09-10  Allan McRae  <allan@archlinux.org>
37712         [BZ #15748]
37713         * manual/arith.texi (Parsing of Floats): Clarify
37714         cross-reference.
37716         [BZ #15849]
37717         * manual/install.texi (Running make install): Mention
37718         --enable-pt-chown.
37719         * INSTALL: Regenerated.
37721 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
37723         * csu/init-first.c (_init): Remove the !SHARED condition around
37724         FPU control word initialization.
37725         * elf/dl-support.c (_dl_fpu_control): New variable.
37726         (_dl_aux_init) <AT_FPUCW>: Initialize it.
37727         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
37728         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
37729         * math/test-fpucw-static.c: New file.
37730         * math/test-fpucw-ieee.c: New file.
37731         * math/test-fpucw-ieee-static.c: New file.
37732         * math/Makefile (tests): Add `test-fpucw-ieee' and
37733         `$(tests-static)'.
37734         (tests-static): New variable.
37735         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
37736         dependency to...
37737         [($(build-shared),yes)]
37738         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
37739         ... this.
37740         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
37741         New dependency.
37743 2013-09-09  Allan McRae  <allan@archlinux.org>
37745         [BZ #15939]
37746         * manual/string.texi (Collation Functions): Fix typo in
37747         strcoll example.
37748         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
37750         [BZ #15893]
37751         * stdlib/isomac.c (get_null_defines): Fix memory leak.
37753         [BZ #15892]
37754         * libio/memstream.c (open_memstream): Fix memory leak.
37755         * libio/wmemstream.c (open_wmemstream): Likewise.
37757         [BZ #15895]
37758         * nscd/netgroupcache.c: Fix nesting of ifdefs.
37760 2013-09-09  Will Newton  <will.newton@linaro.org>
37762         * malloc/Makefile: Add tst-realloc to tests.
37763         * malloc/tst-realloc.c: New file.
37765 2013-09-09  Allan McRae  <allan@archlinux.org>
37767         [BZ #15844]
37768         * COPYING: Update from GNU website to fix FSF address.
37769         * COPYING.LIB: Likewise.
37771 2013-09-06  David S. Miller  <davem@davemloft.net>
37773         * po/zh_TW.po: Update Chinese (traditional) translation from
37774         translation project.
37776 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
37777             Joseph Myers  <joseph@codesourcery.com>
37779         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
37780         "localeinfo.h".
37781         (obstack_chunk_alloc): New macro.
37782         (obstack_chunk_free): Likewise.
37783         (record_offset): New function.
37784         (init_locale_data): Likewise.
37785         (align_locale_data): Likewise.
37786         (add_locale_empty): Likewise.
37787         (add_locale_raw_data): Likewise.
37788         (add_locale_raw_obstack): Likewise.
37789         (add_locale_string): Likewise.
37790         (add_locale_wstring): Likewise.
37791         (add_locale_uint32): Likewise.
37792         (add_locale_uint32_array): Likewise.
37793         (add_locale_char): Likewise.
37794         (start_locale_structure): Likewise.
37795         (end_locale_structure): Likewise.
37796         (start_locale_prelude): Likewise.
37797         (end_locale_prelude): Likewise.
37798         (write_locale_data): Take locale_file structure rather than an
37799         iovec.
37800         * locale/programs/locfile.h: Include "obstack.h".
37801         (struct locale_file): Change to store locale file contents instead
37802         of header.
37803         (init_locale_data): New prototype.
37804         (align_locale_data): Likewise.
37805         (add_locale_empty): Likewise.
37806         (add_locale_raw_data): Likewise.
37807         (add_locale_raw_obstack): Likewise.
37808         (add_locale_string): Likewise.
37809         (add_locale_wstring): Likewise.
37810         (add_locale_uint32): Likewise.
37811         (add_locale_uint32_array): Likewise.
37812         (add_locale_char): Likewise.
37813         (start_locale_structure): Likewise.
37814         (end_locale_structure): Likewise.
37815         (start_locale_prelude): Likewise.
37816         (end_locale_prelude): Likewise.
37817         (write_locale_data): Update prototype.
37818         * locale/programs/3level.h (struct TABLE): Remove result field.
37819         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
37820         Use new locale_file interface.
37821         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
37822         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
37823         * locale/programs/ld-address.c (address_output): Use new
37824         locale_file interface.
37825         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
37826         NO_ADD_LOCALE.
37827         (collate_finish): Don't call collseq_table_finalize.
37828         (collate_output): Use new locale_file interface.
37829         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
37830         in file.
37831         (NO_FINALIZE): Change to NO_ADD_LOCALE.
37832         (TABLE): Move defines earlier in file.
37833         (ELEMENT): Likewise.
37834         (DEFAULT): Likewise.
37835         (wctrans_table_add): Move macro and inline function earlier in
37836         file.
37837         (struct wctype_table): Move type earlier in file.
37838         (add_locale_wctype_table): New static prototype.
37839         (struct locale_ctype_t): Use logical types instead of struct iovec
37840         pointers for members.
37841         (ctype_output): Use new locale_file interface.
37842         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
37843         new locale_file interface.
37844         (allocate_arrays): Update for use of new locale_file interface.
37845         * locale/programs/ld-identification.c (identification_output): Use
37846         new locale_file interface.
37847         * locale/programs/ld-measurement.c (measurement_output): Likewise.
37848         * locale/programs/ld-messages.c (messages_output): Likewise.
37849         * locale/programs/ld-monetary.c (monetary_output): Likewise.
37850         * locale/programs/ld-name.c (name_output): Likewise.
37851         * locale/programs/ld-numeric.c (numeric_output): Likewise.
37852         * locale/programs/ld-paper.c (paper_output): Likewise.
37853         * locale/programs/ld-telephone.c (telephone_output): Likewise.
37854         * locale/programs/ld-time.c (time_output): Likewise.
37856 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37858         * benchtests/Makefile: Add memrchr benchmark.
37859         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
37860         benchmark as memrchr.
37861         * benchtests/bench-memrchr-ifunc.c: New file.
37862         * benchtests/bench-memrchr.c: New file.
37864 2013-09-06   Will Newton  <will.newton@linaro.org>
37866         * benchtests/Makefile (string-bench): Add memcpy.
37868 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
37869             Cong Wang  <amwang@redhat.com>
37871         [BZ #15850]
37872         * sysdeps/unix/sysv/linux/bits/in.h
37873         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
37874         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
37875         before __USE_KERNEL_IPV6_DEFS uses.
37876         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
37877         IPPROTO_BEETPH.
37878         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
37879         sockaddr_in6, or ipv6_mreq.
37881 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37883         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
37884         memory access for final bytes in some large inputs.
37885         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
37887 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37889         * string/test-memrchr.c: New file.
37890         * string/test-memrchr-ifunc.c: New file.
37891         * string/Makefile: Add new memrchr testcase.
37893 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
37895         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
37896         fanotify_init returns EPERM.
37898 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
37900         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
37901         errors.
37902         (top level): Treat second token from macro or constant entries for
37903         allowed headers as allowed.
37904         * include/complex.h: Condition internal declarations on
37905         [!_ISOMAC].
37906         * include/fenv.h: Condition include of <stdbool.h> and internal
37907         declarations on [!_ISOMAC].
37909 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
37911         [BZ #15923]
37912         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
37914 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
37916         * configure.in (--enable-versioning): Remove configure option.
37917         (libc_cv_asm_symver_directive): Remove configure test.
37918         (libc_cv_ld_version_script_option): Likewise.
37919         (VERSIONING): Remove variable and AC_SUBST.
37920         (DO_VERSIONING): Remove AC_DEFINE.
37921         * configure: Regenerated.
37922         * config.h.in (DO_VERSIONING): Remove macro.
37923         * Makerules [$(versioning) = yes]: Change conditionals to
37924         [$(build-shared) = yes].
37925         * config.make.in (versioning): Remove variable.
37926         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
37927         [$(build-shared) = yes].
37928         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
37929         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
37930         * elf/Makefile [$(versioning) = yes]: Change conditionals to
37931         [$(build-shared) = yes].
37932         * extra-lib.mk [$(versioning) = yes]: Likewise.
37933         * hurd/Makefile [$(versioning) = yes]: Likewise.
37934         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
37935         [SHARED].
37936         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
37937         [SHARED].
37938         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
37939         [SHARED && !NO_HIDDEN].
37940         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
37941         [SHARED].
37942         [SHARED && DO_VERSIONING]: Likewise..
37943         * libio/Makefile [$(versioning) = yes]: Change conditionals to
37944         [$(build-shared) = yes].
37945         * manual/install.texi (--disable-versioning): Remove
37946         documentation.
37947         * INSTALL: Regenerated.
37948         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
37949         to [SHARED].
37950         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
37951         [$(build-shared) = yes].
37952         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
37953         * sysdeps/i386/i686/multiarch/strstr-c.c
37954         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
37955         [SHARED && !NO_HIDDEN].
37956         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
37957         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
37958         * sysdeps/powerpc/powerpc32/dl-machine.c
37959         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
37960         * sysdeps/powerpc/powerpc32/sysdep.h
37961         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
37962         to [SHARED && PIC && !NO_HIDDEN].
37963         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
37964         conditional to [SHARED].
37966 2013-09-04   Will Newton  <will.newton@linaro.org>
37968         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
37969         * benchtests/bench-string.h: Include bench-timing.h instead
37970         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
37971         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
37972         call to HP_TIMING_DIFF_INIT.
37973         * benchtests/bench-memccpy.c: Use bench-timing.h macros
37974         instead of hp-timing.h macros.
37975         * benchtests/bench-memchr.c: Likewise.
37976         * benchtests/bench-memcmp.c: Likewise.
37977         * benchtests/bench-memcpy.c: Likewise.
37978         * benchtests/bench-memmem.c: Likewise.
37979         * benchtests/bench-memmove.c: Likewise.
37980         * benchtests/bench-memset.c: Likewise.
37981         * benchtests/bench-rawmemchr.c: Likewise.
37982         * benchtests/bench-strcasecmp.c: Likewise.
37983         * benchtests/bench-strcasestr.c: Likewise.
37984         * benchtests/bench-strcat.c: Likewise.
37985         * benchtests/bench-strchr.c: Likewise.
37986         * benchtests/bench-strcmp.c: Likewise.
37987         * benchtests/bench-strcpy.c: Likewise.
37988         * benchtests/bench-strcpy_chk.c: Likewise.
37989         * benchtests/bench-strlen.c: Likewise.
37990         * benchtests/bench-strncasecmp.c: Likewise.
37991         * benchtests/bench-strncat.c: Likewise.
37992         * benchtests/bench-strncmp.c: Likewise.
37993         * benchtests/bench-strncpy.c: Likewise.
37994         * benchtests/bench-strnlen.c: Likewise.
37995         * benchtests/bench-strpbrk.c: Likewise.
37996         * benchtests/bench-strrchr.c: Likewise.
37997         * benchtests/bench-strspn.c: Likewise.
37998         * benchtests/bench-strstr.c: Likewise.
38000 2013-09-04  Will Newton  <will.newton@linaro.org>
38002         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
38004 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
38006         [BZ #15427]
38007         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
38008         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
38009         * math/libm-test.inc (lgamma_test_data): Add more tests.
38010         * sysdeps/i386/fpu/libm-test-ulps: Update.
38011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38013 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
38015         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
38016         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38017         Add ifunc.
38018         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
38019         Add strcmp-sse2-unaligned
38020         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
38022 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
38024         * Versions.def (libc): Add GLIBC_2.19.
38026 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
38028         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
38029         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
38031 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
38033         [BZ #14155]
38034         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
38035         intermediate calculations in recurrence.
38036         (__ieee754_ynf): Likewise.
38037         * math/libm-test.inc (jn_test_data): Do not allow spurious
38038         underflow exception.  Add more tests.
38039         (yn_test_data): Add more tests.
38040         * sysdeps/i386/fpu/libm-test-ulps: Update.
38041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38043 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
38045         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
38047 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
38049         * csu/init-first.c: Fix then/than typos.
38050         * locale/programs/ld-collate.c: Likewise.
38051         * locale/programs/linereader.h: Likewise.
38052         * manual/charset.texi: Likewise.
38053         * manual/filesys.texi: Likewise.
38054         * manual/stdio.texi: Likewise.
38055         * manual/string.texi: Likewise.
38056         * stdlib/fmtmsg.c: Likewise.
38057         * sysdeps/i386/stpncpy.S: Likewise.
38058         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38059         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
38060         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38061         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
38063 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
38065         * elf/dl-open.c: Fix typos.
38066         * iconvdata/gbbig5.c: Likewise.
38067         * iconvdata/iso-2022-jp.c: Likewise.
38068         * iconv/gconv_int.h: Likewise.
38069         * iconv/loop.c: Likewise.
38070         * nis/rpcsvc/nis.h: Likewise.
38071         * resolv/ns_name.c: Likewise.
38072         * stdio-common/vfscanf.c: Likewise.
38073         * streams/stropts.h: Likewise.
38074         * sunrpc/rpc_thread.c: Likewise.
38075         * sysdeps/i386/strpbrk.S: Likewise.
38076         * sysdeps/ieee754/k_standard.c: Likewise.
38077         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38078         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38079         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
38080         * sysdeps/mach/hurd/profil.c: Likewise.
38081         * sysdeps/s390/dl-procinfo.h: Likewise.
38082         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
38083         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
38084         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
38085         * sysdeps/x86_64/dl-trampoline.S: Likewise.
38086         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
38088 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
38090         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
38091         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
38093 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
38095         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
38096         aix specific files.
38097         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
38098         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
38099         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
38100         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
38101         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
38102         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
38103         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
38104         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
38106 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
38107             Roland McGrath  <roland@hack.frob.com>
38109         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
38110         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
38112 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38114         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
38115         __executable_start symbol instead of _start.
38117 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
38119         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
38120         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
38121         Move macros to...
38122         * sysdeps/gnu/ldsodefs.h: ... this new file.
38124         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
38125         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
38126         instead of ELFOSABI_LINUX.
38128         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
38129         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
38130         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
38131         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
38132         Likewise.
38133         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
38134         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
38135         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
38136         Likewise.
38137         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
38138         (ibm_extended_long_double): Add ieee_nan member.
38139         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
38140         (do_test): New function.
38142         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
38143         TEST_TRUNC.
38144         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
38145         functions, renamed from truncdfsf_test, trunctfsf_test,
38146         trunctfdf_test.
38147         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
38148         functions.
38149         (do_test): Run all these.
38151 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
38153         * argp/argp-help.c: Fix typos.
38154         * argp/argp-parse.c: Likewise.
38155         * debug/backtracesyms.c: Likewise.
38156         * elf/elf.h: Likewise.
38157         * malloc/malloc.c: Likewise.
38158         * nis/nis_print.c: Likewise.
38159         * resolv/res_comp.c: Likewise.
38160         * stdlib/stdlib.h: Likewise.
38161         * sunrpc/clnt_tcp.c: Likewise.
38162         * sunrpc/clnt_udp.c: Likewise.
38163         * sunrpc/clnt_unix.c: Likewise.
38164         * sysdeps/unix/bsd/ptsname.c: Likewise.
38165         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
38166         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
38167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
38168         Likewise.
38169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
38170         Likewise.
38171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
38172         Likewise.
38173         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38175 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38177         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
38178         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38180 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
38182         [BZ #15897]
38183         * dlfcn/Makefile (tests): Add bug-dl-leaf.
38184         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
38185         ($(objpfx)bug-dl-leaf): New rule.
38186         ($(objpfx)bug-dl-leaf.so): Likewise.
38187         ($(objpfx)bug-dl-leaf.out): Likewise.
38188         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
38189         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
38190         * dlfcn/bug-dl-leaf.c: New test.
38191         * dlfcn/bug-dl-leaf-lib.c: Likewise.
38192         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
38193         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
38194         (dlclose): Likewise.
38195         (dlmopen): Likewise.
38197 2013-08-27  Roland McGrath  <roland@hack.frob.com>
38199         * include/netdb.h [!_ISOMAC]:
38200         Don't include <tls.h>.
38201         (h_errno, __libc_h_errno): Move declaration and macros out of
38202         [_LIBC_REENTRANT].
38204         * include/resolv.h [_RESOLV_H_]:
38205         Don't include <tls.h>.
38206         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
38207         * resolv/res_libc.c: Don't include <tls.h>.
38208         (_res): Use __attribute__ ((nocommon)) in place of
38209         __attribute__ ((section (".bss"))).
38211         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
38212         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
38214         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
38216         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
38217         only under [SIOCGIFCONF && SIOCGIFNETMASK].
38219         * resolv/res_mkquery.c: Include <sys/time.h>.
38221         * inet/ifreq.c: Moved to ...
38222         * sysdeps/unix/ifreq.c: ... here.
38223         * inet/ifreq.c: New file, true stub version.
38225         * socket/sa_len.c: New file.
38226         * socket/Makefile (aux): Add it.
38227         * sysdeps/unix/sysv/linux/Makefile
38228         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
38229         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
38230         and #include <socket/sa_len.c>.
38231         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
38232         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
38234         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
38235         * bits/socket.h: ... here.
38237         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
38238         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
38239         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
38241 2013-08-27  Andreas Schwab  <schwab@suse.de>
38243         [BZ #15736]
38244         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
38245         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
38246         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
38247         * string/test-strcasecmp.c (test_main): Run tests in several
38248         locales.
38249         * string/test-strncasecmp.c (test_main): Likewise.
38251         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
38252         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
38253         to __strcasecmp_nonascii and __strncasecmp_nonascii.
38254         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
38255         (__strncasecmp_ssse3) [PIC]: Likewise.
38257 2013-08-26  Roland McGrath  <roland@hack.frob.com>
38259         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
38261         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
38262         instead of explicitly declaring xdecrypt.
38263         * nis/nss_nis/nis-publickey.c: Likewise.
38265 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38267         [BZ #15890]
38268         * nscd/aicache.c: Include res_hconf.h.
38269         (addhstaiX): Initialize res_hconf.
38271 2013-08-26  Andreas Schwab  <schwab@suse.de>
38273         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
38274         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
38276 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38278         * nscd/aicache.c (addhstaiX): Fix indentation.
38280 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
38282         * configure.ac: Quote $build_pt_chown test.
38283         * configure: Regenerated.
38285 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
38287         [BZ #15532]
38288         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
38289         * math/s_cexpf.c (__cexpf): Likewise.
38290         * math/s_cexpl.c (__cexpl): Likewise.
38291         * math/libm-test.inc (cexp_test_data): Correct expected return
38292         value for NaN + i0.  Add another test.
38294 2013-08-22  David S. Miller  <davem@davemloft.net>
38296         * po/ca.po: Update Catalan translation from translation project.
38297         * po/uk.po: Add Ukrainian translations from translation project.
38299 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
38301         [BZ #15797]
38302         * math/s_fdim.c (__fdim): Check for infinite arguments if result
38303         is infinite, not alongside NaN test.
38304         * math/s_fdimf.c (__fdimf): Likewise.
38305         * math/s_fdiml.c (__fdiml): Likewise.
38306         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
38307         errno is unchanged.
38309 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
38311         * argp/argp-help.c: Fix typos.
38312         * crypt/speeds.c: Likewise.
38313         * csu/check_fds.c: Likewise.
38314         * elf/dl-load.c: Likewise.
38315         * elf/dl-open.c: Likewise.
38316         * elf/reldep3.c: Likewise.
38317         * elf/reldep.c: Likewise.
38318         * elf/sprof.c: Likewise.
38319         * iconv/iconv_charmap.c: Likewise.
38320         * iconv/skeleton.c: Likewise.
38321         * iconv/strtab.c: Likewise.
38322         * io/lockf64.c: Likewise.
38323         * libio/libioP.h: Likewise.
38324         * resolv/gai_notify.c: Likewise.
38325         * resolv/ns_name.c: Likewise.
38326         * resolv/ns_samedomain.c: Likewise.
38327         * resolv/res_send.c: Likewise.
38328         * stdlib/random.c: Likewise.
38329         * sunrpc/rpc/xdr.h: Likewise.
38330         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
38331         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
38332         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38333         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38334         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38335         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
38336         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
38337         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38338         * sysdeps/mach/hurd/check_fds.c: Likewise.
38339         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
38340         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
38341         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38342         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
38343         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
38344         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
38345         * sysdeps/pthread/aio_notify.c: Likewise.
38346         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
38347         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
38348         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
38349         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
38350         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
38352 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38354         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
38355         version if bit_Slow_SSE4_2 is set.
38356         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38357         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38359 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38361         [BZ #15867]
38362         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
38363         trampoline stack frame information.
38364         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
38365         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
38366         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
38367         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
38368         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
38369         * sysdeps/unix/sysv/linux/powerpc/init-first.c
38370         (_libc_vdso_platform_setup): Initialize the signal trampolines.
38371         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
38372         sa_flags value.
38373         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
38374         interrupting a syscall and set with option SA_SIGINFO.
38376 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
38378         [BZ #15531]
38379         * math/s_cproj.c (__cproj): Only return an infinity if one part of
38380         argument is infinite.
38381         * math/s_cprojf.c (__cprojf): Likewise.
38382         * math/s_cprojl.c (__cprojl): Likewise.
38383         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
38384         * math/libm-test.inc (cproj_test_data): Add more tests.
38386         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
38388         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
38389         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
38390         size.  Use __ffs to determine corresponding shift.
38392 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
38393             Roland McGrath  <roland@hack.frob.com>
38395         * Makefile (INSTALL): Remove trailing blank lines from output of
38396         makeinfo.
38398 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38400         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
38401         Align 32 bit compat elf_greg to 8 bytes.
38403 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
38405         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
38407 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38409         * string/strcoll_l.c (coll_seq): New structure.
38410         (get_next_seq_cached): New function.
38411         (get_next_seq): New function.
38412         (do_compare): New function.
38413         (STRCOLL): Use GNU style definition.  Simplify implementation
38414         by using get_next_seq, get_next_seq_cached and do_compare.
38416 2013-08-16  Florian Weimer  <fweimer@redhat.com>
38418         [BZ #14699]
38419         CVE-2013-4237
38420         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
38421         member.
38422         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
38423         member.
38424         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
38425         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
38426         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
38427         conditional.
38428         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
38429         GETDENTS_64BIT_ALIGNED.
38430         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
38431         * manual/filesys.texi (Reading/Closing Directory): Document
38432         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
38433         strongly.
38434         * manual/conf.texi (Limits for Files): Add portability note to
38435         NAME_MAX, PATH_MAX.
38436         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
38438 2013-08-13  Andreas Schwab  <schwab@suse.de>
38440         [BZ #15749]
38441         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
38442         of fabs.
38443         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
38444         LDBL_MAX_EXP >= 16384]: Add tests for it.
38446 2013-08-12  David S. Miller  <davem@davemloft.net>
38448         * version.h (RELEASE): Set to "development".
38449         (VERSION): Set to "2.18.90".
38450         * NEWS: Add 2.19 section.
38452 2013-08-03  David S. Miller  <davem@davemloft.net>
38454         * po/ko.po: Update Korean translation from translation project.
38456 2013-08-01  David S. Miller  <davem@davemloft.net>
38458         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
38459         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
38460         Bilka.
38462 2013-07-30  David S. Miller  <davem@davemloft.net>
38464         * po/fr.po: Update French translation from translation project.
38466 2013-07-28  David S. Miller  <davem@davemloft.net>
38468         * po/cs.po: Update Czech translation from translation project.
38470         * po/sv.po: Update Swedish translation from translation project.
38472 2013-07-27  David S. Miller  <davem@davemloft.net>
38474         * po/eo.po: Update Esperanto translation from translation project.
38476         * po/vi.po: Update Vietnamese translation from translation project.
38478         * po/de.po: Update German translation from translation project.
38480 2013-07-26  David S. Miller  <davem@davemloft.net>
38482         * po/bg.po: Update Bulgarian translation from translation project.
38484         * po/nl.po: Update Dutch translation from translation project.
38485         * po/pl.po: Update Polish translation from translation project.
38486         * po/ru.po: Update Russian translation from translation project.
38488 2013-07-24  David S. Miller  <davem@davemloft.net>
38490         * po/libc.pot: Update.
38492 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38494         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
38495         variable page size.
38496         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
38497         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
38498         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
38500 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38502         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
38504 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38505             Andreas Schwab  <schwab@suse.de>
38506             Roland McGrath  <roland@hack.frob.com>
38507             Joseph Myers  <joseph@codesourcery.com>
38508             Carlos O'Donell  <carlos@redhat.com>
38510         [BZ #15755]
38511         * config.h.in: Define HAVE_PT_CHOWN.
38512         * config.make.in (build-pt-chown): New variable.
38513         * configure.in (--enable-pt_chown): New configure option.
38514         * configure: Regenerate.
38515         * login/Makefile: Include Makeconfig.  Build pt_chown only if
38516         build-pt-chown is enabled.
38517         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
38518         pt_chown to fix pty ownership.
38519         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
38520         CLOSE_ALL_FDS.
38521         * manual/install.texi (Configuring and compiling): Mention
38522         --enable-pt_chown. Add @findex for grantpt.
38523         * INSTALL: Regenerate.
38525 2013-07-20  David S. Miller  <davem@davemloft.net>
38527         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
38528         difference between 32-bit and 64-bit.
38530 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
38532         [BZ #15711]
38533         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
38534         Avoid system header dependency with -ffreestanding.
38535         ($(objpfx)bits/syscall%d): Likewise.
38537 2013-07-13  David S. Miller  <davem@davemloft.net>
38539         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
38540         underflows from atanl/atan2l due to bug 15319.
38541         (casinh_test_data): Likewise.
38543 2013-07-07  David S. Miller  <davem@davemloft.net>
38545         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
38547 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
38549         * sysdeps/i386/fpu/libm-test-ulps: Update.
38550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38552 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38554         * configure.in (--enable-lock-elision): Fix message text.
38555         * INSTALL: Regenerate.
38556         * configure: Regenerate.
38558 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38560         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38562 2013-07-03  Andreas Jaeger  <aj@suse.de>
38564         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
38565         define.
38566         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
38567         (ptrace_peeksiginfo_args): Add.
38568         (__ptrace_peeksiginfo_flags): Add.
38569         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38570         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38571         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38573 2013-07-03  Allan McRae  <allan@archlinux.org>
38575         * sysdeps/i386/fpu/libm-test-ulps: Update.
38577 2013-07-02  David S. Miller  <davem@davemloft.net>
38579         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38581 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
38583         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38585 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
38587         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
38588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38590 2013-07-02  Andi Kleen <ak@linux.intel.com>
38592         * config.h.in (ENABLE_LOCK_ELISION): Add.
38593         * configure.in (--enable-lock-elision): Add option.
38594         * manual/install.texi: Document --enable lock elision.
38595         * configure: Regenerate
38596         * INSTALL: Regenerate.
38598 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
38600         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
38601         SSE4.2 strcasecmp for libc.a.
38602         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
38604 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
38606         [BZ #13304]
38607         * soft-fp/op-common.h (_FP_FMA): New macro.
38608         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
38609         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
38610         (_FP_MUL_MEAT_1_imm): ... here.
38611         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
38612         (_FP_MUL_MEAT_1_wide): ... here.
38613         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
38614         (_FP_MUL_MEAT_1_hard): ... here.
38615         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
38616         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
38617         (_FP_MUL_MEAT_2_wide): ... here.
38618         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
38619         (_FP_MUL_MEAT_2_wide_3mul): ... here.
38620         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
38621         (_FP_MUL_MEAT_2_gmp): ... here.
38622         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
38623         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
38624         (_FP_MUL_MEAT_4_wide): ... here.
38625         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
38626         (_FP_MUL_MEAT_4_gmp): ... here.
38627         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
38628         (_FP_WFRACBITS_DW_S): Likewise.
38629         (_FP_WFRACXBITS_DW_S): Likewise.
38630         (_FP_HIGHBIT_DW_S): Likewise.
38631         (FP_FMA_S): Likewise.
38632         (_FP_FRAC_HIGH_DW_S): Likewise.
38633         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
38634         (_FP_WFRACBITS_DW_D): Likewise.
38635         (_FP_WFRACXBITS_DW_D): Likewise.
38636         (_FP_HIGHBIT_DW_D): Likewise.
38637         (FP_FMA_D): Likewise.
38638         (_FP_FRAC_HIGH_DW_D): Likewise.
38639         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
38640         (_FP_WFRACBITS_DW_E): Likewise.
38641         (_FP_WFRACXBITS_DW_E): Likewise.
38642         (_FP_HIGHBIT_DW_E): Likewise.
38643         (FP_FMA_E): Likewise.
38644         (_FP_FRAC_HIGH_DW_E): Likewise.
38645         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
38646         (_FP_WFRACBITS_DW_Q): Likewise.
38647         (_FP_WFRACXBITS_DW_Q): Likewise.
38648         (_FP_HIGHBIT_DW_Q): Likewise.
38649         (FP_FMA_Q): Likewise.
38650         (_FP_FRAC_HIGH_DW_Q): Likewise.
38651         * soft-fp/fmasf4.c: New file.
38652         * soft-fp/fmadf4.c: Likewise.
38653         * soft-fp/fmatf4.c: Likewise.
38655 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38657         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
38658         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
38659         Silvermont.
38660         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
38661         macro.
38662         (index_Slow_SSE4_2): Likewise.
38663         (index_Prefer_PMINUB_for_stringop): Likewise.
38664         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
38665         bit_Slow_SSE4_2 is set.
38666         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
38667         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38669 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38671         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
38672         rtld_global._dl_hwcap2.
38673         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
38674         POWER8.
38675         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
38676         POWER8 feature descriptions defined in _dl_hwcap2.
38677         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
38678         string handling for POWER8 feature bits.
38679         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
38680         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
38681         _dl_powerpc_cap_flags.
38682         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
38683         * sysdeps/powerpc/rtld-global-offsets.sym
38684         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
38685         _dl_hwcap2 in the rtld_global_ro structure.
38687 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38689         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
38690         hardware capabilities in support of AT_HWCAP2.
38691         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
38692         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
38693         GLRO(dl_hwcap2).
38694         (_dl_show_auxv): Add support for calling _dl_procinfo to display
38695         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
38696         explicitly the unknown a_type display mechanism is used.
38697         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
38698         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
38699         struct member.
38700         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
38701         to macro prototype for AT_HWCAP2 support.
38702         * sysdeps/i386/dl-procinfo.h: Likewise.
38703         * sysdeps/s390/dl-procinfo.h: Likewise.
38704         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
38705         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
38706         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
38707         return -1 for unknown a_type display fallback.
38708         * sysdeps/sparc/dl-procinfo.h: Likewise.
38709         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
38710         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
38712 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
38714         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
38715         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
38717 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
38719         [BZ #12492]
38720         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
38721         mprotect making __stack_prot writable.
38723 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
38724             Joseph Myers  <joseph@codesourcery.com>
38726         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
38727         as being properly aligned.
38729 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
38731         * dlfcn/modstatic5.c: New file.
38732         * dlfcn/tststatic5.c: New file.
38733         * dlfcn/Makefile (tests): Add tststatic5.
38734         (tests-static): Likewise.
38735         (modules-names): Add modstatic5.
38736         (tststatic5-ENV): New variable.
38737         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
38739         [BZ #15022]
38740         * elf/dl-support.c (_dl_main_map): New variable.
38741         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
38742         (_dl_nns, _dl_load_adds): Set to 1.
38743         (_dl_initial_searchlist): Refer to _dl_main_map.
38744         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
38745         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
38746         call to _dl_get_origin.
38747         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
38748         around call_map.
38749         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
38750         * dlfcn/modstatic3.c: New file.
38751         * dlfcn/tststatic3.c: New file.
38752         * dlfcn/tststatic4.c: New file.
38753         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
38754         (tests-static): Likewise.
38755         (modules-names): Add modstatic3.
38756         (tststatic3-ENV, tststatic4-ENV): New variables.
38757         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
38758         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
38760 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
38762         * configure.in (CC): Require GCC version 4.4 or later.
38763         * configure: Regenerated.
38764         * manual/install.texi (Tools for Compilation): Update GCC version
38765         requirement.
38766         * INSTALL: Regenerated.
38768 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38770         [BZ #15674]
38771         * string/test-memcmp.c (check2): New.
38772         (main): Call check2.
38774         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
38776 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
38778         [BZ #15022]
38779         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
38780         over to...
38781         (dl_open_worker) [!SHARED]: ... here.
38783 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38785         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
38787 2013-06-25  Richard Henderson  <rth@redhat.com>
38789         * locale/programs/locarchive.c: Include <libc-internal.h>
38791 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
38793         * manual/texinfo.tex: Update to version 2013-06-21.17, with
38794         trailing whitespace removed.
38796 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
38798         [BZ #10283]
38799         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
38800         * locale/programs/locarchive.c: Include libc-mmap.h.
38801         (prepare_address_space): Take two new outputs (the mmap base and len).
38802         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
38803         values.
38804         (create_archive): Declare new mmap base and len values for
38805         prepare_address_space, and store the result in ah.
38806         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
38807         (enlarge_archive): If ah->mmap_base is not NULL, use that and
38808         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
38809         Declare new mmap base and len values for
38810         prepare_address_space, and store the result in new_ah.
38811         (open_archive): Declare new mmap base and len values for
38812         prepare_address_space, and store the result in ah.
38813         (close_archive): If ah->mmap_base is not NULL, use that and
38814         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
38815         * sysdeps/generic/libc-mmap.h: New file.
38817 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
38819         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
38820         (ALIGN_UP): Likewise.
38821         (PTR_ALIGN_DOWN): Likewise.
38822         (PTR_ALIGN_UP): Likewise.
38824 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38826         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
38827         entry mapped to PPC_PLATFORM_POWER8.
38828         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
38829         POWER8.
38830         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
38831         (_dl_string_platform): Add case for exporting platform position for
38832         POWER8.
38833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
38834         search path to sysdeps/powerpc/powerpc32/power8 directory.
38835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
38836         search path to sysdeps/powerpc/powerpc64/power8 directory.
38837         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
38838         power7 directories.
38839         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
38840         power7 directories.
38842 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38844         * INSTALL: Regenerate.
38846         * nscd/connections.c (nscd_init): Fix comment.
38848 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
38850         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
38852         [BZ #15667]
38853         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
38854         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
38856 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
38858         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
38859         DL_DST_REQ_STATIC.
38860         (DL_DST_REQ_STATIC): Remove macro.
38862 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
38864         [BZ #7006]
38865         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
38866         with a shift of 0 bits.
38868 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
38870         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
38871         $(tststatic-ENV).
38873 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38875         [BZ #15655]
38876         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
38878 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38880         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
38881         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
38882         accepts -fno-tree-loop-distribute-patterns.
38883         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
38884         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
38885         recursive call.
38886         * string/memset.c (memset): Likewise.
38887         * string/test-memmove.c (simple_memmove): Disable loop transformation
38888         to library calls.
38889         * string/test-memset.c (simple_memset): Likewise.
38890         * benchtests/bench-memmove.c (simple_memmove): Likewise.
38891         * benchtests/bench-memset.c (simple_memset): Likewise.
38892         * configure: Regenerated.
38894 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
38896         * math/test-misc.c (main): Ignore fesetround failure when failures
38897         of subsequent rounding tests would be ignored.
38899         [BZ #15654]
38900         * math/fedisblxcpt.c (fedisableexcept): Return 0.
38901         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
38902         * math/fegetenv.c (__fegetenv): Return 0.
38903         * math/fegetexcept.c (fegetexcept): Return 0.
38904         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
38905         FE_TONEAREST.
38906         * math/feholdexcpt.c (feholdexcept): Return 0.
38907         * math/fesetenv.c (__fesetenv): Return 0.
38908         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
38909         argument FE_TONEAREST.
38910         * math/feupdateenv.c (__feupdateenv): Return 0.
38911         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
38913 2013-06-18  Roland McGrath  <roland@hack.frob.com>
38915         * elf/rtld-Rules (rtld-compile-command.S): New variable.
38916         (rtld-compile-command.s, rtld-compile-command.c): New variables.
38917         ($(objpfx)rtld-%.os rules): Use them.
38919 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38921         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
38922         fields.
38924 2013-06-17  Roland McGrath  <roland@hack.frob.com>
38926         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
38927         length of target pattern, then descending length of dependency pattern.
38928         * configure.in (AWK): Require gawk 3.1.2 or newer.
38929         * manual/install.texi (Tools for Compilation): Say that we do.
38930         * configure: Regenerated.
38932         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
38933         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
38934         * scripts/sysd-rules.awk: ... this new script.
38935         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
38936         than a glob-style pattern.
38938 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
38940         * math/test-misc.c (main): Do not treat incorrectly rounded
38941         conversions as failure unless ROUNDING_TESTS passes.
38943 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
38945         [BZ #15631]
38946         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
38947         restore exception state around main square root computation, then
38948         check for inexactness explicitly.
38950         * math/libm-test.inc (fma_test_data): Add another test.
38952 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38954         * manual/threads.texi (Non-POSIX Extensions): New document
38955         node.  Document pthread_getattr_default_np and
38956         pthread_setattr_default_np.
38958         * Versions.def (libpthread): Add GLIBC_2.18.
38959         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
38960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38961         Likewise.
38962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38963         Likewise.
38964         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38965         Likewise.
38966         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38967         Likewise.
38968         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
38969         Likewise.
38970         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38971         Likewise.
38972         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38973         Likewise.
38974         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
38975         Likewise.
38976         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
38977         Likewise.
38979 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38981         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38982         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
38984 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38985             H.J. Lu  <hjl.tools@gmail.com>
38987         [BZ #15627]
38988         * sysdeps/x86_64/rtld-memset.c: Remove file.
38989         * sysdeps/x86_64/rtld-memset.S: New file.
38991 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
38993         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
38994         (test_in_one_mode): Take arguments for whether the rounding mode
38995         is supported for each floating-point type.
38996         (do_test): Pass new arguments to test_in_one_mode using
38997         ROUNDING_TESTS.
38999 2013-06-13  Roland McGrath  <roland@hack.frob.com>
39001         * posix/tst-waitid.c (do_test): Distinguish different instances of
39002         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
39003         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
39004         before entering the kernel for waitpid.
39006 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
39008         * NEWS: Fix note on clock function precision.  Text by Roland
39009         McGrath.
39011 2013-06-13  Roland McGrath  <roland@hack.frob.com>
39013         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
39014         it into place only when and if the sanity check passes.
39016 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
39018         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
39019         output for whether conversion result is exact.  Take argument
39020         indicating whether type is IBM long double.
39021         (round_for_all): Change need_exact field to ibm_ld.
39022         * stdlib/tst-strtod-round.c (struct exactness): New type.
39023         (struct test): Change bool ld_ok field to struct exactness exact.
39024         (TEST): Update all definitions for change to field.
39025         (tests): Regenerate array contents.
39026         (test_in_one_mode): Take pointer to new field instead of old ld_ok
39027         field value.  Check for IBM long double here.
39028         (do_test): Update calls to test_in_one_mode.
39030 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
39032         [BZ #12515]
39033         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
39034         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
39036 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39038         [BZ #15605]
39039         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
39040         generated by the compiler on loop optimizations.
39041         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
39042         general definitions.
39044 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
39046         * math/bug-nextafter.c: Include <math-tests.h>.
39047         (main): Only test for exceptions if EXCEPTION_TESTS is true for
39048         the relevant type.
39049         * math/bug-nexttoward.c: Include <math-tests.h>.
39050         (main): Only test for exceptions if EXCEPTION_TESTS is true for
39051         the relevant type.
39052         * math/test-misc.c: Include <math-tests.h>.
39053         (main): Only test for exceptions if EXCEPTION_TESTS is true for
39054         the relevant type.
39056 2013-06-12  Andreas Jaeger  <aj@suse.de>
39058         * po/ia.po: Update Interlingua translation from translation
39059         project.
39061 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39063         * include/fenv.h: Include stdbool.h.
39064         (struct rm_ctx): New structure.
39065         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
39066         Define macro.
39067         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
39068         (SET_RESTORE_ROUNDF): Likewise.
39069         (SET_RESTORE_ROUNDL): Likewise.
39070         (SET_RESTORE_ROUND_NOEX): Likewise.
39071         (SET_RESTORE_ROUND_NOEXF): Likewise.
39072         (SET_RESTORE_ROUND_NOEXL): Likewise.
39073         (SET_RESTORE_ROUND_53BIT): Likewise.
39074         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
39075         (libc_feresetround_noexf_ctx): Likewise.
39076         (libc_feresetround_noexl_ctx): Likewise.
39077         (libc_feholdsetround_53bit_ctx): Likewise.
39078         (libc_feresetround_53bit_ctx): Likewise.
39079         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
39080         (libc_feholdexcept_setround_sse_ctx): New function.
39081         (libc_fesetenv_sse_ctx): Likewise.
39082         (libc_feupdateenv_sse_ctx): Likewise.
39083         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
39084         (libc_feholdexcept_setround_387_ctx): Likewise.
39085         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
39086         (libc_feholdsetround_387_prec_ctx): Likewise.
39087         (libc_feholdsetround_387_ctx): Likewise.
39088         (libc_feholdsetround_387_53bit_ctx): Likewise.
39089         (libc_feholdsetround_sse_ctx): Likewise.
39090         (libc_feresetround_sse_ctx): Likewise.
39091         (libc_feresetround_387_ctx): Likewise.
39092         (libc_feupdateenv_387_ctx): Likewise.
39093         (libc_feholdexcept_setroundf_ctx): Define macro.
39094         (libc_fesetenvf_ctx): Likewise.
39095         (libc_feupdateenvf_ctx): Likewise.
39096         (libc_feholdsetroundf_ctx): Likewise.
39097         (libc_feresetroundf_ctx): Likewise.
39098         (libc_feholdexcept_setround_ctx): Likewise.
39099         (libc_fesetenv_ctx): Likewise.
39100         (libc_feupdateenv_ctx): Likewise.
39101         (libc_feholdsetround_ctx): Likewise.
39102         (libc_feresetround_ctx): Likewise.
39103         (libc_feholdexcept_setroundl_ctx): Likewise.
39104         (libc_feupdateenvl_ctx): Likewise.
39105         (libc_feholdsetroundl_ctx): Likewise.
39106         (libc_feresetroundl_ctx): Likewise.
39107         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
39108         (libc_feresetround_53bit_ctx): Likewise.
39110 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39112         * locale/iso-639.def: Convert to UTF-8.
39114 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
39116         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
39117         (EXCEPTION_TESTS_double): Likewise.
39118         (EXCEPTION_TESTS_long_double): Likewise.
39119         (EXCEPTION_TESTS): Likewise.
39120         * math/libm-test.inc (test_exceptions): Only test exceptions if
39121         EXCEPTION_TESTS (FLOAT).
39123 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39125         * benchtests/Makefile (string-bench): Add strcpy_chk and
39126         stpcpy_chk.
39127         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
39128         * benchtests/bench-stpcpy_chk.c: New file.
39129         * benchtests/bench-strcpy_chk-ifunc.c: New file.
39130         * benchtests/bench-strcpy_chk.c: New file.
39131         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
39132         code.
39133         (do_test): Likewise.
39135 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39137         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
39138         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
39139         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
39140         with tabs where appropriate.
39141         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
39142         dl-procinfo.h.
39143         [PPC_PLATFORM_PPC440]: Likewise.
39144         [PPC_PLATFORM_PPC464]: Likewise.
39145         [PPC_PLATFORM_PPC476]: Likewise.
39146         (_dl_string_platform): Add support for detecting ppc405, ppc440,
39147         ppc464, and ppc476 platform strings merging from ports/
39148         dl-procinfo.h.
39150 2013-06-11  Andreas Schwab  <schwab@suse.de>
39152         [BZ #14991]
39153         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
39154         (from_ucs4_idx): Regenerate.
39155         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
39156         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
39157         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
39158         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
39159         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
39160         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
39161         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
39162         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
39163         from FROM_LOOP and TO_LOOP specific macros.
39164         (BODY): Handle combining characters.
39165         * iconvdata/BIG5HKSCS.irreversible: Update.
39166         * iconvdata/BIG5HKSCS.precomposed: New file.
39167         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
39168         characters.
39169         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
39171 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39173         * include/sys/time.h: Fix indentation and add copyright header.
39175         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
39176         (do_test): Likewise.
39177         * string/test-memchr.c (do_one_test): Likewise.
39178         (do_test): Likewise.
39179         * string/test-memcmp.c (do_one_test): Likewise.
39180         (do_test): Likewise.
39181         * string/test-memcpy.c (do_one_test): Likewise.
39182         (do_test): Likewise.
39183         * string/test-memmem.c (do_one_test): Likewise.
39184         (do_test): Likewise.
39185         (do_random_tests): Likewise.
39186         * string/test-memmove.c (do_one_test): Likewise.
39187         (do_test): Likewise.
39188         * string/test-memset.c (do_one_test): Likewise.
39189         (do_test): Likewise.
39190         * string/test-rawmemchr.c (do_one_test): Likewise.
39191         (do_test): Likewise.
39192         * string/test-strcasecmp.c (do_one_test): Likewise.
39193         (do_test): Likewise.
39194         * string/test-strcasestr.c (do_one_test): Likewise.
39195         (do_test): Likewise.
39196         * string/test-strcat.c (do_one_test): Likewise.
39197         (do_test): Likewise.
39198         * string/test-strchr.c (do_one_test): Likewise.
39199         (do_test): Likewise.
39200         * string/test-strcmp.c (do_one_test): Likewise.
39201         (do_test): Likewise.
39202         * string/test-strcpy.c (do_one_test): Likewise.
39203         (do_test): Likewise.
39204         * string/test-string.h: Likewise.
39205         (test_init): Likewise.
39206         * string/test-strlen.c (do_one_test): Likewise.
39207         (do_test): Likewise.
39208         * string/test-strncasecmp.c (do_one_test): Likewise.
39209         (do_test): Likewise.
39210         * string/test-strncat.c (do_one_test): Likewise.
39211         (do_test): Likewise.
39212         * string/test-strncmp.c (do_one_test): Likewise.
39213         (do_test_limit): Likewise.
39214         (do_test): Likewise.
39215         * string/test-strncpy.c (do_one_test): Likewise.
39216         (do_test): Likewise.
39217         * string/test-strnlen.c (do_one_test): Likewise.
39218         (do_test): Likewise.
39219         * string/test-strpbrk.c (do_one_test): Likewise.
39220         (do_test): Likewise.
39221         * string/test-strrchr.c (do_one_test): Likewise.
39222         (do_test): Likewise.
39223         * string/test-strspn.c (do_one_test): Likewise.
39224         (do_test): Likewise.
39225         * string/test-strstr.c (do_one_test): Likewise.
39226         (do_test): Likewise.
39228         * benchtests/Makefile (string-bench): Add string benchmarks.
39229         * benchtests/bench-bcopy-ifunc.c: New file.
39230         * benchtests/bench-bcopy.c: New file.
39231         * benchtests/bench-bzero-ifunc.c: New file.
39232         * benchtests/bench-bzero.c: New file.
39233         * benchtests/bench-memccpy-ifunc.c: New file.
39234         * benchtests/bench-memccpy.c: New file.
39235         * benchtests/bench-memchr-ifunc.c: New file.
39236         * benchtests/bench-memchr.c: New file.
39237         * benchtests/bench-memcmp-ifunc.c: New file.
39238         * benchtests/bench-memcmp.c: New file.
39239         * benchtests/bench-memmem-ifunc.c: New file.
39240         * benchtests/bench-memmem.c: New file.
39241         * benchtests/bench-memmove-ifunc.c: New file.
39242         * benchtests/bench-memmove.c: New file.
39243         * benchtests/bench-mempcpy-ifunc.c: New file.
39244         * benchtests/bench-mempcpy.c: New file.
39245         * benchtests/bench-memset-ifunc.c: New file.
39246         * benchtests/bench-memset.c: New file.
39247         * benchtests/bench-rawmemchr-ifunc.c: New file.
39248         * benchtests/bench-rawmemchr.c: New file.
39249         * benchtests/bench-stpcpy-ifunc.c: New file.
39250         * benchtests/bench-stpcpy.c: New file.
39251         * benchtests/bench-stpncpy-ifunc.c: New file.
39252         * benchtests/bench-stpncpy.c: New file.
39253         * benchtests/bench-strcasecmp-ifunc.c: New file.
39254         * benchtests/bench-strcasecmp.c: New file.
39255         * benchtests/bench-strcasestr-ifunc.c: New file.
39256         * benchtests/bench-strcasestr.c: New file.
39257         * benchtests/bench-strcat-ifunc.c: New file.
39258         * benchtests/bench-strcat.c: New file.
39259         * benchtests/bench-strchr-ifunc.c: New file.
39260         * benchtests/bench-strchr.c: New file.
39261         * benchtests/bench-strchrnul-ifunc.c: New file.
39262         * benchtests/bench-strchrnul.c: New file.
39263         * benchtests/bench-strcmp-ifunc.c: New file.
39264         * benchtests/bench-strcmp.c: New file.
39265         * benchtests/bench-strcpy-ifunc.c: New file.
39266         * benchtests/bench-strcpy.c: New file.
39267         * benchtests/bench-strcspn-ifunc.c: New file.
39268         * benchtests/bench-strcspn.c: New file.
39269         * benchtests/bench-strlen-ifunc.c: New file.
39270         * benchtests/bench-strlen.c: New file.
39271         * benchtests/bench-strncasecmp-ifunc.c: New file.
39272         * benchtests/bench-strncasecmp.c: New file.
39273         * benchtests/bench-strncat-ifunc.c: New file.
39274         * benchtests/bench-strncat.c: New file.
39275         * benchtests/bench-strncmp-ifunc.c: New file.
39276         * benchtests/bench-strncmp.c: New file.
39277         * benchtests/bench-strncpy-ifunc.c: New file.
39278         * benchtests/bench-strncpy.c: New file.
39279         * benchtests/bench-strnlen-ifunc.c: New file.
39280         * benchtests/bench-strnlen.c: New file.
39281         * benchtests/bench-strpbrk-ifunc.c: New file.
39282         * benchtests/bench-strpbrk.c: New file.
39283         * benchtests/bench-strrchr-ifunc.c: New file.
39284         * benchtests/bench-strrchr.c: New file.
39285         * benchtests/bench-strspn-ifunc.c: New file.
39286         * benchtests/bench-strspn.c: New file.
39287         * benchtests/bench-strstr-ifunc.c: New file.
39288         * benchtests/bench-strstr.c: New file.
39290         * benchtests/Makefile: Disable parallel execution of targets.
39291         (string-bench): Add memcpy.
39292         (benchset): New variable to store a list of benchmark sets.
39293         (bench-func): Renamed from bench.
39294         (bench-set): New target.
39295         (bench): Depend on bench-func and bench-set.
39296         * benchtests/README: Add section on benchmark sets.
39297         * benchtests/bench-memcpy-ifunc.c: New file.
39298         * benchtests/bench-memcpy.c: New file.
39299         * benchtests/bench-string.h: New file.
39301 2013-06-11  Andreas Schwab  <schwab@suse.de>
39303         [BZ #15577]
39304         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
39305         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
39306         values in the triple.
39307         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
39308         terminator in the group key.
39310 2013-06-11  Andreas Jaeger  <aj@suse.de>
39312         * po/zh_TW.po: Update Chinese (traditional) translation from
39313         translation project.
39315 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39317         * include/time.h (__clock_gettime): Add libc_hidden_proto.
39318         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
39319         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
39320         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39321         (clock_getcpuclockid): Likewise.
39322         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
39323         Add weak_alias and libc_hidden_def.
39324         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
39325         * rt/clock_gettime.c (clock_gettime): Rename to
39326         __clock_gettime.  Add weak_alias and libc_hidden_def.
39327         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
39328         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
39329         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
39330         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
39331         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
39332         Likewise.
39333         * rt/clock_settime.c (clock_settime): Rename to
39334         __clock_settime.  Add weak_alias and libc_hidden_def.
39335         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
39337 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
39339         * mach/err_boot.sub: Remove trailing whitespace.
39340         * mach/err_ipc.sub: Likewise.
39341         * mach/err_mach.sub: Likewise.
39343         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
39344         (ROUNDING_TESTS_double): Likewise.
39345         (ROUNDING_TESTS_long_double): Likewise.
39346         (ROUNDING_TESTS): Likewise.
39347         * math/libm-test.inc: Include <math-tests.h>.
39348         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
39349         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
39350         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
39351         (IF_ROUND_INIT_FE_UPWARD): Likewise.
39353 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39355         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
39356         of assigning.
39358 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
39360         * sysdeps/gnu/errlist.awk: Do not generate space at end of
39361         otherwise empty TRANS lines.
39362         * sysdeps/gnu/errlist.c: Regenerated.
39364         * catgets/gencat.c (error_print): Use (void) in function
39365         definition.
39366         * crypt/crypt_util.c (__init_des): Likewise.
39367         * crypt/speeds.c (Stop): Likewise.
39368         (main): Likewise.
39369         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
39370         * inet/ruserpass.c (token): Likewise.
39371         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
39372         * intl/localealias.c (extend_alias_table): Likewise.
39373         * intl/plural-exp.c (init_germanic_plural): Likewise.
39374         * libio/fcloseall.c (__fcloseall): Likewise.
39375         * libio/genops.c (_IO_flush_all): Likewise.
39376         (_IO_flush_all_linebuffered): Likewise.
39377         (_IO_cleanup): Likewise.
39378         (_IO_iter_begin): Likewise.
39379         (_IO_iter_end): Likewise.
39380         (_IO_list_lock): Likewise.
39381         (_IO_list_unlock): Likewise.
39382         (_IO_list_resetlock): Likewise.
39383         * libio/getchar.c (getchar): Likewise.
39384         * libio/getchar_u.c (getchar_unlocked): Likewise.
39385         * libio/getwchar.c (getwchar): Likewise.
39386         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
39387         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
39388         * login/getpt.c (__getpt): Likewise.
39389         * login/tst-utmp.c (main): Likewise.
39390         * malloc/hooks.c (__malloc_check_init): Likewise.
39391         * malloc/malloc.c (__malloc_stats): Likewise.
39392         * malloc/mtrace.c (tr_break): Likewise.
39393         (mtrace): Likewise.
39394         (muntrace): Likewise.
39395         * misc/fstab.c (endfsent): Likewise.
39396         * misc/getclktck.c (__getclktck): Likewise.
39397         * misc/getdtsz.c (__getdtablesize): Likewise.
39398         * misc/gethostid.c (gethostid): Likewise.
39399         * misc/getpagesize.c (__getpagesize): Likewise.
39400         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
39401         (__get_nprocs): Likewise.
39402         (__get_phys_pages): Likewise.
39403         (__get_avphys_pages): Likewise.
39404         * misc/getttyent.c (getttyent): Likewise.
39405         (setttyent): Likewise.
39406         (endttyent): Likewise.
39407         * misc/getusershell.c (getusershell): Likewise.
39408         (endusershell): Likewise.
39409         (setusershell): Likewise.
39410         (initshells): Likewise.
39411         * misc/hsearch.c (__hdestroy): Likewise.
39412         * misc/sync.c (sync): Likewise.
39413         * misc/syslog.c (closelog_internal): Likewise.
39414         (closelog): Likewise.
39415         * misc/ttyslot.c (ttyslot): Likewise.
39416         * misc/vhangup.c (vhangup): Likewise.
39417         * posix/fork.c (__fork): Likewise.
39418         * posix/getegid.c (__getegid): Likewise.
39419         * posix/geteuid.c (__geteuid): Likewise.
39420         * posix/getgid.c (__getgid): Likewise.
39421         * posix/getpid.c (__getpid): Likewise.
39422         * posix/getppid.c (__getppid): Likewise.
39423         * posix/getuid.c (__getuid): Likewise.
39424         * posix/pause.c (pause): Likewise.
39425         * posix/setpgrp.c (setpgrp): Likewise.
39426         * posix/setsid.c (__setsid): Likewise.
39427         * posix/test-vfork.c (noop): Likewise.
39428         * resolv/gethnamaddr.c (_endhtent): Likewise.
39429         (_gethtent): Likewise.
39430         (ht_endhostent): Likewise.
39431         (gethostent): Likewise.
39432         (dns_service): Likewise.
39433         * stdlib/drand48.c (drand48): Likewise.
39434         * stdlib/lrand48.c (lrand48): Likewise.
39435         * stdlib/mrand48.c (mrand48): Likewise.
39436         * stdlib/rand.c (rand): Likewise.
39437         * stdlib/random.c (__random): Likewise.
39438         * stdlib/setenv.c (clearenv): Likewise.
39439         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
39440         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
39441         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
39442         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
39443         (__get_nprocs): Likewise.
39444         (__get_phys_pages): Likewise.
39445         (__get_avphys_pages): Likewise.
39446         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
39447         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
39448         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
39449         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
39450         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
39451         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
39452         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
39453         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
39454         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
39455         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
39456         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
39457         * sysdeps/mach/hurd/sync.c (sync): Likewise.
39458         * sysdeps/posix/clock.c (clock): Likewise.
39459         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
39460         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
39461         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
39462         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
39463         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
39464         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
39465         (__get_nprocs_conf): Likewise.
39466         (__get_phys_pages): Likewise.
39467         (__get_avphys_pages): Likewise.
39468         * time/clock.c (clock): Likewise.
39469         * time/tzset.c (__tzname_max): Likewise.
39471 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
39473         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
39474         (__bswap_32): Do not use "register".
39475         * crypt/crypt.c (_ufc_doit_r): Likewise.
39476         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
39477         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
39478         * gmon/gmon.c (__monstartup): Likewise.
39479         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
39480         * hurd/hurdmalloc.c (more_memory): Likewise.
39481         (malloc): Likewise.
39482         (free): Likewise.
39483         (realloc): Likewise.
39484         (malloc_fork_prepare): Likewise.
39485         (malloc_fork_parent): Likewise.
39486         (malloc_fork_child): Likewise.
39487         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
39488         (_svcauth_des): Likewise.
39489         * inet/inet_lnaof.c (inet_lnaof): Likewise.
39490         * inet/inet_net.c (inet_network): Likewise.
39491         * inet/inet_netof.c (inet_netof): Likewise.
39492         * inet/rcmd.c (__validuser2_sa): Likewise.
39493         * io/fts.c (fts_open): Likewise.
39494         (fts_load): Likewise.
39495         (fts_close): Likewise.
39496         (fts_read): Likewise.
39497         (fts_children): Likewise.
39498         (fts_build): Likewise.
39499         (fts_stat): Likewise.
39500         (fts_sort): Likewise.
39501         (fts_alloc): Likewise.
39502         (fts_lfree): Likewise.
39503         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
39504         (_IO_file_xsgetn): Likewise.
39505         (_IO_file_xsgetn_mmap): Likewise.
39506         * libio/iofopncook.c (_IO_cookie_read): Likewise.
39507         (_IO_cookie_write): Likewise.
39508         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
39509         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
39510         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
39511         * malloc/obstack.c (_obstack_begin): Likewise.
39512         (_obstack_begin_1): Likewise.
39513         (_obstack_newchunk): Likewise.
39514         (_obstack_allocated_p): Likewise.
39515         (obstack_free): Likewise.
39516         (_obstack_memory_used): Likewise.
39517         * misc/getttyent.c (getttynam): Likewise.
39518         (getttyent): Likewise.
39519         (skip): Likewise.
39520         (value): Likewise.
39521         * misc/getusershell.c (initshells): Likewise.
39522         * misc/syslog.c (__vsyslog_chk): Likewise.
39523         * misc/ttyslot.c (ttyslot): Likewise.
39524         * nis/nis_hash.c (__nis_hash): Likewise.
39525         * posix/fnmatch_loop.c (FCT): Likewise.
39526         * posix/getconf.c (print_all): Likewise.
39527         (main): Likewise.
39528         * posix/getopt.c (exchange): Likewise.
39529         * posix/glob.c (globfree): Likewise.
39530         (prefix_array): Likewise.
39531         (__glob_pattern_type): Likewise.
39532         * resolv/arpa/nameser.h (NS_GET16): Likewise.
39533         (NS_GET32): Likewise.
39534         (NS_PUT16): Likewise.
39535         (NS_PUT32): Likewise.
39536         * resolv/gethnamaddr.c (getanswer): Likewise.
39537         (gethostbyname2): Likewise.
39538         (gethostbyaddr): Likewise.
39539         (_gethtent): Likewise.
39540         (_gethtbyname2): Likewise.
39541         (_gethtbyaddr): Likewise.
39542         * resolv/ns_print.c (dst_s_get_int16): Likewise.
39543         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
39544         * resolv/res_init.c (__res_vinit): Likewise.
39545         (net_mask): Likewise.
39546         * resolv/res_mkquery.c (outchar): Likewise.
39547         (PRINT): Likewise.
39548         * stdio-common/printf_fp.c (outchar): Likewise.
39549         (PRINT): Likewise.
39550         * stdio-common/printf_fphex.c (outchar): Likewise.
39551         (PRINT): Likewise.
39552         * stdio-common/printf_size.c (outchar): Likewise.
39553         (PRINT): Likewise.
39554         * stdio-common/test_rdwr.c (main): Likewise.
39555         * stdio-common/tfformat.c (matches): Likewise.
39556         * stdio-common/vfprintf.c (outchar): Likewise.
39557         (printf_unknown): Likewise.
39558         (buffered_vfprintf): Likewise.
39559         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
39560         * stdio-common/xbug.c (AppendToBuffer): Likewise.
39561         (ReadFile): Likewise.
39562         * stdlib/qsort.c (SWAP): Likewise.
39563         (_quicksort): Likewise.
39564         * stdlib/setenv.c (__add_to_environ): Likewise.
39565         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
39566         * stdlib/strtol_l.c (__strtol_l): Likewise.
39567         * stdlib/tst-strtod.c (main): Likewise.
39568         * stdlib/tst-strtol.c (main): Likewise.
39569         * stdlib/tst-strtoll.c (main): Likewise.
39570         * string/bits/string2.h (__strcmp_cc): Likewise.
39571         (__strcmp_cg): Likewise.
39572         (__strcspn_c1): Likewise.
39573         (__strcspn_c2): Likewise.
39574         (__strcspn_c3): Likewise.
39575         (__strspn_c1): Likewise.
39576         (__strspn_c2): Likewise.
39577         (__strspn_c3): Likewise.
39578         (__strsep_1c): Likewise.
39579         (__strsep_2c): Likewise.
39580         (__strsep_3c): Likewise.
39581         * string/memccpy.c (__memccpy): Likewise.
39582         * string/stpcpy.c (__stpcpy): Likewise.
39583         * string/strcmp.c (strcmp): Likewise.
39584         * string/strrchr.c (strrchr): Likewise.
39585         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
39586         Likewise.
39587         * sysdeps/mach/hurd/getcwd.c
39588         (_hurd_canonicalize_directory_name_internal): Likewise.
39589         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
39590         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
39591         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
39592         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
39593         Likewise, in both definitions.
39594         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
39595         definitions.
39596         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
39597         64] (__bswap_64): Likewise.
39598         * time/test_time.c (main): Likewise.
39599         * time/tzfile.c (__tzfile_read): Likewise.
39600         (__tzfile_compute): Likewise.
39601         * time/tzset.c (__tzset_parse_tz): Likewise.
39602         (tzset_internal): Likewise.
39603         (compute_change): Likewise.
39604         * wcsmbs/wcscat.c (__wcscat): Likewise.
39605         * wcsmbs/wcschr.c (wcschr): Likewise.
39606         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
39607         * wcsmbs/wcscspn.c (wcscspn): Likewise.
39608         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
39609         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
39610         * wcsmbs/wcsspn.c (wcsspn): Likewise.
39611         * wcsmbs/wcsstr.c (wcsstr): Likewise.
39612         * wcsmbs/wmemchr.c (wmemchr): Likewise.
39613         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
39614         * wcsmbs/wmemset.c (wmemset): Likewise.
39616 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
39618         * scripts/config.guess: Update to version 2013-05-16.
39619         * scripts/config.sub: Update to version 2013-04-24.
39620         * scripts/install-sh: Update to version 2011-11-20.07.
39621         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
39622         * scripts/move-if-change: Update to version 2012-01-06 07:23.
39624 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
39626         * debug/fgetws_u_chk.c: Fix leading whitespaces.
39627         * elf/sln.c: Likewise.
39628         * hurd/hurd/ioctl.h: Likewise.
39629         * hurd/hurdmalloc.c: Likewise.
39630         * hurd/xattr.c: Likewise.
39631         * include/shlib-compat.h: Likewise.
39632         * inet/ruserpass.c: Likewise.
39633         * libio/iofgets_u.c: Likewise.
39634         * libio/iofgetws_u.c: Likewise.
39635         * locale/programs/ld-identification.c: Likewise.
39636         * locale/programs/ld-time.c: Likewise.
39637         * mach/msg-destroy.c: Likewise.
39638         * nss/nss_files/files-netgrp.c: Likewise.
39639         * resolv/res_data.c: Likewise.
39640         * soft-fp/op-1.h: Likewise.
39641         * soft-fp/op-2.h: Likewise.
39642         * soft-fp/op-4.h: Likewise.
39643         * soft-fp/op-common.h: Likewise.
39644         * stdio-common/printf_fphex.c: Likewise.
39645         * stdlib/strtod_l.c: Likewise.
39646         * sunrpc/rpc/clnt.h: Likewise.
39647         * sysdeps/generic/framestate.c: Likewise.
39648         * sysdeps/i386/bsd-_setjmp.S: Likewise.
39649         * sysdeps/i386/bsd-setjmp.S: Likewise.
39650         * sysdeps/i386/__longjmp.S: Likewise.
39651         * sysdeps/i386/setjmp.S: Likewise.
39652         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39653         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39654         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39655         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39656         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39657         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39658         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39659         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39660         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39661         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
39662         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39663         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39664         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39665         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39666         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39667         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39668         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39669         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
39670         * sysdeps/ieee754/support.c: Likewise.
39671         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39672         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
39673         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
39674         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
39675         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
39676         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
39677         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
39678         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
39679         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
39680         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
39681         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
39682         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
39683         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
39684         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
39685         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
39686         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
39687         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
39688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
39690 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
39692         * posix/transbug.c: Remove executable mode.
39694 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
39696         * crypt/speeds.c: Remove trailing whitespace.
39697         * dlfcn/default.c: Likewise.
39698         * elf/ifuncdep2.c: Likewise.
39699         * elf/ifuncmain1.c: Likewise.
39700         * elf/ifuncmain1vis.c: Likewise.
39701         * elf/testobj.h: Likewise.
39702         * elf/tst-stackguard1.c: Likewise.
39703         * gmon/sys/gmon.h: Likewise.
39704         * hurd/hurdmsg.c: Likewise.
39705         * hurd/new-fd.c: Likewise.
39706         * hurd/ports-get.c: Likewise.
39707         * iconvdata/ibm1008_420.c: Likewise.
39708         * inet/tst-getni1.c: Likewise.
39709         * inet/tst-getni2.c: Likewise.
39710         * libio/ioungetc.c: Likewise.
39711         * libio/wfiledoalloc.c: Likewise.
39712         * manual/libm-err-tab.pl: Likewise.
39713         * math/w_dremf.c: Likewise.
39714         * misc/ftruncate.c: Likewise.
39715         * posix/bug-glob2.c: Likewise.
39716         * posix/tst-pcre.c: Likewise.
39717         * posix/wait4.c: Likewise.
39718         * resolv/README: Likewise.
39719         * resolv/res_debug.h: Likewise.
39720         * resolv/tst-inet_ntop.c: Likewise.
39721         * setjmp/bug269-setjmp.c: Likewise.
39722         * soft-fp/extended.h: Likewise.
39723         * soft-fp/op-1.h: Likewise.
39724         * soft-fp/op-2.h: Likewise.
39725         * soft-fp/op-4.h: Likewise.
39726         * soft-fp/op-8.h: Likewise.
39727         * soft-fp/testit.c: Likewise.
39728         * stdio-common/bug16.c: Likewise.
39729         * stdlib/random.c: Likewise.
39730         * sunrpc/rpcsvc/rquota.x: Likewise.
39731         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
39732         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39733         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39734         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39735         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39736         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39737         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39738         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39739         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39740         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39741         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39742         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39743         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39744         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39745         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39746         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39747         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39748         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39749         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39750         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39751         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39752         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39753         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
39754         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39755         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39756         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39757         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
39758         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39759         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39760         * sysdeps/ieee754/s_lib_version.c: Likewise.
39761         * sysdeps/mach/hurd/check_fds.c: Likewise.
39762         * sysdeps/mach/hurd/getsockname.c: Likewise.
39763         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
39764         * sysdeps/mach/hurd/recvfrom.c: Likewise.
39765         * sysdeps/powerpc/bits/link.h: Likewise.
39766         * sysdeps/powerpc/dl-procinfo.c: Likewise.
39767         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
39768         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
39769         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
39770         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
39771         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39772         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
39773         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
39774         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
39775         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
39776         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
39777         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
39778         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
39779         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
39780         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
39781         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
39782         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
39783         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
39784         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
39785         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39786         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39787         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
39788         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39789         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
39790         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
39791         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
39792         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
39793         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39794         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39795         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
39796         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
39797         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
39798         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39799         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39800         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
39801         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
39802         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
39803         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
39804         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
39805         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
39806         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
39807         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
39808         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
39809         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
39810         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
39811         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
39812         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
39813         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
39814         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
39815         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
39816         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39817         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39818         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
39819         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
39820         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
39821         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
39822         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
39823         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39824         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
39825         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
39826         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
39827         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
39828         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
39829         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
39830         * sysdeps/powerpc/sysdep.h: Likewise.
39831         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39832         * sysdeps/s390/s390-64/sub_n.S: Likewise.
39833         * sysdeps/sh/dl-trampoline.S: Likewise.
39834         * sysdeps/sh/memset.S: Likewise.
39835         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
39836         * sysdeps/sh/strlen.S: Likewise.
39837         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
39838         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
39839         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
39840         * sysdeps/sparc/sparc32/rem.S: Likewise.
39841         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
39842         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
39843         * sysdeps/sparc/sparc32/strchr.S: Likewise.
39844         * sysdeps/sparc/sparc32/udiv.S: Likewise.
39845         * sysdeps/sparc/sparc32/urem.S: Likewise.
39846         * sysdeps/sparc/sparc64/add_n.S: Likewise.
39847         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39848         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
39849         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
39850         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
39851         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
39852         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
39853         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
39854         * sysdeps/unix/bsd/times.c: Likewise.
39855         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
39856         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
39857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
39858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
39859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
39860         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
39861         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
39862         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
39863         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
39864         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
39865         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
39866         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
39867         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
39868         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39869         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
39870         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
39871         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
39872         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
39873         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
39874         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
39875         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
39876         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
39877         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39878         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
39879         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
39880         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
39881         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
39882         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39883         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
39884         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
39885         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
39886         * sysdeps/x86_64/strcspn.S: Likewise.
39888 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39890         * locale/C-translit.h: Revert #include <stdint.h> because this is a
39891         generated file.  Regenerate properly from gen-translit.pl.
39892         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
39893         locale/C-translit.h.
39895 2013-06-05  Andreas Schwab  <schwab@suse.de>
39897         [BZ #15100]
39898         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
39899         week as 6 instead of -1.
39900         * time/tst-strptime.c (day_tests): Add test case.
39902 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39904         * sysdeps/generic/math_private.h
39905         (libc_feholdexcept_setround_53bit): Replace with
39906         libc_feholdsetround_53bit.
39907         (libc_feupdateenv_53bit): Replace with
39908         libc_feresetround_53bit.
39909         (SET_RESTORE_ROUND_53BIT): Adjust.
39911 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
39913         * string/test-strchrnul.c: Add copyright header.
39915         * posix/tst-getaddrinfo4.c: Increase test timeout.
39917 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
39919         [BZ #15536]
39920         * math/libm-test.inc (MAX_EXP): Remove
39921         (MIN_EXP): Define.
39922         (ulp): Use MIN_EXP - MANT_DIG.
39923         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
39925 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
39927         * po/be.po: Revert last change.
39928         * po/zh_CN.po: Likewise.
39929         * po/header.pot: Likewise.
39931 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
39933         * Makefile ($(common-objpfx)linkobj/libc.so): Define
39934         link-libc-deps to empty as target-specific variable.
39935         * Makerules (link-libc-args): New variable.
39936         (libc-for-link): Likewise.
39937         (link-libc-deps): Likewise.
39938         (lib%.so): Depend on $(link-libc-deps).  Link with
39939         $(link-libc-args).
39940         (build-module): Link with $(link-libc-args).
39941         (build-module-asneeded): Likewise.
39942         (build-module-helper-objlist): Filter out $(link-libc-deps) from
39943         list of objects.
39944         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
39945         target-specific variable.
39946         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
39947         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
39948         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
39949         libc.
39950         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
39951         libc and ld.so.
39952         ($(objpfx)libpcprofile.so): Likewise.
39953         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
39954         libc_nonshared.a.
39955         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
39956         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
39957         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
39958         $(link-libc-deps).
39959         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
39960         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
39961         * login/Makefile ($(objpfx)libutil.so): Likewise.
39962         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
39963         * math/Makefile ($(objpfx)libm.so): Likewise.
39964         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
39965         $(objpfx)libnsl.so): Define libc-for-link as target-specific
39966         variable instead of depending directly on libc.
39967         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
39968         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
39969         $(link-libc-deps).
39970         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
39971         libc.
39972         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
39973         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
39974         ($(objpfx)libanl.so): Likewise.
39975         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
39976         ld.so.
39977         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
39978         $(link-libc-deps).
39979         * sysdeps/i386/fpu/Makefile: Remove file.
39980         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
39981         ($(objpfx)libm.so): Remove dependency on ld.so.
39983 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
39985         [BZ # 15553]
39986         * nis/yp_xdr.c (XDRMAXNAME): Define.
39987         (XDRMAXRECORD): Define.
39988         (xdr_domainname): Use XDRMAXNAME.
39989         (xdr_mapname): Likewise.
39990         (xdr_peername): Likewise.
39991         (xdr_keydat): Use XDRMAXRECORD.
39992         (xdr_valdat): Likewise.
39994 2013-05-30  Jeff Law  <law@redhat.com>
39996         [BZ #14256]
39997         * manual/errno.texi (ESTALE): Update to account for more than
39998         just NFS file systems.
39999         * sysdeps/gnu/errlist.c: Regenerated.
40001 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40003         [BZ #15465]
40004         * elf/Makefile (tests): Add tst-null-argv.
40005         (modules-names):  Add tst-null-argv-lib.
40006         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
40007         (tst-null-argv-ENV): Set environment for tst-null-argv.
40008         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
40009         (RTLD_PROGNAME): New macro.
40010         * elf/tst-null-argv.c: New test case.
40011         * elf/tst-null-argv-lib.c: Library for test case.
40012         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
40013         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
40014         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
40015         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
40016         * elf/dl-init.c (call_init): Likewise.
40017         (_dl_init): Likewise.
40018         * elf/dl-load.c (print_search_path): Likewise.
40019         (_dl_map_object): Likewise.
40020         * elf/dl-lookup.c (do_lookup_x): Likewise.
40021         (add_dependency): Likewise.
40022         (_dl_lookup_symbol_x): Likewise.
40023         (_dl_debug_bindings): Likewise.
40024         * elf/dl-open.c (_dl_show_scope): Likewise.
40025         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
40026         * elf/dl-version.c (match_symbol): Likewise.
40027         (_dl_check_map_versions): Likewise.
40028         * elf/rtld.c (dl_main): Likewise.
40029         (print_unresolved): Use RTLD_PROGNAME.
40030         (print_missing_version): Likewise.
40031         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
40032         (elf_machine_rela): Likewise.
40033         * sysdeps/powerpc/powerpc32/dl-machine.c
40034         (__process_machine_rela): Likewise.
40035         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40036         Likewise.
40037         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
40038         Likewise.
40039         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
40040         Likewise.
40041         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40042         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
40043         Likewise.
40044         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
40045         Likewise.
40046         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40048 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
40050         * po/be.po: Add descriptive title.
40051         * po/zh_CN.po: Likewise.
40052         * po/header.pot: Likewise.
40054 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
40056         * locale/programs/locarchive.c (create_archive): Inlucde fname in
40057         error message.
40058         (enlarge_archive): Likewise.
40060 2013-05-28  Ben North  <ben@redfrontdoor.org>
40062         * manual/arith.texi (frexp): It is the magnitude of the return
40063         value which lies in [0.5, 1), not the return value itself.
40065 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40067         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40069 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
40071         * stdio-common/bug26.c (main): Correct fscanf template.
40073         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
40074         declare _dl_skip_args.
40076         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
40077         Don't declare.
40079         * manual/platform.texi: Add missing @end deftypefun.
40081 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
40083         [BZ #15529]
40084         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
40085         bit of mantissa of 2^16382.
40086         * math/libm-test.inc (hypot_test_data): Add more tests.
40088         * math/libm-test.inc: Add drem and pow10 to list of tested
40089         functions.
40090         (pow10_test): New function.
40091         (drem_test): Likewise.
40092         (drem_test_tonearest): Likewise.
40093         (drem_test_towardzero): Likewise.
40094         (drem_test_downward): Likewise.
40095         (drem_test_upward): Likewise.
40096         (main): Call the new functions.
40098         * math/libm-test.inc (finite_test_data): Remove.
40099         (finite_test): Run tests from isfinite_test_data.
40100         (gamma_test_data): Remove.
40101         (gamma_test): Run tests from lgamma_test_data.
40102         * sysdeps/i386/fpu/libm-test-ulps: Update.
40103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40105 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40107         * manual/platform.texi: Add PowerPC PPR function set documentation.
40108         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
40109         implementation.
40111 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
40113         * math/libm-test.inc (MAX_EXP): Define.
40114         (ULPDIFF): Define.
40115         (ulp): New function.
40116         (check_float_internal): Use ULPDIFF.
40117         (cpow_test): Disable failing test.
40118         (check_ulp): Test ulp() implemetnation.
40119         (main): Call check_ulp before starting tests.
40121 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
40123         * math/gen-libm-test.pl (generate_testfile): Do not handle
40124         START_DATA and END_DATA.
40125         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
40126         END_DATA.
40127         (acos_tonearest_test_data): Likewise.
40128         (acos_towardzero_test_data): Likewise.
40129         (acos_downward_test_data): Likewise.
40130         (acos_upward_test_data): Likewise.
40131         (acosh_test_data): Likewise.
40132         (asin_test_data): Likewise.
40133         (asin_tonearest_test_data): Likewise.
40134         (asin_towardzero_test_data): Likewise.
40135         (asin_downward_test_data): Likewise.
40136         (asin_upward_test_data): Likewise.
40137         (asinh_test_data): Likewise.
40138         (atan_test_data): Likewise.
40139         (atanh_test_data): Likewise.
40140         (atan2_test_data): Likewise.
40141         (cabs_test_data): Likewise.
40142         (cacos_test_data): Likewise.
40143         (cacosh_test_data): Likewise.
40144         (carg_test_data): Likewise.
40145         (casin_test_data): Likewise.
40146         (casinh_test_data): Likewise.
40147         (catan_test_data): Likewise.
40148         (catanh_test_data): Likewise.
40149         (cbrt_test_data): Likewise.
40150         (ccos_test_data): Likewise.
40151         (ccosh_test_data): Likewise.
40152         (ceil_test_data): Likewise.
40153         (cexp_test_data): Likewise.
40154         (cimag_test_data): Likewise.
40155         (clog_test_data): Likewise.
40156         (clog10_test_data): Likewise.
40157         (conj_test_data): Likewise.
40158         (copysign_test_data): Likewise.
40159         (cos_test_data): Likewise.
40160         (cos_tonearest_test_data): Likewise.
40161         (cos_towardzero_test_data): Likewise.
40162         (cos_downward_test_data): Likewise.
40163         (cos_upward_test_data): Likewise.
40164         (cosh_test_data): Likewise.
40165         (cosh_tonearest_test_data): Likewise.
40166         (cosh_towardzero_test_data): Likewise.
40167         (cosh_downward_test_data): Likewise.
40168         (cosh_upward_test_data): Likewise.
40169         (cpow_test_data): Likewise.
40170         (cproj_test_data): Likewise.
40171         (creal_test_data): Likewise.
40172         (csin_test_data): Likewise.
40173         (csinh_test_data): Likewise.
40174         (csqrt_test_data): Likewise.
40175         (ctan_test_data): Likewise.
40176         (ctan_tonearest_test_data): Likewise.
40177         (ctan_towardzero_test_data): Likewise.
40178         (ctan_downward_test_data): Likewise.
40179         (ctan_upward_test_data): Likewise.
40180         (ctanh_test_data): Likewise.
40181         (ctanh_tonearest_test_data): Likewise.
40182         (ctanh_towardzero_test_data): Likewise.
40183         (ctanh_downward_test_data): Likewise.
40184         (ctanh_upward_test_data): Likewise.
40185         (erf_test_data): Likewise.
40186         (erfc_test_data): Likewise.
40187         (exp_test_data): Likewise.
40188         (exp_tonearest_test_data): Likewise.
40189         (exp_towardzero_test_data): Likewise.
40190         (exp_downward_test_data): Likewise.
40191         (exp_upward_test_data): Likewise.
40192         (exp10_test_data): Likewise.
40193         (exp2_test_data): Likewise.
40194         (expm1_test_data): Likewise.
40195         (fabs_test_data): Likewise.
40196         (fdim_test_data): Likewise.
40197         (finite_test_data): Likewise.
40198         (floor_test_data): Likewise.
40199         (fma_test_data): Likewise.
40200         (fma_towardzero_test_data): Likewise.
40201         (fma_downward_test_data): Likewise.
40202         (fma_upward_test_data): Likewise.
40203         (fmax_test_data): Likewise.
40204         (fmin_test_data): Likewise.
40205         (fmod_test_data): Likewise.
40206         (fpclassify_test_data): Likewise.
40207         (frexp_test_data): Likewise.
40208         (gamma_test_data): Likewise.
40209         (hypot_test_data): Likewise.
40210         (ilogb_test_data): Likewise.
40211         (isfinite_test_data): Likewise.
40212         (isgreater_test_data): Likewise.
40213         (isgreaterequal_test_data): Likewise.
40214         (isinf_test_data): Likewise.
40215         (isless_test_data): Likewise.
40216         (islessequal_test_data): Likewise.
40217         (islessgreater_test_data): Likewise.
40218         (isnan_test_data): Likewise.
40219         (isnormal_test_data): Likewise.
40220         (issignaling_test_data): Likewise.
40221         (isunordered_test_data): Likewise.
40222         (j0_test_data): Likewise.
40223         (j1_test_data): Likewise.
40224         (jn_test_data): Likewise.
40225         (ldexp_test_data): Likewise.
40226         (lgamma_test_data): Likewise.
40227         (lrint_test_data): Likewise.
40228         (lrint_tonearest_test_data): Likewise.
40229         (lrint_towardzero_test_data): Likewise.
40230         (lrint_downward_test_data): Likewise.
40231         (lrint_upward_test_data): Likewise.
40232         (llrint_test_data): Likewise.
40233         (llrint_tonearest_test_data): Likewise.
40234         (llrint_towardzero_test_data): Likewise.
40235         (llrint_downward_test_data): Likewise.
40236         (llrint_upward_test_data): Likewise.
40237         (log_test_data): Likewise.
40238         (log10_test_data): Likewise.
40239         (log1p_test_data): Likewise.
40240         (log2_test_data): Likewise.
40241         (logb_test_data): Likewise.
40242         (logb_downward_test_data): Likewise.
40243         (lround_test_data): Likewise.
40244         (llround_test_data): Likewise.
40245         (modf_test_data): Likewise.
40246         (nearbyint_test_data): Likewise.
40247         (nextafter_test_data): Likewise.
40248         (nexttoward_test_data): Likewise.
40249         (pow_test_data): Likewise.
40250         (pow_tonearest_test_data): Likewise.
40251         (pow_towardzero_test_data): Likewise.
40252         (pow_downward_test_data): Likewise.
40253         (pow_upward_test_data): Likewise.
40254         (remainder_test_data): Likewise.
40255         (remainder_tonearest_test_data): Likewise.
40256         (remainder_towardzero_test_data): Likewise.
40257         (remainder_downward_test_data): Likewise.
40258         (remainder_upward_test_data): Likewise.
40259         (remquo_test_data): Likewise.
40260         (rint_test_data): Likewise.
40261         (rint_tonearest_test_data): Likewise.
40262         (rint_towardzero_test_data): Likewise.
40263         (rint_downward_test_data): Likewise.
40264         (rint_upward_test_data): Likewise.
40265         (round_test_data): Likewise.
40266         (scalb_test_data): Likewise.
40267         (scalbn_test_data): Likewise.
40268         (scalbln_test_data): Likewise.
40269         (signbit_test_data): Likewise.
40270         (sin_test_data): Likewise.
40271         (sin_tonearest_test_data): Likewise.
40272         (sin_towardzero_test_data): Likewise.
40273         (sin_downward_test_data): Likewise.
40274         (sin_upward_test_data): Likewise.
40275         (sincos_test_data): Likewise.
40276         (sinh_test_data): Likewise.
40277         (sinh_tonearest_test_data): Likewise.
40278         (sinh_towardzero_test_data): Likewise.
40279         (sinh_downward_test_data): Likewise.
40280         (sinh_upward_test_data): Likewise.
40281         (sqrt_test_data): Likewise.
40282         (tan_test_data): Likewise.
40283         (tan_tonearest_test_data): Likewise.
40284         (tan_towardzero_test_data): Likewise.
40285         (tan_downward_test_data): Likewise.
40286         (tan_upward_test_data): Likewise.
40287         (tanh_test_data): Likewise.
40288         (tgamma_test_data): Likewise.
40289         (trunc_test_data): Likewise.
40290         (y0_test_data): Likewise.
40291         (y1_test_data): Likewise.
40292         (yn_test_data): Likewise.
40293         (significand_test_data): Likewise.
40295         * math/gen-libm-test.pl (@functions): Remove variable.
40296         (generate_testfile): Don't handle START and END lines.
40297         * math/libm-test.inc (START): New macro.
40298         (END): Likewise.
40299         (END_COMPLEX): Likewise.
40300         (acos_test): Use END macro without arguments.
40301         (acos_test_tonearest): Likewise.
40302         (acos_test_towardzero): Likewise.
40303         (acos_test_downward): Likewise.
40304         (acos_test_upward): Likewise.
40305         (acosh_test): Likewise.
40306         (asin_test): Likewise.
40307         (asin_test_tonearest): Likewise.
40308         (asin_test_towardzero): Likewise.
40309         (asin_test_downward): Likewise.
40310         (asin_test_upward): Likewise.
40311         (asinh_test): Likewise.
40312         (atan_test): Likewise.
40313         (atanh_test): Likewise.
40314         (atan2_test): Likewise.
40315         (cabs_test): Likewise.
40316         (cacos_test): Use END_COMPLEX macro without arguments.
40317         (cacosh_test): Likewise.
40318         (carg_test): Use END macro without arguments.
40319         (casin_test): Use END_COMPLEX macro without arguments.
40320         (casinh_test): Likewise.
40321         (catan_test): Likewise.
40322         (catanh_test): Likewise.
40323         (cbrt_test): Use END macro without arguments.
40324         (ccos_test): Use END_COMPLEX macro without arguments.
40325         (ccosh_test): Likewise.
40326         (ceil_test): Use END macro without arguments.
40327         (cexp_test): Use END_COMPLEX macro without arguments.
40328         (cimag_test): Use END macro without arguments.
40329         (clog_test): Use END_COMPLEX macro without arguments.
40330         (clog10_test): Likewise.
40331         (conj_test): Likewise.
40332         (copysign_test): Use END macro without arguments.
40333         (cos_test): Likewise.
40334         (cos_test_tonearest): Likewise.
40335         (cos_test_towardzero): Likewise.
40336         (cos_test_downward): Likewise.
40337         (cos_test_upward): Likewise.
40338         (cosh_test): Likewise.
40339         (cosh_test_tonearest): Likewise.
40340         (cosh_test_towardzero): Likewise.
40341         (cosh_test_downward): Likewise.
40342         (cosh_test_upward): Likewise.
40343         (cpow_test): Use END_COMPLEX macro without arguments.
40344         (cproj_test): Likewise.
40345         (creal_test): Use END macro without arguments.
40346         (csin_test): Use END_COMPLEX macro without arguments.
40347         (csinh_test): Likewise.
40348         (csqrt_test): Likewise.
40349         (ctan_test): Likewise.
40350         (ctan_test_tonearest): Likewise.
40351         (ctan_test_towardzero): Likewise.
40352         (ctan_test_downward): Likewise.
40353         (ctan_test_upward): Likewise.
40354         (ctanh_test): Likewise.
40355         (ctanh_test_tonearest): Likewise.
40356         (ctanh_test_towardzero): Likewise.
40357         (ctanh_test_downward): Likewise.
40358         (ctanh_test_upward): Likewise.
40359         (erf_test): Use END macro without arguments.
40360         (erfc_test): Likewise.
40361         (exp_test): Likewise.
40362         (exp_test_tonearest): Likewise.
40363         (exp_test_towardzero): Likewise.
40364         (exp_test_downward): Likewise.
40365         (exp_test_upward): Likewise.
40366         (exp10_test): Likewise.
40367         (exp2_test): Likewise.
40368         (expm1_test): Likewise.
40369         (fabs_test): Likewise.
40370         (fdim_test): Likewise.
40371         (finite_test): Likewise.
40372         (floor_test): Likewise.
40373         (fma_test): Likewise.
40374         (fma_test_towardzero): Likewise.
40375         (fma_test_downward): Likewise.
40376         (fma_test_upward): Likewise.
40377         (fmax_test): Likewise.
40378         (fmin_test): Likewise.
40379         (fmod_test): Likewise.
40380         (fpclassify_test): Likewise.
40381         (frexp_test): Likewise.
40382         (gamma_test): Likewise.
40383         (hypot_test): Likewise.
40384         (ilogb_test): Likewise.
40385         (isfinite_test): Likewise.
40386         (isgreater_test): Likewise.
40387         (isgreaterequal_test): Likewise.
40388         (isinf_test): Likewise.
40389         (isless_test): Likewise.
40390         (islessequal_test): Likewise.
40391         (islessgreater_test): Likewise.
40392         (isnan_test): Likewise.
40393         (isnormal_test): Likewise.
40394         (issignaling_test): Likewise.
40395         (isunordered_test): Likewise.
40396         (j0_test): Likewise.
40397         (j1_test): Likewise.
40398         (jn_test): Likewise.
40399         (ldexp_test): Likewise.
40400         (lgamma_test): Likewise.
40401         (lrint_test): Likewise.
40402         (lrint_test_tonearest): Likewise.
40403         (lrint_test_towardzero): Likewise.
40404         (lrint_test_downward): Likewise.
40405         (lrint_test_upward): Likewise.
40406         (llrint_test): Likewise.
40407         (llrint_test_tonearest): Likewise.
40408         (llrint_test_towardzero): Likewise.
40409         (llrint_test_downward): Likewise.
40410         (llrint_test_upward): Likewise.
40411         (log_test): Likewise.
40412         (log10_test): Likewise.
40413         (log1p_test): Likewise.
40414         (log2_test): Likewise.
40415         (logb_test): Likewise.
40416         (logb_test_downward): Likewise.
40417         (lround_test): Likewise.
40418         (llround_test): Likewise.
40419         (modf_test): Likewise.
40420         (nearbyint_test): Likewise.
40421         (nextafter_test): Likewise.
40422         (nexttoward_test): Likewise.
40423         (pow_test): Likewise.
40424         (pow_test_tonearest): Likewise.
40425         (pow_test_towardzero): Likewise.
40426         (pow_test_downward): Likewise.
40427         (pow_test_upward): Likewise.
40428         (remainder_test): Likewise.
40429         (remainder_test_tonearest): Likewise.
40430         (remainder_test_towardzero): Likewise.
40431         (remainder_test_downward): Likewise.
40432         (remainder_test_upward): Likewise.
40433         (remquo_test): Likewise.
40434         (rint_test): Likewise.
40435         (rint_test_tonearest): Likewise.
40436         (rint_test_towardzero): Likewise.
40437         (rint_test_downward): Likewise.
40438         (rint_test_upward): Likewise.
40439         (round_test): Likewise.
40440         (scalb_test): Likewise.
40441         (scalbn_test): Likewise.
40442         (scalbln_test): Likewise.
40443         (signbit_test): Likewise.
40444         (sin_test): Likewise.
40445         (sin_test_tonearest): Likewise.
40446         (sin_test_towardzero): Likewise.
40447         (sin_test_downward): Likewise.
40448         (sin_test_upward): Likewise.
40449         (sincos_test): Likewise.
40450         (sinh_test): Likewise.
40451         (sinh_test_tonearest): Likewise.
40452         (sinh_test_towardzero): Likewise.
40453         (sinh_test_downward): Likewise.
40454         (sinh_test_upward): Likewise.
40455         (sqrt_test): Likewise.
40456         (tan_test): Likewise.
40457         (tan_test_tonearest): Likewise.
40458         (tan_test_towardzero): Likewise.
40459         (tan_test_downward): Likewise.
40460         (tan_test_upward): Likewise.
40461         (tanh_test): Likewise.
40462         (tgamma_test): Likewise.
40463         (trunc_test): Likewise.
40464         (y0_test): Likewise.
40465         (y1_test): Likewise.
40466         (yn_test): Likewise.
40467         (significand_test): Likewise.
40469 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
40471         [BZ #15381]
40472         * libio/genops.c (_IO_no_init): Initialize wide struct info.
40474 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
40476         [BZ #14894]
40477         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
40478         __ppc_mdoio and __ppc_mdoom.
40479         * manual/platform.texi: Document new functions __ppc_yield,
40480         __ppc_mdoio and __ppc_mdoom.
40482 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
40484         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
40485         (main): Mention "tls" pseudo-hwcap is legacy.
40486         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
40488 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
40490         * math/gen-libm-test.pl (parse_args): Output only string of
40491         arguments as text for test name, not full call or descriptions of
40492         tests for extra outputs.
40493         (generate_testfile): Do not pass function name to parse_args.
40494         Generate this_func variable from START.
40495         * math/libm-test.inc (struct test_f_f_data): Rename test_name
40496         field to arg_str.
40497         (struct test_ff_f_data): Likewise.
40498         (test_ff_f_data_nexttoward): Likewise.
40499         (struct test_fi_f_data): Likewise.
40500         (struct test_fl_f_data): Likewise.
40501         (struct test_if_f_data): Likewise.
40502         (struct test_fff_f_data): Likewise.
40503         (struct test_c_f_data): Likewise.
40504         (struct test_f_f1_data): Likewise.  Remove field extra_name.
40505         (struct test_fF_f1_data): Likewise.
40506         (struct test_ffI_f1_data): Likewise.
40507         (struct test_c_c_data): Rename test_name field to arg_str.
40508         (struct test_cc_c_data): Likewise.
40509         (struct test_f_i_data): Likewise.
40510         (struct test_ff_i_data): Likewise.
40511         (struct test_f_l_data): Likewise.
40512         (struct test_f_L_data): Likewise.
40513         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
40514         and extra2_name.
40515         (COMMON_TEST_SETUP): New macro.
40516         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
40517         (COMMON_TEST_CLEANUP): Likewise.
40518         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
40519         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
40520         macros.
40521         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
40522         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
40523         macros.
40524         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
40525         (RUN_TEST_fff_f): Take argument string.  Call new setup and
40526         cleanup macros.
40527         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
40528         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
40529         macros.
40530         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
40531         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
40532         macros.
40533         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
40534         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
40535         cleanup macros.
40536         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
40537         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
40538         cleanup macros.
40539         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
40540         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
40541         cleanup macros.
40542         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
40543         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
40544         macros.
40545         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
40546         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
40547         macros.
40548         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
40549         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
40550         macros.
40551         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
40552         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
40553         cleanup macros.
40554         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
40555         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
40556         cleanup macros.
40557         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
40558         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
40559         macros.
40560         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
40561         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
40562         cleanup macros.
40563         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
40564         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
40565         macros.
40566         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
40567         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
40568         macros.
40569         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
40570         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
40571         cleanup macros.
40572         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
40574 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
40576         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
40577         to _sifields.sigfault.
40578         (si_addr_lsb): Define new macro.
40579         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
40580         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40581         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
40583 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
40585         [BZ #15441]
40586         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
40587         returns -1.
40588         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
40589         null return -1.
40590         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
40591         loading the domain.
40593 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
40595         * math/gen-libm-test.pl (parse_args): Do not include expected
40596         result in test name.
40597         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
40598         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40599         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40600         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40601         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40604 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
40606         * benchtests/Makefile: Sort function entries.
40608         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
40609         tanh, asinh, acosh, atanh.
40610         * benchtests/acos-inputs: New file.
40611         * benchtests/acosh-inputs: New file.
40612         * benchtests/asin-inputs: New file.
40613         * benchtests/asinh-inputs: New file.
40614         * benchtests/atanh-inputs: New file.
40615         * benchtests/cosh-inputs: New file.
40616         * benchtests/log-inputs: New file.
40617         * benchtests/sinh-inputs: New file.
40618         * benchtests/tanh-inputs: New file.
40620 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
40622         [BZ #15339]
40623         * posix/tst-getaddrinfo4.c: New test.
40624         * posix/Makefile (tests): Add it.
40626 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40628         [BZ #15339]
40629         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
40630         when no services were used.
40631         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
40632         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
40634 2013-05-21  Andreas Schwab  <schwab@suse.de>
40636         [BZ #15014]
40637         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
40638         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
40639         successful.
40640         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
40641         redundant variable declarations and reallocation of buffer when
40642         parsing as IPv6 address.  Always set NSS status when called from
40643         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
40644         buffer too small.  Correct computation of needed size.
40645         * nss/Makefile (tests): Add test-digits-dots.
40646         * nss/test-digits-dots.c: New test.
40648 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40650         * benchtests/Makefile: Remove instructions for adding
40651         benchmark tests.
40652         * benchtests/README: New file to explain how to execute and
40653         enhance the benchmark tests.
40655 2013-05-21  Andreas Schwab  <schwab@suse.de>
40657         [BZ #15493]
40658         * setjmp/Makefile (tests): Add tst-sigsetjmp.
40659         * setjmp/tst-sigsetjmp.c: New test.
40661 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
40663         * sysdeps/x86_64/memset.S (memset): New implementation.
40664         (__bzero): Likewise.
40665         (__memset_tail): New function.
40667 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
40669         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
40670         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
40671         __memcpy_sse2_unaligned ifunc selection.
40672         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
40673         Add memcpy-sse2-unaligned.S.
40674         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
40675         Add: __memcpy_sse2_unaligned.
40677 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
40679         [BZ #15490]
40680         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
40681         math_force_eval before restoring floating-point envrionment.
40682         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
40683         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
40684         Likewise.
40685         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
40686         <math_private.h>.
40687         (__nearbyintl): Use math_force_eval before restoring
40688         floating-point environment.
40689         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
40691         * math/gen-libm-test.pl (special_functions): Remove.
40692         (parse_args): Don't handle TEST_extra.  Handle functions with no
40693         return value.
40694         * math/libm-test.inc (struct test_sincos_data): Replace with
40695         struct test_fFF_11_data.
40696         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
40697         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
40698         (sincos_test_data): Change element type to struct
40699         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
40700         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
40701         RUN_TEST_LOOP_sincos.
40702         * math/README.libm-test: Don't mention special handling of
40703         individual functions.
40704         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
40705         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40706         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40707         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40708         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40711         * math/gen-libm-test.pl (get_variable): Remove function.
40712         (parse_args): Don't show pointer parameters to call in test
40713         names.  Use "extra output N" in test names for extra outputs
40714         rather than naming variables.
40716 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
40718         [BZ #15488]
40719         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
40720         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
40721         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
40722         double tests.
40723         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
40724         disable.
40725         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
40726         check_long_double.
40728         * math/gen-libm-test.pl (@tests): Remove variable.
40729         ($count): Likewise.
40730         (new_test): Remove function.
40731         (show_exceptions): New function.
40732         (special_functions): Use show_exceptions instead of new_test.
40733         (parse_args): Likewise.
40734         (generate_testfile): Pass only function name in generated call to
40735         print_max_error or print_complex_max_error.
40736         (get_ulps): Do not handle complex tests specially.
40737         (output_test): Rename to ...
40738         (get_all_ulps_for_test): ... this.  Return a string rather than
40739         printing to a file.  Require ulps to be present.
40740         (output_ulps): Generate arrays rather than #defines.
40741         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
40742         (struct ulp_data): New type.
40743         (BUILD_COMPLEX_ULP): Remove macro.
40744         (compare_ulp_data): New function.
40745         (find_ulps): Likewise.
40746         (find_test_ulps): Likewise.
40747         (find_function_ulps): Likewise.
40748         (find_complex_function_ulps): Likewise.
40749         (print_max_error): Determine allowed ulps using
40750         find_function_ulps.
40751         (print_complex_max_error): Determine allowed ulps using
40752         find_complex_function_ulps.
40753         (check_float_internal): Determine max ulps using find_test_ulps.
40754         (check_float): Do not take max_ulp parameter.  Update call to
40755         check_float_internal.
40756         (check_complex): Likewise.
40757         (check_int): Do not take max_ulp parameter.
40758         (check_long): Likewise.
40759         (check_bool): Likewise.
40760         (check_longlong): Likewise.
40761         (struct test_f_f_data): Remove max_ulp field.
40762         (struct test_ff_f_data): Likewise.
40763         (struct test_ff_f_data_nexttoward): Likewise.
40764         (struct test_fi_f_data): Likewise.
40765         (struct test_fl_f_data): Likewise.
40766         (struct test_if_f_data): Likewise.
40767         (struct test_fff_f_data): Likewise.
40768         (struct test_c_f_data): Likewise.
40769         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
40770         (struct test_fF_f1_data): Likewise.
40771         (struct test_ffI_f1_data): Likewise.
40772         (struct test_c_c_data): Remove max_ulp field.
40773         (struct test_cc_c_data): Likewise.
40774         (struct test_f_i_data): Likewise.
40775         (struct test_ff_i_data): Likewise.
40776         (struct test_f_l_data): Likewise.
40777         (struct test_f_L_data): Likewise.
40778         (struct test_sincos_data): Likewise.
40779         (RUN_TEST_f_f): Do not handle ulps.
40780         (RUN_TEST_LOOP_f_f): Likewise.
40781         (RUN_TEST_2_f): Likewise.
40782         (RUN_TEST_LOOP_2_f): Likewise.
40783         (RUN_TEST_fff_f): Likewise.
40784         (RUN_TEST_LOOP_fff_f): Likewise.
40785         (RUN_TEST_c_f): Likewise.
40786         (RUN_TEST_LOOP_c_f): Likewise.
40787         (RUN_TEST_f_f1): Likewise.
40788         (RUN_TEST_LOOP_f_f1): Likewise.
40789         (RUN_TEST_fF_f1): Likewise.
40790         (RUN_TEST_LOOP_fF_f1): Likewise.
40791         (RUN_TEST_fI_f1): Likewise.
40792         (RUN_TEST_LOOP_fI_f1): Likewise.
40793         (RUN_TEST_ffI_f1): Likewise.
40794         (RUN_TEST_LOOP_ffI_f1): Likewise.
40795         (RUN_TEST_c_c): Likewise.
40796         (RUN_TEST_LOOP_c_c): Likewise.
40797         (RUN_TEST_cc_c): Likewise.
40798         (RUN_TEST_LOOP_cc_c): Likewise.
40799         (RUN_TEST_f_i): Likewise.
40800         (RUN_TEST_LOOP_f_i): Likewise.
40801         (RUN_TEST_f_i_tg): Likewise.
40802         (RUN_TEST_LOOP_f_i_tg): Likewise.
40803         (RUN_TEST_ff_i_tg): Likewise.
40804         (RUN_TEST_LOOP_ff_i_tg): Likewise.
40805         (RUN_TEST_f_b): Likewise.
40806         (RUN_TEST_LOOP_f_b): Likewise.
40807         (RUN_TEST_f_b_tg): Likewise.
40808         (RUN_TEST_LOOP_f_b_tg): Likewise.
40809         (RUN_TEST_f_l): Likewise.
40810         (RUN_TEST_LOOP_f_l): Likewise.
40811         (RUN_TEST_f_L): Likewise.
40812         (RUN_TEST_LOOP_f_L): Likewise.
40813         (RUN_TEST_sincos): Likewise.
40814         (RUN_TEST_LOOP_sincos): Likewise.
40816 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
40818         [BZ #15480]
40819         [BZ #15485]
40820         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
40821         main case of finite arguments, set rounding mode to FE_TONEAREST
40822         and discard exceptions.
40823         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
40824         exceptions.
40825         (remainder_tonearest_test_data): New variable.
40826         (remainder_test_tonearest): New function.
40827         (remainder_towardzero_test_data): New variable.
40828         (remainder_test_towardzero): New function.
40829         (remainder_downward_test_data): New variable.
40830         (remainder_test_downward): New function.
40831         (remainder_upward_test_data): New variable.
40832         (remainder_test_upward): New function.
40833         (main): Call the new test functions.
40835         * math/libm-test.inc (struct test_f_f1_data): Remove field
40836         extra_init.
40837         (struct test_fF_f1_data): Likewise.
40838         (struct test_ffI_f1_data): Likewise.
40839         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
40840         based on value of EXTRA_EXPECTED.
40841         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
40842         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
40843         EXTRA_VAR based on value of EXTRA_EXPECTED.
40844         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
40845         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
40846         EXTRA_VAR based on value of EXTRA_EXPECTED.
40847         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
40848         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
40849         EXTRA_VAR based on value of EXTRA_EXPECTED.
40850         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
40851         * math/gen-libm-test.pl (parse_args): Don't output initializers
40852         for extra output values.
40854         * math/libm-test.inc (check_int): Expect result to be exactly
40855         equal to expected value and do not handle ulps.
40856         (check_long): Likewise.
40857         (check_longlong): Likewise.
40859         * math/libm-test.inc (ceil_test_data): Test for "inexact"
40860         exceptions.
40861         (cimag_test_data): Likewise.
40862         (conj_test_data): Likewise.
40863         (copysign_test_data): Likewise.
40864         (cproj_test_data): Likewise.
40865         (creal_test_data): Likewise.
40866         (fabs_test_data): Likewise.
40867         (fdim_test_data): Likewise.
40868         (finite_test_data): Likewise.
40869         (floor_test_data): Likewise.
40870         (fmax_test_data): Likewise.
40871         (fmin_test_data): Likewise.
40872         (fmod_test_data): Likewise.
40873         (fpclassify_test_data): Likewise.
40874         (frexp_test_data): Likewise.
40875         (ilogb_test_data): Likewise.
40876         (isfinite_test_data): Likewise.
40877         (isgreater_test_data): Likewise.
40878         (isgreaterequal_test_data): Likewise.
40879         (isinf_test_data): Likewise.
40880         (isless_test_data): Likewise.
40881         (islessequal_test_data): Likewise.
40882         (islessgreater_test_data): Likewise.
40883         (isnan_test_data): Likewise.
40884         (isnormal_test_data): Likewise.
40885         (issignaling_test_data): Likewise.
40886         (isunordered_test_data): Likewise.
40887         (ldexp_test_data): Likewise.
40888         (lrint_test_data): Likewise.
40889         (lrint_test_data) [TEST_FLOAT]: Disable one test.
40890         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
40891         (lrint_tonearest_test_data): Test for "inexact" exceptions.
40892         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
40893         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
40894         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
40895         test input.
40896         (lrint_towardzero_test_data): Test for "inexact" exceptions.
40897         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
40898         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
40899         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
40900         that test input.
40901         (lrint_downward_test_data): Test for "inexact" exceptions.
40902         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
40903         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
40904         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
40905         test input.
40906         (lrint_upward_test_data): Test for "inexact" exceptions.
40907         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
40908         test input.
40909         (llrint_test_data): Test for "inexact" exceptions.
40910         (llrint_test_data) [TEST_FLOAT]: Disable one test.
40911         (llrint_tonearest_test_data): Test for "inexact" exceptions.
40912         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
40913         (llrint_towardzero_test_data): Test for "inexact" exceptions.
40914         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
40915         (llrint_downward_test_data): Test for "inexact" exceptions.
40916         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
40917         (llrint_upward_test_data): Test for "inexact" exceptions.
40918         (logb_test_data): Likewise.
40919         (logb_downward_test_data): Likewise.
40920         (nextafter_test_data): Likewise.
40921         (nexttoward_test_data): Likewise.
40922         (remainder_test_data): Likewise.
40923         (remquo_test_data): Likewise.
40924         (scalbn_test_data): Likewise.
40925         (scalbln_test_data): Likewise.
40926         (signbit_test_data): Likewise.
40927         (sqrt_test_data): Likewise.
40928         (significand_test_data): Likewise.
40930 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
40932         [BZ #15424]
40933         * benchtests/bench-modf.c (struct args): Mark arg0 as
40934         volatile.
40935         * scripts/bench.pl: Mark members of struct args as volatile.
40937 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40939         [BZ # 15497]
40940         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
40941         negative infinity on POWER6 or lower.
40942         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
40944 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
40946         [BZ #15442]
40947         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
40948         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
40949         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
40950         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
40951         (_FP_SETQNAN): New macro.
40952         (_FP_SETQNAN_SEMIRAW): Likewise.
40953         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
40954         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
40955         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
40956         (FP_EXTEND): Use _FP_FRAC_SNANP.
40957         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
40958         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
40959         into account.
40960         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
40961         New macro.
40962         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
40963         Likewise.
40965 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
40967         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
40968         with DIVIDE_BY_ZERO_EXCEPTION.
40969         (gamma_test_data): Likewise.
40970         (lgamma_test_data): Likewise.
40971         (log_test_data): Likewise.
40972         (log10_test_data): Likewise.
40973         (log2_test_data): Likewise.
40974         (tgamma_test_data): Likewise.
40976         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
40977         (acos_test_tonearest): Likewise.
40978         (acos_test_towardzero): Likewise.
40979         (acos_test_downward): Likewise.
40980         (acos_test_upward): Likewise.
40981         (acosh_test): Likewise.
40982         (asin_test): Likewise.
40983         (asin_test_tonearest): Likewise.
40984         (asin_test_towardzero): Likewise.
40985         (asin_test_downward): Likewise.
40986         (asin_test_upward): Likewise.
40987         (asinh_test): Likewise.
40988         (atan_test): Likewise.
40989         (atanh_test): Likewise.
40990         (atan2_test): Likewise.
40991         (cabs_test): Likewise.
40992         (cacos_test): Likewise.
40993         (cacosh_test): Likewise.
40994         (casin_test): Likewise.
40995         (casinh_test): Likewise.
40996         (catan_test): Likewise.
40997         (catanh_test): Likewise.
40998         (cbrt_test): Likewise.
40999         (ccos_test): Likewise.
41000         (ccosh_test): Likewise.
41001         (cexp_test): Likewise.
41002         (clog_test): Likewise.
41003         (clog10_test): Likewise.
41004         (cos_test): Likewise.
41005         (cos_test_tonearest): Likewise.
41006         (cos_test_towardzero): Likewise.
41007         (cos_test_downward): Likewise.
41008         (cos_test_upward): Likewise.
41009         (cosh_test): Likewise.
41010         (cosh_test_tonearest): Likewise.
41011         (cosh_test_towardzero): Likewise.
41012         (cosh_test_downward): Likewise.
41013         (cosh_test_upward): Likewise.
41014         (cpow_test): Likewise.
41015         (csin_test): Likewise.
41016         (csinh_test): Likewise.
41017         (csqrt_test): Likewise.
41018         (ctan_test): Likewise.
41019         (ctan_test_tonearest): Likewise.
41020         (ctan_test_towardzero): Likewise.
41021         (ctan_test_downward): Likewise.
41022         (ctan_test_upward): Likewise.
41023         (ctanh_test): Likewise.
41024         (ctanh_test_tonearest): Likewise.
41025         (ctanh_test_towardzero): Likewise.
41026         (ctanh_test_downward): Likewise.
41027         (ctanh_test_upward): Likewise.
41028         (erf_test): Likewise.
41029         (erfc_test): Likewise.
41030         (exp_test): Likewise.
41031         (exp_test_tonearest): Likewise.
41032         (exp_test_towardzero): Likewise.
41033         (exp_test_downward): Likewise.
41034         (exp_test_upward): Likewise.
41035         (exp10_test): Likewise.
41036         (exp2_test): Likewise.
41037         (expm1_test): Likewise.
41038         (fmod_test): Likewise.
41039         (gamma_test): Likewise.
41040         (hypot_test): Likewise.
41041         (j0_test): Likewise.
41042         (j1_test): Likewise.
41043         (jn_test): Likewise.
41044         (lgamma_test): Likewise.
41045         (log_test): Likewise.
41046         (log10_test): Likewise.
41047         (log1p_test): Likewise.
41048         (log2_test): Likewise.
41049         (logb_test_downward): Likewise.
41050         (pow_test): Likewise.
41051         (pow_test_tonearest): Likewise.
41052         (pow_test_towardzero): Likewise.
41053         (pow_test_downward): Likewise.
41054         (pow_test_upward): Likewise.
41055         (remainder_test): Likewise.
41056         (remquo_test): Likewise.
41057         (sin_test): Likewise.
41058         (sin_test_tonearest): Likewise.
41059         (sin_test_towardzero): Likewise.
41060         (sin_test_downward): Likewise.
41061         (sin_test_upward): Likewise.
41062         (sincos_test): Likewise.
41063         (sinh_test): Likewise.
41064         (sinh_test_tonearest): Likewise.
41065         (sinh_test_towardzero): Likewise.
41066         (sinh_test_downward): Likewise.
41067         (sinh_test_upward): Likewise.
41068         (sqrt_test): Likewise.
41069         (tan_test): Likewise.
41070         (tan_test_tonearest): Likewise.
41071         (tan_test_towardzero): Likewise.
41072         (tan_test_downward): Likewise.
41073         (tan_test_upward): Likewise.
41074         (tanh_test): Likewise.
41075         (tgamma_test): Likewise.
41076         (y0_test): Likewise.
41077         (y1_test): Likewise.
41078         (yn_test): Likewise.
41080         * math/gen-libm-test.pl (adjust_arg): Remove function.
41081         (special_function): Remove argument $in_func.  Only handle
41082         generating output for tables of tests, not inside functions.
41083         (parse_args): Likewise.
41084         (generate_testfile): Remove variable $in_func.  Update call to
41085         parse_args.
41086         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
41087         (MINUS_ZERO_INIT): Rename macro to minus_zero.
41088         (PLUS_INFTY_INIT): Rename macro to plus_infty.
41089         (MINUS_INFTY_INIT): Rename macro to minus_infty.
41090         (QNAN_VALUE_INIT): Rename macro to qnan_value.
41091         (MAX_VALUE_INIT): Rename macro to max_value.
41092         (MIN_VALUE_INIT): Rename macro to min_value.
41093         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
41094         (plus_zero): Remove variable.
41095         (minus_zero): Likewise.
41096         (plus_infty): Likewise.
41097         (minus_infty): Likewise.
41098         (qnan_value): Likewise.
41099         (max_value): Likewise.
41100         (min_value): Likewise.
41101         (min_subnorm_value): Likewise.
41103 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41105         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
41106         uint64_t or uint32_t usage.
41107         * crypt/sha256-block.c: Likewise.
41108         * crypt/sha256-crypt.c: Likewise.
41109         * crypt/sha256.c: Likewise.
41110         * crypt/sha512-block.c: Likewise.
41111         * crypt/sha512-crypt.c: Likewise.
41112         * crypt/sha512.c: Likewise.
41113         * debug/backtrace-tst.c: Likewise.
41114         * debug/pcprofiledump.c: Likewise.
41115         * elf/cache.c: Likewise.
41116         * elf/dl-cache.c: Likewise.
41117         * elf/dl-misc.c: Likewise.
41118         * elf/dl-profile.c: Likewise.
41119         * elf/dl-support.c: Likewise.
41120         * elf/ldconfig.c: Likewise.
41121         * elf/sprof.c: Likewise.
41122         * iconv/dummy-repertoire.c: Likewise.
41123         * iconv/iconv_charmap.c: Likewise.
41124         * iconv/skeleton.c: Likewise.
41125         * iconvdata/8bit-generic.c: Likewise.
41126         * iconvdata/cp737.h: Likewise.
41127         * iconvdata/cp775.h: Likewise.
41128         * iconvdata/ibm1008.h: Likewise.
41129         * iconvdata/ibm1025.h: Likewise.
41130         * iconvdata/ibm1046.h: Likewise.
41131         * iconvdata/ibm1097.h: Likewise.
41132         * iconvdata/ibm1112.h: Likewise.
41133         * iconvdata/ibm1122.h: Likewise.
41134         * iconvdata/ibm1123.h: Likewise.
41135         * iconvdata/ibm1124.h: Likewise.
41136         * iconvdata/ibm1129.h: Likewise.
41137         * iconvdata/ibm1130.h: Likewise.
41138         * iconvdata/ibm1132.h: Likewise.
41139         * iconvdata/ibm1133.h: Likewise.
41140         * iconvdata/ibm1137.h: Likewise.
41141         * iconvdata/ibm1140.h: Likewise.
41142         * iconvdata/ibm1141.h: Likewise.
41143         * iconvdata/ibm1142.h: Likewise.
41144         * iconvdata/ibm1143.h: Likewise.
41145         * iconvdata/ibm1144.h: Likewise.
41146         * iconvdata/ibm1145.h: Likewise.
41147         * iconvdata/ibm1146.h: Likewise.
41148         * iconvdata/ibm1147.h: Likewise.
41149         * iconvdata/ibm1148.h: Likewise.
41150         * iconvdata/ibm1149.h: Likewise.
41151         * iconvdata/ibm1153.h: Likewise.
41152         * iconvdata/ibm1154.h: Likewise.
41153         * iconvdata/ibm1155.h: Likewise.
41154         * iconvdata/ibm1156.h: Likewise.
41155         * iconvdata/ibm1157.h: Likewise.
41156         * iconvdata/ibm1158.h: Likewise.
41157         * iconvdata/ibm1160.h: Likewise.
41158         * iconvdata/ibm1161.h: Likewise.
41159         * iconvdata/ibm1162.h: Likewise.
41160         * iconvdata/ibm1163.h: Likewise.
41161         * iconvdata/ibm1164.h: Likewise.
41162         * iconvdata/ibm1166.h: Likewise.
41163         * iconvdata/ibm1167.h: Likewise.
41164         * iconvdata/ibm12712.h: Likewise.
41165         * iconvdata/ibm1390.h: Likewise.
41166         * iconvdata/ibm1399.h: Likewise.
41167         * iconvdata/ibm16804.h: Likewise.
41168         * iconvdata/ibm4517.h: Likewise.
41169         * iconvdata/ibm4899.h: Likewise.
41170         * iconvdata/ibm4909.h: Likewise.
41171         * iconvdata/ibm4971.h: Likewise.
41172         * iconvdata/ibm5347.h: Likewise.
41173         * iconvdata/ibm803.h: Likewise.
41174         * iconvdata/ibm856.h: Likewise.
41175         * iconvdata/ibm901.h: Likewise.
41176         * iconvdata/ibm902.h: Likewise.
41177         * iconvdata/ibm9030.h: Likewise.
41178         * iconvdata/ibm9066.h: Likewise.
41179         * iconvdata/ibm921.h: Likewise.
41180         * iconvdata/ibm922.h: Likewise.
41181         * iconvdata/ibm9448.h: Likewise.
41182         * iconvdata/isiri-3342.h: Likewise.
41183         * iconvdata/jis0201.h: Likewise.
41184         * include/link.h: Likewise.
41185         * include/netdb.h: Likewise.
41186         * inet/check_native.c: Likewise.
41187         * inet/check_pf.c: Likewise.
41188         * inet/getipv4sourcefilter.c: Likewise.
41189         * inet/getnameinfo.c: Likewise.
41190         * inet/getsourcefilter.c: Likewise.
41191         * inet/htonl.c: Likewise.
41192         * inet/setipv4sourcefilter.c: Likewise.
41193         * inet/setsourcefilter.c: Likewise.
41194         * inet/test-inet6_opt.c: Likewise.
41195         * inet/tst-network.c: Likewise.
41196         * locale/C-collate.c: Likewise.
41197         * locale/C-ctype.c: Likewise.
41198         * locale/C-time.c: Likewise.
41199         * locale/C-translit.h: Likewise.
41200         * locale/loadarchive.c: Likewise.
41201         * locale/programs/3level.h: Likewise.
41202         * locale/programs/charmap.c: Likewise.
41203         * locale/programs/charmap.h: Likewise.
41204         * locale/programs/ld-address.c: Likewise.
41205         * locale/programs/ld-collate.c: Likewise.
41206         * locale/programs/ld-ctype.c: Likewise.
41207         * locale/programs/ld-identification.c: Likewise.
41208         * locale/programs/ld-measurement.c: Likewise.
41209         * locale/programs/ld-messages.c: Likewise.
41210         * locale/programs/ld-monetary.c: Likewise.
41211         * locale/programs/ld-name.c: Likewise.
41212         * locale/programs/ld-numeric.c: Likewise.
41213         * locale/programs/ld-paper.c: Likewise.
41214         * locale/programs/ld-telephone.c: Likewise.
41215         * locale/programs/ld-time.c: Likewise.
41216         * locale/programs/linereader.c: Likewise.
41217         * locale/programs/locale.c: Likewise.
41218         * locale/programs/locarchive.c: Likewise.
41219         * locale/programs/locfile.h: Likewise.
41220         * locale/programs/repertoire.c: Likewise.
41221         * locale/programs/simple-hash.c: Likewise.
41222         * locale/programs/simple-hash.h: Likewise.
41223         * malloc/memusage.c: Likewise.
41224         * malloc/memusagestat.c: Likewise.
41225         * nis/nis_defaults.c: Likewise.
41226         * nis/nis_hash.c: Likewise.
41227         * nis/nis_print.c: Likewise.
41228         * nis/nis_xdr.c: Likewise.
41229         * nscd/connections.c: Likewise.
41230         * nscd/hstcache.c: Likewise.
41231         * nscd/nscd_gethst_r.c: Likewise.
41232         * nscd/nscd_getserv_r.c: Likewise.
41233         * nscd/nscd_helper.c: Likewise.
41234         * nscd/servicescache.c: Likewise.
41235         * nss/makedb.c: Likewise.
41236         * nss/nss_db/db-XXX.c: Likewise.
41237         * nss/nss_db/db-initgroups.c: Likewise.
41238         * nss/nss_db/db-netgrp.c: Likewise.
41239         * nss/nss_files/files-network.c: Likewise.
41240         * nss/nss_files/files-parse.c: Likewise.
41241         * posix/bug-regex5.c: Likewise.
41242         * posix/fnmatch_loop.c: Likewise.
41243         * posix/regcomp.c: Likewise.
41244         * posix/regexec.c: Likewise.
41245         * posix/tst-rfc3484-2.c: Likewise.
41246         * posix/tst-rfc3484-3.c: Likewise.
41247         * posix/tst-rfc3484.c: Likewise.
41248         * resolv/nss_dns/dns-canon.c: Likewise.
41249         * resolv/nss_dns/dns-network.c: Likewise.
41250         * resolv/res_init.c: Likewise.
41251         * resolv/res_mkquery.c: Likewise.
41252         * resolv/tst-aton.c: Likewise.
41253         * stdlib/cxa_atexit.c: Likewise.
41254         * stdlib/cxa_finalize.c: Likewise.
41255         * stdlib/gen-fpioconst.c: Likewise.
41256         * stdlib/strtol_l.c: Likewise.
41257         * string/tst-endian.c: Likewise.
41258         * sunrpc/auth_des.c: Likewise.
41259         * sunrpc/clnt_udp.c: Likewise.
41260         * sunrpc/rtime.c: Likewise.
41261         * sunrpc/svcauth_des.c: Likewise.
41262         * sunrpc/xdr.c: Likewise.
41263         * sunrpc/xdr_intXX_t.c: Likewise.
41264         * sunrpc/xdr_rec.c: Likewise.
41265         * sysdeps/generic/ldconfig.h: Likewise.
41266         * sysdeps/generic/ldsodefs.h: Likewise.
41267         * sysdeps/generic/memusage.h: Likewise.
41268         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
41269         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
41270         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
41271         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
41272         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41273         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41274         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
41275         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
41276         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41277         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
41278         * sysdeps/posix/getaddrinfo.c: Likewise.
41279         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41280         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41281         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41282         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41283         * sysdeps/powerpc/test-gettimebase.c: Likewise.
41284         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
41285         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
41286         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
41287         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
41288         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
41289         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41290         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41291         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
41292         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
41293         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
41294         * sysdeps/x86_64/dl-tls.h: Likewise.
41295         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
41296         * time/alt_digit.c: Likewise.
41297         * time/era.c: Likewise.
41298         * wcsmbs/tst-c16c32-1.c: Likewise.
41300 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
41302         * math/libm-test.inc (struct test_sincos_data): New type.
41303         (RUN_TEST_LOOP_sincos): New macro.
41304         (sincos_test_data): New variable.
41305         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
41307 2013-05-16  Richard Henderson  <rth@redhat.com>
41309         * math/atest-exp2.c (LIMB64): New macro.
41310         (CONSTSZ): New macro.
41311         (mp_exp1, mp_exp_m1, mp_log2): New variables.
41312         (hexdig): Move ...
41313         (print_mpn_fp): ... to function scope.
41314         (read_mpn_hex): Remove.
41315         (get_log2): Remove.
41316         (exp2_mpn): Use mp_log2.
41317         (main): Use mp_exp1.
41319 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
41321         * math/libm-test.inc: Remove comment about not testing "inexact"
41322         exceptions.
41323         (INEXACT_EXCEPTION): New macro.
41324         (NO_INEXACT_EXCEPTION): Likewise.
41325         (INVALID_EXCEPTION_OK): Update value.
41326         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41327         (OVERFLOW_EXCEPTION_OK): Likewise.
41328         (UNDERFLOW_EXCEPTION_OK): Likewise.
41329         (IGNORE_ZERO_INF_SIGN): Likewise.
41330         (ERRNO_UNCHANGED): Likewise.
41331         (ERRNO_EDOM): Likewise.
41332         (ERRNO_ERANGE): Likewise.
41333         (test_exceptions): Handle testing "inexact" exceptions.
41334         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
41335         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
41336         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
41337         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
41338         INEXACT_EXCEPTION.
41339         (rint_towardzero_test_data): Likewise.
41340         (rint_downward_test_data): Likewise.
41341         (rint_upward_test_data): Likewise.
41343         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
41344         with OVERFLOW_EXCEPTION.
41345         (exp10_test_data): Likewise.
41346         (exp2_test_data): Likewise.
41347         (expm1_test_data): Likewise.
41348         (lgamma_test_data): Likewise.
41349         (pow_test_data): Likewise.
41350         (tgamma_test_data): Likewise.
41351         (yn_test_data): Remove duplicate test of overflow.
41353         * math/libm-test.inc (struct test_cc_c_data): New type.
41354         (RUN_TEST_LOOP_cc_c): New macro.
41355         (cpow_test_data): New variable.
41356         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
41358         * math/libm-test.inc (struct test_f_L_data): New type.
41359         (RUN_TEST_LOOP_f_L): New macro.
41360         (llrint_test_data): New variable.
41361         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
41362         (llrint_tonearest_test_data): New variable.
41363         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
41364         (llrint_towardzero_test_data): New variable.
41365         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
41366         (llrint_downward_test_data): New variable.
41367         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
41368         (llrint_upward_test_data): New variable.
41369         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
41370         (llround_test_data): New variable.
41371         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
41373 2013-05-13  Peter Collingbourne  <pcc@google.com>
41375         * math/atest-exp2.c (get_log2): Remove const attribute.
41377 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
41379         * math/libm-test.inc (struct test_f_l_data): New type.
41380         (RUN_TEST_LOOP_f_l): New macro.
41381         (lrint_test_data): New variable.
41382         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
41383         (lrint_tonearest_test_data): New variable.
41384         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
41385         (lrint_towardzero_test_data): New variable.
41386         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
41387         (lrint_downward_test_data): New variable.
41388         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
41389         (lrint_upward_test_data): New variable.
41390         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
41391         (lround_test_data): New variable.
41392         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
41394 2013-05-15  Peter Collingbourne  <pcc@google.com>
41396         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
41397         (EXTRACT_WORDS64) Use where appropriate.
41398         (INSERT_WORDS64) Likewise.
41400         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
41401         constraints with x constraints.
41402         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
41404         * malloc/obstack.c (_obstack_compat): Add initializer.
41406 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
41408         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
41409         si_trapno and add si_addr_lsb to _sifields.sigfault.
41410         (si_trapno): Remove macro.
41411         (si_addr_lsb): Define new macro.
41412         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
41414 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
41416         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
41417         instead of TEST_f_l.
41418         (llrint_test_tonearest): Likewise.
41419         (llrint_test_towardzero): Likewise.
41420         (llrint_test_downward): Likewise.
41421         (llrint_test_upward): Likewise.
41422         (llround_test): Likewise.
41424         * math/libm-test.inc (struct test_f_i_data): Add comment.
41425         (RUN_TEST_LOOP_f_b): New macro.
41426         (RUN_TEST_LOOP_f_b_tg): Likewise.
41427         (finite_test_data): New variable.
41428         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
41429         (isfinite_test_data): New variable.
41430         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41431         (isinf_test_data): New variable.
41432         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41433         (isnan_test_data): New variable.
41434         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41435         (isnormal_test_data): New variable.
41436         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41437         (issignaling_test_data): New variable.
41438         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41439         (signbit_test_data): New variable.
41440         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41442         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
41443         with INVALID_EXCEPTION.
41444         (acosh_test_data): Likewise.
41445         (asin_test_data): Likewise.
41446         (atanh_test_data): Likewise.
41447         (fmod_test_data): Likewise.
41448         (log_test_data): Likewise.
41449         (log10_test_data): Likewise.
41450         (log2_test_data): Likewise.
41451         (pow_test_data): Likewise.
41452         (sqrt_test_data): Likewise.
41453         (y0_test_data): Likewise.
41454         (y1_test_data): Likewise.
41455         (yn_test_data): Likewise.
41457         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
41458         function contents.
41460         * math/libm-test.inc (struct test_ff_i_data): New type.
41461         (RUN_TEST_LOOP_ff_i_tg): New macro.
41462         (isgreater_test_data): New variable.
41463         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41464         (isgreaterequal_test_data): New variable.
41465         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41466         (isless_test_data): New variable.
41467         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41468         (islessequal_test_data): New variable.
41469         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41470         (islessgreater_test_data): New variable.
41471         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41472         (isunordered_test_data): New variable.
41473         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41475 2013-05-14  David S. Miller  <davem@davemloft.net>
41477         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41479 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
41481         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
41483         * math/libm-test.inc (struct test_fF_f1_data): Change type of
41484         extra_test to int.
41485         (struct test_f_i_data): Change type of max_ulp to int.
41487         * math/libm-test.inc (test_ffI_f1_data): New type.
41488         (RUN_TEST_LOOP_ffI_f1): New macro.
41489         (remquo_test_data): New variable.
41490         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
41492         * setjmp/tst-setjmp-fp.c: New file.
41493         * setjmp/Makefile (tests): Add tst-setjmp-fp.
41494         (link-libm): New variable.
41495         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
41497         * math/libm-test.inc (struct test_f_i_data): New type.
41498         (RUN_TEST_LOOP_f_i): New macro.
41499         (RUN_TEST_LOOP_f_i_tg): Likewise.
41500         (fpclassify_test_data): New variable.
41501         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
41502         (ilogb_test_data): New variable.
41503         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
41505         * math/libm-test.inc (scalbln_test): Correct function name in END
41506         call.
41508         * math/libm-test.inc (struct test_f_f1_data): Add comment.
41509         (RUN_TEST_LOOP_fI_f1): New macro.
41510         (frexp_test_data): New variable.
41511         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
41513         * math/libm-test.inc (struct test_fF_f1_data): New type.
41514         (RUN_TEST_LOOP_fF_f1): New macro.
41515         (modf_test_data): New variable.
41516         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
41518         * math/libm-test.inc (struct test_f_f1_data): New type.
41519         (RUN_TEST_LOOP_f_f1): New macro.
41520         (gamma_test_data): New variable.
41521         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
41522         (lgamma_test_data): New variable.
41523         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
41525 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
41527         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
41528         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
41529         (main): Comment "tls" pseudo-hwcap.
41531 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
41533         * math/libm-test.inc (struct test_fl_f_data): New type.
41534         (RUN_TEST_LOOP_fl_f): New variable.
41535         (scalbln_test_data): New variable.
41536         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
41538         * math/libm-test.inc (struct test_fi_f_data): New type.
41539         (RUN_TEST_LOOP_fi_f): New macro.
41540         (ldexp_test_data): New variable.
41541         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
41542         (scalbn_test_data): New variable.
41543         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
41545         * math/libm-test.inc (struct test_c_f_data): New type.
41546         (RUN_TEST_LOOP_c_f): New macro.
41547         (cabs_test_data): New variable.
41548         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
41549         (carg_test_data): New variable.
41550         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
41551         (cimag_test_data): New variable.
41552         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
41553         (creal_test_data): New variable.
41554         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
41556         * math/libm-test.inc (struct test_if_f_data): New type.
41557         (RUN_TEST_LOOP_if_f): New macro.
41558         (jn_test_data): New variable.
41559         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
41560         (yn_test_data): New variable.
41561         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
41563         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
41565 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41567         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
41568         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
41570 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
41572         * benchtests/Makefile (CPPFLAGS-nonlib): Add
41573         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
41574         (bench-deps): Add bench-timing.h.
41575         * benchtests-bench-skeleton.c: Include bench-timing.h.
41576         (main): Use TIMING_* macros instead of clock_gettime.
41577         * benchtests/bench-timing.h: New file.
41579         [BZ #14582]
41580         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
41581         Renamed from _LIB_VERSION.
41582         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
41584 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
41586         * math/libm-test.inc (struct test_fff_f_data): New type.
41587         (RUN_TEST_LOOP_fff_f): New macro.
41588         (fma_test_data): New variable.
41589         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
41590         (fma_towardzero_test_data): New variable.
41591         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
41592         (fma_downward_test_data): New variable.
41593         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
41594         (fma_upward_test_data): New variable.
41595         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
41597         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
41598         (struct test_c_c_data): New type.
41599         (RUN_TEST_LOOP_c_c): New macro.
41600         (cacos_test_data): New variable.
41601         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
41602         (cacosh_test_data): New variable.
41603         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
41604         (casin_test_data): New variable.
41605         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
41606         (casinh_test_data): New variable.
41607         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
41608         (catan_test_data): New variable.
41609         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
41610         (catanh_test_data): New variable.
41611         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
41612         (ccos_test_data): New variable.
41613         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
41614         (ccosh_test_data): New variable.
41615         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
41616         (cexp_test_data): New variable.
41617         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
41618         (clog_test_data): New variable.
41619         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
41620         (clog10_test_data): New variable.
41621         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
41622         (conj_test_data): New variable.
41623         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
41624         (cproj_test_data): New variable.
41625         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
41626         (csin_test_data): New variable.
41627         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
41628         (csinh_test_data): New variable.
41629         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
41630         (csqrt_test_data): New variable.
41631         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
41632         (ctan_test_data): New variable.
41633         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
41634         (ctan_tonearest_test_data): New variable.
41635         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
41636         (ctan_towardzero_test_data): New variable.
41637         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
41638         (ctan_downward_test_data): New variable.
41639         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
41640         (ctan_upward_test_data): New variable.
41641         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
41642         (ctanh_test_data): New variable.
41643         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
41644         (ctanh_tonearest_test_data): New variable.
41645         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
41646         (ctanh_towardzero_test_data): New variable.
41647         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
41648         (ctanh_downward_test_data): New variable.
41649         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
41650         (ctanh_upward_test_data): New variable.
41651         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
41652         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
41653         of BUILD_COMPLEX.
41655         * math/libm-test.inc (struct test_ff_f_data): New type.
41656         (struct test_ff_f_data_nexttoward): Likewise.
41657         (RUN_TEST_LOOP_2_f): New macro.
41658         (RUN_TEST_LOOP_ff_f): Likewise.
41659         (atan2_test_data): New variable.
41660         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
41661         (copysign_test_data): New variable.
41662         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
41663         (fdim_test_data): New variable.
41664         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
41665         (fmax_test_data): New variable.
41666         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
41667         (fmin_test_data): New variable.
41668         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
41669         (fmod_test_data): New variable.
41670         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
41671         (hypot_test_data): New variable.
41672         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
41673         (nextafter_test_data): New variable.
41674         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
41675         (nexttoward_test_data): New variable.
41676         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
41677         (pow_test_data): New variable.
41678         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
41679         (pow_tonearest_test_data): New variable.
41680         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
41681         (pow_towardzero_test_data): New variable.
41682         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
41683         (pow_downward_test_data): New variable.
41684         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
41685         (pow_upward_test_data): New variable.
41686         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
41687         (remainder_test_data): New variable.
41688         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
41689         (scalb_test_data): New variable.
41690         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
41691         * sysdeps/i386/fpu/libm-test-ulps: Update.
41693 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
41695         * math/libm-test.inc (fma_test): Use max_value instead of local
41696         variable fltmax.
41697         (nextafter_test): Likewise.
41699         * math/libm-test.inc (acos_towardzero_test_data): New variable.
41700         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41701         (acos_downward_test_data): New variable.
41702         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41703         (acos_upward_test_data): New variable.
41704         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41705         (acosh_test_data): New variable.
41706         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
41707         (asin_test_data): New variable.
41708         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
41709         (asin_tonearest_test_data): New variable.
41710         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41711         (asin_towardzero_test_data): New variable.
41712         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41713         (asin_downward_test_data): New variable.
41714         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41715         (asin_upward_test_data): New variable.
41716         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41717         (asinh_test_data): New variable.
41718         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
41719         (atan_test_data): New variable.
41720         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
41721         (atanh_test_data): New variable.
41722         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
41723         (cbrt_test_data): New variable.
41724         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
41725         (ceil_test_data): New variable.
41726         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
41727         (cos_test_data): New variable.
41728         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
41729         (cos_tonearest_test_data): New variable.
41730         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41731         (cos_towardzero_test_data): New variable.
41732         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41733         (cos_downward_test_data): New variable.
41734         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41735         (cos_upward_test_data): New variable.
41736         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41737         (cosh_test_data): New variable.
41738         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
41739         (cosh_tonearest_test_data): New variable.
41740         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41741         (cosh_towardzero_test_data): New variable.
41742         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41743         (cosh_downward_test_data): New variable.
41744         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41745         (cosh_upward_test_data): New variable.
41746         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41747         (erf_test_data): New variable.
41748         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
41749         (erfc_test_data): New variable.
41750         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
41751         (exp_test_data): New variable.
41752         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
41753         (exp_tonearest_test_data): New variable.
41754         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41755         (exp_towardzero_test_data): New variable.
41756         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41757         (exp_downward_test_data): New variable.
41758         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41759         (exp_upward_test_data): New variable.
41760         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41761         (exp10_test_data): New variable.
41762         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
41763         (exp2_test_data): New variable.
41764         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
41765         (expm1_test_data): New variable.
41766         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
41767         (fabs_test_data): New variable.
41768         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
41769         (floor_test_data): New variable.
41770         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
41771         (j0_test_data): New variable.
41772         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
41773         (j1_test_data): New variable.
41774         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
41775         (log_test_data): New variable.
41776         (log_test): Run tests with RUN_TEST_LOOP_f_f.
41777         (log10_test_data): New variable.
41778         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
41779         (log1p_test_data): New variable.
41780         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
41781         (log2_test_data): New variable.
41782         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
41783         (logb_test_data): New variable.
41784         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
41785         (logb_downward_test_data): New variable.
41786         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41787         (nearbyint_test_data): New variable.
41788         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
41789         (rint_test_data): New variable.
41790         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
41791         (rint_tonearest_test_data): New variable.
41792         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41793         (rint_towardzero_test_data): New variable.
41794         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41795         (rint_downward_test_data): New variable.
41796         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41797         (rint_upward_test_data): New variable.
41798         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41799         (round_test_data): New variable.
41800         (round_test): Run tests with RUN_TEST_LOOP_f_f.
41801         (sin_test_data): New variable.
41802         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
41803         (sin_tonearest_test_data): New variable.
41804         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41805         (sin_towardzero_test_data): New variable.
41806         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41807         (sin_downward_test_data): New variable.
41808         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41809         (sin_upward_test_data): New variable.
41810         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41811         (sinh_test_data): New variable.
41812         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
41813         (sinh_tonearest_test_data): New variable.
41814         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41815         (sinh_towardzero_test_data): New variable.
41816         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41817         (sinh_downward_test_data): New variable.
41818         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41819         (sinh_upward_test_data): New variable.
41820         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41821         (sqrt_test_data): New variable.
41822         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
41823         (tan_test_data): New variable.
41824         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
41825         (tan_tonearest_test_data): New variable.
41826         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41827         (tan_towardzero_test_data): New variable.
41828         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41829         (tan_downward_test_data): New variable.
41830         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41831         (tan_upward_test_data): New variable.
41832         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41833         (tanh_test_data): New variable.
41834         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
41835         (tgamma_test_data): New variable.
41836         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
41837         (trunc_test_data): New variable.
41838         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
41839         (y0_test_data): New variable.
41840         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
41841         (y1_test_data): New variable.
41842         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
41843         (significand_test_data): New variable.
41844         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
41846 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
41848         [BZ #12387]
41849         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
41851 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41853         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
41855 2013-05-10  Andreas Jaeger  <aj@suse.de>
41857         [BZ #15448]
41858         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
41859         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
41861 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
41863         * math/gen-libm-test.pl (adjust_arg): New function.
41864         (special_functions): Handle generating output in both functions
41865         and arrays.
41866         (parse_args): Likewise.
41867         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
41868         $in_func argument to parse_args.
41869         * math/libm-test.inc (struct test_f_f_data): New type.
41870         (IF_ROUND_INIT_): New macro.
41871         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
41872         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
41873         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
41874         (IF_ROUND_INIT_FE_UPWARD): Likewise.
41875         (ROUND_RESTORE_): Likewise.
41876         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
41877         (ROUND_RESTORE_FE_TONEAREST): Likewise.
41878         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
41879         (ROUND_RESTORE_FE_UPWARD): Likewise.
41880         (RUN_TEST_LOOP_f_f): New macro.
41881         (acos_test_data): New variable.
41882         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
41883         (acos_tonearest_test_data): New variable.
41884         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41886 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41888         * benchtests/bench-skeleton.c (startup): Fix coding style.
41890 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
41892         [BZ #6809]
41893         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
41894         negative infinity argument.
41895         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
41896         negative infinity argument.
41897         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
41898         negative infinity argument.
41899         * math/libm-test.inc (tgamma_test): Expect errno to be set for
41900         domain errors.
41902 2013-05-10  Florian Weimer  <fweimer@redhat.com>
41904         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
41905         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
41906         * iconv/iconv_prog.c (main): Likewise.
41907         * locale/programs/charmap-dir.c (charmap_readdir)
41908         (fopen_uncompressed): Likewise.
41909         * locale/programs/locfile.c (siblings_uncached)
41910         (write_locale_data): Use lstat64 instead of lstat.
41911         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
41912         stat.
41914 2013-05-10  Andreas Jaeger  <aj@suse.de>
41916         [BZ #15395]
41917         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
41918         localization.
41919         Include <locale.h>.
41921 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
41923         * elf/dl-close.c (_dl_close_worker): Add comments.
41925 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
41927         [BZ #15359]
41928         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
41929         high part of pi/2.
41930         (__ieee754_rem_pio2l): Update comments.
41932         [BZ #15429]
41933         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
41934         high part of pi/2.
41935         (__ieee754_rem_pio2l): Update comments.
41937         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
41938         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
41940         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
41941         M_PI_4l.
41943         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
41944         (M_PI_34_LOG10El): Likewise.
41945         (M_PI2_LOG10El): Likewise.
41946         (M_PI4_LOG10El): Likewise.
41947         (M_PI_LOG10El): Likewise.
41949 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41951         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41953 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
41955         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
41956         (MINUS_ZERO_INIT): Likewise.
41957         (PLUS_INFTY_INIT): Likewise.
41958         (MINUS_INFTY_INIT): Likewise.
41959         (QNAN_VALUE_INIT): Likewise.
41960         (MAX_VALUE_INIT): Likewise.
41961         (MIN_VALUE_INIT): Likewise.
41962         (MIN_SUBNORM_VALUE_INIT): Likewise.
41963         (plus_zero): Initialize with PLUS_ZERO_INIT.
41964         (minus_zero): Initialize with MINUS_ZERO_INIT.
41965         (plus_infty): Initialize with PLUS_INFTY_INIT.
41966         (minus_infty): Initialize with MINUS_INFTY_INIT.
41967         (qnan_value): Initialize with QNAN_VALUE_INIT.
41968         (max_value): Initialize with MAX_VALUE_INIT.
41969         (min_value): Initialize with MIN_VALUE_INIT.
41970         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
41972         * math/libm-test.inc (RUN_TEST_if_f): New macro.
41973         (jn_test): Use TEST_if_f instead of TEST_ff_f.
41974         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
41975         (yn_test): Use TEST_if_f instead of TEST_ff_f.
41977         * math/libm-test.inc (RUN_TEST_f_f): New macro.
41978         (RUN_TEST_2_f): Likewise.
41979         (RUN_TEST_ff_f): Likewise.
41980         (RUN_TEST_fi_f): Likewise.
41981         (RUN_TEST_fl_f): Likewise.
41982         (RUN_TEST_fff_f): Likewise.
41983         (RUN_TEST_c_f): Likewise.
41984         (RUN_TEST_f_f1): Likewise.
41985         (RUN_TEST_fF_f1): Likewise.
41986         (RUN_TEST_fI_f1): Likewise.
41987         (RUN_TEST_ffI_f1): Likewise.
41988         (RUN_TEST_c_c): Likewise.
41989         (RUN_TEST_cc_c): Likewise.
41990         (RUN_TEST_f_i): Likewise.
41991         (RUN_TEST_f_i_tg): Likewise.
41992         (RUN_TEST_ff_i_tg): Likewise.
41993         (RUN_TEST_f_b): Likewise.
41994         (RUN_TEST_f_b_tg): Likewise.
41995         (RUN_TEST_f_l): Likewise.
41996         (RUN_TEST_f_L): Likewise.
41997         (RUN_TEST_sincos): Likewise.
41998         * math/gen-libm-test.pl (new_test): Take new argument to indicate
41999         whether to show exceptions.  Do not include ");\n" in return
42000         value.
42001         (special_functions): Output call to RUN_TEST_sincos instead of
42002         check_float calls.  Update calls to new_test.
42003         (parse_args): Output call to single RUN_TEST_* macro instead of
42004         check_* calls and other assignments.  Update calls to new_test.
42006         [BZ #2546]
42007         [BZ #2560]
42008         [BZ #5159]
42009         [BZ #15426]
42010         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
42011         input to result for tgamma overflow.
42012         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
42013         (gamma_coeff): New variable.
42014         (NCOEFF): New macro.
42015         (gamma_positive): New function.
42016         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
42017         underflow here.  Use gamma_positive instead of exp (lgamma) for
42018         other arguments.
42019         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
42020         (gamma_coeff): New variable.
42021         (NCOEFF): New macro.
42022         (gammaf_positive): New function.
42023         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
42024         underflow here.  Use gamma_positive instead of exp (lgamma) for
42025         other arguments.
42026         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
42027         (gamma_coeff): New variable.
42028         (NCOEFF): New macro.
42029         (gammal_positive): New function.
42030         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
42031         underflow here.  Use gamma_positive instead of exp (lgamma) for
42032         other arguments.
42033         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
42034         (gamma_coeff): New variable.
42035         (NCOEFF): New macro.
42036         (gammal_positive): New function.
42037         (__ieee754_gammal_r): Handle positive infinity, overflow and
42038         underflow here.  Handle NaN the same as positive infinity.  Remove
42039         check x < 0xffffffff for negative integers.  Use gamma_positive
42040         instead of exp (lgamma) for other arguments.
42041         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
42042         (gamma_coeff): New variable.
42043         (NCOEFF): New macro.
42044         (gammal_positive): New function.
42045         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
42046         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
42047         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
42048         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
42049         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
42050         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
42051         * sysdeps/generic/math_private.h (__gamma_productf): New
42052         prototype.
42053         (__gamma_product): Likewise.
42054         (__gamma_productl): Likewise.
42055         * math/Makefile (libm-calls): Add gamma_product.
42056         * math/libm-test.inc (tgamma_test): Add more tests.
42057         * sysdeps/i386/fpu/libm-test-ulps: Update.
42058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42060 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
42062         * benchtests/bench-skeleton.c (main): Preheat CPU.
42064 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
42066         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
42068 2013-05-07  Roland McGrath  <roland@hack.frob.com>
42070         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
42071         and _dl_skip_args_internal.
42073 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
42075         * manual/message.texi (Message Translation): Talk about users.
42076         Message to key mapping impacts design.
42078 2013-05-06  Roland McGrath  <roland@hack.frob.com>
42080         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
42082         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
42084         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
42085         * sysdeps/wordsize-64/glob64.c: ... here.
42087         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
42088         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
42089         New macros.
42091         * debug/getlogin_r_chk.c: Moved to ...
42092         * login/getlogin_r_chk.c: ... here.
42093         * debug/Makefile (routines): Move getlogin_r_chk to ...
42094         * login/Makefile (routines): ... here.
42095         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
42096         * login/Versions (libc: GLIBC_2.4): ... here.
42098         * io/poll.c (__poll): Renamed from poll.
42099         Add libc_hidden_def.
42100         (poll): Define as weak alias.
42102         * debug/ptsname_r_chk.c: Moved to ...
42103         * login/ptsname_r_chk.c: ... here.
42104         * debug/Makefile (routines): Move ptsname_r_chk to ...
42105         * login/Makefile (routines): ... here.
42106         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
42107         * login/Versions (libc: GLIBC_2.4): ... here.
42109         * posix/getlogin.c: Moved to ...
42110         * login/getlogin.c: ... here.
42111         * posix/getlogin_r.c: Moved to ...
42112         * login/getlogin_r.c: ... here.
42113         * posix/getlogin_r.c: Moved to ...
42114         * login/getlogin_r.c: ... here.
42115         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
42116         * login/Makefile (routines): ... here.
42117         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
42118         * login/Versions (libc: GLIBC_2.0): ... here.
42120         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
42121         (setrlimit): Define as weak alias.
42123         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
42124         Call __ names for open, ftruncate, and close.
42125         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
42126         (truncate): Define as weak alias.
42128 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
42130         * math/gen-libm-test.pl (parse_args): Initialize x before each
42131         test of frexp, modf and remquo.
42133         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
42134         test signgam value.
42136 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42138         [BZ #15418]
42139         [BZ #15419]
42140         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
42141         internal tests.
42142         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42144 2013-05-06  Roland McGrath  <roland@hack.frob.com>
42146         * elf/dl-writev.h: New file.
42147         * elf/dl-misc.c: Include it.
42148         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
42149         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
42151 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
42153         * math/libm-test.inc (noXFails): Remove variable.
42154         (noXPasses): Likewise.
42155         (BUILD_COMPLEX_INT): Remove macro.
42156         (print_screen): Remove xfail argument.
42157         (print_screen_max_error): Likewise.
42158         (update_stats): Likewise.
42159         (print_max_error): Likewise.  Update calls to other affected
42160         functions.
42161         (print_complex_max_error): Likewise.
42162         (test_single_exception): Update calls to print_screen.
42163         (test_single_errno): Likewise.
42164         (check_float_internal): Remove xfail argument.  Update calls to
42165         other affected functions.
42166         (check_float): Likewise.
42167         (check_complex): Likewise.
42168         (check_int): Likewise.
42169         (check_long): Likewise.
42170         (check_bool): Likewise.
42171         (check_longlong): Likewise.
42172         (main): Don't print noXFails and noXPasses.
42173         * math/gen-libm-test.pl (top level): Don't mention expected
42174         failure handling in comment.
42175         (new_test): Don't handle expected failures.
42176         (parse_args): Don't mention expected failure handling in comment.
42177         (generate_testfile): Don't handle expected failures.
42178         (parse_ulps): Likewise.
42179         (print_ulps_file): Likewise.
42180         (get_failure): Remove function.
42181         (output_test): Don't handle expected failures.
42182         * make/README.libm-test: Don't mention expected failure handling.
42184         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
42185         (minus_zero): Likewise.
42186         (plus_infty): Likewise.
42187         (minus_infty): Likewise.
42188         (qnan_value): Likewise.
42189         (max_value): Likewise.
42190         (min_value): Likewise.
42191         (min_subnorm_value): Likewise.
42192         (initialize): Do not initialize those variables dynamically.
42194 2013-05-03  Roland McGrath  <roland@hack.frob.com>
42196         * io/open.c (__open_2): Moved to ...
42197         * io/open_2.c: ... this new file.
42198         * io/open64.c (__open64_2): Moved to ...
42199         * io/open64_2.c: ... this new file.
42200         * io/openat.c (__openat_2): Moved to ...
42201         * io/openat_2.c: ... this new file.
42202         * io/openat64.c (__openat64_2): Moved to ...
42203         * io/openat64_2.c: ... this new file.
42204         * io/Makefile (routines): Add them.
42205         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
42206         * sysdeps/unix/sysv/linux/open_2.c: File removed.
42207         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
42208         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
42209         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
42210         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
42211         (__openat64): Add hidden_ver.
42212         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
42213         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
42215         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
42216         Separately conditionalize setting of GLRO(dl_sysinfo) so
42217         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
42218         as well, but the actual setting is only under [NEED_DL_SYSINFO].
42220 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42222         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
42223         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
42224         definition.
42225         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
42226         * sysdeps/unix/sysv/linux/powerpc/init-first.c
42227         (_libc_vdso_platform_setup): Add __vdso_time initialization.
42228         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
42229         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
42231 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
42233         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
42234         test signgam value.
42236         * math/libm-test.inc (hypot_test): Do not use
42237         IGNORE_ZERO_INF_SIGN.
42239 2013-05-03  Andreas Jaeger  <aj@suse.de>
42241         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
42242         Linux 3.9.
42243         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
42244         (PF_MAX): Adjust for VSOCK change.
42246 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42248         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42250 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
42252         [BZ #15264]
42253         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
42254         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
42255         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
42257 2013-05-02  David S. Miller  <davem@davemloft.net>
42259         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42261 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
42263         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
42265 2013-05-01  Roland McGrath  <roland@hack.frob.com>
42267         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
42269 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
42271         [BZ #14952]
42272         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
42273         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
42274         Use __attribute__ ((__gnu_inline__)).
42275         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
42276         Don't use __attribute__ ((__gnu_inline__)).
42278 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
42280         [BZ #15423]
42281         * math/s_catan.c (__catan): Handle small real or imaginary part of
42282         input specially to avoid spurious underflow.
42283         * math/s_catanf.c (__catanf): Likewise.
42284         * math/s_catanh.c (__catanh): Likewise.
42285         * math/s_catanhf.c (__catanhf): Likewise.
42286         * math/s_catanhl.c (__catanhl): Likewise.
42287         * math/s_catanl.c (__catanl): Likewise.
42288         * math/libm-test.inc (catan_test): Add more tests.
42289         (catanh_test): Likewise.
42290         * sysdeps/i386/fpu/libm-test-ulps: Update.
42291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42293 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42295         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42297 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
42299         [BZ #15416]
42300         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
42301         accurately for denominator in atan2.
42302         * math/s_catanf.c (__catanf): Likewise.
42303         * math/s_catanh.c (__catanh): Likewise.
42304         * math/s_catanhf.c (__catanhf): Likewise.
42305         * math/s_catanhl.c (__catanhl): Likewise.
42306         * math/s_catanl.c (__catanl): Likewise.
42307         * math/libm-test.inc (catan_test): Add more tests.
42308         (catanh_test): Likewise.
42309         * sysdeps/i386/fpu/libm-test-ulps: Update.
42310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42312 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42314         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
42316         * benchtests/Makefile (bench): Remove slow benchmarks.
42317         * benchtests/atan-inputs: Add slow benchmark inputs.
42318         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
42319         (BENCH_FUNC): Accept variant offset.
42320         (VARIANT): Define.
42321         * benchtests/bench-skeleton.c (main): Run benchmark for each
42322         variant.
42323         * benchtests/cos-inputs: Add slow benchmark inputs.
42324         * benchtests/exp-inputs: Likewise.
42325         * benchtests/pow-inputs: Likewise.
42326         * benchtests/sin-inputs: Likewise.
42327         * benchtests/slowatan-inputs: Remove.
42328         * benchtests/slowatan.c: Remove.
42329         * benchtests/slowcos-inputs: Remove.
42330         * benchtests/slowcos.c: Remove.
42331         * benchtests/slowexp-inputs: Remove.
42332         * benchtests/slowexp.c: Remove.
42333         * benchtests/slowpow-inputs: Remove.
42334         * benchtests/slowpow.c: Remove.
42335         * benchtests/slowsin-inputs: Remove.
42336         * benchtests/slowsin.c: Remove.
42337         * benchtests/slowtan-inputs: Remove.
42338         * benchtests/slowtan.c: Remove.
42339         * benchtests/tan-inputs: Add slow benchmark inputs.
42340         * scripts/bench.pl: Parse comments and directives.
42342         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
42343         in CPPFLAGS.
42344         ($(objpfx)bench-%.c): Remove *-ITER.
42345         * benchtests/bench-modf.c: Remove definition of ITER.
42346         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
42347         (main): Loop for DURATION seconds instead of fixed number of
42348         iterations.
42349         * scripts/bench.pl: Don't expect iterations in parameters.
42351 2013-04-29  Roland McGrath  <roland@hack.frob.com>
42353         * io/fchdir.c (__fchdir): Renamed from fchdir.
42354         (fchdir): Define as weak alias.
42356 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
42358         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
42359         (ERRNO_EDOM): Likewise.
42360         (ERRNO_ERANGE): Likewise.
42361         (noErrnoTests): New variable.
42362         (init_max_error): Set errno to 0.
42363         (test_single_errno): New function.
42364         (test_errno): Likewise.
42365         (check_float_internal): Call test_errno.  Set errno to 0.
42366         (check_complex): Refer to errno tests in comment.
42367         (check_int): Call test_errno.  Set errno to 0.
42368         (check_long): Likewise.
42369         (check_bool): Likewise.
42370         (check_longlong): Likewise.
42371         (cos_test): Use ERRNO_* flags for errno tests instead of
42372         check_int.
42373         (expm1_test): Likewise.
42374         (fmod_test): Likewise.
42375         (ilogb_test): Likewise.
42376         (lgamma_test): Likewise.
42377         (pow_test): Likewise.
42378         (remainder_test): Likewise.
42379         (sin_test): Likewise.
42380         (tan_test): Likewise.
42381         (yn_test): Likewise.
42382         (initialize): Set errno to 0.
42383         (main): Print number of errno tests.
42384         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
42386 2013-04-29  Andreas Jaeger  <aj@suse.de>
42388         [BZ #15084]
42389         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
42390         and RES_USEVC.
42392         [BZ #15085]
42393         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
42394         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
42395         unimplemented.
42397         [BZ #15380]
42398         * stdlib/random.c (__initstate): Return NULL if
42399         __initstate fails.
42401         [BZ #15086]
42402         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
42403         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
42404         RES_SNGLKUPREOP.
42406 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42408         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42410 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
42412         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
42413         of individual tests.
42414         (casin_test): Likewise.
42415         (casinh_test): Likewise.
42417 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
42419         [BZ #15409]
42420         * math/s_catan.c (__catan): Handle arguments with large real or
42421         imaginary part separately without squaring.
42422         * math/s_catanf.c (__catanf): Likewise.
42423         * math/s_catanh.c (__catanh): Likewise.
42424         * math/s_catanhf.c (__catanhf): Likewise.
42425         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
42426         and redefine.
42427         (__catanhl): Handle arguments with large real or imaginary part
42428         separately without squaring.
42429         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
42430         and redefine.
42431         (__catanl): Handle arguments with large real or imaginary part
42432         separately without squaring.
42433         * math/libm-test.inc (catan_test): Add more tests.
42434         (catanh_test): Likewise.
42435         * sysdeps/i386/fpu/libm-test-ulps: Update.
42436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42438 2013-04-27  Andreas Jaeger  <aj@suse.de>
42440         [BZ #15007]
42441         * stdlib/stdlib.h: Update guards for qecvt.
42442         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
42443         <stdlib.h>.
42445 2013-04-27  Allan McRae  <allan@archlinux.org>
42447         * sysdeps/i386/fpu/libm-test-ulps: Update.
42449 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
42451         [BZ #15406]
42452         * math/s_catan.c: Include <float.h>.
42453         (__catan): Ensure underflow exception occurs for underflowed
42454         result.
42455         * math/s_catanf.c: Include <float.h>.
42456         (__catanf): Ensure underflow exception occurs for underflowed
42457         result.
42458         * math/s_catanh.c: Include <float.h>.
42459         (__catanh): Ensure underflow exception occurs for underflowed
42460         result.
42461         * math/s_catanhf.c: Include <float.h>.
42462         (__catanhf): Ensure underflow exception occurs for underflowed
42463         result.
42464         * math/s_catanhl.c: Include <float.h>.
42465         (__catanhl): Ensure underflow exception occurs for underflowed
42466         result.
42467         * math/s_catanl.c: Include <float.h>.
42468         (__catanl): Ensure underflow exception occurs for underflowed
42469         result.
42470         * math/libm-test.inc (catan_test): Add more tests.
42471         (catanh_test): Likewise.
42473         [BZ #15405]
42474         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
42475         underflowed result.
42476         * math/s_ccoshf.c (__ccoshf): Likewise.
42477         * math/s_ccoshl.c (__ccoshl): Likewise.
42478         * math/s_csin.c (__csin): Likewise.
42479         * math/s_csinf.c (__csinf): Likewise.
42480         * math/s_csinh.c (__csinh): Likewise.
42481         * math/s_csinhf.c (__csinhf): Likewise.
42482         * math/s_csinhl.c (__csinhl): Likewise.
42483         * math/s_csinl.c (__csinl): Likewise.
42484         * math/libm-test.inc (ccos_test): Add more tests.
42485         (ccosh_test): Likewise.
42486         (csin_test): Likewise.
42487         (csinh_test): Likewise.
42489 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42491         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
42492         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
42493         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
42494         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
42495         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
42496         powerpc/power5+/fpu folders.
42497         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
42500 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
42502         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42504 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
42506         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
42507         additions to variable.
42508         [$(config-machine) = x86_64] (modules-names): Likewise.
42509         ($(objpfx)tst-audit3): Remove dependency.
42510         ($(objpfx)tst-audit3.out): Likewise.
42511         ($(objpfx)tst-audit4): Likewise.
42512         ($(objpfx)tst-audit4.out): Likewise.
42513         ($(objpfx)tst-audit5): Likewise.
42514         ($(objpfx)tst-audit5.out): Likewise.
42515         ($(objpfx)tst-audit6): Likewise.
42516         ($(objpfx)tst-audit6.out): Likewise.
42517         ($(objpfx)tst-audit7): Likewise.
42518         ($(objpfx)tst-audit7.out): Likewise.
42519         (tst-audit3-ENV): Remove variable.
42520         (tst-audit4-ENV): Likewise.
42521         (tst-audit5-ENV): Likewise.
42522         (tst-audit6-ENV): Likewise.
42523         (tst-audit7-ENV): Likewise.
42524         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
42525         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
42526         addition to variable.
42527         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
42528         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
42529         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
42530         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
42531         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
42532         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
42533         tst-audit3, tst-audit4 and tst-audit5.
42534         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
42535         tst-audit6 and tst-audit7.
42536         [$(subdir) = elf] (modules-names): Add audit modules for those
42537         tests.
42538         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
42539         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
42540         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
42541         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
42542         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
42543         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
42544         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
42545         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
42546         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
42547         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
42548         [$(subdir) = elf] (tst-audit3-ENV): New variable.
42549         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
42550         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
42551         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
42552         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
42553         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
42554         Likewise.
42555         [$(subdir) = elf && $(config-cflags-avx) = yes]
42556         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
42557         [$(subdir) = elf && $(config-cflags-avx) = yes]
42558         (CFLAGS-tst-auditmod4a.c): Likewise.
42559         [$(subdir) = elf && $(config-cflags-avx) = yes]
42560         (CFLAGS-tst-auditmod4b.c): Likewise.
42561         [$(subdir) = elf && $(config-cflags-avx) = yes]
42562         (CFLAGS-tst-auditmod6b.c): Likewise.
42563         [$(subdir) = elf && $(config-cflags-avx) = yes]
42564         (CFLAGS-tst-auditmod6c.c): Likewise.
42565         [$(subdir) = elf && $(config-cflags-avx) = yes]
42566         (CFLAGS-tst-auditmod7b.c): Likewise.
42567         * elf/tst-audit3.c: Move to ...
42568         * sysdeps/x86_64/tst-audit3.c: ... here.
42569         * elf/tst-audit4.c: Move to ...
42570         * sysdeps/x86_64/tst-audit4.c: ... here.
42571         * elf/tst-audit5.c: Move to ...
42572         * sysdeps/x86_64/tst-audit5.c: ... here.
42573         * elf/tst-audit6.c: Move to ...
42574         * sysdeps/x86_64/tst-audit6.c: ... here.
42575         * elf/tst-audit7.c: Move to ...
42576         * sysdeps/x86_64/tst-audit7.c: ... here.
42577         * elf/tst-auditmod3a.c: Move to ...
42578         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
42579         * elf/tst-auditmod3b.c: Move to ...
42580         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
42581         * elf/tst-auditmod4a.c: Move to ...
42582         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
42583         * elf/tst-auditmod4b.c: Move to ...
42584         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
42585         * elf/tst-auditmod5a.c: Move to ...
42586         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
42587         * elf/tst-auditmod5b.c: Move to ...
42588         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
42589         * elf/tst-auditmod6a.c: Move to ...
42590         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
42591         * elf/tst-auditmod6b.c: Move to ...
42592         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
42593         * elf/tst-auditmod6c.c: Move to ...
42594         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
42595         * elf/tst-auditmod7a.c: Move to ...
42596         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
42597         * elf/tst-auditmod7b.c: Move to ...
42598         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
42600 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
42602         [BZ #15366]
42603         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
42604         define unconditionally.
42605         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
42606         define unconditionally.
42607         (INT8_C, INT16_C, etc.): Likewise.
42609 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
42611         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
42612         __ehdr_start with hidden visibility.
42614         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
42616 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
42618         * math/libm-test.inc (cos_test): Use accurate hex constants.
42619         (sincost_test): Likewise.
42621 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
42623         * math/libm-test.inc (catan_test): Add more tests.
42624         (catanh_test): Likewise.
42626         * math/s_catanf.c (__catanf): Use suffixed floating-point
42627         constants.
42628         * math/s_catanhf.c (__catanhf): Likewise.
42629         * math/s_catanhl.c (__catanhl): Likewise.
42630         * math/s_catanl.c (__catanl): Likewise.
42632         [BZ #15394]
42633         * math/s_catan.c (__catan): Calculate imaginary part of result
42634         with log1p not log unless computing log of number close to 0.
42635         * math/s_catanf.c (__catanf): Likewise.
42636         * math/s_catanl.c (__catanl): Likewise.
42637         * math/s_catanh.c (__catanh): Calculate real part of result with
42638         log1p not log unless computing log of number close to 0.
42639         * math/s_catanhf.c (__catanhf): Likewise.
42640         * math/s_catanhl.c (__catanhl): Likewise.
42641         * math/libm-test.inc (catan_test): Add more tests.
42642         (catanh_test): Likewise.
42643         * sysdeps/i386/fpu/libm-test-ulps: Update.
42644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42646 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42648         * benchtests/Makefile: Mention files in which fast and slow
42649         paths of math functions are implemented.
42651 2013-04-23  Roland McGrath  <roland@hack.frob.com>
42653         * sysdeps/posix/timespec_get.c: New file.
42655 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42657         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
42658         POWER.
42659         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
42660         for POWER.
42661         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
42662         powerpc/power5/fpu folders.
42663         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
42664         * benchtests/Makefile: Add modf testcase.
42665         * benchtests/bench-modf.c: New file: Benchmark test for mo
42667 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
42669         [BZ #14888]
42670         * time/Makefile (tests): Add tst-strptime-whitespace.
42671         * time/strptime_l.c (get_number): Use ISSPACE.
42672         (__strptime_internal): Likewise.
42673         * time/tst-strptime-whitespace.c: New test case.
42675 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
42677         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
42678         member.
42679         (_nss_files_init): Set it here.
42681 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
42683         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
42684         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
42685         unsigned.
42687 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
42689         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
42691 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
42693         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
42694         size just once.
42696 2013-04-21  David S. Miller  <davem@davemloft.net>
42698         * po/ru.po: Update Russion translation from translation project.
42700 2013-04-17  Adam Conrad  <adconrad@0c3.net>
42702         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
42703         and setfsgid.
42705 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
42707         * configure.in: Remove i386 configure warning. Remove i386 case.
42708         * configure: Regenerate.
42709         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
42710         Add example to error message.
42711         * sysdeps/i386/configure: Regenerate.
42713 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
42715         * benchtests/Makefile (bench): Add cos, tan, slowcos and
42716         slowtan.
42717         * benchtests/cos-inputs: New file.
42718         * benchtests/slowcos-inputs: New file.
42719         * benchtests/slowcos.c: New file.
42720         * benchtests/slowtan-inputs: New file.
42721         * benchtests/slowtan.c: New file.
42722         * benchtests/tan-inputs: New file.
42724 2013-04-16  Roland McGrath  <roland@hack.frob.com>
42726         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
42727         considered kosher.
42729 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42731         * benchtests/Makefile: Include cppflags-iterator.mk to add
42732         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
42734         * Makefile.in (bench-clean): New target.
42735         * benchtests/Makefile (bench-clean): Likewise.
42737 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
42739         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
42741 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
42743         * stdio-common/tstdiomisc.c: Fix coding-style violation.
42745 2013-04-15  Andreas Schwab  <schwab@suse.de>
42747         * nscd/grpcache.c (cache_addgr): Properly check for short write.
42748         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42749         * nscd/pwdcache.c (cache_addpw): Likewise.
42750         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
42751         more than recsize.
42753 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42755         * benchtests/Makefile (bench): Write all output to
42756         bench-out.tmp together.
42758 2013-04-15  Andreas Schwab  <schwab@suse.de>
42760         * nscd/nscd.c (main): Don't fork again after closing files.
42762 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42764         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
42766         * benchtests/Rules (bench-deps): Collect dependencies into a
42767         single variable.  Add Makefile to dependencies.
42768         ($(objpfx)bench-%.c): Depend on bench-deps.
42770 2013-04-12  Roland McGrath  <roland@hack.frob.com>
42771             Xavier Roche  <roche+kml2@exalead.com>
42773         [BZ #15361]
42774         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
42775         just that it's a file descriptor.
42776         * manual/llio.texi (Synchronizing AIO Operations): Update description
42777         for EBADF error from aio_fsync.
42779 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42781         * Rules (bench): Move target definition...
42782         * benchtests/Makefile: ... here.
42784 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
42786         * math/libm-test.inc (cos_test): Fix PI/2 test.
42787         (sincos_test): Likewise.
42788         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
42789         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
42791 2013-04-11  Andreas Schwab  <schwab@suse.de>
42793         [BZ #13988]
42794         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
42795         accept exponent character only when digits were seen.
42796         * stdio-common/Makefile (tests): Add bug26.
42797         * stdio-common/bug26.c: New file.
42799         [BZ #14293]
42800         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
42801         non-freeable.
42803 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42805         * Makeconfig (rtld-prefix): Define built linker prefix.
42806         * Rules (run-bench): Use it.
42807         * math/Makefile (run-regen-ulps): Likewise.
42809         * Rules (bench): Remove eval.
42811 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42812             Roland McGrath  <roland@hack.frob.com>
42813             Ondrej Bilka  <neleai@seznam.cz>
42815         [BZ #15346]
42816         * time/getdate.c: Include ctype.h and alloca.h.
42817         (__getdate_r): Trim leading and trailing spaces of input.
42818         * time/tst-getdate.c (tests): Add tests with leading and
42819         trailing spaces.
42821 2013-04-08  Roland McGrath  <roland@hack.frob.com>
42823         [BZ #14280]
42824         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
42825         when computing value.
42827 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
42829         * math/README.libm-test (How can I generate "libm-test-ulps"?):
42830         Use testrun.sh to run libm tests.
42832         [BZ #15309]
42833         * elf/dl-open.c (dl_open_worker): memset all of seen array.
42835 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
42837         [BZ #15264]
42838         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
42840 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
42842         * Makefile.in (regen-ulps): New target.
42843         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
42844         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
42845         [ifneq (no,$(PERL)] (regen-ulps): New target.
42846         [ifeq (no,$(PERL)] (regen-ulps): New target.
42847         * math/libm-test.inc (ulps_file_name): Define.
42848         (output_dir): New variable.
42849         (options): Add "output-dir" option.
42850         (parse_opt): Handle 'o' case.
42851         (main): If output_dir is non-NULL use it as a prefix
42852         otherwise use "".
42853         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
42855 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
42857         [BZ #10060, #10062]
42858         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
42859         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
42860         fail configure if __sync_val_compare_and_swap is not inlined.
42861         * sysdeps/i386/configure: Regenerate.
42862         * configure.in: Build for i686 when configured for i386.
42863         * configure: Regenerate.
42864         * README: Remove i386 reference.
42866 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
42868         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
42869         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42871 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
42873         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
42874         (lmsnanval): New variables.
42875         (F): Add conversion tests.
42876         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
42877         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
42879         * stdio-common/tstdiomisc.c (F): Properly collect individual
42880         tests' results.
42882         [BZ #14686, #15336]
42883         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
42884         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
42885         Instead, use input NaN values or generate a qNaN by arithmetic
42886         operation.  Also fix bugs to comply with the standard.
42887         * math/libm-test.inc (remainder_test): Add more tests.
42889         [BZ #15335, #15342]
42890         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
42891         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
42892         input NaN values or generate a qNaN by arithmetic operation.
42894         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
42895         unreachable code.
42897         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
42898         definitions.
42900 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
42902         [BZ #14478]
42903         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
42904         underflowed result.
42905         * math/s_cexpf.c (__cexpf): Likewise.
42906         * math/s_cexpl.c (__cexpl): Likewise.
42907         * math/libm-test.inc (cexp_test): Add more tests.
42909 2013-04-03  Andreas Schwab  <schwab@suse.de>
42911         [BZ #15330]
42912         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
42913         order arrays from heap if bigger than alloca cutoff.
42915 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
42917         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
42918         (SNAN_TESTS_double): Refer to GCC PR56831.
42919         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
42920         GCC PR56828.
42922 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
42924         * Rules (bench): Move bench.out after the run is complete.
42926         * Rules (bench): Echo currently running benchmark.
42928         * benchtests/Makefile (bench): Add atan and slowatan.
42929         * benchtests/atan-inputs: New file.
42930         * benchtests/slowatan-inputs: New file.
42931         * benchtests/slowatan.c: New file.
42933         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
42934         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
42935         its value.
42937         [BZ #15305]
42938         * sysdeps/unix/sysv/linux/kernel-features.h
42939         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
42940         __ASSUME_XFS_RESTRICTED_CHOWN.
42941         * sysdeps/unix/sysv/linux/pathconf.c
42942         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
42943         Save and restore errno.
42945 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
42947         [BZ #15327]
42948         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
42949         arguments using __kernel_casinh.
42950         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
42951         arguments using __kernel_casinhf.
42952         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
42953         arguments using __kernel_casinhl.
42954         * math/libm-test.inc (cacosh_test): Add more tests.
42955         * sysdeps/i386/fpu/libm-test-ulps: Update.
42956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42958 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42960         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
42961         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
42963         * bench/Makefile (bench): Add sin and slowsin.
42964         * benchtests/sin-inputs: New file.
42965         * benchtests/slowsin-inputs: New file.
42966         * benchtests/slowsin.c: New file.
42968         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
42969         (bench): Add slowexp and slowpow.
42970         (exp-ITER): Increase iterations.
42971         (pow-ITER): Likewise.
42972         * benchtests/exp-inputs: Change input.
42973         * benchtests/pow-inputs: Likewise.
42974         * benchtests/slowexp-inputs: New file.
42975         * benchtests/slowexp.c: New file.
42976         * benchtests/slowpow-inputs: New file.
42977         * benchtests/slowpow.c: New file.
42979 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42981         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
42982         instructions.
42983         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42984         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
42985         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
42986         * benchtests/Makefile: Add rint benchtest.
42987         * benchtests/rint-inputs: Input for rint benchtest.
42989 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
42991         * Versions.def (libm): Add GLIBC_2.18.
42992         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
42993         hidden libm prototypes.
42994         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
42995         * math/Makefile (libm-calls): Add s_issignaling.
42996         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
42997         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
42998         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
42999         declaration.
43000         * math/math.h [__USE_GNU] (issignaling): New macro.
43001         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
43002         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
43003         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
43004         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
43005         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
43006         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
43007         * manual/arith.texi (issignaling): New section.
43008         * manual/libm-err-tab.pl (@all_functions): Update comment.
43009         * math/gen-libm-test.pl (parse_args): Apply special handling for
43010         issignaling.
43011         * math/libm-test.inc (print_float, issignaling_test): New
43012         functions.
43013         (check_float_internal): Add issignaling checks.
43014         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
43015         default definition.
43016         * sysdeps/powerpc/math-tests.h: New file.
43017         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
43018         tests.
43019         * math/test-snan.c (TEST_FUNC): Likewise.
43021 2013-03-30  David S. Miller  <davem@davemloft.net>
43023         * po/de.po: Update from translation team.
43025 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
43027         [BZ #10357]
43028         * math/k_casinh.c (__kernel_casinh): Handle arguments with
43029         imaginary part less than 1.0 and real part less than 0.5
43030         specially.
43031         * math/k_casinhf.c (__kernel_casinhf): Likewise.
43032         * math/k_casinhl.c (__kernel_casinhl): Likewise.
43033         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
43034         (cacos_test): Add more tests.
43035         (casin_test): Likewise.
43036         (casinh_test): Likewise.
43037         * sysdeps/i386/fpu/libm-test-ulps: Update.
43038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43040 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43042         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
43043         ONE with its value.
43045         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
43046         (__pow_mp): Replace ONE and MONE with their values.
43047         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
43048         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
43049         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
43050         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
43051         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
43052         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
43054         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
43056         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
43057         (__pow_mp): Replace ZERO and MZERO with their values.
43058         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
43059         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
43060         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
43061         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
43062         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
43063         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
43064         (__sqr): Likewise.
43066         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
43068         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
43070 2013-03-28  Roland McGrath  <roland@hack.frob.com>
43072         * include/stdlib.h [!SHARED] (__call_tls_dtors):
43073         Declare with __attribute__ ((weak)).
43074         * stdlib/exit.c (__libc_atexit) [!SHARED]:
43075         Call __call_tls_dtors only if it's not NULL.
43077 2013-03-28  Roland McGrath  <roland@hack.frob.com>
43079         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
43080         didn't do it already, then set _dl_phdr and _dl_phnum based on the
43081         magic __ehdr_start linker symbol if it's defined.
43082         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
43083         them up here if it was already done.
43085         * elf/dl-support.c (_dl_phdr): Make pointer to const.
43086         (_dl_aux_init): Use const in cast when setting it.
43087         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
43088         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
43089         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
43091         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
43092         Declare them here.
43093         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
43094         * csu/libc-tls.c: Nor here.
43095         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
43097         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
43098         (__libc_message): Never call vsyslog.
43100 2013-03-28  Alan Modra  <amodra@gmail.com>
43102         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
43103         Define as empty.
43104         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
43105         Likewise.
43107 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43109         [BZ #15214]
43110         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
43111         underflow.
43112         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43114 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43116         [BZ #15304]
43117         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
43118         Don't add gid passed as argument.
43120         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
43122 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
43124         [BZ #15307]
43125         * math/k_casinh.c (__kernel_casinh): Handle arguments with
43126         imaginary part between 1.0 and 1.5 and real part less than 0.5
43127         specially.
43128         * math/k_casinhf.c (__kernel_casinhf): Likewise.
43129         * math/k_casinhl.c (__kernel_casinhl): Likewise.
43130         * math/libm-test.inc (cacos_test): Add more tests.
43131         (casin_test): Likewise.
43132         (casinh_test): Likewise.
43133         * sysdeps/i386/fpu/libm-test-ulps: Update.
43134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43136 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43138         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
43139         constants.
43140         (norm): Likewise.
43141         (denorm): Likewise.
43142         (__dbl_mp): Likewise.
43143         (add_magnitudes): Likewise.
43144         (sub_magnitudes): Likewise.
43145         (__add): Likewise.
43146         (__sub): Likewise.
43147         (__mul): Likewise.
43148         (__sqr): Likewise.
43149         (__inv): Likewise.
43150         (__dvd): Likewise.
43152         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
43153         commented code.
43154         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
43155         (__dubcos): Likewise.
43156         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
43157         (__ieee754_acos): Likewise.
43158         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
43159         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
43160         (__exp1): Likewise.
43161         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
43162         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
43163         (log1): Likewise.
43164         (my_log2): Likewise.
43165         (checkint): Likewise.
43166         * sysdeps/ieee754/dbl-64/e_remainder.c
43167         (__ieee754_remainder): Likewise.
43168         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
43169         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
43170         (bsloww): Likewise.
43171         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
43173         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
43174         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
43175         MANTISSA_STORE_T to store computations on mantissa.  Use
43176         macros for rounding and division.
43177         (denorm): Likewise.
43178         (__dbl_mp): Likewise.
43179         (add_magnitudes): Likewise.
43180         (sub_magnitudes): Likewise.
43181         (__mul): Likewise.
43182         (__sqr): Likewise.
43183         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
43184         powers of two in terms of TWOPOW macro.
43185         (mp_no): Make type of mantissa as MANTISSA_T.
43186         [!RADIXI]: Define RADIXI.
43187         [!TWO52]: Define TWO52.
43188         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
43190 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43192         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
43193         llroundl symbol when building for PPC32.
43195 2013-03-24  Mark H Weaver  <mhw@netris.org>
43197         * manual/arith.texi (Normalization Functions): Fix prototypes for
43198         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
43200 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43202         [BZ #13889]
43203         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
43204         high value to check if expl overflow.
43205         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
43206         to check for underflow and overflow.
43207         * math/libm-test.inc: Add exp test.
43209 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
43211         [BZ #11120]
43212         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
43213         with NOT_IN_libc.
43215 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43217         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
43218         symbol.
43220 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
43222         * math/gen-libm-test.pl (parse_args, special_functions): Properly
43223         wrap blocks consisting of several statements.
43225         * sysdeps/generic/math-tests.h: New file.
43226         * sysdeps/i386/fpu/math-tests.h: Likewise.
43227         * math/test-snan.c: Include it.
43228         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
43230 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
43232         [BZ #15285]
43233         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
43234         (__ieee754_j0l): Do not improve calculations using cos of twice
43235         input for inputs above LDBL_MAX / 2.0L.
43236         (__ieee754_y0l): Likewise.
43237         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
43238         (__ieee754_j1l): Do not improve calculations using cos of twice
43239         input for inputs above LDBL_MAX / 2.0L.
43240         (__ieee754_y1l): Likewise.
43241         * math/libm-test.inc (j0_test): Add another test.
43242         (j1_test): Likewise.
43243         (y0_test): Likewise.
43244         (y1_test): Likewise.
43245         * sysdeps/i386/fpu/libm-test-ulps: Update.
43247 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43249         * Rules ($(objpfx)bench-%.c): Include code from a C source
43250         file.
43252 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
43254         [BZ #15287]
43255         * math/k_casinh.c (__kernel_casinh): Handle arguments with
43256         imaginary part 1.0 and real part less than 0.5 specially.
43257         * math/k_casinhf.c (__kernel_casinhf): Likewise.
43258         * math/k_casinhl.c (__kernel_casinhl): Likewise.
43259         * math/libm-test.inc (cacos_test): Add more tests.
43260         (casin_test): Likewise.
43261         (casinh_test): Likewise.
43262         * sysdeps/i386/fpu/libm-test-ulps: Update.
43263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43265 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43267         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
43268         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
43270 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
43272         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
43273         * config.make.in (config-cflags-sse4): Remove variable.
43274         (config-cflags-avx): Likewise.
43275         (config-cflags-sse2avx): Likewise.
43276         (config-cflags-novzeroupper): Likewise.
43277         (config-asflags-i686): Likewise.
43278         (have-mfma4): Likewise.
43279         (have-as-vis3): Likewise.
43280         (MIG): Likewise.
43281         * configure.in (MIG): Do not AC_SUBST.
43282         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
43283         (libc_cv_cc_sse4): Do not AC_SUBST.
43284         (libc_cv_cc_avx): Likewise.
43285         (libc_cv_cc_sse2avx): Likewise.
43286         (libc_cv_cc_novzeroupper): Likewise.
43287         (libc_cv_cc_fma4): Likewise.
43288         (libc_cv_as_i686): Likewise.
43289         (libc_cv_sparc_as_vis3): Likewise.
43290         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
43291         LIBC_CONFIG_VAR.
43292         (config-asflags-i686): Likewise.
43293         (config-cflags-avx): Likewise.
43294         (config-cflags-sse2avx): Likewise.
43295         (have-mfma4): Likewise.
43296         (config-cflags-novzeroupper): Likewise.
43297         * sysdeps/mach/configure.in (MIG): Likewise.
43298         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
43299         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
43300         LIBC_CONFIG_VAR.
43301         (config-cflags-avx): Likewise.
43302         (config-cflags-sse2avx): Likewise.
43303         (have-mfma4): Likewise.
43304         (config-cflags-novzeroupper): Likewise.
43305         * configure: Regenerated.
43306         * sysdeps/i386/configure: Likewise.
43307         * sysdeps/mach/configure: Likewise.
43308         * sysdeps/sparc/configure: Likewise.
43309         * sysdeps/x86_64/configure: Likewise.
43311 2013-03-20  Roland McGrath  <roland@hack.frob.com>
43313         [BZ #14812]
43314         * locale/programs/localedef.c (options): Put N_ translation marker
43315         on argument names, not just descriptions.
43317 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43319         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
43321 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
43323         [BZ #14176]
43324         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
43326 2013-03-19  Roland McGrath  <roland@hack.frob.com>
43328         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
43329         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
43330         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
43331         [!BEFORE_ABORT] (before_abort): New function.
43332         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
43333         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
43334         (writev_for_fatal): New function.
43335         (WRITEV_FOR_FATAL): New macro; call that.
43336         (backtrace_and_maps): New function.
43337         (BEFORE_ABORT): New macro; call that.
43338         (struct str_list): Type removed.
43339         (__libc_message, __libc_fatal): Functions removed.
43340         Include <sysdeps/posix/libc_fatal.c> instead.
43342 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
43344         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
43345         constants.
43346         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
43347         double constants.
43349 2013-03-19  Andreas Schwab  <schwab@suse.de>
43351         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
43352         * sysdeps/gnu/configure: Regenerate.
43354         * configure.in: Substitute libc_cv_rtlddir.
43355         * configure: Regenerate.
43356         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
43357         * Makeconfig (rtlddir, inst_rtlddir): New variables.
43358         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
43359         * elf/Makefile (install-others, CFLAGS-interp.c)
43360         (ldso_install, common-ldd-rewrite): Likewise.
43361         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
43362         $(inst_slibdir)/$(rtld-installed-name).
43363         * scripts/rellns-sh: Add -p option.
43364         * Makerules (make-shlib-link): Use rellns-sh to get relative name
43365         for source.
43367 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43369         * manual/nptl.texi: Renamed to ...
43370         * manual/threads.texi: ... this.
43371         * manual/Makefile (chapters): Update.
43373 2013-03-18  Roland McGrath  <roland@hack.frob.com>
43375         [BZ #14812]
43376         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
43377         on argument names, not just descriptions.
43378         * malloc/memusagestat.c (options): Likewise.
43379         * nss/getent.c (options): Likewise.
43381 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
43383         [BZ #14812]
43384         * iconv/iconv_prog.c (options): Put N_ translation marker
43385         on argument names, not just descriptions.
43386         * iconv/iconvconfig.c (options): Likewise.
43388 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
43390         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
43391         implementation which is faster on all x86_64 architectures.
43392         Tested on AMD, Intel Nehalem, SNB, IVB.
43393         * sysdeps/x86_64/strnlen.S: Likewise.
43395         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
43396         Remove all multiarch strlen and strnlen versions.
43397         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
43398         Remove strlen and strnlen related parts.
43400         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
43401         Inline strlen part.
43402         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
43404         * sysdeps/x86_64/multiarch/strlen.S: Remove.
43405         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
43406         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
43407         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
43408         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
43409         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
43411 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
43413         * manual/memory.texi (Malloc Tunable Parameters):
43414         Sort parameters alphabetically. Add comments for missing entries.
43416 2013-03-17  David S. Miller  <davem@davemloft.net>
43418         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43420 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
43422         [BZ #15283]
43423         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
43424         for arguments at most half maximum finite value.
43425         * math/libm-test.inc (j0_test): Add more tests.
43426         (j1_test): Likewise.
43427         (y0_test): Likewise.
43428         (y1_test): Likewise.
43429         * sysdeps/i386/fpu/libm-test-ulps: Update.
43430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43432         [BZ #14155]
43433         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
43434         1 / x and functions P and Q for arguments above 0x1p256L.
43435         (__ieee754_y0l): Likewise.
43436         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
43437         (__ieee754_y1l): Likewise.
43438         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
43439         (j1_test): Likewise.
43440         (y0_test): Likewise.
43441         (y1_test): Likewise.
43443 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
43445         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
43446         variable.
43448 2013-03-15  Roland McGrath  <roland@hack.frob.com>
43450         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
43451         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
43452         zero since it's initialized to EXEC_PAGESIZE.
43454         * sysdeps/unix/sysv/linux/ldsodefs.h
43455         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
43456         * sysdeps/generic/ldsodefs.h: ... here.
43458 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
43460         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
43462         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
43463         math/test-snan.c.
43464         * math/test-snan.c: Renamed from
43465         sysdeps/powerpc/fpu/test-powerpc-snan.c.
43466         * math/Makefile (tests): Add test-snan.
43467         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
43468         test-powerpc-snan.
43470         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
43471         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
43472         functions.
43473         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
43474         __builtin_nan family of functions.
43475         * math/libm-test.inc (initialize): Initialize qnan_value with
43476         __builtin_nan family of functions.
43477         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
43478         Remove variables.
43479         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
43480         Remove functions.
43481         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
43482         storage class.  Initialize qNaN_var and sNaN_var with
43483         __builtin_nan and __builtin_nans families of functions,
43484         respectively.
43486         * math/libm-test.inc (acosh_test): Also test with qNaN input.
43487         (sqrt_test): Remove duplicate test with qNaN input.
43488         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
43489         (round_test, signbit_test, significand_test): Note missing +/-Inf
43490         as well as qNaN tests.
43492         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
43493         qNaN_var.  Fix a few strings, too.
43494         * math/libm-test.inc (nan_value): Rename to qnan_value.
43495         * math/gen-libm-test.pl (%beautify): Adjust to that.
43496         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
43497         * math/test-misc.c (main): Likewise.
43498         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
43499         to __qnan_bytes, and __qnan_union, respectively.
43500         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
43501         Likewise.
43502         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
43503         and lqnanval, respectively.
43504         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
43505         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
43506         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
43507         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
43509         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
43510         * math/test-misc.c (main) [__x86_64__]: Enable test for long
43511         doubles.
43513         * math/test-misc.c (main): Fix copy'n'pastos.
43514         * misc/tst-efgcvt.c (special): Likewise.
43516         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
43517         Remove declarations.
43519 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43521         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
43522         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
43523         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
43524         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
43526 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43528         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
43529         macro to return vdso values correctly in IFUNC implementations.
43530         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
43531         Optimization by using IFUNC.
43533 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43534             Richard Henderson  <rth@redhat.com>
43535             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43537         * Makefile.in (bench): New target.
43538         * NEWS: Mention the benchmark framework.
43539         * Rules (bench): Likewise.
43540         (binaries-bench): Generate binaries for functions to
43541         benchmark.
43542         * benchtests/Makefile: New makefile for benchmark tests.
43543         * benchtests/bench-skeleton.c: New skeleton file for benchmark
43544         programs.
43545         * benchtests/exp-inputs: New input file for EXP function.
43546         * benchtests/pow-inputs: New input file for POW function.
43547         * scripts/bench.pl: New script to generate source files for
43548         benchmark programs.
43550 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43552         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
43553         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
43554         computations on mantissa.  Use macros for rounding and
43555         division.
43556         (denorm): Likewise.
43557         (__dbl_mp): Likewise.
43558         (add_magnitudes): Likewise.
43559         (sub_magnitudes): Likewise.
43560         (__mul): Likewise.
43561         (__sqr): Likewise.
43562         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
43563         powers of two in terms of TWOPOW macro.
43564         (mp_no): Make type of mantissa as MANTISSA_T.
43565         [!RADIXI]: Define RADIXI.
43566         [!TWO52]: Define TWO52.
43567         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
43569         * manual/nptl.texi (cindex): Modify threads to pthreads.
43571 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
43573         * sysdeps/x86_64/preconfigure: Regenerated.
43575 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
43577         [BZ #14155]
43578         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
43579         0x1p28 and above.
43580         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
43581         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
43582         0x1p28 and above.
43583         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
43584         * math/libm-test.inc (j0_test): Do not allow one spurious
43585         underflow exception.
43586         (y1_test): Likewise.
43588 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
43590         * manual/Makefile (chapters): Add nptl.
43591         * manual/debug.texi (Debugging Support): Add link to Threads
43592         chapter.
43593         * manual/nptl.texi: New file.
43595         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
43597 2013-03-14  Petr Baudis  <pasky@ucw.cz>
43599         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
43600         for non-NULL pointer before the memory validity test. Pointed
43601         out by Holger Brunck <holger.brunck@keymile.com>.
43603 2013-03-13  Andreas Schwab  <schwab@suse.de>
43605         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
43606         instead of .os.
43608 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
43610         * timezone/zic.c: Update from tzcode 2013b.
43612 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
43614         * manual/install.texi (Configuring and compiling):
43615         Mention i686 and i586.
43616         * INSTALL: Regenerate.
43618 2013-03-12  Roland McGrath  <roland@hack.frob.com>
43620         * sysdeps/init_array/elf-init.c: New file.
43621         * csu/elf-init.c
43622         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
43623         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
43625         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
43626         __gmon_start__ as global, but as static with a .preinit_array pointer.
43627         * sysdeps/init_array/gmon-start.c: New file.  Use that.
43628         * sysdeps/init_array/crti.S: New file, empty except for comments.
43629         * sysdeps/init_array/crtn.S: Likewise.
43631 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
43633         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
43634         definining bcopy.
43635         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43636         Remove Prefer_SSE_for_memop.
43637         * sysdeps/x86_64/multiarch/init-arch.h: Remove
43638         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
43639         HAS_PREFER_SSE_FOR_MEMOP.
43640         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
43641         memset-x86-64.
43642         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43643         Remove bzero, memset ifunc support.
43644         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
43645         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
43646         * sysdeps/x86_64/multiarch/memset.S: Likewise.
43647         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43649 2013-03-11  Andreas Schwab  <schwab@suse.de>
43651         [BZ #15234]
43652         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
43653         by SHLIB_COMPAT.
43654         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
43655         (GLIBC_2.16): Remove pthread_atfork.
43657 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
43659         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
43660         (ptestcases.h): Likewise.
43662 2013-03-08  Roland McGrath  <roland@hack.frob.com>
43664         * Makeconfig ($(common-objpfx)config.status): Depend on
43665         sysdeps/*/preconfigure{,.in} too.
43667 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
43669         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
43670         (__free_hook): Use void * instead of __malloc_ptr_t.
43671         (__malloc_hook): Likewise.
43672         (__realloc_hook): Likewise.
43673         (__memalign_hook): Likewise.
43674         (__after_morecore_hook): Likewise.
43675         * malloc/arena.c (save_malloc_hook): Likewise.
43676         (save_free_hook): Likewise.
43677         * malloc/hooks.c (malloc_hook_ini): Likewise.
43678         (realloc_hook_ini): Likewise.
43679         (memalign_hook_ini): Likewise.
43680         * malloc/malloc.c (malloc_hook_ini): Likewise.
43681         (realloc_hook_ini): Likewise.
43682         (memalign_hook_ini): Likewise.
43683         (__free_hook): Likewise.
43684         (__malloc_hook): Likewise.
43685         (__realloc_hook): Likewise.
43686         (__memalign_hook): Likewise.
43687         (__libc_malloc): Likewise.
43688         (__libc_free): Likewise.
43689         (__libc_realloc): Likewise.
43690         (__libc_memalign): Likewise.
43691         (__libc_valloc): Likewise.
43692         (__libc_pvalloc): Likewise.
43693         (__libc_calloc): Likewise.
43694         (__posix_memalign): Likewise.
43695         * malloc/morecore.c (__sbrk): Likewise.
43696         (__default_morecore): Likewise.
43698         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
43700         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
43701         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
43702         __malloc_ptrdiff_t.
43704         * malloc/malloc.h (__malloc_size_t): Remove macro.
43705         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
43706         __malloc_size_t.
43707         (old_memalign_hook): Likewise.
43708         (old_realloc_hook): Likewise.
43709         (struct hdr): Likewise.
43710         (flood): Likewise.
43711         (mallochook): Likewise.
43712         (memalignhook): Likewise.
43713         (reallochook): Likewise.
43714         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
43715         (tr_old_realloc_hook): Likewise.
43716         (tr_old_memalign_hook): Likewise.
43717         (tr_mallochook): Likewise.
43718         (tr_reallochook): Likewise.
43719         (tr_memalignhook): Likewise.
43721 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43723         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
43724         default_ldbl_pack and using as default implementation.
43725         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
43726         implementation.
43727         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
43728         redundant definition.
43729         (ldbl_insert_mantissa): Likewise.
43730         (ldbl_canonicalize): Likewise.
43731         (ldbl_nearbyint): Likewise.
43732         (ldbl_pack): Rename to ldbl_pack_ppc.
43733         (ldbl_unpack): Rename to ldbl_unpack_ppc.
43734         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
43735         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
43737 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
43739         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
43740         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
43741         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
43742         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
43743         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
43744         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
43745         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
43746         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
43748 2013-03-07  Andreas Jaeger  <aj@suse.de>
43750         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43751         bits/mman-linux.h.
43753 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
43755         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
43756         Include mpa.h and declare __MPEXP.
43757         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
43758         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
43759         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
43760         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
43761         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
43762         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
43763         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
43765         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
43766         (__slowpow): Use long double EXPL and LOGL functions to
43767         compute POW.
43768         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
43769         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
43770         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
43771         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
43772         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
43773         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
43775         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
43776         intermediate variable to calculate exponent.
43777         (__sqr): Likewise.
43778         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
43779         Likewise.
43780         (__sqr): Likewise.
43782         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
43783         [!NO__SQR]: Define __sqr.
43784         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
43785         and NO__SQR.  Remove all code except __mul and __sqr.  Include
43786         sysdeps/ieee754/dbl-64/mpa.c.
43787         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
43789         [BZ #12723]
43790         * posix/Makefile (tests): Add tst-pathconf.
43791         * posix/tst-pathconf.c: New test case.
43792         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
43793         _PC_PIPE_BUF.
43794         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
43796 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
43798         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
43800 2013-03-06  Andreas Jaeger  <aj@suse.de>
43802         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
43803         definition via __MAP_ANONYMOUS.
43805         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
43806         it's not part of Linux headers.
43808         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
43809         (MAP_HUGE_MASK): Define.
43811         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
43812         Define.
43813         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
43814         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
43815         Define.
43816         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
43817         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
43818         Define.
43819         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
43820         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
43821         Define.
43822         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
43824         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
43825         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
43826         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
43827         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
43828         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
43829         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
43831         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
43832         Handle f2fs.
43834         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43835         Handle f2fs and efivarfs.
43837         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
43838         f2fs.
43840         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
43841         (EFIVARFS_MAGIC): Add.
43842         (F2FS_LINK_MAX): Add.
43844 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
43846         * stdio-common/vfprintf.c: Replace __builtin_expect with
43847         __glibc_unlikely.
43849 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
43851         [BZ #13550]
43852         * sysdeps/generic/bp-sym.h: Remove file.
43853         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
43854         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
43855         <bp-sym.h> and <bp-asm.h>.
43856         (__longjmp): Don't use BP_SYM.
43857         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
43858         and <bp-asm.h>.
43859         (memcpy): Don't use BP_SYM.
43860         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
43861         <bp-sym.h> and <bp-asm.h>.
43862         (memcpy): Don't use BP_SYM.
43863         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
43864         <bp-asm.h>.
43865         (memcpy): Don't use BP_SYM.
43866         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
43867         <bp-asm.h>.
43868         (memset): Don't use BP_SYM.
43869         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
43870         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
43871         (__bzero): Don't use BP_SYM.
43872         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
43873         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
43874         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
43875         <bp-sym.h> and <bp-asm.h>.
43876         (memcmp): Don't use BP_SYM.  Remove comment about bounded
43877         pointers.
43878         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
43879         <bp-sym.h> and <bp-asm.h>.
43880         (memcpy): Don't use BP_SYM.
43881         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
43882         <bp-sym.h> and <bp-asm.h>.
43883         (memset): Don't use BP_SYM.
43884         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
43885         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
43886         (__bzero): Don't use BP_SYM.
43887         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
43888         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
43889         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
43890         <bp-sym.h> and <bp-asm.h>.
43891         (strncmp): Don't use BP_SYM.  Remove comment about bounded
43892         pointers.
43893         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
43894         <bp-sym.h> and <bp-asm.h>.
43895         (memcpy): Don't use BP_SYM.
43896         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
43897         <bp-sym.h> and <bp-asm.h>.
43898         (memset): Don't use BP_SYM.
43899         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
43900         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
43901         (__bzero): Don't use BP_SYM.
43902         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
43903         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
43904         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
43905         <bp-sym.h> and <bp-asm.h>.
43906         (__memchr): Don't use BP_SYM.
43907         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
43908         <bp-sym.h> and <bp-asm.h>.
43909         (memcmp): Don't use BP_SYM.  Remove comment about bounded
43910         pointers.
43911         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
43912         <bp-sym.h> and <bp-asm.h>.
43913         (memcpy): Don't use BP_SYM.
43914         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
43915         <bp-sym.h> and <bp-asm.h>.
43916         (__mempcpy): Don't use BP_SYM.
43917         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
43918         <bp-sym.h> and <bp-asm.h>.
43919         (__memrchr): Don't use BP_SYM.
43920         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
43921         <bp-sym.h> and <bp-asm.h>.
43922         (memset): Don't use BP_SYM.
43923         (__bzero): Likewise.
43924         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
43925         <bp-sym.h> and <bp-asm.h>.
43926         (__rawmemchr): Don't use BP_SYM.
43927         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
43928         <bp-sym.h> and <bp-asm.h>.
43929         (__STRCMP): Don't use BP_SYM.
43930         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
43931         <bp-sym.h> and <bp-asm.h>.
43932         (strchr): Don't use BP_SYM.
43933         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
43934         <bp-sym.h> and <bp-asm.h>.
43935         (__strchrnul): Don't use BP_SYM.
43936         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
43937         <bp-sym.h> and <bp-asm.h>.
43938         (strlen): Don't use BP_SYM.
43939         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
43940         <bp-sym.h> and <bp-asm.h>.
43941         (strncmp): Don't use BP_SYM.  Remove comment about bounded
43942         pointers.
43943         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
43944         <bp-sym.h> and <bp-asm.h>.
43945         (__strnlen): Don't use BP_SYM.
43946         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
43947         <bp-sym.h> and <bp-asm.h>.
43948         (__GI__setjmp): Don't use BP_SYM.
43949         (_setjmp): Likewise.
43950         (__sigsetjmp): Likewise.
43951         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
43952         (L(start_addresses)): Don't use BP_SYM.
43953         (_start): Likewise.
43954         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
43955         <bp-asm.h>.
43956         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
43957         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
43958         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
43959         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
43960         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
43961         <bp-asm.h>.
43962         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
43963         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
43964         about bounded pointers.
43965         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
43966         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
43967         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
43968         <bp-asm.h>.
43969         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
43970         about bounded pointers.  Remove GKM FIXME comments.
43971         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
43972         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
43973         <bp-asm.h>.
43974         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
43975         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
43976         Remove GKM FIXME comments.
43977         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
43978         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
43979         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
43980         <bp-asm.h>.
43981         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
43982         about bounded pointers.  Remove GKM FIXME comment.
43983         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
43984         and <bp-asm.h>.
43985         (strncmp): Don't use BP_SYM.  Remove comment about bounded
43986         pointers.
43987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
43988         <bp-sym.h> and <bp-asm.h>.
43989         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
43990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
43991         <bp-sym.h> and <bp-asm.h>.
43992         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
43993         comment.
43995 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
43997         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
43998         call free(NULL).
44000 2013-03-05  David S. Miller  <davem@davemloft.net>
44002         * po/es.po: Update from translation team.
44004 2013-03-05  Andreas Jaeger  <aj@suse.de>
44006         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
44007         <bits/mman-linux.h>.
44008         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
44009         is fine.
44010         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
44011         <bits/mman-linux.h> to end of file.
44012         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
44013         is fine.
44014         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
44015         <bits/mman-linux.h> to end of file.
44016         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
44017         is fine.
44018         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
44019         <bits/mman-linux.h> to end of file.
44021         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
44022         (MCL_CURRENT, MCL_FUTURE): Define here.
44024 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44026         [BZ #15232]
44027         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
44028         attribute_hidden.
44029         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
44031 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44033         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
44034         fourth parameter needed for rt_sigprocmask syscall.
44035         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
44036         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
44037         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
44038         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
44039         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
44040         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
44042 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
44044         [BZ #13550]
44045         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
44046         comment about bounded pointers.
44047         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
44048         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
44050 2013-03-04  Andreas Jaeger  <aj@suse.de>
44052         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
44053         common definitions.
44055         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
44056         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
44057         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
44058         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44059         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
44060         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44062 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44064         [BZ #15055]
44065         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
44066         __ieee754_sqrl instead of __sqrl.
44068 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
44070         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
44071         * sysdeps/powerpc/fpu_control.h: ... here.
44072         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
44073         * sysdeps/powerpc/bits/fenvinline.h: ... here.
44074         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
44075         * sysdeps/powerpc/bits/mathinline.h: ... here.
44077 2013-03-01  Roland McGrath  <roland@hack.frob.com>
44079         * elf/dl-hwcaps.c (_dl_important_hwcaps):
44080         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
44081         to just [NEED_DL_SYSINFO_DSO].
44082         * elf/dl-support.c: Likewise.
44083         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
44084         * elf/rtld.c (dl_main): Likewise.
44085         * elf/setup-vdso.h (setup_vdso): Likewise.
44086         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
44087         * sysdeps/unix/sysv/linux/dl-sysdep.c
44088         (_dl_discover_osversion): Likewise.
44090 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
44092         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
44093         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
44095 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
44097         * NEWS: Mention libm performance improvements and non-x86 PI
44098         futex support.
44100         * csu/libc-start.c (__pthread_initialize_minimal): Change
44101         function arguments.
44102         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
44104 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
44106         [BZ #13550]
44107         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
44108         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
44109         <bp-sym.h> and <bp-asm.h>.
44110         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
44111         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
44112         and <bp-asm.h>.
44113         (memcpy): Don't use BP_SYM.
44114         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
44115         <bp-asm.h>.
44116         (__mpn_add_n): Don't use BP_SYM.
44117         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
44118         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
44119         and <bp-asm.h>.
44120         (__mpn_addmul_1): Don't use BP_SYM.
44121         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44122         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
44123         <bp-sym.h>.
44124         (_setjmp): Don't use BP_SYM.
44125         (__novmx_setjmp): Likewise.
44126         (__GI__setjmp): Likewise.
44127         (__vmx_setjmp): Likewise.
44128         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
44129         <bp-sym.h>.
44130         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
44131         (__bzero): Don't use BP_SYM.
44132         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
44133         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
44134         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
44135         <bp-sym.h> and <bp-asm.h>.
44136         (memcpy): Don't use BP_SYM.
44137         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
44138         <bp-sym.h> and <bp-asm.h>.
44139         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
44140         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
44141         <bp-sym.h> and <bp-asm.h>.
44142         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
44143         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
44144         <bp-asm.h>.
44145         (__mpn_lshift): Don't use BP_SYM.
44146         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44147         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
44148         <bp-asm.h>.
44149         (memset): Don't use BP_SYM.
44150         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
44151         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
44152         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
44153         <bp-asm.h>.
44154         (__mpn_mul_1): Don't use BP_SYM.
44155         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44156         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
44157         <bp-sym.h> and <bp-asm.h>.
44158         (memcmp): Don't use BP_SYM.
44159         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
44160         <bp-sym.h> and <bp-asm.h>.
44161         (memcpy): Don't use BP_SYM.
44162         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
44163         <bp-sym.h> and <bp-asm.h>.
44164         (memset): Don't use BP_SYM.
44165         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
44166         <bp-sym.h> and <bp-asm.h>.
44167         (strncmp): Don't use BP_SYM.
44168         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
44169         <bp-sym.h> and <bp-asm.h>.
44170         (memcpy): Don't use BP_SYM.
44171         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
44172         <bp-sym.h> and <bp-asm.h>.
44173         (memset): Don't use BP_SYM.
44174         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
44175         <bp-sym.h> and <bp-asm.h>.
44176         (__memchr): Don't use BP_SYM.
44177         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
44178         <bp-sym.h> and <bp-asm.h>.
44179         (memcmp): Don't use BP_SYM.
44180         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
44181         <bp-sym.h> and <bp-asm.h>.
44182         (memcpy): Don't use BP_SYM.
44183         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
44184         <bp-sym.h> and <bp-asm.h>.
44185         (__mempcpy): Don't use BP_SYM.
44186         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
44187         <bp-sym.h> and <bp-asm.h>.
44188         (__memrchr): Don't use BP_SYM.
44189         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
44190         <bp-sym.h> and <bp-asm.h>.
44191         (memset): Don't use BP_SYM.
44192         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
44193         <bp-sym.h> and <bp-asm.h>.
44194         (__rawmemchr): Don't use BP_SYM.
44195         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
44196         <bp-sym.h> and <bp-asm.h>.
44197         (__STRCMP): Don't use BP_SYM.
44198         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
44199         <bp-sym.h> and <bp-asm.h>.
44200         (strchr): Don't use BP_SYM.
44201         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
44202         <bp-sym.h> and <bp-asm.h>.
44203         (__strchrnul): Don't use BP_SYM.
44204         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
44205         <bp-sym.h> and <bp-asm.h>.
44206         (strlen): Don't use BP_SYM.
44207         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
44208         <bp-sym.h> and <bp-asm.h>.
44209         (strncmp): Don't use BP_SYM.
44210         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
44211         <bp-sym.h> and <bp-asm.h>.
44212         (__strnlen): Don't use BP_SYM.
44213         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
44214         <bp-asm.h>.
44215         (__mpn_rshift): Don't use BP_SYM.
44216         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44217         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
44218         <bp-sym.h> and <bp-asm.h>.
44219         (__sigsetjmp): Don't use BP_SYM.
44220         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
44221         (L(start_addresses)): Don't use BP_SYM.
44222         (_start): Likewise.
44223         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
44224         <bp-asm.h>.
44225         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
44226         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44227         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
44228         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
44229         <bp-asm.h>.
44230         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
44231         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
44232         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
44233         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
44234         <bp-asm.h>.
44235         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
44236         comments.
44237         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
44238         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
44239         <bp-asm.h>.
44240         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
44241         FIXME comments.
44242         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44243         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
44244         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
44245         <bp-asm.h>.
44246         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
44247         comment.
44248         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
44249         and <bp-asm.h>.
44250         (strncmp): Don't use BP_SYM,
44251         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
44252         <bp-asm.h>.
44253         (__mpn_sub_n): Don't use BP_SYM.
44254         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44255         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
44256         and <bp-asm.h>.
44257         (__mpn_submul_1): Don't use BP_SYM.
44258         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
44260         <bp-sym.h> and <bp-asm.h>.
44261         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
44262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
44263         <bp-sym.h> and <bp-asm.h>.
44264         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
44265         comment.
44267 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44269         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
44270         Use ZK to minimize writes to Z.
44271         (sub_magnitudes): Simplify code a bit.
44272         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
44273         Use ZK to minimize writes to Z.
44274         (sub_magnitudes): Simplify code a bit.
44276 2013-02-27  Roland McGrath  <roland@hack.frob.com>
44278         * csu/gmon-start.c: Add special exception to license text.
44280 2013-02-27  Richard Henderson  <rth@redhat.com>
44282         * scripts/config.guess: Update from config.git.
44283         * scripts/config.sub: Likewise.
44285 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
44287         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
44289         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
44291         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
44293         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
44295         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
44297 2013-02-26  Roland McGrath  <roland@hack.frob.com>
44299         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
44300         [$(build-shared = yes].
44302 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44304         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
44305         (__mul): Reduce iterations for calculating mantissa.
44307         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
44308         MPTWO.
44309         (__mpranred): Likewise.
44311         [BZ #15160]
44312         * malloc/memusagestat.c (main): Draw graphs for heap and stack
44313         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
44315 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
44317         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
44318         Define __attribute__.
44320 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44322         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
44323         unused.
44324         * posix/regex_internal.h (__attribute): Remove.
44325         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
44326         (re_string_context_at): Likewise.
44327         (bitset_not): Use __attribute__ and mark function as possibly
44328         unused.
44329         (bitset_merge): Likewise.
44330         (bitset_mask): Likewise.
44331         (re_string_char_size_at): Likewise.
44332         (re_string_wchar_at): Likewise.
44333         (re_string_elem_size_at): Likewise.
44335 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44337         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
44338         code.
44339         (cc32): Likewise.
44341         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
44342         (__acr): Likewise.
44343         (__cpy): Likewise.
44344         (norm): Likewise.
44345         (denorm): Likewise.
44346         (__dbl_mp): Likewise.
44347         (add_magnitudes): Likewise.
44348         (sub_magnitudes): Likewise.
44349         (__mul): Likewise.
44350         (__inv): Likewise.
44352         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
44353         style.
44355         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
44356         style.
44358         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
44359         code.
44361         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
44362         up changes with default code.
44363         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
44364         Likewise.
44366 2013-02-24  Allan McRae  <allan@archlinux.org>
44368         * manual/socket.texi (The Internet Namespace): Order menu items
44369         to match that in the file.
44371         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
44372         node listing of the info page menu.
44374 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
44376         [BZ #13550]
44377         * sysdeps/i386/bp-asm.h: Remove file.
44378         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
44379         (PARMS): Do not use macros from bp-asm.h.
44380         (S1): Likewise.
44381         (S2): Likewise.
44382         (SIZE): Likewise.
44383         (__mpn_add_n): Do not use BP_SYM
44384         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
44385         "bp-asm.h".
44386         (PARMS): Do not use macros from bp-asm.h.
44387         (S1): Likewise.
44388         (SIZE): Likewise.
44389         (__mpn_addmul_1): Do not use BP_SYM
44390         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
44391         "bp-asm.h".
44392         (PARMS): Do not use macros from bp-asm.h.
44393         (SIGMSK): Likewise.
44394         (_setjmp): Likewise.  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/fpu/s_frexp.S: Do not include "bp-sym.h" and
44401         "bp-asm.h".
44402         (PARMS): Do not use macros from bp-asm.h.
44403         (__frexp): Do not use BP_SYM.
44404         (frexp): Likewise.
44405         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
44406         "bp-asm.h".
44407         (PARMS): Do not use macros from bp-asm.h.
44408         (__frexpf): Do not use BP_SYM.
44409         (frexpf): Likewise.
44410         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
44411         "bp-asm.h".
44412         (PARMS): Do not use macros from bp-asm.h.
44413         (__frexpl): Do not use BP_SYM.
44414         (frexpl): Likewise.
44415         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
44416         "bp-asm.h".
44417         (PARMS): Do not use macros from bp-asm.h.
44418         (__remquo): Do not use BP_SYM.
44419         (remquo): Likewise.
44420         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
44421         "bp-asm.h".
44422         (PARMS): Do not use macros from bp-asm.h.
44423         (__remquof): Do not use BP_SYM.
44424         (remquof): Likewise.
44425         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
44426         "bp-asm.h".
44427         (PARMS): Do not use macros from bp-asm.h.
44428         (__remquol): Do not use BP_SYM.
44429         (remquol): Likewise.
44430         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
44431         "bp-asm.h".
44432         (PARMS): Do not use macros from bp-asm.h.
44433         (DEST): Likewise.
44434         (SRC): Likewise.
44435         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
44436         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
44437         "bp-asm.h".
44438         (PARMS): Do not use macros from bp-asm.h.
44439         (strlen): Do not use BP_SYM.
44440         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
44441         "bp-asm.h".
44442         (PARMS): Do not use macros from bp-asm.h.
44443         (S1): Likewise.
44444         (S2): Likewise.
44445         (SIZE): Likewise.
44446         (__mpn_add_n): Do not use BP_SYM.
44447         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
44448         "bp-asm.h".
44449         (PARMS): Do not use macros from bp-asm.h.
44450         (S1): Likewise.
44451         (SIZE): Likewise.
44452         (__mpn_addmul_1): Do not use BP_SYM.
44453         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
44454         weak_alias.
44455         (bzero): Likewise.
44456         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
44457         "bp-asm.h".
44458         (PARMS): Do not use macros from bp-asm.h.
44459         (S): Likewise.
44460         (SIZE): Likewise.
44461         (__mpn_lshift): Do not use BP_SYM.
44462         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
44463         "bp-asm.h".
44464         (PARMS): Do not use macros from bp-asm.h.
44465         (DEST): Likewise.
44466         (SRC): Likewise.
44467         (LEN): Likewise.
44468         (memcpy): Likewise.  Do not use BP_SYM.
44469         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
44470         libc_hidden_def and weak_alias.
44471         (mempcpy): Do not use BP_SYM in weak_alias.
44472         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
44473         "bp-asm.h".
44474         (PARMS): Do not use macros from bp-asm.h.
44475         (DEST): Likewise.
44476         (LEN): Likewise.
44477         [!BZERO_P] (CHR): Likewise.
44478         (memset): Likewise.  Do not use BP_SYM.
44479         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
44480         "bp-asm.h".
44481         (PARMS): Do not use macros from bp-asm.h.
44482         (S1): Likewise.
44483         (SIZE): Likewise.
44484         (__mpn_mul_1): Do not use BP_SYM.
44485         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
44486         "bp-asm.h".
44487         (PARMS): Do not use macros from bp-asm.h.
44488         (S): Likewise.
44489         (SIZE): Likewise.
44490         (__mpn_rshift): Do not use BP_SYM.
44491         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
44492         "bp-asm.h".
44493         (PARMS): Do not use macros from bp-asm.h.
44494         (STR): Likewise.
44495         (CHR): Likewise.
44496         (strchr): Likewise.  Do not use BP_SYM.
44497         (index): Do not use BP_SYM in weak_alias.
44498         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
44499         "bp-asm.h".
44500         (PARMS): Do not use macros from bp-asm.h.
44501         (DEST): Likewise.
44502         (SRC): Likewise.
44503         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
44504         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
44505         "bp-asm.h".
44506         (PARMS): Do not use macros from bp-asm.h.
44507         (strlen): Do not use BP_SYM.
44508         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
44509         "bp-asm.h".
44510         (PARMS): Do not use macros from bp-asm.h.
44511         (S1): Likewise.
44512         (S2): Likewise.
44513         (SIZE): Likewise.
44514         (__mpn_sub_n): Do not use BP_SYM.
44515         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
44516         "bp-asm.h".
44517         (PARMS): Do not use macros from bp-asm.h.
44518         (S1): Likewise.
44519         (SIZE): Likewise.
44520         (__mpn_submul_1): Do not use BP_SYM.
44521         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
44522         "bp-asm.h".
44523         (PARMS): Do not use macros from bp-asm.h.
44524         (S1): Likewise.
44525         (S2): Likewise.
44526         (SIZE): Likewise.
44527         (__mpn_add_n): Do not use BP_SYM.
44528         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
44529         weak_alias.
44530         (bzero): Likewise.
44531         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
44532         "bp-asm.h".
44533         (PARMS): Do not use macros from bp-asm.h.
44534         (BLK2): Likewise.
44535         (LEN): Likewise.
44536         (memcmp): Do not use BP_SYM.
44537         (bcmp): Do not use BP_SYM in weak_alias.
44538         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
44539         "bp-asm.h".
44540         (PARMS): Do not use macros from bp-asm.h.
44541         (DEST): Likewise.
44542         (SRC): Likewise.
44543         (LEN): Likewise.
44544         (memcpy): Likewise.  Do not use BP_SYM.
44545         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
44546         "bp-asm.h".
44547         (PARMS): Do not use macros from bp-asm.h.
44548         (DEST): Likewise.
44549         (SRC): Likewise.
44550         (LEN): Likewise.
44551         (memmove): Likewise.  Do not use BP_SYM.
44552         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
44553         "bp-asm.h".
44554         (PARMS): Do not use macros from bp-asm.h.
44555         (DEST): Likewise.
44556         (SRC): Likewise.
44557         (LEN): Likewise.
44558         (__mempcpy): Likewise.  Do not use BP_SYM.
44559         (mempcpy): Do not use BP_SYM in weak_alias.
44560         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
44561         "bp-asm.h".
44562         (PARMS): Do not use macros from bp-asm.h.
44563         (DEST): Likewise.
44564         (LEN): Likewise.
44565         [!BZERO_P] (CHR): Likewise.
44566         (memset): Likewise.  Do not use BP_SYM.
44567         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
44568         "bp-asm.h".
44569         (PARMS): Do not use macros from bp-asm.h.
44570         (STR2): Likewise.
44571         (strcmp): Do not use BP_SYM.
44572         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
44573         "bp-asm.h".
44574         (PARMS): Do not use macros from bp-asm.h.
44575         (STR): Likewise.
44576         (DELIM): Likewise.
44577         [USE_AS_STRTOK_R] (SAVE): Likewise.
44578         (FUNCTION): Likewise.  Do not use BP_SYM.
44579         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
44580         aliases.
44581         (strtok_r): Likewise.
44582         (__GI___strtok_r): Likewise.
44583         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
44584         (PARMS): Do not use macros from bp-asm.h.
44585         (S): Likewise.
44586         (SIZE): Likewise.
44587         (__mpn_lshift): Do not use BP_SYM.
44588         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
44589         (PARMS): Do not use macros from bp-asm.h.
44590         (STR): Likewise.
44591         (CHR): Likewise.
44592         (__memchr): Do not use BP_SYM.
44593         (memchr): Do not use BP_SYM in weak_alias.
44594         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
44595         (PARMS): Do not use macros from bp-asm.h.
44596         (BLK2): Likewise.
44597         (LEN): Likewise.
44598         (memcmp): Do not use BP_SYM.
44599         (bcmp): Do not use BP_SYM in weak_alias.
44600         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
44601         (PARMS): Do not use macros from bp-asm.h.
44602         (S1): Likewise.
44603         (SIZE): Likewise.
44604         (__mpn_mul_1): Do not use BP_SYM.
44605         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
44606         "bp-asm.h".
44607         (PARMS): Do not use macros from bp-asm.h.
44608         (STR): Likewise.
44609         (CHR): Likewise.
44610         (__rawmemchr): Do not use BP_SYM.
44611         (rawmemchr): Do not use BP_SYM in weak_alias.
44612         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
44613         (PARMS): Do not use macros from bp-asm.h.
44614         (S): Likewise.
44615         (SIZE): Likewise.
44616         (__mpn_rshift): Do not use BP_SYM.
44617         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
44618         (PARMS): Do not use macros from bp-asm.h.
44619         (SIGMSK): Likewise.
44620         (__sigsetjmp): Likewise.  Do not use BP_SYM.
44621         * sysdeps/i386/start.S: Do not include "bp-sym.h".
44622         (_start): Do not use BP_SYM.
44623         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
44624         (PARMS): Do not use macros from bp-asm.h.
44625         (DEST): Likewise.
44626         (SRC): Likewise.
44627         (__stpcpy): Likewise.  Do not use BP_SYM.
44628         (stpcpy): Do not use BP_SYM in weak_alias.
44629         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
44630         "bp-asm.h".
44631         (PARMS): Do not use macros from bp-asm.h.
44632         (DEST): Likewise.
44633         (SRC): Likewise.
44634         (LEN): Likewise.
44635         (__stpncpy): Likewise.  Do not use BP_SYM.
44636         (stpncpy): Do not use BP_SYM in weak_alias.
44637         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
44638         (PARMS): Do not use macros from bp-asm.h.
44639         (STR): Likewise.
44640         (CHR): Likewise.
44641         (strchr): Likewise.  Do not use BP_SYM.
44642         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
44643         "bp-asm.h".
44644         (PARMS): Do not use macros from bp-asm.h.
44645         (STR): Likewise.
44646         (CHR): Likewise.
44647         (__strchrnul): Likewise.  Do not use BP_SYM.
44648         (strchrnul): Do not use BP_SYM in weak_alias.
44649         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
44650         "bp-asm.h".
44651         (PARMS): Do not use macros from bp-asm.h.
44652         (STOP): Likewise.
44653         (strcspn): Do not use BP_SYM.
44654         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
44655         "bp-asm.h".
44656         (PARMS): Do not use macros from bp-asm.h.
44657         (STR): Likewise.
44658         (STOP): Likewise.
44659         (strpbrk): Likewise.  Do not use BP_SYM.
44660         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
44661         "bp-asm.h".
44662         (PARMS): Do not use macros from bp-asm.h.
44663         (STR): Likewise.
44664         (CHR): Likewise.
44665         (strrchr): Likewise.  Do not use BP_SYM.
44666         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
44667         (PARMS): Do not use macros from bp-asm.h.
44668         (SKIP): Likewise.
44669         (strspn): Do not use BP_SYM.
44670         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
44671         (PARMS): Do not use macros from bp-asm.h.
44672         (STR): Likewise.
44673         (DELIM): Likewise.
44674         (SAVE): Likewise.
44675         (FUNCTION): Likewise.  Do not use BP_SYM.
44676         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
44677         aliases.
44678         (strtok_r): Likewise.
44679         (__GI___strtok_r): Likewise.
44680         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
44681         (PARMS): Do not use macros from bp-asm.h.
44682         (S1): Likewise.
44683         (S2): Likewise.
44684         (SIZE): Likewise.
44685         (__mpn_sub_n): Do not use BP_SYM.
44686         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
44687         "bp-asm.h".
44688         (PARMS): Do not use macros from bp-asm.h.
44689         (S1): Likewise.
44690         (SIZE): Likewise.
44691         (__mpn_submul_1): Do not use BP_SYM.
44692         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
44693         <bp-sym.h>.
44694         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
44695         and <bp-asm.h>.
44696         (PARMS): Do not use macros from bp-asm.h.
44697         (FLAGS): Likewise.
44698         (PTID): Likewise.
44699         (TLS): Likewise.
44700         (CTID): Likewise.
44701         (__clone): Do not use BP_SYM.
44702         (clone): Do not use BP_SYM in weak_alias.
44703         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
44704         and <bp-asm.h>.
44705         (PARMS): Do not use macros from bp-asm.h.
44706         (LEN): Likewise.
44707         (__mmap64): Do not use BP_SYM.
44708         (mmap64): Do not use BP_SYM in weak_alias.
44709         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
44710         <bp-sym.h> and <bp-asm.h>.
44711         (PARMS): Do not use macros from bp-asm.h.
44712         (__posix_fadvise64_l64): Do not use BP_SYM.
44713         * sysdeps/unix/sysv/linux/i386/semtimedop.S
44714         (PARMS): Do not use macros from bp-asm.h.
44715         (NSOPS): Likewise.
44716         (semtimedop): Do not use BP_SYM.
44717         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
44718         and <bp-asm.h>.
44720 2013-02-21  Allan McRae  <allan@archlinux.org>
44722         * manual/message.texi (Charset conversion in gettext):
44723         Move @end statement to beginning of line.
44725 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44727         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
44728         static.
44729         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
44730         Likewise.
44732         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
44733         (denorm): Likewise.
44734         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
44735         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
44737 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44739         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
44740         tail-call to the resolved function if pltexit isn't needed.
44742 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44744         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
44745         or Y being zero as being unlikely.
44746         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
44747         Likewise.
44749 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
44751         * manual/nss.texi (System Databases and Name Service Switch):
44752         Remove frobnicate @pxref.
44754 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
44756         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
44757         __attribute__ ((unused)) to __attribute__ ((__unused__)).
44759 2013-02-20  Petr Machata  <pmachata@redhat.com>
44761         * elf/elf.h (R_ARM_TARGET1): New macro.
44762         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
44763         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
44764         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
44765         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
44766         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
44767         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
44768         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
44769         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
44770         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
44771         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
44772         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
44773         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
44774         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
44775         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
44776         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
44777         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
44778         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
44779         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
44780         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
44781         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
44782         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
44783         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
44784         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
44785         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
44786         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
44787         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
44788         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
44789         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
44790         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
44791         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
44792         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
44793         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
44794         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
44795         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
44796         (R_ARM_THM_GOT_BREL12): Likewise.
44797         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
44798         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
44799         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
44800         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
44801         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
44802         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
44803         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
44804         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
44805         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
44807 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
44809         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
44810         __attribute_used__ to __attribute__ ((unused)).
44812 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44814         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
44815         powerpc mpa.c.
44816         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
44817         comment formatting.
44818         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
44820 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
44822         [BZ #13550]
44823         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
44824         Remove macro.
44825         (ENTER): Remove both macro definitions.
44826         (LEAVE): Likewise.
44827         (CHECK_BOUNDS_LOW): Likewise.
44828         (CHECK_BOUNDS_HIGH): Likewise.
44829         (CHECK_BOUNDS_BOTH): Likewise.
44830         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
44831         (RETURN_BOUNDED_POINTER): Likewise.
44832         (RETURN_NULL_BOUNDED_POINTER): Likewise.
44833         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
44834         (POP_ERRNO_LOCATION_RETURN): Likewise.
44835         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
44836         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44837         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
44838         macros.
44839         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44840         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
44841         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
44842         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
44843         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
44844         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
44845         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
44846         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
44847         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
44848         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
44849         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
44850         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
44851         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44852         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
44853         removed macros.
44854         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44855         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
44856         macros.
44857         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44858         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
44859         * sysdeps/i386/i586/memset.S (memset): Likewise.
44860         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
44861         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44862         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
44863         macros.
44864         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44865         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
44866         Change uses of L(2) to L(out).
44867         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
44868         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
44869         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
44870         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44871         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
44872         removed macros.
44873         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44874         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
44875         macros.
44876         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44877         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
44878         (RETURN): Do not use macro LEAVE.
44879         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
44880         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
44881         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
44882         * sysdeps/i386/i686/memset.S (memset): Likewise.
44883         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
44884         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
44885         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
44886         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
44887         Likewise.
44888         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
44889         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
44890         L(1_2) and L(1_3) into L(1).
44891         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
44892         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
44893         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44894         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
44895         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
44896         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
44897         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
44898         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44899         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
44900         macros.
44901         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
44902         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44903         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
44904         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
44905         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
44906         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44907         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
44908         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
44909         * sysdeps/i386/strcspn.S (strcspn): Likewise.
44910         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
44911         * sysdeps/i386/strrchr.S (strrchr): Likewise.
44912         * sysdeps/i386/strspn.S (strspn): Likewise.
44913         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
44914         conditional code.
44915         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
44916         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
44917         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
44918         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
44919         L(1_3) into L(1_1).
44920         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
44921         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44922         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
44923         macros.
44924         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44926 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
44928         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
44929         macro.
44931 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44933         * math/atest-exp.c (exp_mpn): Remove ROUND.
44934         * math/atest-exp2.c (exp_mpn): Likewise.
44935         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
44937         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
44938         * stdlib/tst-tls-atexit-lib.c: Likewise.
44939         * stdlib/tst-tls-atexit.c: Likewise.
44941 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
44943         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
44944         and __attribute_alloc_size__.
44946 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
44948         * include/programs/xmalloc.h: Change __attribute_alloc_size to
44949         __attribute_alloc_size__.
44950         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
44951         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
44953 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
44955         * include/programs/xmalloc.h: New file.
44956         * catgets/gencat.c: Include it.
44957         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
44958         * elf/pldd.c: Likewise.
44959         * iconv/iconv_charmap.c: Likewise.
44960         * iconv/iconvconfig.c: Likewise.
44961         * iconv/strtab.c: Likewise.
44962         * locale/programs/locale.c: Likewise.
44963         * locale/programs/localedef.h: Likewise.
44964         * locale/programs/simple-hash.c: Likewise.
44965         * nscd/nscd.h: Likewise.
44966         * nss/makedb.c: Likewise.
44967         * sysdeps/generic/ldconfig.h: Likewise.
44969 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44971         * Versions.def: Add GLIBC_2.18.
44972         * include/link.h (struct link_map): New member l_tls_dtor_count.
44973         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
44974         (__call_tls_dtors): Likewise.
44975         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
44976         __cxa_thread_atexit_impl.
44977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44978         Likewise.
44979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44980         Likewise.
44981         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
44982         Likewise.
44983         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
44984         Likewise.
44985         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44986         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
44987         Likewise.
44988         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
44989         Likewise.
44990         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44991         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
44992         Likewise.
44993         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
44994         (tests): Add test case tst-tls-atexit.
44995         (modules-names): Add shared library for tst-tls-atexit.
44996         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
44997         (GLIBC_PRIVATE): Add __call_tls_dtors.
44998         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
44999         for libstdc++.
45000         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
45001         * stdlib/tst-tls-atexit.c: New test case.
45002         * stdlib/tst-tls-atexit-lib.c: New test case.
45004         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
45006         * elf/Versions (ld): Add _dl_find_dso_for_object.
45007         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
45008         * elf/dl-open.c (_dl_find_dso_for_object): New function.
45009         (dl_open_worker): Use _dl_find_dso_for_object.
45010         * elf/dl-sym.c (do_sym): Likewise.
45011         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
45013 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45015         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
45016         Syntactic changes only.
45017         (_dl_runtime_profile): Do a tail-call to the resolved function.
45019 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
45021         [BZ #13550]
45022         * sysdeps/x86_64/bp-asm.h: Remove file.
45023         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
45024         <bp-sym.h> and <bp-asm.h>.
45025         (__clone): Do not use BP_SYM.
45026         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
45027         <bp-sym.h> and <bp-asm.h>.
45028         * sysdeps/unix/x86_64/sysdep.S: Likewise.
45029         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
45030         "bp-asm.h".
45031         (_setjmp): Do not use BP_SYM.
45032         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
45033         "bp-asm.h".
45034         (setjmp): Do not use BP_SYM.
45035         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
45036         libc_hidden_def.
45037         (mempcpy): Do not use BP_SYM in weak_alias.
45038         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
45039         "bp-asm.h".
45040         (strchr): Do not use BP_SYM.
45041         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
45042         "bp-asm.h".
45043         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
45044         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
45045         (_start): Do not use BP_SYM.
45046         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
45047         "bp-asm.h".
45048         (strcat): Do not use BP_SYM.
45049         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
45050         "bp-asm.h".
45051         (STRCMP): Do not use BP_SYM.
45052         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
45053         "bp-asm.h".
45054         (STRCPY): Do not use BP_SYM.
45055         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
45056         "bp-asm.h".
45057         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
45058         "bp-asm.h".
45059         (FUNCTION): Do not use BP_SYM.
45060         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
45061         weak_alias.
45062         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
45064 2013-02-17  Andreas Jaeger  <aj@suse.de>
45066         * time/Versions: Sort entries.
45067         * string/Versions: Likewise.
45068         * resolv/Versions: Likewise.
45069         * posix/Versions: Likewise.
45070         * iconv/Versions: Likewise.
45071         * elf/Versions: Likewise.
45072         * wcsmbs/Versions: Likewise.
45074 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45076         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
45077         loop termination condition.
45079         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
45080         variable to calculate EZ.
45081         (__sqr): Likewise.
45083         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
45084         the lower precision input.
45086 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
45088         [BZ #13550]
45089         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
45090         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
45091         (run-via-rtld-prefix): Do not handle %-bp tests.
45092         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
45093         (all-object-suffixes): Remove .ob.
45094         (bppfx): Remove variable.
45095         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
45096         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
45097         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
45098         [$(build-bounded) = yes] (libtype.ob): Likewise.
45099         * Makerules (elide-routines.ob): Remove variable.
45100         (do-tests-clean): Do not handle *-bp.out.
45101         (common-mostlyclean): Do not handle *-bp and *-bp.out.
45102         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
45103         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
45104         (tests): Do not include $(tests-bp.out).
45105         (xtests): Do not include $(xtests-bp.out).
45106         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
45107         [$(build-bounded) = yes] ($(addprefix
45108         $(objpfx),$(binaries-bounded))): Remove rule.
45109         ($(objpfx)%-bp.out): Remove rule.
45110         * config.make.in (build-bounded): Remove variable.
45111         * crypt/Makefile [$(build-bounded) = yes]
45112         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
45113         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
45114         append to variable.
45115         [$(build-bounded) = yes] (install-lib): Likewise.
45116         [$(build-bounded) = yes] (generated): Likewise.
45117         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
45118         Remove rule.
45119         * intl/Makefile [$(build-bounded) = yes]
45120         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
45121         * math/Makefile [$(build-bounded) = yes]
45122         ($(tests:%=$(objpfx)%-bp): Likewise.
45123         * misc/Makefile [$(build-bounded) = yes]
45124         ($(objpfx)tst-tsearch-bp): Likewise.
45125         * nptl/Makeconfig (bounded-thread-library): Remove variable.
45126         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
45127         Remove dependency.
45128         * string/Makefile (o-objects.ob): Remove variable.
45129         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
45130         (CFLAGS-.ob): Remove variable.
45131         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
45132         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
45133         both definitions of variable.
45134         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
45135         (ASFLAGS-.ob): Remove variable.
45137 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
45139         [BZ #13550]
45140         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
45141         Remove __BOUNDED_POINTERS__ from condition.
45142         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
45143         * string/bits/string2.h [!__NO_STRING_INLINES &&
45144         !__BOUNDED_POINTERS__]: Likewise.
45145         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
45146         Likewise.
45147         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
45148         Remove conditional code.
45149         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
45150         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
45151         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
45152         condition.
45154         [BZ #13550]
45155         * csu/libc-start.c: Do not include <bp-sym.h>.
45156         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
45157         * elf/dl-open.c: Do not include <bp-sym.h>.
45158         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
45159         * math/fegetenv.c: Do not include <bp-sym.h>.
45160         (fegetenv): Do not use BP_SYM in versioned symbols.
45161         * nptl/sysdeps/pthread/bits/libc-lockP.h
45162         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
45163         <bp-sym.h>.
45164         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45165         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
45166         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45167         (__pthread_mutex_destroy): Likewise.
45168         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45169         (__pthread_mutex_lock): Likewise.
45170         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45171         (__pthread_mutex_trylock): Likewise.
45172         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45173         (__pthread_mutex_unlock): Likewise.
45174         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45175         (__pthread_mutexattr_init): Likewise.
45176         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45177         (__pthread_mutexattr_destroy): Likewise.
45178         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45179         (__pthread_mutexattr_settype): Likewise.
45180         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45181         (__pthread_rwlock_init): Likewise.
45182         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45183         (__pthread_rwlock_destroy): Likewise.
45184         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45185         (__pthread_rwlock_rdlock): Likewise.
45186         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45187         (__pthread_rwlock_tryrdlock): Likewise.
45188         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45189         (__pthread_rwlock_wrlock): Likewise.
45190         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45191         (__pthread_rwlock_trywrlock): Likewise.
45192         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45193         (__pthread_rwlock_unlock): Likewise.
45194         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45195         (__pthread_key_create): Likewise.
45196         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45197         (__pthread_setspecific): Likewise.
45198         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45199         (__pthread_getspecific): Likewise.
45200         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
45201         Likewise.
45202         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45203         (_pthread_cleanup_push_defer): Likewise.
45204         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45205         (_pthread_cleanup_pop_restore): Likewise.
45206         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45207         (pthread_setcancelstate): Likewise.
45208         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
45209         <bp-sym.h>.
45210         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
45211         (memchr): Do not use BP_SYM in weak_alias.
45212         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
45213         (fegetenv): Do not use BP_SYM in versioned symbols.
45214         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
45215         (fesetenv): Do not use BP_SYM in versioned symbols.
45216         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
45217         (feupdateenv): Do not use BP_SYM in versioned symbols.
45218         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
45219         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
45220         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
45221         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
45222         (open64): Do not use BP_SYM in weak_alias.
45223         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
45224         (fegetenv): Do not use BP_SYM in versioned symbols.
45225         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
45226         (fesetenv): Do not use BP_SYM in versioned symbols.
45227         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
45228         (feupdateenv): Do not use BP_SYM in versioned symbols.
45229         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
45230         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
45231         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
45232         (feraiseexcept): Do not use BP_SYM in versioned symbols.
45233         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
45234         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
45235         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
45236         <bp-sym.h>.
45237         (__libc_start_main): Do not use BP_SYM.
45239 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
45241         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
45242         redundant return line.
45243         (norm): Likewise.
45244         (denorm): Likewise.
45245         (dbl_mp): Likewise.
45246         (sub_magnitudes): Likewise.
45247         (__add): Likewise.
45248         (__sub): Likewise.
45249         (__mul): Likewise.
45250         (__inv): Likewise.
45251         (__dvd): Likewise.
45252         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
45253         (norm): Likewise.
45254         (denorm): Likewise.
45255         (dbl_mp): Likewise.
45256         (sub_magnitudes): Likewise.
45257         (__add): Likewise.
45258         (__sub): Likewise.
45259         (__mul): Likewise.
45260         (__inv): Likewise.
45261         (__dvd): Likewise.
45263         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
45264         instead of __mul.
45265         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
45266         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
45267         (cc32): Likewise.
45269         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
45270         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
45271         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
45272         of __mul for squares.
45273         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
45274         function
45275         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
45276         Likewise.
45277         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
45278         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
45280 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
45282         [BZ #13550]
45283         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
45284         code.
45285         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
45286         prototype or function definition.  Rename ubp_* variables and
45287         parameters.  Remove argv definitions conditional on
45288         [__BOUNDED_POINTERS__].
45289         * debug/backtrace.c (__backtrace): Do not use __unbounded.
45290         * elf/dl-runtime.c (_dl_fixup): Likewise.
45291         * include/set-hooks.h (RUN_HOOK): Likewise.
45292         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
45293         definition.
45294         * string/strcpy.c (strcpy): Do not use __unbounded.
45295         * sysdeps/generic/frame.h (struct layout): Likewise.
45296         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
45297         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
45298         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
45299         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
45300         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
45301         (__backtrace): Likewise.
45302         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
45303         use __ptrvalue.
45304         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
45305         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
45306         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
45307         Likewise.
45308         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
45309         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
45310         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
45311         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
45312         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
45313         Do not use __unbounded.
45314         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
45315         Rename __unboundedrlimits parameter to rlimits in prototype.
45316         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
45317         Do not use __unbounded.
45318         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
45319         not use __ptrvalue.
45320         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
45321         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
45322         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
45323         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
45324         __ptrvalue or __unbounded.
45325         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
45326         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
45327         use __unbounded.
45328         (__new_msgctl): Do not use __ptrvalue.
45329         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
45330         __unbounded.
45331         (__libc_msgrcv): Do not use __ptrvalue.
45332         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
45333         startup_info): Do not use __unbounded.
45334         (__libc_start_main): Likewise.  Rename ubp_* variables and
45335         parameters.  Remove argv definitions conditional on
45336         [__BOUNDED_POINTERS__].
45337         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
45338         __ptrvalue.
45339         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
45340         use __unbounded.
45341         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
45342         or __ptrvalue.
45343         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
45344         use __unbounded.
45345         (__new_shmctl): Do not use __ptrvalue.
45346         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
45347         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
45348         Likewise.
45349         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
45350         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
45351         (__libc_sigaction): Likewise.
45352         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
45353         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
45354         Likewise.
45355         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
45357 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
45359         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
45361         * string/mempcpy.c: Implement by calling memcpy.
45363 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
45365         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
45367         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
45368         evaluation.
45370         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
45371         values in the mantissa.
45373         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
45374         minimize writes to Z.
45375         (sub_magnitudes): Simplify code a bit.
45377 2013-02-12  Roland McGrath  <roland@hack.frob.com>
45379         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
45380         from the message.  The linker prefixes all warnings with that already.
45382 2013-02-12  Andreas Schwab  <schwab@suse.de>
45384         [BZ #15078]
45385         * posix/regexec.c (extend_buffers): Add parameter min_len.
45386         (check_matching): Pass minimum needed length.
45387         (clean_state_log_if_needed): Likewise.
45388         (get_subexp): Likewise.
45389         * posix/Makefile (tests): Add bug-regex34.
45390         (bug-regex34-ENV): Define.
45391         * posix/bug-regex34.c: New file.
45393         [BZ #11561]
45394         * posix/regcomp.c (parse_bracket_exp): When looking up collating
45395         elements compare against the byte sequence of it, not its name.
45396         * posix/Makefile (tests): Add bug-regex35.
45397         (bug-regex35-ENV): Define.
45398         * posix/bug-regex35.c: New file.
45400 2013-02-11  Tom de Vries  <tom@codesourcery.com>
45402         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
45403         comment.
45404         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
45405         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
45406         (CHECK_EOL): Add undef.
45408 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
45410         * bits/stdlib-bsearch.h: New file.
45411         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
45412         * stdlib/stdlib.h: Likewise.
45414 2013-02-11  Roland McGrath  <roland@hack.frob.com>
45416         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
45417         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
45418         declaration.
45419         * manual/search.texi (Array Search Function): Add missing const in
45420         lfind prototype.
45421         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
45422         declaration to use rlim_t.
45423         (Basic Scheduling Functions): Remove erroneous const from
45424         sched_getparam prototype.  Remove erroneous * from
45425         sched_get_priority_max and sched_get_priority_min prototypes.
45426         (Resource Usage): Fix summary @comment on vtimes to refer to
45427         sys/vtimes.h rather than vtimes.h.
45428         Add missing *s in vtimes prototype.
45429         (Limits on Resources): Fix ulimit prototype to return long int.
45430         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
45431         prototypes to use long int rather than double.
45432         (BSD Random): Fix initstate and setstate to use char *, not void *.
45433         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
45434         prototype to make second argument 'struct aiocb64 *const[]'.
45435         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
45436         (Status of AIO Operations): Remove erroneous const in aio_return and
45437         aio_return64 prototypes.
45438         (Synchronizing I/O): Fix sync prototype to return void.
45439         * manual/startup.texi (Suboptions): Remove an erroneous const in
45440         getsubopt prototype.
45441         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
45442         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
45443         use size_t rather than int.
45444         (Scanning All Users): Likewise for getpwent_r.
45445         (Setting Groups): Add missing const to setgroups prototype.
45446         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
45447         * manual/socket.texi (Host Names): Fix gethostbyaddr and
45448         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
45449         'const void *' rather than 'const char *'.
45450         (Host Address Functions): Likewise for inet_ntop.
45451         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
45452         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
45453         ssize_t for return value.
45454         (Sending Data): Likewise for send, sendto, sendmsg.
45455         (Socket Option Functions): Add a missing const in setsockopt prototype.
45456         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
45457         use wchar_t for the argument.
45458         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
45459         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
45460         take no arguments.
45461         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
45462         double/float/long double for second argument.
45463         Fix return types of significand, significandf, significandl.
45464         * manual/filesys.texi (Setting Permissions): Use mode_t for second
45465         argument in fchmod prototype.
45466         (File Owner): Use uid_t and gid_t in fchown prototype.
45467         (File Times): Add const to utimes, futimes, and lutimes prototypes.
45468         (Making Special Files): Use mode_t and dev_t in mknod prototype.
45469         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
45470         use 'const struct dirent **' as argument types to CMP function pointer
45471         argument.
45472         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
45473         (File Times): Fix summary magic @comment for struct utimbuf and utime
45474         to refer to utime.h, not time.h.
45475         * manual/string.texi (Argz Functions): Add missing const in
45476         argz_extract and argz_next prototypes.
45477         (Finding Tokens in a String): Likewise for basename.
45478         (String/Array Comparison): Fix typo in wcscasecmp prototype.
45479         (Copying and Concatenation): Fix typo in wmemmove prototype.
45480         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
45481         (Signal Stack): Remove erroneous const in sigstack prototype.
45482         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
45483         prototype.
45484         (Simple Calendar Time): Likewise for stime.
45485         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
45486         prototype.
45487         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
45488         say sys/sysctl.h instead.
45489         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
45490         and vsyslog prototypes.
45492 2013-02-11  Tom de Vries  <tom@codesourcery.com>
45494         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
45495         Remove.
45497 2013-02-11  Roland McGrath  <roland@hack.frob.com>
45499         * misc/sys/mman.h: Fix typo in mremap comment.
45501 2013-02-08  Roland McGrath  <roland@hack.frob.com>
45503         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
45504         the '\0' terminator.
45506 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
45508         [BZ #13550]
45509         * debug/segfault.c: Don't include <bp-checks.h>.
45510         * sysdeps/generic/bp-checks.h: Remove file.
45511         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
45512         (__GETDENTS): Don't use CHECK_N.
45513         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
45514         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
45515         (__getgroups): Don't use CHECK_N.
45516         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
45517         (setgroups): Don't use CHECK_N.
45518         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
45519         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
45520         (__libc_msgrcv): Don't use CHECK_N.
45521         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
45522         (__libc_msgsnd): Don't use CHECK_N.
45523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
45524         <bp-checks.h>.
45525         (__libc_pread): Don't use CHECK_N.
45526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
45527         include <bp-checks.h>.
45528         (__libc_pread64): Don't use CHECK_N.
45529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
45530         include <bp-checks.h>.
45531         (__libc_pwrite): Don't use CHECK_N.
45532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
45533         include <bp-checks.h>.
45534         (__libc_pwrite64): Don't use CHECK_N.
45535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
45536         <bp-checks.h>.
45537         (__libc_pread): Don't use CHECK_N.
45538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
45539         include <bp-checks.h>.
45540         (__libc_pread64): Don't use CHECK_N.
45541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
45542         include <bp-checks.h>.
45543         (__libc_pwrite): Don't use CHECK_N.
45544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
45545         include <bp-checks.h>.
45546         (__libc_pwrite64): Don't use CHECK_N.
45547         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
45548         (do_pread): Don't use CHECK_N.
45549         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
45550         (do_pread64): Don't use CHECK_N.
45551         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
45552         (do_pwrite): Don't use CHECK_N.
45553         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
45554         (do_pwrite64): Don't use CHECK_N.
45555         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
45556         (__libc_readv): Don't use CHECK_N.
45557         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
45558         (semop): Don't use CHECK_N.
45559         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
45560         <bp-checks.h>.
45561         (semtimedop): Don't use CHECK_N.
45562         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
45563         (__libc_pread): Don't use CHECK_N.
45564         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
45565         <bp-checks.h>.
45566         (__libc_pread64): Don't use CHECK_N.
45567         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
45568         <bp-checks.h>.
45569         (__libc_pwrite): Don't use CHECK_N.
45570         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
45571         <bp-checks.h>.
45572         (__libc_pwrite64): Don't use CHECK_N.
45573         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
45574         <bp-checks.h>.
45575         (__libc_msgrcv): Don't use CHECK_N.
45576         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
45577         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
45578         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
45579         (__libc_writev): Don't use CHECK_N.
45581 2013-02-08  Roland McGrath  <roland@hack.frob.com>
45583         * string/strcpy.c: Removed unused variable.
45585         * Makeconfig (+sysdep-includes): Define with := rather than =.
45586         Use an existing include/ subdir of each sysdeps dir before it.
45588 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
45590         * nscd/connection.c (register_traced_file): Comment function.
45591         [HAVE_INOTIFY] (union __inev): Define.
45592         [HAVE_INOTIFY] (inotify_check_files): New function.
45593         [HAVE_INOTIFY] (clear_db_cache): Likewise.
45594         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
45595         clear_db_cache.
45596         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
45598 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
45600         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
45601         loaded if not already and that a failure is permanent.
45603 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
45605         [BZ #15006]
45606         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
45607         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
45609 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
45611         [BZ #13550]
45612         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
45613         (CHECK_1_NULL_OK): Likewise.
45614         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
45615         (__fxstat): Do not use CHECK_1.
45616         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
45617         <bp-checks.h>.
45618         (___fxstat64): Do not use CHECK_1.
45619         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
45620         <bp-checks.h>.
45621         (__fxstatat): Do not use CHECK_1.
45622         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
45623         <bp-checks.h>.
45624         (__fxstatat64): Do not use CHECK_1.
45625         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
45626         <bp-checks.h>.
45627         (__fxstat): Do not use CHECK_1.
45628         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
45629         <bp-checks.h>.
45630         (__fxstatat): Do not use CHECK_1.
45631         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
45632         <bp-checks.h>.
45633         (__getresgid): Do not use CHECK_1.
45634         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
45635         <bp-checks.h>.
45636         (__getresuid): Do not use CHECK_1.
45637         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
45638         <bp-checks.h>.
45639         (__lxstat): Do not use CHECK_1.
45640         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
45641         <bp-checks.h>.
45642         (__old_msgctl): Do not use CHECK_1.
45643         (__new_msgctl): Likewise.
45644         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
45645         <bp-checks.h>.
45646         (__new_setrlimit): Do not use CHECK_1.
45647         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
45648         <bp-checks.h>.
45649         (__old_shmctl): Do not use CHECK_1.
45650         (__new_shmctl): Likewise.
45651         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
45652         <bp-checks.h>.
45653         (__xstat): Do not use CHECK_1.
45654         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
45655         (__lxstat): Do not use CHECK_1.
45656         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
45657         <bp-checks.h>.
45658         (___lxstat64): Do not use CHECK_1.
45659         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
45660         (__old_msgctl): Do not use CHECK_1.
45661         (__new_msgctl): Likewise.
45662         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
45663         <bp-checks.h>.
45664         (__gettimeofday): Do not use CHECK_1.
45665         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
45666         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
45667         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
45668         <bp-checks.h>.
45669         (__gettimeofday): Do not use CHECK_1.
45670         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
45671         (__old_shmctl): Do not use CHECK_1_NULL_OK.
45672         (__new_shmctl): Do not use CHECK_1.
45673         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
45674         <bp-checks.h>.
45675         (do_sigtimedwait): Do not use CHECK_1.
45676         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
45677         <bp-checks.h>.
45678         (do_sigwaitinfo): Do not use CHECK_1.
45679         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
45680         <bp-checks.h>.
45681         (msgctl): Do not use CHECK_1.
45682         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
45683         <bp-checks.h>.
45684         (shmctl): Do not use CHECK_1.
45685         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
45686         (ustat): Do not use CHECK_1.
45687         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
45688         <bp-checks.h>.
45689         (__fxstat): Do not use CHECK_1.
45690         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
45691         <bp-checks.h>.
45692         (__fxstatat): Do not use CHECK_1.
45693         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
45694         <bp-checks.h>.
45695         (__lxstat): Do not use CHECK_1.
45696         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
45697         <bp-checks.h>.
45698         (__xstat): Do not use CHECK_1.
45699         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
45700         (__xstat): Do not use CHECK_1.
45701         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
45702         (___xstat64): Do not use CHECK_1.
45704         [BZ #13550]
45705         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
45706         definitions.
45707         (CHECK_BOUNDS_HIGH): Likewise.
45708         * string/strcpy.c: Do not include <bp-checks.h>.
45709         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
45711 2013-02-07  Roland McGrath  <roland@hack.frob.com>
45713         * nscd/nscd-client.h (__nscd_drop_map_ref):
45714         Add __attribute__ ((unused)).
45715         * nis/nss-nisplus.h (niserr2nss): Likewise.
45717         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
45718         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
45720         * csu/libc-tls.c (init_static_tls, init_slotinfo):
45721         Remove inline keyword.
45722         * include/rounding-mode.h (round_away): Likewise.
45723         * libio/wfileops.c (adjust_wide_data): Likewise.
45724         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
45725         (__m128i_strloadu_tolower): Likewise.
45726         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
45727         (__m128i_strloadu_tolower): Likewise.
45728         * time/mktime.c (ydhms_diff): Likewise.
45729         * locale/elem-hash.h (elem_hash): Likewise.
45730         * locale/setlocale.c (setdata): Likewise.
45731         * posix/regex_internal.h (re_string_char_size_at): Likewise.
45732         (re_string_wchar_at): Likewise.
45733         (bitset_not, bitset_merge, bitset_mask): Likewise.
45734         [!(__GNUC__ > 3)] (inline): Remove macro.
45735         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
45736         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
45737         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
45738         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
45739         * string/memcmp.c (memcmp_bytes): Likewise.
45740         * locale/programs/locarchive.c (compute_hashval): Likewise.
45741         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
45742         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
45743         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
45744         * nss/getent.c (print_rpc, print_protocols): Likewise.
45745         (print_passwd, print_group, print_aliases): Likewise.
45746         * nis/nss-nisplus.h (niserr2nss): Likewise.
45747         * nscd/connections.c (restart_p): Likewise.
45748         Change return type to bool.
45750 2013-02-05  Roland McGrath  <roland@hack.frob.com>
45752         * Makeconfig (all-Depend-files): Add existing
45753         $(sorted-subdirs:=/Depend) files.
45754         (all-subdirs): Remove nss.
45755         * sysdeps/unix/inet/Subdirs: Add it here instead.
45756         * hesiod/Depend: New file.
45758         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
45759         instead of calling alloca.
45761         * io/lseek.c (__lseek): Rename to __libc_lseek.
45762         Define __lseek as an alias.
45764         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
45766 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
45768         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
45769         else clause and remove check for non-standard endianness.
45771 2013-02-04  David S. Miller  <davem@davemloft.net>
45773         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45775 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
45777         [BZ #13550]
45778         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
45779         (__ubp_memchr): Remove prototype.
45780         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
45781         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
45782         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
45783         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
45784         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
45785         Remove alias.
45786         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
45787         (__ubp_memchr): Likewise.
45788         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
45789         (__ubp_memchr): Likewise.
45790         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
45791         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
45792         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
45793         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
45794         CHECK_STRING.
45795         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
45796         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
45797         (__getcwd): Do not use CHECK_STRING.
45798         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
45799         <bp-checks.h>.
45800         (__real_chown): Do not use CHECK_STRING.
45801         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
45802         <bp-checks.h>.
45803         (fchownat): Do not use CHECK_STRING.
45804         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
45805         CHECK_STRING.
45806         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
45807         <bp-checks.h>.
45808         (__lchown): Do not use CHECK_STRING.
45809         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
45810         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
45811         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
45812         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
45813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
45814         include <bp-checks.h>.
45815         (truncate64): Do not use CHECK_STRING.
45816         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
45817         <bp-checks.h>.
45818         (__real_chown): Do not use CHECK_STRING.
45819         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
45820         <bp-checks.h>.
45821         (__lchown): Do not use CHECK_STRING.
45822         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
45823         <bp-checks.h>.
45824         (__chown): Do not use CHECK_STRING.
45825         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
45826         <bp-checks.h>.
45827         (truncate64): Do not use CHECK_STRING.
45828         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
45829         Likewise.
45830         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
45831         (__xmknod): Do not use CHECK_STRING.
45832         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
45833         <bp-checks.h>.
45834         (__xmknodat): Do not use CHECK_STRING.
45835         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
45836         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
45838 2013-02-04  Andreas Schwab  <schwab@suse.de>
45840         [BZ #14142]
45841         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
45842         * include/netdb.h: Likewise for h_errno.
45843         * elf/tst-stackguard1.c: Include <tls.h>.
45845 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
45847         * elf/link.h (struct link_map): Extend the l_addr comment.
45848         * include/link.h (struct link_map): Likewise.
45850 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
45852         [BZ #13550]
45853         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
45854         (BOUNDED_1): Remove macro.
45855         * debug/backtrace.c: Don't include <bp-checks.h>.
45856         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
45857         (__backtrace): Likewise.
45858         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
45859         <bp-checks.h>.
45860         (__backtrace): Don't use BOUNDED_1.
45861         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
45862         <bp-checks.h>.
45863         (__backtrace): Don't use BOUNDED_1.
45864         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
45865         (__backtrace): Don't use BOUNDED_1.
45866         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
45867         (shmat): Don't use BOUNDED_N.
45869 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
45871         [BZ #13550]
45872         * sysdeps/generic/bp-start.h: Remove file.
45873         * csu/libc-start.c: Don't include <bp-start.h>.
45874         (LIBC_START_MAIN): Set up __environ directly instead of using
45875         INIT_ARGV_and_ENVIRON.
45876         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
45877         <bp-start.h>.
45879         [BZ #13550]
45880         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
45881         definitions.
45882         (CHECK_FCNTL): Likewise.
45883         (CHECK_N_PAGES): Likewise.
45885         [BZ #13550]
45886         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
45887         definitions.
45888         (CHECK_SIGSET_NULL_OK): Likewise.
45889         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
45890         <bp-checks.h>.
45891         (sigpending): Don't use CHECK_SIGSET.
45892         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
45893         <bp-checks.h>.
45894         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
45895         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
45896         <bp-checks.h>.
45897         (do_sigsuspend): Don't use CHECK_SIGSET.
45898         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
45899         use CHECK_SIGSET.
45900         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
45901         (do_sigwait): Don't use CHECK_SIGSET.
45902         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
45903         use CHECK_SIGSET.
45904         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
45905         include <bp-checks.h>.
45906         (sigpending): Don't use CHECK_SIGSET.
45907         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
45908         include <bp-checks.h>.
45909         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
45910         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
45911         <bp-checks.h>.
45912         (sigpending): Don't use CHECK_SIGSET.
45913         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
45914         <bp-checks.h>.
45915         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
45917         [BZ #13550]
45918         * sysdeps/generic/bp-semctl.h: Remove file.
45919         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
45920         <bp-checks.h> and <bp-semctl.h>.
45921         (__old_semctl): Don't use CHECK_SEMCTL.
45922         (__new_semctl): Likewise.
45923         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
45924         and <bp-semctl.h>.
45925         (__old_semctl): Don't use CHECK_SEMCTL.
45926         (__new_semctl): Likewise.
45927         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
45928         <bp-checks.h> and <bp-semctl.h>.
45929         (__old_semctl): Don't use CHECK_SEMCTL.
45930         (__new_semctl): Likewise.
45931         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
45932         <bp-checks.h> and <bp-semctl.h>.
45933         (semctl): Don't use CHECK_SEMCTL.
45935         [BZ #13550]
45936         * Makerules (elide-bp-thunks): Remove variable.
45937         (elide-routines.oS): Don't use $(elide-bp-thunks).
45938         (elide-routines.os): Likewise.
45939         (elide-routines.o): Likewise.
45940         (elide-routines.op): Likewise.
45941         (elide-routines.og): Likewise.
45942         (objects): Don't use $(bp-thunks).
45943         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
45944         include.
45945         (common-generated): Do not add s-proto-bp.d.
45946         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
45947         (int): Likewise.
45948         (typ): Likewise.
45949         Do not generate makefile rules for bounded-pointer thunks.
45950         * sysdeps/generic/bp-thunks.h: Remove file.
45951         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
45952         * sysdeps/unix/s-proto-bp.S: Likewise.
45954         [BZ #15062]
45955         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
45956         parts of result separately when argument is not close to line from
45957         -i to i and one part of argument is small.
45958         * math/k_casinhf.c (__kernel_casinhf): Likewise.
45959         * math/k_casinhl.c (__kernel_casinhl): Likewise.
45960         * math/libm-test.inc (cacos_test): Add more tests.
45961         (casin_test): Likewise.
45962         (casinh_test): Likewise.
45963         * sysdeps/i386/fpu/libm-test-ulps: Update.
45964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45966 2013-01-31  David S. Miller  <davem@davemloft.net>
45968         * po/de.po: Update from translation team.
45970 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
45972         * time/tzfile.c: Include stdint.h for SIZE_MAX.
45974 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
45976         * configure.in (_AC_PROG_CC_C89): New definition.
45977         * configure: Regenerate.
45979         * configure.in (AC_PROG_CPP): New definition.
45980         * configure: Regenerate.
45982 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
45984         * debug/tst-backtrace.h: New file.
45985         * debug/tst-backtrace2.c: Include tst-backtrace.h.
45986         (ret): Remove variable.
45987         (x): Likewise.
45988         (FAIL): Remove macro.
45989         (NO_INLINE): Likewise.
45990         (fn1): Use match function instead of strstr.
45991         * debug/tst-backtrace3.c: Include tst-backtrace.h.
45992         (ret): Remove variable.
45993         (x): Likewise.
45994         (FAIL): Remove macro.
45995         (NO_INLINE): Likewise.
45996         (fn): Use match function instead of strstr.
45997         * debug/tst-backtrace4.c: Include tst-backtrace.h.
45998         (ret): Remove variable.
45999         (x): Likewise.
46000         (FAIL): Remove macro.
46001         (NO_INLINE): Likewise.
46002         (handle_signal): Use match function instead of strstr.
46003         * debug/tst-backtrace5.c: Include tst-backtrace.h.
46004         (ret): Remove variable.
46005         (x): Likewise.
46006         (FAIL): Remove macro.
46007         (NO_INLINE): Likewise.
46008         (handle_signal): Use match function instead of strstr.
46010 2013-01-23  Roland McGrath  <roland@hack.frob.com>
46012         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
46014 2013-01-23  David S. Miller  <davem@davemloft.net>
46016         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
46017         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
46018         argument of CAS if possible.
46019         * sysdeps/sparc/sparc64/bits/atomic.h
46020         (__arch_compare_and_exchange_val_32_acq): Likewise.
46021         (__arch_compare_and_exchange_val_64_acq): Likewise.
46023 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
46025         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
46026         * sysdeps/posix/ulimit.c: ... this.
46027         Include <limits.h>.
46028         * sysdeps/unix/bsd/ulimit.c: Remove file.
46030 2013-01-23  Adam Conrad  <adconrad@0c3.net>
46032         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
46033         (LDFLAGS-tst-array5): Likewise.
46035 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
46037         [BZ #15036]
46038         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
46039         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
46040         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
46041         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
46043 2013-01-21  David S. Miller  <davem@davemloft.net>
46045         * sysdeps/sparc/backtrace.c: New file.
46046         * sysdeps/sparc/sparc32/backtrace.h: New file.
46047         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
46048         * sysdeps/sparc/sparc64/backtrace.h: New file.
46049         * sysdeps/sparc/sparc64/backtrace.c: Delete.
46050         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
46051         -funwind-tables.
46053 2013-01-21  Andreas Schwab  <schwab@suse.de>
46055         [BZ #15020]
46056         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
46057         closed its stdout.
46059 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
46061         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
46062         "mpa2.h".
46063         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46065 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
46066             Mark Mitchell  <mark@codesourcery.com>
46067             Tom de Vries  <tom@codesourcery.com>
46068             Paul Pluzhnikov  <ppluzhnikov@google.com>
46070         * debug/tst-backtrace2.c: New file.
46071         * debug/tst-backtrace3.c: Likewise.
46072         * debug/tst-backtrace4.c: Likewise.
46073         * debug/tst-backtrace5.c: Likewise.
46074         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
46075         (CFLAGS-tst-backtrace3.c): Likewise.
46076         (CFLAGS-tst-backtrace4.c): Likewise.
46077         (CFLAGS-tst-backtrace5.c): Likewise.
46078         (LDFLAGS-tst-backtrace2): Likewise.
46079         (LDFLAGS-tst-backtrace3): Likewise.
46080         (LDFLAGS-tst-backtrace4): Likewise.
46081         (LDFLAGS-tst-backtrace5): Likewise.
46082         (tests): Add new tests tst-backtrace2, tst-backtrace3,
46083         tst-backtrace4 and tst-backtrace5.
46085 2013-01-18  Anton Blanchard  <anton@samba.org>
46086             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46088         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
46089         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
46090         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
46091         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
46092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
46093         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
46094         "+r" and remove output regs list as redundant.  Add explicit inline
46095         asm to specify register of return val to work around compiler codegen
46096         bug.  Remove (int) cast on return value.  Add return type parameter to
46097         use in macro so that this macro does not truncate return value for
46098         64-bit values.
46099         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
46100         pass to INTERNAL_VSYSCALL_NCS.
46101         (INLINE_VSYSCALL): Add 'long int' as return type to
46102         INTERNAL_VSYSCALL_NCS macro invocation.
46103         (INTERNAL_VSYSCALL): Add 'long int' as return type to
46104         INTERNAL_VSYSCALL_NCS macro invocation.
46105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46107 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46109         [BZ #14496]
46110         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
46111         Fix application of SIMD FP exception mask.
46113         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
46114         mp_no from a power of two.
46115         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
46116         __mpexp_twomm1.  Use __pow_mp.
46118         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
46119         multiplication.
46121 2013-01-17  David S. Miller  <davem@davemloft.net>
46123         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46125 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
46127         [BZ #15023]
46128         * include/complex.h: Condition contents on [!_COMPLEX_H].
46129         (__kernel_casinhf): New prototype.
46130         (__kernel_casinh): Likewise.
46131         (__kernel_casinhl): Likewise.
46132         * math/Makefile (libm_calls): Add k_casinh.
46133         * math/k_casinh.c: New file.
46134         * math/k_casinhf.c: Likewise.
46135         * math/k_casinhl.c: Likewise.
46136         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
46137         finite nonzero arguments.
46138         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
46139         finite nonzero arguments.
46140         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
46141         finite nonzero arguments.
46142         * math/s_casinh.c: Do not include <float.h>.
46143         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
46144         * math/s_casinhf.c: Do not include <float.h>.
46145         (__casinhf): Move code for finite nonzero arguments to
46146         k_casinhf.c.
46147         * math/s_casinhl.c: Do not include <float.h>.
46148         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
46149         redefine.
46150         (__casinhl): Move code for finite nonzero arguments to
46151         k_casinhl.c.
46152         * math/libm-test.inc (cacos_test): Add more tests.
46153         * sysdeps/i386/fpu/libm-test-ulps: Update.
46154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46156 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
46158         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
46159         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
46160         [!HAVE_MREMAP]: Remove [defined linux] case.
46161         * malloc/arena.c: Do not include <malloc-sysdep.h>.
46163 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
46165         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
46167 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
46169         * elf/elf.h (R_386_SIZE32): New relocation.
46170         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
46171         R_386_SIZE32.
46172         (elf_machine_rela): Likewise.
46173         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
46174         R_X86_64_SIZE64 and R_X86_64_SIZE32.
46176 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
46178         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
46179         (FP_FAST_FMA): Do not define.
46180         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
46181         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
46182         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
46183         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
46184         !_SOFT_FLOAT]: Likewise.
46185         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
46186         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
46187         value.
46188         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
46189         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
46190         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
46191         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
46192         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
46193         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
46194         file.
46196 2013-01-16  Andreas Schwab  <schwab@suse.de>
46198         [BZ #14327]
46199         * include/stdlib.h (__mktemp): Add declaration.
46200         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
46201         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
46203 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46205         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
46206         definitions.
46207         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
46208         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
46209         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
46210         definitions here.
46211         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
46212         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
46213         definitions.
46214         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
46215         and ONE.
46216         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
46217         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
46218         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
46219         definitions.
46220         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
46221         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
46222         definitions.
46223         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
46225         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
46227 2013-01-15  David S. Miller  <davem@davemloft.net>
46229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
46230         trunc{,f} to libm-sysdep_routes.
46231         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
46232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
46233         file.
46234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
46235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
46236         file.
46237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
46238         file.
46239         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
46240         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
46241         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
46242         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
46243         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
46244         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
46245         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
46246         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
46248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
46249         nearbyint{,f} to libm-sysdep_routes.
46250         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
46251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
46252         New file.
46253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
46254         file.
46255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
46256         New file.
46257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
46258         file.
46259         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
46260         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
46261         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
46262         file.
46263         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
46264         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
46265         file.
46266         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
46267         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
46268         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
46270         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
46271         libc_feholdexcept and libc_fesetenv.
46273 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
46275         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
46277 2013-01-14  David S. Miller  <davem@davemloft.net>
46279         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
46280         (SPARC_ASM_VIS2_IFUNC): Likewise.
46281         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
46282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
46283         use of 'siam' instruction.
46284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
46285         Likewise.
46286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
46287         Likewise.
46288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
46289         Likewise.
46290         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
46291         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
46292         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
46293         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
46294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
46295         file.
46296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
46297         file.
46298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
46299         file.
46300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
46301         file.
46302         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
46303         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
46304         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
46305         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
46306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
46307         new VIS2 routines.
46308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
46309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
46311         Likewise.
46312         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
46313         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
46314         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
46315         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
46316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
46317         routines to libm-sysdep_routines.
46318         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
46320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
46321         fdim/fdimf to libm-sysdep_routines.
46322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
46323         file.
46324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
46325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
46326         file.
46327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
46328         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
46329         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
46330         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
46331         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
46332         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
46333         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
46335 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
46337         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
46338         to optimize copies.
46340         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
46341         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
46342         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46344         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
46345         local variable MPTWO.
46346         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
46347         Likewise.
46349 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
46351         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
46352         GLOB_NOESCAPE.
46354 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
46356         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
46358 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
46360         * manual/pattern.texi (glob_t): Document gl_flags.
46361         (glob64_t): Likewise.
46363 2013-01-11  David S. Miller  <davem@davemloft.net>
46365         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
46366         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
46367         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
46368         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
46369         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
46370         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
46371         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
46372         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
46373         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
46374         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
46375         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
46376         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
46377         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
46379         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
46380         sparc V9 rather than using V8 code.
46381         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
46382         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
46384         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46385         Move to...
46386         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
46387         Here.
46389 2013-01-11  Roland McGrath  <roland@hack.frob.com>
46391         [BZ #14941]
46392         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
46393         not in the main loop.
46394         * configure: Regenerated.
46396 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
46398         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
46399         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
46400         to just #else.
46401         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
46402         [!__GLIBC_HAVE_LONG_LONG] case.
46403         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
46404         condition to just #else.
46405         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
46406         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
46407         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
46408         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
46409         unconditional.
46410         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
46411         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
46412         #elif condition to just #else.
46413         * sysdeps/unix/sysv/linux/sys/sysmacros.h
46414         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
46415         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
46416         #elif condition to just #else.
46418 2013-01-11  Steve Ellcey  <sellcey@mips.com>
46420         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
46421         (EF_MIPS_ARCH_64): Fix value.
46422         (EF_MIPS_ARCH_32R2): New.
46423         (EF_MIPS_ARCH_64R2): New.
46425 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
46427         * Makeconfig (+link-pie-before-libc): New.
46428         (+link-pie-after-libc): Likewise.
46429         (+link-pie-tests): Likewise.
46430         (+link-pie): Rewritten.
46431         (link-before-libc): Remove $(config-LDFLAGS).
46432         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
46433         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
46434         (config-LDFLAGS): Renamed to ...
46435         (rtld-LDFLAGS): This.
46436         (rtld-tests-LDFLAGS): New macro.
46437         (link-libc-rpath-link): Likewise.
46438         (link-libc-tests-rpath-link): Likewise.
46439         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
46440         (link-libc): Prepand $(link-libc-rpath-link).
46441         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
46442         (test-program-prefix): New macro.
46443         (test-via-rtld-prefix): Likewise.
46444         (test-program-cmd): Likewise.
46445         (host-test-program-cmd): Likewise.
46446         * Makefile ($(common-objpfx)testrun.sh): Replace
46447         $(run-program-prefix) with $(test-program-prefix).
46448         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
46449         $(rtld-LDFLAGS).
46450         ($(common-objpfx)shlib.lds): Likewise.
46451         (build-module-helper): Likewise.
46452         ($(common-objpfx)format.lds): Likewise.
46453         * Rules (binaries-pie-tests): New.
46454         (binaries-pie-notests): Likewise.
46455         (binaries-pie): Rewritten.
46456         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
46457         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
46458         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
46459         (make-test-out): Replace $(host-built-program-cmd) with
46460         $(host-test-program-cmd).
46461         * config.make.in (build-hardcoded-path-in-tests): New variable.
46462         * configure.in (--enable-hardcoded-path-in-tests): New configure
46463         option.
46464         (hardcoded_path_in_tests): New AC_SUBST.
46465         * configure: Regenerated.
46466         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
46467         $(built-program-cmd) with $(test-program-cmd).
46468         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
46469         (test_program_cmd): This.
46470         * elf/Makefile ($(objpfx)order.out): Run test with
46471         $(test-program-prefix).
46472         ($(objpfx)order2.out): Likewise.
46473         ($(objpfx)tst-initorder.out): Likewise.
46474         ($(objpfx)tst-initorder2.out): Likewise.
46475         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
46476         $(test-program-cmd).
46477         ($(objpfx)tst-array1-static.out): Likewise.
46478         ($(objpfx)tst-array2.out): Likewise.
46479         ($(objpfx)tst-array3.out): Likewise.
46480         ($(objpfx)tst-array4.out): Likewise.
46481         ($(objpfx)tst-array5.out): Likewise.
46482         ($(objpfx)tst-array5-static.out): Likewise.
46483         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
46484         $(test-program-cmd).
46485         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
46486         $(run-program-prefix) with $(test-program-prefix).
46487         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
46488         (test_program_prefix): This.
46489         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
46490         $(run-program-prefix) with $(test-program-prefix).
46491         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
46492         (test_program_prefix): This.
46493         * iconvdata/tst-tables.sh: Likewise.
46494         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
46495         $(run-program-prefix) with $(test-program-prefix).
46496         ($(objpfx)tst-translit.out): Likewise.
46497         ($(objpfx)tst-gettext2.out): Likewise.
46498         ($(objpfx)tst-gettext4.out): Likewise.
46499         ($(objpfx)tst-gettext6.out): Likewise.
46500         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
46501         (test_program_prefix): This.
46502         * intl/tst-gettext2.sh: Likewise.
46503         * intl/tst-gettext4.sh  Likewise.
46504         * intl/tst-gettext6.sh: Likewise.
46505         * intl/tst-translit.sh: Likewise.
46506         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
46507         with $(test-program-cmd).
46508         * libio/Makefile ($(objpfx)test-freopen.out): Replace
46509         $(run-program-prefix) with $(test-program-prefix).
46510         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
46511         (test_program_prefix): This.
46512         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
46513         $(run-program-prefix) with $(test-program-prefix).
46514         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
46515         (test_program_prefix): This.
46516         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
46517         * posix/Makefile ($(objpfx)globtest.out): Replace
46518         $(run-via-rtld-prefix) and $(test-wrapper) with
46519         $(test-program-prefix) and $(test-via-rtld-prefix).
46520         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
46521         $(test-program-prefix).
46522         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
46523         $(host-test-program-cmd).
46524         (tst-spawn-ARGS): Likewise.
46525         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
46526         $(test-program-prefix).
46527         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
46528         (test_via_rtld_prefix): This.
46529         (test_wrapper): Renamed to ...
46530         (test_program_prefix): This.
46531         (run_program_prefix): Replaced by test_program_prefix.
46532         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
46533         (test_program_prefix): This.
46534         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
46535         with $(host-test-program-cmd).
46536         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
46537         $(run-program-prefix) with $(test-program-prefix).
46538         ($(objpfx)tst-printf.out): Likewise.
46539         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
46540         $(test-program-cmd).
46541         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
46542         (test_program_prefix): This.
46543         * stdio-common/tst-unbputc.sh: Likewise.
46544         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
46545         $(run-program-prefix) with $(test-program-prefix).
46546         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
46547         (test_program_prefix): This.
46548         * string/Makefile ($(objpfx)tst-svc.out):  Replace
46549         $(built-program-cmd) with $(test-program-cmd).
46551 2013-01-11  Andreas Jaeger  <aj@suse.de>
46553         [BZ #15003]
46554         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
46555         value. Sync with Linux 3.7.
46557 2013-01-10  David S. Miller  <davem@davemloft.net>
46559         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
46560         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
46561         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
46563 2013-01-10  Roland McGrath  <roland@hack.frob.com>
46565         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
46566         never set.
46567         * configure: Regenerated.
46569 2013-01-10  David S. Miller  <davem@davemloft.net>
46571         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
46572         sparc V9 rather than using V8 code.
46573         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
46574         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
46576 2013-01-10  Roland McGrath  <roland@hack.frob.com>
46578         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
46579         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
46580         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
46581         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
46582         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
46583         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
46584         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
46585         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
46586         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
46587         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
46588         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
46589         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
46590         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
46591         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
46592         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
46593         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
46594         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
46595         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
46596         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
46597         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
46598         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
46599         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
46600         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
46601         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
46602         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
46603         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
46604         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
46606 2013-01-10  David S. Miller  <davem@davemloft.net>
46608         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46610 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
46612         * posix/Makefile (tests-static): New variable.
46613         (tests): Add $(tests-static).
46614         (tst-exec-static-ARGS): New variable.
46615         (tst-spawn-static-ARGS): Likewise.
46616         * posix/tst-exec-static.c: New file.
46617         * posix/tst-spawn-static.c: Likewise.
46618         * posix/tst-exec.c: Support run directly.
46619         * posix/tst-spawn.c: Likewise.
46621 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
46623         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
46624         long.
46625         * math/bits/mathcalls.h (llrint): Likewise.
46626         (llround): Likewise.
46627         * stdlib/stdlib.h (struct drand48_data): Likewise.
46628         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
46629         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
46630         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
46631         Likewise.
46632         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
46633         Likewise.
46634         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
46635         (elf_greg_t): Likewise.
46636         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
46637         (__jmp_buf): Likewise.
46638         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
46639         definitions.
46640         (llrint): Likewise, for all definitions.
46641         (llrintl): Likewise.
46643         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
46644         Remove [__GNUC__] condition.
46645         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
46646         condition to just [__USE_ISOC99].
46647         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
46649 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
46651         [BZ #14200]
46652         * sysdeps/unix/sysv/linux/x86/bits/environments.h
46653         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
46654         defined.
46655         (_POSIX_V6_ILP32_OFF32): Likewise.
46656         (_XBS5_ILP32_OFF32): Likewise.
46657         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
46658         (__ILP32_OFFBIG_LDFLAGS): Likewise.
46660 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46662         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
46664         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
46665         doubles __mpexp_twomm1.  Adjust usage.
46666         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
46667         Remove.
46669 2013-01-10  Andreas Schwab  <schwab@suse.de>
46671         [BZ #14964]
46672         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
46673         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
46675 2013-01-09  David S. Miller  <davem@davemloft.net>
46677         [BZ #15003]
46678         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
46679         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
46680         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
46681         (TCP_FASTOPEN): Define.
46682         (tcp_repair_opt): New structure.
46683         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
46684         enum values.
46685         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
46686         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
46687         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
46688         (tcp_cookie_transactions): New structure.
46690 2013-01-09  Anton Blanchard  <anton@samba.org>
46692         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
46693         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
46694         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
46695         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
46697 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
46699         * include/features.h (__USE_ANSI): Remove.
46701 2013-01-09  Roland McGrath  <roland@hack.frob.com>
46703         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
46705         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
46707 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
46709         * sysdeps/s390/fpu/libm-test-ulps: Update.
46711         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46713         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
46714         (__acr): Likewise.
46715         (__cpy): Likewise.
46716         (norm): Likewise.
46717         (denorm): Likewise.
46718         (__mp_dbl): Likewise.
46719         (__dbl_mp): Likewise.
46720         (add_magnitudes): Likewise.
46721         (sub_magnitudes): Likewise.
46722         (__add): Likewise.
46723         (__sub): Likewise.
46724         (__mul): Likewise.
46725         (__inv): Likewise.
46726         (__dvd): Likewise.
46727         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
46728         (__acr): Likewise.
46729         (__cpy): Likewise.
46730         (norm): Likewise.
46731         (denorm): Likewise.
46732         (__mp_dbl): Likewise.
46733         (__dbl_mp): Likewise.
46734         (add_magnitudes): Likewise.
46735         (sub_magnitudes): Likewise.
46736         (__add): Likewise.
46737         (__sub): Likewise.
46738         (__mul): Likewise.
46739         (__inv): Likewise.
46740         (__dvd): Likewise.
46741         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
46742         (__acr): Likewise.
46743         (__cpy): Likewise.
46744         (norm): Likewise.
46745         (denorm): Likewise.
46746         (__mp_dbl): Likewise.
46747         (__dbl_mp): Likewise.
46748         (add_magnitudes): Likewise.
46749         (sub_magnitudes): Likewise.
46750         (__add): Likewise.
46751         (__sub): Likewise.
46752         (__mul): Likewise.
46753         (__inv): Likewise.
46754         (__dvd): Likewise.
46756 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
46758         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
46759         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
46760         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
46761         2 && __USE_EXTERN_INLINES]: Likewise.
46763 2013-01-08  Andreas Jaeger  <aj@suse.de>
46765         [BZ# 14985]
46766         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
46767         Remove.
46768         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
46769         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
46771 2013-01-07  Anton Blanchard  <anton@samba.org>
46773         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
46774         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
46775         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
46776         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
46777         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
46778         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46779         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
46780         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
46781         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
46782         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
46783         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46784         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46785         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46786         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46787         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
46788         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46789         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46790         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46791         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
46792         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
46793         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
46794         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
46795         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46796         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
46797         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
46798         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
46799         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46800         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
46801         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
46802         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46803         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
46804         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46805         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
46806         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
46807         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
46808         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46809         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46810         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
46811         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
46812         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
46813         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
46814         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46815         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
46817 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
46819         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
46820         (__MALLOC_PMT): Likewise.
46821         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
46822         [__GNUC__], only on [_LIBC].
46823         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
46824         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
46825         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
46826         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
46827         forward declaration.
46828         (realloc_hook_ini): Likewise.
46829         (memalign_hook_ini): Likewise.
46830         (__libc_memalign): Do not use __MALLOC_PMT in variable
46831         declaration.
46832         (__libc_valloc): Likewise.
46833         (__libc_pvalloc): Likewise.
46834         (__libc_calloc): Likewise.
46835         (__posix_memalign): Likewise.
46837         [BZ #14996]
46838         * math/s_casinh.c: Include <float.h>.
46839         (__casinh): Do not do computation with squaring and square root
46840         for large arguments.
46841         * math/s_casinhf.c: Include <float.h>.
46842         (__casinhf): Do not do computation with squaring and square root
46843         for large arguments.
46844         * math/s_casinhl.c: Include <float.h>.
46845         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
46846         (__casinhl): Do not do computation with squaring and square root
46847         for large arguments.
46848         * math/libm-test.inc (casin_test): Add more tests.
46849         (casinh_test): Likewise.
46850         * sysdeps/i386/fpu/libm-test-ulps: Update.
46851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46853 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
46855         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
46856         (__x86_64_raw_data_cache_size): Likewise.
46857         (__x86_64_data_cache_size_half): Likewise.
46858         (__x86_64_raw_data_cache_size_half): Likewise.
46859         (__x86_64_shared_cache_size): Likewise.
46860         (__x86_64_raw_shared_cache_size): Likewise.
46861         (__x86_64_shared_cache_size_half): Likewise.
46862         (__x86_64_raw_shared_cache_size_half): Likewise.
46863         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
46864         to ...
46865         (__x86_data_cache_size): This.
46866         (__x86_64_raw_data_cache_size): Renamed to ...
46867         (__x86_raw_data_cache_size): This.
46868         (__x86_64_data_cache_size_half): Renamed to ...
46869         (__x86_data_cache_size_half): This.
46870         (__x86_64_raw_data_cache_size_half): Renamed to ...
46871         (__x86_raw_data_cache_size_half): This.
46872         (__x86_64_shared_cache_size): Renamed to ...
46873         (__x86_shared_cache_size): This.
46874         (__x86_64_raw_shared_cache_size): Renamed to ...
46875         (__x86_raw_shared_cache_size): This.
46876         (__x86_64_shared_cache_size_half): Renamed to ...
46877         (__x86_shared_cache_size_half): This.
46878         (__x86_64_raw_shared_cache_size_half): Renamed to ...
46879         (__x86_raw_shared_cache_size_half): This.
46880         * sysdeps/x86_64/memcpy.S: Updated.
46881         * sysdeps/x86_64/memset.S: Likewise.
46882         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
46883         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46884         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46886 2013-01-04  David S. Miller  <davem@davemloft.net>
46888         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46890 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
46892         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
46893         1 to avoid redefinition warning.
46894         (__USE_GNU): Don't define.
46895         (init_signaling_nan): Protoize.
46897         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46899 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46901         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
46902         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
46903         (__cpymn): Likewise.
46904         (norm): Remove commented code.
46905         (denorm): Likewise.
46906         (__mp_dbl): Likewise.
46907         (__inv): Likewise.
46908         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
46909         (__cpymn): Likewise.
46910         (norm): Remove commented code.
46911         (denorm): Likewise.
46912         (__mp_dbl): Likewise.
46913         (__inv): Likewise.
46915         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
46916         mp_no value for 1.0 and 2.0.
46917         (norm): Use RADIXI instead of radixi.d.
46918         (denorm): Likewise.
46919         (__mul): Use 0.0 instead of zero.d.
46920         * sysdeps/powerpc/powerpc64/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.
46926 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
46928         [BZ #14994]
46929         * math/s_casinh.c (__casinh): Reduce finite argument to first
46930         quadrant then set signs of results at the end.
46931         * math/s_casinhf.c (__casinhf): Likewise.
46932         * math/s_casinhl.c (__casinhl): Likewise.
46933         * math/libm-test.inc (casin_test): Add more tests.
46934         (casinh_test): Likewise.
46935         * sysdeps/i386/fpu/libm-test-ulps: Update.
46936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46938 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46940         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
46942         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
46944         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
46945         declarations.
46946         (denorm): Likewise.
46947         (__mp_dbl): Likewise.
46948         (__inv): Likewise.
46950         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
46951         and adjust the header comment.
46953         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
46954         variable name from declaration.
46956 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
46958         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46959         Initialize COMMON_CPUID_INDEX_7 element.
46960         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
46961         (CPUID_RTM): Likewise.
46962         (HAS_RTM): Likewise.
46963         (COMMON_CPUID_INDEX_7): New enum.
46965 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
46967         [BZ #14981]
46968         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
46969         size is zero, record memory as freed.
46971 2013-01-03  Andreas Jaeger  <aj@suse.de>
46973         * po/ia.po: Add new Interlingua translation.
46975 2012-01-03  Allan McRae  <allan@archlinux.org>
46977         * locale/programs/localedef.c: Fix description of '--posix' flag.
46979 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
46981         * NEWS: Update dates in second copyright notice.
46982         * README: Update copyright dates in example.
46983         * manual/libc.texinfo: Update copyright dates.
46984         * scripts/test-installation.pl: Update copyright date in --version
46985         output.
46987         * hurd/ctty-input.c: Fix copyright notice formatting.
46988         * hurd/ctty-output.c: Likewise.
46989         * hurd/dtable.c: Likewise.
46990         * hurd/hurd-raise.c: Likewise.
46991         * hurd/hurdprio.c: Likewise.
46992         * hurd/msgportdemux.c: Likewise.
46993         * misc/sys/file.h: Likewise.
46994         * misc/sys/ioctl.h: Likewise.
46995         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
46996         * sysdeps/mach/hurd/chdir.c: Likewise.
46997         * sysdeps/mach/hurd/fchdir.c: Likewise.
46998         * sysdeps/mach/hurd/rename.c: Likewise.
46999         * sysdeps/mach/hurd/rmdir.c: Likewise.
47000         * sysdeps/mach/hurd/seekdir.c: Likewise.
47001         * sysdeps/mach/hurd/setsid.c: Likewise.
47002         * sysdeps/posix/wait3.c: Likewise.
47004         * All files with FSF copyright notices: Update copyright dates
47005         using scripts/update-copyrights.
47006         * intl/plural.c: Regenerated.
47007         * locale/programs/charmap-kw.h: Likewise.
47008         * locale/programs/locfile-kw.h: Likewise.
47010 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47012         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
47013         four values.
47015         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
47016         calculation loop and add branch prediction.
47018         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
47019         check access beyond bounds of m1np.
47021         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
47022         MPTWO.
47023         (__inv): Remove local variable MPTWO to use the global
47024         constant.
47025         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
47026         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
47027         variable MPTWO.
47028         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
47029         MP3HALFS static const.
47031 2013-01-01  David S. Miller  <davem@davemloft.net>
47033         * po/ca.po: Update from translation team.
47035 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
47037         * scripts/update-copyrights: New file.
47038         * Makeconfig: Reformat copyright notice.
47039         * ctype/ctype.h: Likewise.
47040         * debug/swprintf_chk.c: Likewise.
47041         * elf/dl-cache.c: Likewise.
47042         * elf/dl-debug.c: Likewise.
47043         * elf/dl-object.c: Likewise.
47044         * grp/initgroups.c: Likewise.
47045         * hurd/Makefile: Likewise.
47046         * hurd/hurd/signal.h: Likewise.
47047         * hurd/hurdfault.c: Likewise.
47048         * hurd/hurdioctl.c: Likewise.
47049         * hurd/hurdlookup.c: Likewise.
47050         * hurd/intr-msg.c: Likewise.
47051         * iconv/gconv_open.c: Likewise.
47052         * libio/swprintf.c: Likewise.
47053         * locale/lc-ctype.c: Likewise.
47054         * locale/nl_langinfo.c: Likewise.
47055         * mach/Machrules: Likewise.
47056         * mach/Makefile: Likewise.
47057         * malloc/obstack.h: Likewise.
47058         * manual/Makefile: Likewise.
47059         * manual/tsort.awk: Likewise.
47060         * misc/bits/stab.def: Likewise.
47061         * nis/nis_print_group_entry.c: Likewise.
47062         * nis/nis_table.c: Likewise.
47063         * nis/nss_compat/compat-pwd.c: Likewise.
47064         * nis/nss_compat/compat-spwd.c: Likewise.
47065         * po/Makefile: Likewise.
47066         * posix/fnmatch.c: Likewise.
47067         * posix/regex.h: Likewise.
47068         * resolv/Makefile: Likewise.
47069         * resolv/nss_dns/dns-network.c: Likewise.
47070         * resolv/res_hconf.c: Likewise.
47071         * scripts/gen-sorted.awk: Likewise.
47072         * soft-fp/soft-fp.h: Likewise.
47073         * stdio-common/printf.h: Likewise.
47074         * stdlib/monetary.h: Likewise.
47075         * stdlib/random.c: Likewise.
47076         * stdlib/random_r.c: Likewise.
47077         * sysdeps/generic/Makefile: Likewise.
47078         * sysdeps/gnu/Makefile: Likewise.
47079         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47080         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47081         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47082         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47083         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47084         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47085         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47086         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47087         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47088         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47089         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
47090         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
47091         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
47092         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
47093         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
47094         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
47095         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
47096         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47097         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47098         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47099         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47100         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47101         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47102         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
47103         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
47104         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
47105         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
47106         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
47107         * sysdeps/mach/hurd/errnos.awk: Likewise.
47108         * sysdeps/mach/hurd/fork.c: Likewise.
47109         * sysdeps/mach/hurd/getcwd.c: Likewise.
47110         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
47111         * sysdeps/mach/hurd/mmap.c: Likewise.
47112         * sysdeps/mach/hurd/utimes.c: Likewise.
47113         * sysdeps/mach/hurd/xmknod.c: Likewise.
47114         * sysdeps/posix/profil.c: Likewise.
47115         * sysdeps/posix/readdir_r.c: Likewise.
47116         * sysdeps/powerpc/bits/mathdef.h: Likewise.
47117         * sysdeps/powerpc/bits/setjmp.h: Likewise.
47118         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
47119         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
47120         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
47121         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47122         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47123         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47124         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47125         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47126         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47127         * sysdeps/pthread/lio_listio.c: Likewise.
47128         * sysdeps/sparc/dl-procinfo.h: Likewise.
47129         * sysdeps/unix/i386/sysdep.S: Likewise.
47130         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
47131         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
47132         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
47133         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
47134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47135         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
47136         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
47137         * sysdeps/unix/sysv/linux/speed.c: Likewise.
47138         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
47139         * sysdeps/wordsize-32/divdi3.c: Likewise.
47140         * time/sys/time.h: Likewise.
47141         * wcsmbs/Makefile: Likewise.
47143 2013-01-01  David S. Miller  <davem@davemloft.net>
47145         * po/fr.po: Update from translation team.
47147         * catgets/gencat.c: Update copyright year.
47148         * csu/version.c: Likewise.
47149         * debug/catchsegv.sh: Likewise.
47150         * debug/pcprofiledump.c: Likewise.
47151         * debug/xtrace.sh: Likewise.
47152         * elf/ldconfig.c: Likewise.
47153         * elf/ldd.bash.in: Likewise.
47154         * elf/pldd.c: Likewise.
47155         * elf/sotruss.ksh: Likewise.
47156         * elf/sprof.c: Likewise.
47157         * iconv/iconv_prog.c: Likewise.
47158         * iconv/iconvconfig.c: Likewise.
47159         * locale/programs/locale.c: Likewise.
47160         * locale/programs/localedef.c: Likewise.
47161         * login/programs/pt_chown.c: Likewise.
47162         * malloc/memusage.sh: Likewise.
47163         * malloc/memusagestat.c: Likewise.
47164         * malloc/mtrace.pl: Likewise.
47165         * nscd/nscd.c: Likewise.
47166         * nss/getent.c: Likewise.
47167         * nss/makedb.c: Likewise.
47168         * posix/getconf.c: Likewise.
47170 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
47172         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
47173         numbers.
47175 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
47177         * math/bits/mathcalls.h (modf): Use __nonnull.
47179 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47181         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
47182         (split): Use macro CN instead of the bare value.
47183         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
47184         could be used.
47185         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
47186         instead of the bare value.
47187         (power1): Likewise.
47189 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47191         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
47192         __ATAN_TWOM.
47193         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
47195         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
47196         their values.
47197         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
47198         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
47199         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
47200         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
47202 2012-12-28  Andreas Jaeger  <aj@suse.de>
47204         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
47205         values are from Linux 3.7.
47207         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
47208         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
47210 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47212         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
47213         TRUE case.
47215         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
47216         (norm): Likewise.
47217         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
47218         variables with preprocessor constants.
47219         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
47220         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
47221         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
47223 2012-12-27  Bruno Haible  <bruno@clisp.org>
47225         [BZ #14317]
47226         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
47227         only if needed.
47229 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47231         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
47232         and use variable directly.
47233         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
47235         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
47236         MPONE.
47237         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
47238         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
47239         variable MPONE.
47240         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
47241         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
47242         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
47243         include directive.  Remove local variable MPONE.
47244         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
47245         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
47246         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
47248 2012-12-25  David S. Miller  <davem@davemloft.net>
47250         * version.h (RELEASE): Set to "development".
47251         (VERSION): Set to "2.17.90".
47252         * NEWS: Add 2.18 section.
47254 2012-12-21  David S. Miller  <davem@davemloft.net>
47256         * po/hr.po: Update from translation team.
47258 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47260         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
47262 2012-12-19  Steve Ellcey  <sellcey@mips.com>
47264         * NEWS:  Mention new memcpy for MIPS.
47266 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47268         * manual/contrib.texi (Contributors): Spelling correction.
47270 2012-12-15  David S. Miller  <davem@davemloft.net>
47272         * po/ru.po: Update from translation team.
47274 2012-12-13  David S. Miller  <davem@davemloft.net>
47276         * NEWS: Mention IFUNC testsuite enhancements.
47278         * po/pl.po: Update from translation team.
47279         * po/bg.po: Likewise.
47281         * manual/contrib.texi (Contributors): Update entries for Hongjiu
47282         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
47284 2012-12-11  David S. Miller  <davem@davemloft.net>
47286         * po/sv.po: Update from translation team.
47288         * po/vi.po: Update from translation team.
47290         * po/cs.po: Update from translation team.
47292         * po/de.po: Update from translation team.
47293         * po/eo.po: Likewise.
47294         * po/nl.po: Likewise.
47296 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47298         [BZ #14246]
47299         * manual/argp.texi (Argp Helper Functions): Move node to follow
47300         Argp Parsing State.
47302         [BZ #14872]
47303         * manual/conf.texi (Limits on File System Capacity): Mention if
47304         terminating null is included in the max size.
47306 2012-12-10  Andreas Jaeger  <aj@suse.de>
47308         * po/cs.po: Update from translation team.
47310 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
47312         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
47313         void pointer and cast to uintptr_t.
47314         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
47315         path.
47316         * sysdeps/s390/s390-64/memcpy.S: Likewise.
47317         * sysdeps/s390/s390-64/memset.S: Likewise.
47319 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
47321         [BZ #14833]
47322         * menual/message.texi (Message Translation): Fix typos.
47323         (Helper programs for gettext): Likewise.
47325 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
47327         [BZ #14898]
47328         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
47329         Change to -1.
47331 2012-12-07  David S. Miller  <davem@davemloft.net>
47333         * po/libc.pot: Update.
47335 2012-12-07  Richard Henderson  <rth@redhat.com>
47337         [BZ #10114]
47338         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
47339         normal/normal case to before the switch.
47340         (_FP_DIV): Likewise.
47342 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
47343             Mike Frysinger  <vapier@gentoo.org>
47345         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
47346         check for __NR_fadvise64_64.
47348 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
47350         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
47351         0, not just to plain "0" as a statement.
47352         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
47353         with cw.
47355 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
47357         * NEWS: Use sourceware.org in Bugzilla URL.
47359 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
47362         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
47364         * stdio-common/tst-put-error.c (do_test): Add newline to the
47365         padded test to ensure flush.
47367 2012-12-05  Jeff Law  <law@redhat.com>
47369         * sunrpc/etc.rpc (fedfs_admin): Add entry.
47371 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
47373         * README: Don't refer to ports add-on as distributed separately.
47374         Mention AArch64 in list of systems supported in the ports add-on.
47376         * LICENSES: Add more non-FSF copyright and license notices.
47378         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
47379         ((unused)).
47381         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
47383         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
47384         10000 as width of padded output.
47386 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
47388         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
47390         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
47391         variable LX with __attribute__ ((unused)).
47392         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
47393         Likewise.
47394         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
47395         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47396         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
47397         with __attribute__ ((unused)).
47399 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
47401         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
47403 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
47405         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
47406         (CFLAGS-nldbl-acos.c): New variable.
47407         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
47408         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
47409         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
47410         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
47411         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
47412         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
47413         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
47414         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
47415         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
47416         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
47417         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
47418         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
47419         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
47420         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
47421         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
47422         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
47423         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
47424         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
47425         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
47426         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
47427         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
47428         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
47429         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
47430         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
47431         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
47432         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
47433         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
47434         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
47435         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
47436         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
47437         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
47438         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
47439         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
47440         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
47441         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
47442         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
47443         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
47444         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
47445         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
47446         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
47447         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
47448         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
47449         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
47450         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
47451         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
47452         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
47453         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
47454         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
47455         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
47456         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
47457         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
47458         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
47459         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
47460         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
47461         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
47462         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
47463         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
47464         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
47465         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
47466         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
47467         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
47468         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
47469         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
47470         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
47471         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
47472         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
47473         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
47474         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
47475         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
47476         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
47477         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
47478         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
47479         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
47480         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
47481         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
47482         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
47483         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
47484         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
47485         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
47486         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
47487         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
47488         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
47489         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
47490         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
47491         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
47492         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
47493         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
47494         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
47495         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
47496         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
47497         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
47498         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
47499         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
47500         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
47501         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
47502         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
47503         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
47505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
47506         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
47508         [BZ #14914]
47509         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
47510         whole low double instead of just low 47 bits when splitting values
47511         into two parts.
47513 2012-12-03  Allan McRae  <allan@archlinux.org>
47515         * manual/stdio.texi (Predefined Printf Handlers): Remove
47516         @hsep and @vsep usage.
47518 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
47520         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
47521         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
47523 2012-12-03  Jeff Law  <law@redhat.com>
47525         * time/sys/time.h (settimeofday): Do not mark TV argument
47526         as __nonnull.
47528 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
47530         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
47531         when currently writing and seek to current position when not.
47532         * libio/Makefile (tests): Remove bug-fclose1.
47533         * libio/bug-fclose1.c: Delete.
47535 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
47537         * manual/arith.texi (feenableexcept): Fix typo.
47538         (fedisableexcept): Likewise.
47540 2012-11-30  Roland McGrath  <roland@hack.frob.com>
47542         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
47543         second, differently-typed declaration, rather than a cast.
47545 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47547         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
47548         * include/rpc/svc.h: ... here.
47550 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
47552         [BZ #13013]
47553         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
47554         depending n and resplen2 to catch cases where answer
47555         equals answerp2.
47557 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
47559         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
47560         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
47562 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
47564         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
47566 2012-11-29  Roland McGrath  <roland@hack.frob.com>
47568         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
47570 2012-11-28  Jeff Law  <law@redhat.com>
47572         [BZ #13761]
47573         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
47574         dataset_temporary.  Track alloca usage into alloca_used.
47575         If dataset is large allocate and release it via malloc/free.
47577 2012-06-04  Florian Weimer  <fweimer@redhat.com>
47579         [BZ #14197]
47580         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
47582 2012-11-28  David S. Miller  <davem@davemloft.net>
47584         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47586 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
47588         [BZ #14803]
47589         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
47590         of pi/2 rounded to nearest to 64 bits.
47591         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
47592         nearest to 64 bits.
47593         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
47594         bits.
47596 2012-11-28  Jeff Law <law@redhat.com>
47597             Martin Osvald <mosvald@redhat.com>
47599         [BZ #14889]
47600         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
47601         * sunrpc/svc.c: Include time.h.
47602         (__svc_accept_failed): New function.
47603         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
47604         any reason other than EINTR, call __svc_accept_failed.
47605         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
47606         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
47608 2012-11-28  Andreas Schwab  <schwab@suse.de>
47610         * scripts/abilist.awk: Also handle indirect functions in .opd
47611         section.
47613 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
47615         [BZ #13881]
47616         * sysdeps/x86/fpu/powl_helper.c: New file.
47617         * sysdeps/x86/fpu/Makefile: Likewise.
47618         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
47619         (p3): New object.
47620         (__ieee754_powl): Use __powl_helper for finite arguments except
47621         integer exponents below 8.
47622         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
47623         (p3): New object.
47624         (__ieee754_powl): Use __powl_helper for finite arguments except
47625         integer exponents below 8.
47626         * math/libm-test.inc (pow_test): Add more tests and enable some
47627         previously disabled tests.
47628         * sysdeps/i386/fpu/libm-test-ulps: Update.
47629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47631 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47632             Carlos O'Donell  <carlos_odonell@mentor.com>
47634         * nss/makedb.c (is_prime): Assert that input is odd and greater
47635         than 4.  Note that fact in a comment too.
47636         (next_prime): Add 4 to input.
47638 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47640         [BZ #11741]
47641         * libio/Makefile (tests): Add test case tst-fwrite-error.
47642         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
47643         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
47644         * libio/tst-fwrite-error.c: New test case.
47646 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
47648         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
47649         before casting to void *.
47650         * include/libc-internal.h (__pointer_type): New macro.
47651         (__integer_if_pointer_type_sub): Likewise.
47652         (__integer_if_pointer_type): Likewise.
47653         (cast_to_integer): Likewise.
47654         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
47655         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
47656         before casting to atomic64_t.
47657         (atomic_exchange_acq): Likewise.
47658         (__arch_exchange_and_add_body): Likewise.
47659         (__arch_add_body): Likewise.
47660         (atomic_add_negative): Likewise.
47661         (atomic_add_zero): Likewise.
47663 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
47665         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
47666         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
47667         (add_fdes): Likewise.
47668         (linear_search_fdes): Likewise.
47669         (binary_search_unencoded_fdes): Likewise.
47671 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
47673         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
47675 2012-11-24  Adam Conrad  <adconrad@0c3.net>
47677         * configure.in: Autodetect C++ header directories.
47678         * configure: Regenerated.
47680 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
47682         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
47684 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
47686         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47688 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
47690         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
47691         LDBL_MANT_DIG == 106]: Disable some tests.
47692         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
47693         Likewise.
47694         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
47695         Likewise.
47697         [BZ #14871]
47698         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
47699         input for small inputs.  Return +/- pi/2 for large inputs.
47700         * math/libm-test.inc (atan_test): Add more tests.
47702         * sysdeps/generic/unwind-dw2-fde-glibc.c
47703         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
47704         __attribute__ ((unused)).
47706         [BZ #14645]
47707         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
47708         x * y if x and y are nonzero and z is zero.
47710         [BZ #14811]
47711         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
47712         nonzero exponents with absolute value below 0x1p-117 to +/-
47713         0x1p-117.
47715         [BZ #14869]
47716         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
47717         up arguments below 2**-450, not just those below 2**-500.
47718         * math/libm-test.inc (hypot_test): Add another test.
47720         [BZ #14868]
47721         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
47722         Return a+b for ratio over 2**120, not 2**60.
47723         * math/libm-test.inc (hypot_test): Add another test.
47725         * math/libm-test.inc (clog_test): Use
47726         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
47727         (clog10_test): Likewise.
47729         [BZ #6778]
47730         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
47732 2012-11-22  Andreas Schwab  <schwab@suse.de>
47734         * sysdeps/i386/fpu/libm-test-ulps: Update.
47736 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
47738         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
47739         printf output with newline.
47741 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
47743         [BZ #14865]
47744         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
47745         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
47746         -z nodlopen, -z initfirst and -z execstack support.
47747         * configure: Regenerated.
47749         * elf/elf.h (DF_1_NODIRECT): New macro.
47750         (DF_1_IGNMULDEF): Likewise.
47751         (DF_1_NOKSYMS): Likewise.
47752         (DF_1_NOHDR): Likewise.
47753         (DF_1_EDITED): Likewise.
47754         (DF_1_NORELOC): Likewise.
47755         (DF_1_SYMINTPOSE): Likewise.
47756         (DF_1_GLOBAUDIT): Likewise.
47757         (DF_1_SINGLETON): Likewise.
47758         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
47759         DT_1_SUPPORTED_MASK bits.
47760         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
47762 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
47764         * sysdeps/unix/make-syscalls.sh: Document prefixes.
47766 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
47768         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
47769         macro.
47771         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
47772         (sendmmsg): Move declarations...
47773         * socket/sys/socket.h: ... here.
47774         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
47775         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
47776         include it from...
47777         * socket/recvmmsg.c: ... this new file.
47778         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
47779         (sendmmsg): Rename to __sendmmsg, create weak alias and make
47780         definition of __sendmmsg hidden.
47781         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
47782         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
47783         Move ENOSYS stub into and include it from...
47784         * socket/sendmmsg.c: ... this new file.
47785         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
47786         (sysdep_routines): Move recvmmsg and sendmmsg...
47787         * socket/Makefile (routines): ... here.
47788         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
47789         (GLIBC_PRIVATE): Add __sendmmsg.
47790         * include/sys/socket.h (__sendmmsg): Add declarations.
47791         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
47792         sendmmsg.
47794 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
47796         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
47797         variable I1 with __attribute__ ((unused)).
47798         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
47800 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
47802         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
47803         DUMMY variables with __attribute__ ((unused)).
47805         * bits/byteswap.h: Include <bits/types.h>.
47806         (__bswap_64): Use __uint64_t instead of unsigned long long int.
47808 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
47810         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
47811         string_t.  Do not manually set errno.
47812         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
47813         length with __strnlen.  Make sure to both set errno and return it on
47814         failure.
47816 2012-11-19  David S. Miller  <davem@davemloft.net>
47818         With help from Joseph Myers.
47819         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
47820         very large arguments properly.
47821         * math/libm-test.inc (atan_test): New tests.
47822         (atan2_test): New tests.
47823         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47824         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47826 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
47828         [BZ #14856]
47829         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
47830         Define to 3.
47832         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
47833         [POSIX] (EADDRNOTAVAIL): Likewise.
47834         [POSIX] (EAFNOSUPPORT): Likewise.
47835         [POSIX] (EALREADY): Likewise.
47836         [POSIX] (ECONNABORTED): Likewise.
47837         [POSIX] (ECONNREFUSED): Likewise.
47838         [POSIX] (ECONNRESET): Likewise.
47839         [POSIX] (EDESTADDRREQ): Likewise.
47840         [POSIX] (EDQUOT): Likewise.
47841         [POSIX] (EHOSTUNREACH): Likewise.
47842         [POSIX] (EIDRM): Likewise.
47843         [POSIX] (EISCONN): Likewise.
47844         [POSIX] (ELOOP): Likewise.
47845         [POSIX] (EMULTIHOP): Likewise.
47846         [POSIX] (ENETDOWN): Likewise.
47847         [POSIX] (ENETUNREACH): Likewise.
47848         [POSIX] (ENOBUFS): Likewise.
47849         [POSIX] (ENODATA): Likewise.
47850         [POSIX] (ENOLINK): Likewise.
47851         [POSIX] (ENOMSG): Likewise.
47852         [POSIX] (ENOPROTOOPT): Likewise.
47853         [POSIX] (ENOSR): Likewise.
47854         [POSIX] (ENOSTR): Likewise.
47855         [POSIX] (ENOTCONN): Likewise.
47856         [POSIX] (ENOTSOCK): Likewise.
47857         [POSIX] (EOPNOTSUPP): Likewise.
47858         [POSIX] (EOVERFLOW): Likewise.
47859         [POSIX] (EPROTO): Likewise.
47860         [POSIX] (EPROTONOSUPPORT): Likewise.
47861         [POSIX] (EPROTOTYPE): Likewise.
47862         [POSIX] (ESTALE): Likewise.
47863         [POSIX] (ETIME): Likewise.
47864         [POSIX] (ETXTBSY): Likewise.
47865         [POSIX] (EWOULDBLOCK): Likewise.
47866         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
47867         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
47868         [POSIX] (SEEK_CUR): Likewise.
47869         [POSIX] (SEEK_END): Likewise.
47870         [POSIX || UNIX98] (mode_t): Do not require.
47871         [POSIX] (off_t): Likewise.
47872         [POSIX] (pid_t): Likewise.
47873         [POSIX] (sys/stat.h): Do not allow header.
47874         [POSIX] (unistd.h): Likewise.
47875         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
47876         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
47877         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
47878         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
47879         require.
47880         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
47881         sigevent): Specify elements.
47882         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
47883         entry.
47884         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
47885         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
47887         * conform/data/cpio.h-data [POSIX]: Disable whole file.
47888         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
47889         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
47890         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
47891         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
47892         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
47893         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
47894         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
47895         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
47896         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
47897         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
47898         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
47899         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
47900         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
47901         Likewise.
47902         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
47903         Likewise.
47904         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
47905         Likewise.
47906         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
47907         Likewise.
47908         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
47909         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
47910         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
47911         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
47912         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
47913         Specify lower bound on value.
47914         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
47915         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
47916         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
47917         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
47918         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
47919         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
47920         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
47921         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
47922         value.
47923         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
47924         as optional.
47925         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
47926         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
47927         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
47928         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
47929         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
47930         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
47931         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
47932         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
47933         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
47934         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
47935         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
47936         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
47937         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
47938         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
47939         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
47940         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
47941         entry.
47942         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
47943         optional.
47944         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
47945         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
47946         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
47947         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
47948         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
47949         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
47950         Likewise.
47951         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
47952         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
47953         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
47954         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
47955         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
47956         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
47957         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
47958         as optional.
47959         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
47960         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
47961         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
47962         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
47963         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
47964         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
47965         specify as optional.
47966         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
47967         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
47968         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
47969         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
47970         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
47971         [XPG3] (NL_LANGMAX): Likewise.
47972         [POSIX || XPG3] (NL_MSGMAX): Likewise.
47973         [POSIX || XPG3] (NL_NMAX): Likewise.
47974         [POSIX || XPG3] (NL_SETMAX): Likewise.
47975         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
47976         [XPG3] (NZERO): Likewise.
47977         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
47978         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
47979         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
47980         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
47981         (REG_ERANGE): Expect.
47982         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
47983         optional-constant.
47984         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
47985         Use (void) in prototype.
47986         [POSIX] (*_t): Allow.
47987         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
47988         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
47989         (WRDE_BADVAL): Expect.
47991         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
47992         expect.
47993         [XPG3 || XPG4] (O_RSYNC): Likewise.
47994         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
47995         Likewise.
47996         [XPG3 || XPG4] (pthread_sigmask): Likewise.
47997         [XPG3 || XPG4] (sigqueue): Likewise.
47998         [XPG3 || XPG4] (sigtimedwait): Likewise.
47999         [XPG3 || XPG4] (sigwaitinfo): Likewise.
48000         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
48001         [XPG3 || XPG4] (vsnprintf): Likewise.
48002         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
48003         Likewise.
48004         [XPG3 || XPG4] (blksize_t): Likewise.
48005         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
48006         Likewise.
48007         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
48008         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
48009         [XPG3 || XPG4] (struct itimerspec): Likewise.
48010         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
48011         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
48012         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
48013         [XPG3 || XPG4] (clockid_t): Likewise.
48014         [XPG3 || XPG4] (timer_t): Likewise.
48015         [XPG3 || XPG4] (clock_getres): Likewise.
48016         [XPG3 || XPG4] (clock_gettime): Likewise.
48017         [XPG3 || XPG4] (clock_settime): Likewise.
48018         [XPG3 || XPG4] (nanosleep): Likewise.
48019         [XPG3 || XPG4] (timer_create): Likewise.
48020         [XPG3 || XPG4] (timer_delete): Likewise.
48021         [XPG3 || XPG4] (timer_gettime): Likewise.
48022         [XPG3 || XPG4] (timer_getoverrun): Likewise.
48023         [XPG3 || XPG4] (timer_settime): Likewise.
48024         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
48025         [XPG3 || XPG4] (getlogin_r): Likewise.
48026         [XPG3 || XPG4] (pread): Likewise.
48027         [XPG3 || XPG4] (pthread_atfork): Likewise.
48028         [XPG3 || XPG4] (pwrite): Likewise.
48030         [BZ #14835]
48031         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
48032         <bits/siginfo.h>.
48034 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
48036         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
48037         finalizing MALLSTREAM.
48039         * sysdeps/mach/hurd/syncfs.c: New file.
48041 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48043         [BZ #14719]
48044         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
48045         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
48046         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
48047         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
48048         (_nss_dns_gethostbyname4_r): Likewise.
48049         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
48050         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
48052 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
48054         [BZ #13763]
48055         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
48057 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
48059         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
48060         * elf/cache.c (print_entry): Print ",AArch64" for
48061         FLAG_AARCH64_LIB64
48063         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
48064         * elf/cache.c (print_entry): Print ",hard-float" for
48065         FLAG_ARM_LIBHF.
48067 2012-11-18  David S. Miller  <davem@davemloft.net>
48069         With help from Joseph Myers.
48070         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
48071         cutoff to 2**-13.
48072         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
48073         cutoff to 2**-25.
48074         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
48075         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
48076         small.
48077         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
48078         * math/libm-test.inc (y0_test): New tests.
48079         (y1_test): New tests.
48080         * sysdeps/i386/fpu/libm-test-ulps: Update.
48081         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48082         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48084 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
48086         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
48087         64-bit targets.
48088         * configure: Regenerated.
48090 2012-11-17  David S. Miller  <davem@davemloft.net>
48092         [BZ #14811]
48093         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
48094         nonzero exponents with absolute value below 0x1p-128 to +/-
48095         0x1p-128.
48097 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
48099         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
48101         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
48103         * posix/getconf-speclist.c: New file.
48104         * posix/posix-envs.def: Likewise.
48105         * posix/confstr.c (START_ENV_GROUP): New macro.
48106         (END_ENV_GROUP): Likewise.
48107         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
48108         (KNOWN_PRESENT_ENV_STRING): Likewise.
48109         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
48110         (UNKNOWN_ENVIRONMENT): Likewise.
48111         (confstr): Include posix-envs.def instead of handling
48112         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
48113         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
48114         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
48115         (END_ENV_GROUP): Likewise.
48116         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
48117         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
48118         (UNKNOWN_ENVIRONMENT): Likewise.
48119         (__sysconf): Include posix-envs.def instead of handling associated
48120         cases directly here.
48121         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
48122         preprocessing getconf-speclist.c rather than running getconf or
48123         generating empty file.
48125 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
48127         * scripts/check-local-headers.sh: Ignore 'mach' headers.
48129 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
48131         [BZ #14672]
48132         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
48134 2012-11-16  David S. Miller  <davem@davemloft.net>
48136         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
48137         smaller than LDBL_EPSILON/2.0L, just return xm1.
48139 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
48141         * elf/tst-array1.c (init): Set constructor priority to 1000.
48142         (fini): Set destructor priority to 1000.
48143         * elf/tst-array2dep.c: Likewise.
48145 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48147         [BZ #11741]
48148         * libio/fileops.c (_IO_new_file_write): Correctly return error.
48149         (_IO_new_file_xsputn): Also return EOF if none of the input
48150         data was written when overflow failed.
48151         * libio/iopadn.c (_IO_padn): Likewise.
48152         * libio/iowpadn.c (_IO_wpadn): Likewise.
48153         * stdio-common/tst-put-error.c: Add copyright notice.
48154         (do_test): Add case for printing padded string.
48155         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
48156         _IO_padn returned error.
48157         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
48158         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
48159         return EOF.
48161 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48163         * libio/libioP.h: Add comment note that the references to C++
48164         bits are now obsolete.
48166 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48168         * math/libm-test.inc (check_complex): Use asprintf.
48170 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
48172         * debug/pcprofiledump.c (print_version): Update copyright year.
48173         * malloc/memusagestat.c (print_version): Likewise.
48175 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
48177         [BZ #14831]
48178         * elf/Makefile (tests): Add tst-audit8.
48179         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
48180         ($(objpfx)tst-audit8.out): New target.
48181         (tst-audit8-ENV): New variable.
48182         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
48183         audit if l_reloc_result is NULL.
48184         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
48185         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
48186         * elf/tst-audit8.c: New file.
48188 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48190         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
48191         * misc/Makefile (CFLAGS-select.c): Define.
48192         * posix/Makefile (CFLAGS-pause.c): Define.
48194 2012-11-13  David S. Miller  <davem@davemloft.net>
48196         * crypt/Makefile: Move test targets after toplevel Rules
48197         inclusion.  Grab any necessary sysdep routines when linking.
48198         * crypt/md5.c (md5_process_block): Remove define, we will always
48199         name it __md5_process_block.
48200         (md5_finish_ctx): Update md5_process_block call.
48201         (md5_stream): Likewise.
48202         (md5_process_bytes): Likewise.
48203         (md5_process_block): Rename to __md5_process_block and move to ...
48204         * crypt/md5-block.c: ... here.
48205         * crypt/sha256.c (sha256_process_block): Move to ...
48206         * crypt/sha256-block.c: ... here.
48207         * crypt/sha512.c (sha512_process_block): Move to ...
48208         * crypt/sha512-block.c: ... here.
48209         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
48210         path.
48211         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
48212         * sysdeps/sparc/sparc64/multiarch/Makefile
48213         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
48214         crypt subdir.
48215         (localedef-aux): Add md5 crypto assembler when in locale subdir.
48216         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
48217         multiarch changes.
48218         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
48219         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
48220         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
48221         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
48222         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
48223         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
48224         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
48225         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
48226         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
48227         file.
48228         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
48229         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
48230         file.
48231         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
48233 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
48235         * timezone/tzselect.ksh: Update from tzcode git revision
48236         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
48237         * timezone/zdump.c: Likewise.
48238         * timezone/zic.c: Likewise.
48239         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
48240         in TZVERSION setting, not $(PKGVERSION).
48241         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
48242         REPORT_BUGS_TO settings.
48244         [BZ #14838]
48245         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
48246         macro.
48248 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48250         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
48251         detection to immediately after _FP_ROUND().
48252         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
48253         bits are 0.
48255 2012-11-11  David S. Miller  <davem@davemloft.net>
48257         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
48258         inttypes.h
48259         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
48260         __close rather than their public counterparts.
48262 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
48264         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
48265         file.
48266         [UNIX98] (sem_timedwait): Do not expect.
48267         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
48268         [XPG4 || UNIX98] (sockatmark): Do not expect.
48269         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
48270         (clock_getcpuclockid): Do not expect.
48271         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
48272         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
48273         Do not expect.
48274         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
48275         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
48276         [UNIX98] (vwscanf): Likewise.
48277         [UNIX98] (vswscanf): Likewise.
48279 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
48281         * timezone/version.h: Remove file.
48282         * timezone/README: Do not refer to version.h.
48283         * timezone/Makefile ($(objpfx)zic.o): New dependency on
48284         $(objpfx)version.h.
48285         ($(objpfx)zdump.o): Likewise.
48286         ($(objpfx)version.h): New target.
48288         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
48289         2012i.
48290         * timezone/README: Don't mention modification to tzselect.ksh.
48291         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
48292         work on unmodified tzselect.ksh.  Substitute version numbers in
48293         tzselect.ksh.
48295         * Makefile (format-me): Remove.
48296         (INSTALL): Adjust indentation.  Use commands directly instead of
48297         using $(format-me).
48299         * aclocal.m4 (ACX_PKGVERSION): New macro.
48300         (ACX_BUGURL): Likewise.
48301         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
48302         (PKGVERSION): New AC_DEFINE_UNQUOTED.
48303         (REPORT_BUGS_TO): Likewise.
48304         * configure: Regenerated.
48305         * config.h.in (PKGVERSION): New macro.
48306         (REPORT_BUGS_TO): Likewise.
48307         * config.make.in (PKGVERSION): New variable.
48308         (PKGVERSION_TEXI): Likewise.
48309         (REPORT_BUGS_TO): Likewise.
48310         (REPORT_BUGS_TEXI): Likewise.
48311         * Makefile (format-me): Use -I$(common-objpfx)manual.
48312         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
48313         ($(common-objpfx)manual/%): New target.
48314         (manual/%): Remove target.
48315         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
48316         (print_version): Use PKGVERSION.
48317         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
48318         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
48319         and REPORT_BUGS_TO.
48320         ($(objpfx)xtrace): Likewise.
48321         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
48322         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
48323         (print_version): Use PKGVERSION.
48324         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
48325         (do_version): Use PKGVERSION.
48326         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
48327         REPORT_BUGS_TO.
48328         (common-ldd-rewrite): Likewise.
48329         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
48330         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
48331         (print_version): Use PKGVERSION.
48332         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
48333         * elf/pldd.c (argp_program_bug_address): Remove variable.
48334         (more_help): New function.
48335         (argp): Use more_help.
48336         (print_version): Use PKGVERSION.
48337         * elf/sln.c (main): Use PKGVERSION.
48338         (usage): Use REPORT_BUGS_TO.
48339         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
48340         (top level): Use PKGVERSION.
48341         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
48342         (print_version): Use PKGVERSION.
48343         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
48344         (print_version): Use PKGVERSION.
48345         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
48346         (print_version): Use PKGVERSION.
48347         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
48348         (print_version): Use PKGVERSION.
48349         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
48350         (print_version): Use PKGVERSION.
48351         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
48352         (print_version): Use PKGVERSION.
48353         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
48354         and BUGURL.
48355         ($(objpfx)memusage): Likewise.
48356         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
48357         (do_version): Use PKGVERSION.
48358         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
48359         (print_version): Use PKGVERSION.
48360         * malloc/mtrace.pl ($PACKAGE): Remove variable.
48361         ($PKGVERSION): New variable.
48362         ($REPORT_BUGS_TO): Likewise.
48363         (usage): Use $REPORT_BUGS_TO.
48364         (top level): Use $PKGVERSION.
48365         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
48366         ($(objpfx)pkgvers.texi): New rule.
48367         ($(objpfx)stamp-pkgvers): Likewise.
48368         * manual/install.texi: Include pkgvers.texi.
48369         (--with-pkgversion): Document new configure option.
48370         (--with-bugurl): Likewise.
48371         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
48372         than necessarily for this particular distribution.  Use
48373         REPORT_BUGS_TO for where to report bugs.
48374         * INSTALL: Regenerated.
48375         * manual/libc.texinfo: Include pkgvers.texi.
48376         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
48377         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
48378         (print_version): Use PKGVERSION.
48379         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
48380         (print_version): Use PKGVERSION.
48381         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
48382         (print_version): Use PKGVERSION.
48383         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
48384         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
48385         macro.
48386         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
48387         (print_version): Use PKGVERSION.
48388         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
48389         (print_version): Use PKGVERSION.
48390         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
48391         and PKGVERSION.
48393         * timezone/checktab.awk: Update from tzcode 2012i.
48394         * timezone/ialloc.c: Likewise.
48395         * timezone/private.h: Likewise.
48396         * timezone/scheck.c: Likewise.
48397         * timezone/tzfile.h: Likewise.
48398         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
48399         (TZVERSION): Hardcode tzcode version number.
48400         * timezone/zdump.c: Update from tzcode 2012i.
48401         * timezone/zic.c: Likewise.
48402         * timezone/version.h: New file.
48403         * timezone/README: Describe version.h.  Update upstream location.
48405         [BZ #14824]
48406         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
48407         (mktemp): Enable declaration.
48408         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
48409         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
48410         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
48411         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
48412         Likewise.
48413         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
48414         Likewise.
48415         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
48416         Likewise.
48417         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
48418         Likewise.
48419         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
48420         Likewise.
48421         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
48422         Likewise.
48424         [BZ #14821]
48425         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
48426         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
48427         for copies of such integer values.
48428         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48429         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48431 2012-11-09  Andreas Jaeger  <aj@suse.de>
48433         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
48434         definitions and declarations that are provided by
48435         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
48437 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48439         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
48440         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
48441         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
48442         definition.
48444 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48446         * elf/elf.h: Update comment before AArch64 relocations.
48448 2012-11-07  David S. Miller  <davem@davemloft.net>
48450         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
48451         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
48452         (__start_context): Declare.
48453         (__makecontext_ret): Delete.
48454         (__makecontext): Hook up __start_context instead of
48455         __makecontext_ret.
48456         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
48457         (sysdep_routines): Add __start_context when in stdlib.
48459 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
48461         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
48462         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
48463         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
48464         hardcoded "nm".
48465         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
48466         (READELF): New variable.  Use it instead of hardcoded "readelf".
48468 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
48470         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
48471         * sysdeps/x86/Makefile: Here.
48472         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
48473         * sysdeps/x86/tst-xmmymm.sh: This.
48475 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
48477         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
48478         expectations.
48479         [UNIX98] (pthread_barrier_t): Do not expect.
48480         [UNIX98] (pthread_barrierattr_t): Likewise.
48481         [UNIX98] (pthread_spinlock_t): Likewise.
48482         [UNIX98] (pthread_barrier_destroy): Likewise.
48483         [UNIX98] (pthread_barrier_init): Likewise.
48484         [UNIX98] (pthread_barrier_wait): Likewise.
48485         [UNIX98] (pthread_barrierattr_destroy): Likewise.
48486         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
48487         [UNIX98] (pthread_barrierattr_init): Likewise.
48488         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
48489         [UNIX98] (pthread_getcpuclockid): Likewise.
48490         [UNIX98] (pthread_mutex_timedlock): Likewise.
48491         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
48492         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
48493         [UNIX98] (pthread_sigmask): Likewise.
48494         [UNIX98] (pthread_spin_destroy): Likewise.
48495         [UNIX98] (pthread_spin_init): Likewise.
48496         [UNIX98] (pthread_spin_lock): Likewise.
48497         [UNIX98] (pthread_spin_trylock): Likewise.
48498         [UNIX98] (pthread_spin_unlock): Likewise.
48499         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
48500         Do not expect.
48501         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
48502         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
48503         [XPG3 || XPG4] (pthread_cond_t): Likewise.
48504         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
48505         [XPG3 || XPG4] (pthread_key_t): Likewise.
48506         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
48507         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
48508         [XPG3 || XPG4] (pthread_once_t): Likewise.
48509         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
48510         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
48511         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
48512         [XPG3 || XPG4] (pthread_t): Likewise.
48514         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
48515         not expect.
48516         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
48518         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
48519         Change function return type to int.
48521         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
48522         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
48523         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
48524         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
48525         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
48526         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
48527         [!POSIX] (posix_madvise): Likewise.
48528         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
48529         && !UNIX98].
48530         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
48531         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
48532         (mode_t): Likewise.
48533         (posix_mem_offset): Likewise.
48534         (posix_typed_mem_get_info): Likewise.
48535         (posix_typed_mem_open): Likewise.
48537         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
48538         Change condition to [XOPEN2K8].
48540         * conform/conformtest.pl: Preprocess allow-header data with -x c
48541         instead of from stdin.
48542         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
48543         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
48544         [C99-based standards] (cerfc): Likewise.
48545         [C99-based standards] (cexp2): Likewise.
48546         [C99-based standards] (cexpm1): Likewise.
48547         [C99-based standards] (clog10): Likewise.
48548         [C99-based standards] (clog1p): Likewise.
48549         [C99-based standards] (clog2): Likewise.
48550         [C99-based standards] (clgamma): Likewise.
48551         [C99-based standards] (ctgamma): Likewise.
48552         [C99-based standards] (cerff): Likewise.
48553         [C99-based standards] (cerfcf): Likewise.
48554         [C99-based standards] (cexp2f): Likewise.
48555         [C99-based standards] (cexpm1f): Likewise.
48556         [C99-based standards] (clog10f): Likewise.
48557         [C99-based standards] (clog1pf): Likewise.
48558         [C99-based standards] (clog2f): Likewise.
48559         [C99-based standards] (clgammaf): Likewise.
48560         [C99-based standards] (ctgammaf): Likewise.
48561         [C99-based standards] (cerfl): Likewise.
48562         [C99-based standards] (cerfcl): Likewise.
48563         [C99-based standards] (cexp2l): Likewise.
48564         [C99-based standards] (cexpm1l): Likewise.
48565         [C99-based standards] (clog10l): Likewise.
48566         [C99-based standards] (clog1pl): Likewise.
48567         [C99-based standards] (clog2l): Likewise.
48568         [C99-based standards] (clgammal): Likewise.
48569         [C99-based standards] (ctgammal): Likewise.
48570         * conform/data/inttypes.h-data [C99-based standards]: Include
48571         stdint.h-data.  Remove all expectations for stdint.h contents.
48572         [C99-based standards] (PRI*): Do not allow.
48573         [C99-based standards] (SCN*): Likewise.
48574         [C99-based standards] (*_t): Likewise.
48575         [C99-based-standards] (PRId8): Expect macro.
48576         [C99-based-standards] (PRIi8): Likewise.
48577         [C99-based-standards] (PRIo8): Likewise.
48578         [C99-based-standards] (PRIu8): Likewise.
48579         [C99-based-standards] (PRIx8): Likewise.
48580         [C99-based-standards] (PRIX8): Likewise.
48581         [C99-based-standards] (SCNd8): Likewise.
48582         [C99-based-standards] (SCNi8): Likewise.
48583         [C99-based-standards] (SCNo8): Likewise.
48584         [C99-based-standards] (SCNu8): Likewise.
48585         [C99-based-standards] (SCNx8): Likewise.
48586         [C99-based-standards] (PRIdLEAST8): Likewise.
48587         [C99-based-standards] (PRIiLEAST8): Likewise.
48588         [C99-based-standards] (PRIoLEAST8): Likewise.
48589         [C99-based-standards] (PRIuLEAST8): Likewise.
48590         [C99-based-standards] (PRIxLEAST8): Likewise.
48591         [C99-based-standards] (PRIXLEAST8): Likewise.
48592         [C99-based-standards] (SCNdLEAST8): Likewise.
48593         [C99-based-standards] (SCNiLEAST8): Likewise.
48594         [C99-based-standards] (SCNoLEAST8): Likewise.
48595         [C99-based-standards] (SCNuLEAST8): Likewise.
48596         [C99-based-standards] (SCNxLEAST8): Likewise.
48597         [C99-based-standards] (PRIdFAST8): Likewise.
48598         [C99-based-standards] (PRIiFAST8): Likewise.
48599         [C99-based-standards] (PRIoFAST8): Likewise.
48600         [C99-based-standards] (PRIuFAST8): Likewise.
48601         [C99-based-standards] (PRIxFAST8): Likewise.
48602         [C99-based-standards] (PRIXFAST8): Likewise.
48603         [C99-based-standards] (SCNdFAST8): Likewise.
48604         [C99-based-standards] (SCNiFAST8): Likewise.
48605         [C99-based-standards] (SCNoFAST8): Likewise.
48606         [C99-based-standards] (SCNuFAST8): Likewise.
48607         [C99-based-standards] (SCNxFAST8): Likewise.
48608         [C99-based-standards] (PRId16): Likewise.
48609         [C99-based-standards] (PRIi16): Likewise.
48610         [C99-based-standards] (PRIo16): Likewise.
48611         [C99-based-standards] (PRIu16): Likewise.
48612         [C99-based-standards] (PRIx16): Likewise.
48613         [C99-based-standards] (PRIX16): Likewise.
48614         [C99-based-standards] (SCNd16): Likewise.
48615         [C99-based-standards] (SCNi16): Likewise.
48616         [C99-based-standards] (SCNo16): Likewise.
48617         [C99-based-standards] (SCNu16): Likewise.
48618         [C99-based-standards] (SCNx16): Likewise.
48619         [C99-based-standards] (PRIdLEAST16): Likewise.
48620         [C99-based-standards] (PRIiLEAST16): Likewise.
48621         [C99-based-standards] (PRIoLEAST16): Likewise.
48622         [C99-based-standards] (PRIuLEAST16): Likewise.
48623         [C99-based-standards] (PRIxLEAST16): Likewise.
48624         [C99-based-standards] (PRIXLEAST16): Likewise.
48625         [C99-based-standards] (SCNdLEAST16): Likewise.
48626         [C99-based-standards] (SCNiLEAST16): Likewise.
48627         [C99-based-standards] (SCNoLEAST16): Likewise.
48628         [C99-based-standards] (SCNuLEAST16): Likewise.
48629         [C99-based-standards] (SCNxLEAST16): Likewise.
48630         [C99-based-standards] (PRIdFAST16): Likewise.
48631         [C99-based-standards] (PRIiFAST16): Likewise.
48632         [C99-based-standards] (PRIoFAST16): Likewise.
48633         [C99-based-standards] (PRIuFAST16): Likewise.
48634         [C99-based-standards] (PRIxFAST16): Likewise.
48635         [C99-based-standards] (PRIXFAST16): Likewise.
48636         [C99-based-standards] (SCNdFAST16): Likewise.
48637         [C99-based-standards] (SCNiFAST16): Likewise.
48638         [C99-based-standards] (SCNoFAST16): Likewise.
48639         [C99-based-standards] (SCNuFAST16): Likewise.
48640         [C99-based-standards] (SCNxFAST16): Likewise.
48641         [C99-based-standards] (PRId32): Likewise.
48642         [C99-based-standards] (PRIi32): Likewise.
48643         [C99-based-standards] (PRIo32): Likewise.
48644         [C99-based-standards] (PRIu32): Likewise.
48645         [C99-based-standards] (PRIx32): Likewise.
48646         [C99-based-standards] (PRIX32): Likewise.
48647         [C99-based-standards] (SCNd32): Likewise.
48648         [C99-based-standards] (SCNi32): Likewise.
48649         [C99-based-standards] (SCNo32): Likewise.
48650         [C99-based-standards] (SCNu32): Likewise.
48651         [C99-based-standards] (SCNx32): Likewise.
48652         [C99-based-standards] (PRIdLEAST32): Likewise.
48653         [C99-based-standards] (PRIiLEAST32): Likewise.
48654         [C99-based-standards] (PRIoLEAST32): Likewise.
48655         [C99-based-standards] (PRIuLEAST32): Likewise.
48656         [C99-based-standards] (PRIxLEAST32): Likewise.
48657         [C99-based-standards] (PRIXLEAST32): Likewise.
48658         [C99-based-standards] (SCNdLEAST32): Likewise.
48659         [C99-based-standards] (SCNiLEAST32): Likewise.
48660         [C99-based-standards] (SCNoLEAST32): Likewise.
48661         [C99-based-standards] (SCNuLEAST32): Likewise.
48662         [C99-based-standards] (SCNxLEAST32): Likewise.
48663         [C99-based-standards] (PRIdFAST32): Likewise.
48664         [C99-based-standards] (PRIiFAST32): Likewise.
48665         [C99-based-standards] (PRIoFAST32): Likewise.
48666         [C99-based-standards] (PRIuFAST32): Likewise.
48667         [C99-based-standards] (PRIxFAST32): Likewise.
48668         [C99-based-standards] (PRIXFAST32): Likewise.
48669         [C99-based-standards] (SCNdFAST32): Likewise.
48670         [C99-based-standards] (SCNiFAST32): Likewise.
48671         [C99-based-standards] (SCNoFAST32): Likewise.
48672         [C99-based-standards] (SCNuFAST32): Likewise.
48673         [C99-based-standards] (SCNxFAST32): Likewise.
48674         [C99-based-standards] (PRId64): Likewise.
48675         [C99-based-standards] (PRIi64): Likewise.
48676         [C99-based-standards] (PRIo64): Likewise.
48677         [C99-based-standards] (PRIu64): Likewise.
48678         [C99-based-standards] (PRIx64): Likewise.
48679         [C99-based-standards] (PRIX64): Likewise.
48680         [C99-based-standards] (SCNd64): Likewise.
48681         [C99-based-standards] (SCNi64): Likewise.
48682         [C99-based-standards] (SCNo64): Likewise.
48683         [C99-based-standards] (SCNu64): Likewise.
48684         [C99-based-standards] (SCNx64): Likewise.
48685         [C99-based-standards] (PRIdLEAST64): Likewise.
48686         [C99-based-standards] (PRIiLEAST64): Likewise.
48687         [C99-based-standards] (PRIoLEAST64): Likewise.
48688         [C99-based-standards] (PRIuLEAST64): Likewise.
48689         [C99-based-standards] (PRIxLEAST64): Likewise.
48690         [C99-based-standards] (PRIXLEAST64): Likewise.
48691         [C99-based-standards] (SCNdLEAST64): Likewise.
48692         [C99-based-standards] (SCNiLEAST64): Likewise.
48693         [C99-based-standards] (SCNoLEAST64): Likewise.
48694         [C99-based-standards] (SCNuLEAST64): Likewise.
48695         [C99-based-standards] (SCNxLEAST64): Likewise.
48696         [C99-based-standards] (PRIdFAST64): Likewise.
48697         [C99-based-standards] (PRIiFAST64): Likewise.
48698         [C99-based-standards] (PRIoFAST64): Likewise.
48699         [C99-based-standards] (PRIuFAST64): Likewise.
48700         [C99-based-standards] (PRIxFAST64): Likewise.
48701         [C99-based-standards] (PRIXFAST64): Likewise.
48702         [C99-based-standards] (SCNdFAST64): Likewise.
48703         [C99-based-standards] (SCNiFAST64): Likewise.
48704         [C99-based-standards] (SCNoFAST64): Likewise.
48705         [C99-based-standards] (SCNuFAST64): Likewise.
48706         [C99-based-standards] (SCNxFAST64): Likewise.
48707         [C99-based-standards] (PRIdMAX): Likewise.
48708         [C99-based-standards] (PRIiMAX): Likewise.
48709         [C99-based-standards] (PRIoMAX): Likewise.
48710         [C99-based-standards] (PRIuMAX): Likewise.
48711         [C99-based-standards] (PRIxMAX): Likewise.
48712         [C99-based-standards] (PRIXMAX): Likewise.
48713         [C99-based-standards] (SCNdMAX): Likewise.
48714         [C99-based-standards] (SCNiMAX): Likewise.
48715         [C99-based-standards] (SCNoMAX): Likewise.
48716         [C99-based-standards] (SCNuMAX): Likewise.
48717         [C99-based-standards] (SCNxMAX): Likewise.
48718         [C99-based-standards] (PRIdPTR): Likewise.
48719         [C99-based-standards] (PRIiPTR): Likewise.
48720         [C99-based-standards] (PRIoPTR): Likewise.
48721         [C99-based-standards] (PRIuPTR): Likewise.
48722         [C99-based-standards] (PRIxPTR): Likewise.
48723         [C99-based-standards] (PRIXPTR): Likewise.
48724         [C99-based-standards] (SCNdPTR): Likewise.
48725         [C99-based-standards] (SCNiPTR): Likewise.
48726         [C99-based-standards] (SCNoPTR): Likewise.
48727         [C99-based-standards] (SCNuPTR): Likewise.
48728         [C99-based-standards] (SCNxPTR): Likewise.
48729         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
48730         allow.
48731         * conform/data/stdint.h-data: Update comments to clarify
48732         requirements.
48733         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
48734         type.
48735         [C99-based standards] (INT8_MAX): Likewise.
48736         [C99-based standards] (INT16_MIN): Likewise.
48737         [C99-based standards] (INT16_MAX): Likewise.
48738         [C99-based standards] (INT32_MIN): Likewise.
48739         [C99-based standards] (INT32_MAX): Likewise.
48740         [C99-based standards] (INT64_MIN): Likewise.
48741         [C99-based standards] (INT64_MAX): Likewise.
48742         [C99-based standards] (UINT8_MAX): Likewise.
48743         [C99-based standards] (UINT16_MAX): Likewise.
48744         [C99-based standards] (UINT32_MAX): Likewise.
48745         [C99-based standards] (UINT64_MAX): Likewise.
48746         [C99-based standards] (INT_LEAST8_MIN): Likewise.
48747         [C99-based standards] (INT_LEAST8_MAX): Likewise.
48748         [C99-based standards] (INT_LEAST16_MIN): Likewise.
48749         [C99-based standards] (INT_LEAST16_MAX): Likewise.
48750         [C99-based standards] (INT_LEAST32_MIN): Likewise.
48751         [C99-based standards] (INT_LEAST32_MAX): Likewise.
48752         [C99-based standards] (INT_LEAST64_MIN): Likewise.
48753         [C99-based standards] (INT_LEAST64_MAX): Likewise.
48754         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
48755         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
48756         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
48757         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
48758         [C99-based standards] (INT_FAST8_MIN): Likewise.
48759         [C99-based standards] (INT_FAST8_MAX): Likewise.
48760         [C99-based standards] (INT_FAST16_MIN): Likewise.
48761         [C99-based standards] (INT_FAST16_MAX): Likewise.
48762         [C99-based standards] (INT_FAST32_MIN): Likewise.
48763         [C99-based standards] (INT_FAST32_MAX): Likewise.
48764         [C99-based standards] (INT_FAST64_MIN): Likewise.
48765         [C99-based standards] (INT_FAST64_MAX): Likewise.
48766         [C99-based standards] (UINT_FAST8_MAX): Likewise.
48767         [C99-based standards] (UINT_FAST16_MAX): Likewise.
48768         [C99-based standards] (UINT_FAST32_MAX): Likewise.
48769         [C99-based standards] (UINT_FAST64_MAX): Likewise.
48770         [C99-based standards] (INTPTR_MIN): Likewise.
48771         [C99-based standards] (INTPTR_MAX): Likewise.
48772         [C99-based standards] (UINTPTR_MAX): Likewise.
48773         [C99-based standards] (INTMAX_MIN): Likewise.
48774         [C99-based standards] (INTMAX_MAX): Likewise.
48775         [C99-based standards] (UINTMAX_MAX): Likewise.
48776         [C99-based standards] (PTRDIFF_MIN): Likewise.
48777         [C99-based standards] (PTRDIFF_MAX): Likewise.
48778         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
48779         [C99-based standards] (SIZE_MAX): Likewise.
48780         [C99-based standards] (WCHAR_MAX): Likewise.
48781         [C99-based standards] (WINT_MAX): Likewise.
48782         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
48783         constraint on value.
48784         [C99-based standards] (WCHAR_MIN): Likewise.
48785         [C99-based standards] (WINT_MIN): Likewise.
48786         [C99-based standards] (*_t): Allow.
48787         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
48788         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
48789         Include math.h-data and complex.h-data.  Remove all expectations
48790         of math.h and complex.h contents.
48791         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
48792         at end of line.
48793         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
48794         (struct tm): Expect tag.
48795         [C99-based-standards] (wcstof): Expect function.
48796         [C99-based-standards] (wcstold): Likewise.
48797         [C99-based-standards] (wcstoll): Likewise.
48798         [C99-based-standards] (wcstoull): Likewise.
48799         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
48800         macro-int-constant.  Specify type.
48801         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
48802         constraint on value.
48803         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
48804         Specify type.
48805         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
48806         Specify value.
48807         [ISO C standards]: Do not allow headers.
48808         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
48809         wcs[abcdefghijklmnopqrstuvwxyz]*.
48810         [ISO C standards] (*_t): Do not allow.
48811         * conform/data/wctype.h-data [C99-based standards] (iswblank):
48812         Expect function.
48813         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
48814         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
48815         Specify type.
48816         [ISO C standards]: Do not allow headers.
48817         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
48818         is[abcdefghijklmnopqrstuvwxyz]*.
48819         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
48820         to[abcdefghijklmnopqrstuvwxyz]*.
48821         [ISO C standards] (*_t): Do not allow.
48822         * conform/data/stdalign.h-data: New file.
48823         * conform/data/stdbool.h-data: Likewise.
48824         * conform/data/stdnoreturn.h-data: Likewise.
48826 2012-11-07  Roland McGrath  <roland@hack.frob.com>
48828         [BZ #14815]
48829         * manual/filesys.texi (Directory Entries): Typo fix.
48830         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
48832 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48834         * elf/elf.h (EM_AARCH64): New macro.
48835         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
48836         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
48837         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
48838         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
48839         (R_AARCH64_TLSDESC): Likewise.
48840         (NT_ARM_TLS): Likewise.
48841         (NT_ARM_HW_BREAK): Likewise.
48842         (NT_ARM_HW_WATCH): Likewise.
48844 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
48846         [BZ #14811]
48847         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
48848         (__ieee754_powl): Saturate nonzero exponents with absolute value
48849         below 0x1p-79 to +/- 0x1p-79.
48850         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
48851         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
48852         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
48853         nonzero exponents with absolute value below 0x1p-32 to +/-
48854         0x1p-32.
48855         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
48856         (__ieee754_powl): Saturate nonzero exponents with absolute value
48857         below 0x1p-79 to +/- 0x1p-79.
48858         * math/libm-test.inc (pow_test): Add more tests.
48860 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48862         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
48863         _dl_s390_cap_flags with kernel. Increase string length.
48864         (_dl_s390_platforms): Add z196 and zEC12.
48866 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
48868         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
48869         Change XOPEN21K to XOPEN2K.
48871 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
48873         * string/memmove.c: Use memcpy when possible.
48875 2012-11-06  Andreas Jaeger  <aj@suse.de>
48877         * po/eo.po: Update from translation team.
48879 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
48881         [BZ #14793]
48882         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
48883         exponent and small x and y exponents, scale x or y up.  Increase
48884         by 2 the exponent used in scaling up.
48885         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48886         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48887         * math/libm-test.inc (fma_test): Add more tests.
48888         (fma_test_towardzero): Likewise.
48889         (fma_test_downward): Likewise.
48890         (fma_test_upward): Likewise.
48892 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
48894         [BZ #14805]
48895         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
48896         fenv_t *.
48898         [BZ #14801]
48899         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
48900         namespace for names of struct fields.
48901         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
48902         fenv_t fields.
48903         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
48904         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
48906 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48908         [BZ #3665]
48909         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
48911 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
48913         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
48914         PTR_DEMANGLE.
48916         [BZ #5246]
48917         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
48918         PTR_DEMANGLE.
48920 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
48922         [BZ #14797]
48923         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
48924         definitely overflow as x * y not x * y + z.
48925         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48926         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48927         * math/libm-test.inc (fma_test): Add more tests.
48928         (fma_test_towardzero): Likewise.
48929         (fma_test_downward): Likewise.
48930         (fma_test_upward): Likewise.
48932 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
48934         [BZ #157]
48936         * include/stub-tag.h: Remove file.
48937         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
48938         '#include' of it.
48939         * manual/maint.texi (Porting): Don't reference it.
48940         * Makerules ($(objpfx)stubs): Likewise.
48941         * dirent/closedir.c: Don't include <stub-tag.h>.
48942         * dirent/dirfd.c: Likewise.
48943         * dirent/fdopendir.c: Likewise.
48944         * dirent/getdents.c: Likewise.
48945         * dirent/getdents64.c: Likewise.
48946         * dirent/opendir.c: Likewise.
48947         * dirent/readdir.c: Likewise.
48948         * dirent/readdir64.c: Likewise.
48949         * dirent/readdir64_r.c: Likewise.
48950         * dirent/readdir_r.c: Likewise.
48951         * dirent/rewinddir.c: Likewise.
48952         * dirent/seekdir.c: Likewise.
48953         * dirent/telldir.c: Likewise.
48954         * gmon/profil.c: Likewise.
48955         * grp/setgroups.c: Likewise.
48956         * inet/if_index.c: Likewise.
48957         * io/access.c: Likewise.
48958         * io/chdir.c: Likewise.
48959         * io/chmod.c: Likewise.
48960         * io/chown.c: Likewise.
48961         * io/close.c: Likewise.
48962         * io/dup.c: Likewise.
48963         * io/dup2.c: Likewise.
48964         * io/dup3.c: Likewise.
48965         * io/euidaccess.c: Likewise.
48966         * io/faccessat.c: Likewise.
48967         * io/fchdir.c: Likewise.
48968         * io/fchmod.c: Likewise.
48969         * io/fchmodat.c: Likewise.
48970         * io/fchown.c: Likewise.
48971         * io/fchownat.c: Likewise.
48972         * io/fcntl.c: Likewise.
48973         * io/flock.c: Likewise.
48974         * io/fstatfs.c: Likewise.
48975         * io/fstatfs64.c: Likewise.
48976         * io/fstatvfs.c: Likewise.
48977         * io/fstatvfs64.c: Likewise.
48978         * io/futimens.c: Likewise.
48979         * io/fxstat.c: Likewise.
48980         * io/fxstat64.c: Likewise.
48981         * io/fxstatat.c: Likewise.
48982         * io/fxstatat64.c: Likewise.
48983         * io/getcwd.c: Likewise.
48984         * io/isatty.c: Likewise.
48985         * io/lchmod.c: Likewise.
48986         * io/lchown.c: Likewise.
48987         * io/link.c: Likewise.
48988         * io/linkat.c: Likewise.
48989         * io/lseek.c: Likewise.
48990         * io/lseek64.c: Likewise.
48991         * io/lxstat64.c: Likewise.
48992         * io/mkdir.c: Likewise.
48993         * io/mkdirat.c: Likewise.
48994         * io/mkfifo.c: Likewise.
48995         * io/mkfifoat.c: Likewise.
48996         * io/open.c: Likewise.
48997         * io/open64.c: Likewise.
48998         * io/openat.c: Likewise.
48999         * io/openat64.c: Likewise.
49000         * io/pipe.c: Likewise.
49001         * io/pipe2.c: Likewise.
49002         * io/poll.c: Likewise.
49003         * io/posix_fadvise.c: Likewise.
49004         * io/posix_fadvise64.c: Likewise.
49005         * io/posix_fallocate.c: Likewise.
49006         * io/posix_fallocate64.c: Likewise.
49007         * io/read.c: Likewise.
49008         * io/readlink.c: Likewise.
49009         * io/readlinkat.c: Likewise.
49010         * io/rmdir.c: Likewise.
49011         * io/sendfile.c: Likewise.
49012         * io/sendfile64.c: Likewise.
49013         * io/statfs.c: Likewise.
49014         * io/statfs64.c: Likewise.
49015         * io/statvfs.c: Likewise.
49016         * io/statvfs64.c: Likewise.
49017         * io/symlink.c: Likewise.
49018         * io/symlinkat.c: Likewise.
49019         * io/ttyname.c: Likewise.
49020         * io/ttyname_r.c: Likewise.
49021         * io/umask.c: Likewise.
49022         * io/unlink.c: Likewise.
49023         * io/unlinkat.c: Likewise.
49024         * io/utime.c: Likewise.
49025         * io/utimensat.c: Likewise.
49026         * io/write.c: Likewise.
49027         * io/xmknod.c: Likewise.
49028         * io/xmknodat.c: Likewise.
49029         * io/xstat.c: Likewise.
49030         * io/xstat64.c: Likewise.
49031         * login/getpt.c: Likewise.
49032         * login/grantpt.c: Likewise.
49033         * login/unlockpt.c: Likewise.
49034         * math/e_acoshl.c: Likewise.
49035         * math/e_acosl.c: Likewise.
49036         * math/e_asinl.c: Likewise.
49037         * math/e_atan2l.c: Likewise.
49038         * math/e_atanhl.c: Likewise.
49039         * math/e_coshl.c: Likewise.
49040         * math/e_expl.c: Likewise.
49041         * math/e_fmodl.c: Likewise.
49042         * math/e_gammal_r.c: Likewise.
49043         * math/e_hypotl.c: Likewise.
49044         * math/e_j0l.c: Likewise.
49045         * math/e_j1l.c: Likewise.
49046         * math/e_jnl.c: Likewise.
49047         * math/e_lgammal_r.c: Likewise.
49048         * math/e_log10l.c: Likewise.
49049         * math/e_log2l.c: Likewise.
49050         * math/e_logl.c: Likewise.
49051         * math/e_powl.c: Likewise.
49052         * math/e_rem_pio2l.c: Likewise.
49053         * math/e_sinhl.c: Likewise.
49054         * math/e_sqrtl.c: Likewise.
49055         * math/fclrexcpt.c: Likewise.
49056         * math/fedisblxcpt.c: Likewise.
49057         * math/feenablxcpt.c: Likewise.
49058         * math/fegetenv.c: Likewise.
49059         * math/fegetexcept.c: Likewise.
49060         * math/fegetround.c: Likewise.
49061         * math/feholdexcpt.c: Likewise.
49062         * math/fesetenv.c: Likewise.
49063         * math/fesetround.c: Likewise.
49064         * math/feupdateenv.c: Likewise.
49065         * math/fgetexcptflg.c: Likewise.
49066         * math/fraiseexcpt.c: Likewise.
49067         * math/fsetexcptflg.c: Likewise.
49068         * math/ftestexcept.c: Likewise.
49069         * math/k_cosl.c: Likewise.
49070         * math/k_rem_pio2l.c: Likewise.
49071         * math/k_sinl.c: Likewise.
49072         * math/k_tanl.c: Likewise.
49073         * math/s_asinhl.c: Likewise.
49074         * math/s_atanl.c: Likewise.
49075         * math/s_cbrtl.c: Likewise.
49076         * math/s_erfl.c: Likewise.
49077         * math/s_expm1l.c: Likewise.
49078         * math/s_log1pl.c: Likewise.
49079         * math/s_tanhl.c: Likewise.
49080         * misc/acct.c: Likewise.
49081         * misc/brk.c: Likewise.
49082         * misc/chflags.c: Likewise.
49083         * misc/chroot.c: Likewise.
49084         * misc/fchflags.c: Likewise.
49085         * misc/fgetxattr.c: Likewise.
49086         * misc/flistxattr.c: Likewise.
49087         * misc/fremovexattr.c: Likewise.
49088         * misc/fsetxattr.c: Likewise.
49089         * misc/fsync.c: Likewise.
49090         * misc/ftruncate.c: Likewise.
49091         * misc/futimes.c: Likewise.
49092         * misc/futimesat.c: Likewise.
49093         * misc/getdomain.c: Likewise.
49094         * misc/getdtsz.c: Likewise.
49095         * misc/gethostid.c: Likewise.
49096         * misc/gethostname.c: Likewise.
49097         * misc/getloadavg.c: Likewise.
49098         * misc/getpagesize.c: Likewise.
49099         * misc/getsysstats.c: Likewise.
49100         * misc/getxattr.c: Likewise.
49101         * misc/gtty.c: Likewise.
49102         * misc/ioctl.c: Likewise.
49103         * misc/lgetxattr.c: Likewise.
49104         * misc/listxattr.c: Likewise.
49105         * misc/llistxattr.c: Likewise.
49106         * misc/lremovexattr.c: Likewise.
49107         * misc/lsetxattr.c: Likewise.
49108         * misc/lutimes.c: Likewise.
49109         * misc/madvise.c: Likewise.
49110         * misc/mincore.c: Likewise.
49111         * misc/mlock.c: Likewise.
49112         * misc/mlockall.c: Likewise.
49113         * misc/mmap.c: Likewise.
49114         * misc/mprotect.c: Likewise.
49115         * misc/msync.c: Likewise.
49116         * misc/munlock.c: Likewise.
49117         * misc/munlockall.c: Likewise.
49118         * misc/munmap.c: Likewise.
49119         * misc/preadv.c: Likewise.
49120         * misc/preadv64.c: Likewise.
49121         * misc/ptrace.c: Likewise.
49122         * misc/pwritev.c: Likewise.
49123         * misc/pwritev64.c: Likewise.
49124         * misc/readv.c: Likewise.
49125         * misc/reboot.c: Likewise.
49126         * misc/remap_file_pages.c: Likewise.
49127         * misc/removexattr.c: Likewise.
49128         * misc/revoke.c: Likewise.
49129         * misc/select.c: Likewise.
49130         * misc/setdomain.c: Likewise.
49131         * misc/setegid.c: Likewise.
49132         * misc/seteuid.c: Likewise.
49133         * misc/sethostid.c: Likewise.
49134         * misc/sethostname.c: Likewise.
49135         * misc/setregid.c: Likewise.
49136         * misc/setreuid.c: Likewise.
49137         * misc/setxattr.c: Likewise.
49138         * misc/sstk.c: Likewise.
49139         * misc/stty.c: Likewise.
49140         * misc/swapoff.c: Likewise.
49141         * misc/swapon.c: Likewise.
49142         * misc/sync.c: Likewise.
49143         * misc/syncfs.c: Likewise.
49144         * misc/syscall.c: Likewise.
49145         * misc/truncate.c: Likewise.
49146         * misc/ualarm.c: Likewise.
49147         * misc/usleep.c: Likewise.
49148         * misc/ustat.c: Likewise.
49149         * misc/utimes.c: Likewise.
49150         * misc/vhangup.c: Likewise.
49151         * misc/writev.c: Likewise.
49152         * posix/_exit.c: Likewise.
49153         * posix/alarm.c: Likewise.
49154         * posix/execve.c: Likewise.
49155         * posix/fexecve.c: Likewise.
49156         * posix/fork.c: Likewise.
49157         * posix/fpathconf.c: Likewise.
49158         * posix/getaddrinfo.c: Likewise.
49159         * posix/getegid.c: Likewise.
49160         * posix/geteuid.c: Likewise.
49161         * posix/getgid.c: Likewise.
49162         * posix/getgroups.c: Likewise.
49163         * posix/getlogin.c: Likewise.
49164         * posix/getlogin_r.c: Likewise.
49165         * posix/getpgid.c: Likewise.
49166         * posix/getpid.c: Likewise.
49167         * posix/getppid.c: Likewise.
49168         * posix/getresgid.c: Likewise.
49169         * posix/getresuid.c: Likewise.
49170         * posix/getsid.c: Likewise.
49171         * posix/getuid.c: Likewise.
49172         * posix/glob64.c: Likewise.
49173         * posix/nanosleep.c: Likewise.
49174         * posix/pathconf.c: Likewise.
49175         * posix/pause.c: Likewise.
49176         * posix/posix_madvise.c: Likewise.
49177         * posix/pread.c: Likewise.
49178         * posix/pread64.c: Likewise.
49179         * posix/pwrite.c: Likewise.
49180         * posix/pwrite64.c: Likewise.
49181         * posix/sched_getaffinity.c: Likewise.
49182         * posix/sched_getp.c: Likewise.
49183         * posix/sched_gets.c: Likewise.
49184         * posix/sched_primax.c: Likewise.
49185         * posix/sched_primin.c: Likewise.
49186         * posix/sched_rr_gi.c: Likewise.
49187         * posix/sched_setaffinity.c: Likewise.
49188         * posix/sched_setp.c: Likewise.
49189         * posix/sched_sets.c: Likewise.
49190         * posix/sched_yield.c: Likewise.
49191         * posix/setgid.c: Likewise.
49192         * posix/setlogin.c: Likewise.
49193         * posix/setpgid.c: Likewise.
49194         * posix/setresgid.c: Likewise.
49195         * posix/setresuid.c: Likewise.
49196         * posix/setsid.c: Likewise.
49197         * posix/setuid.c: Likewise.
49198         * posix/sleep.c: Likewise.
49199         * posix/spawni.c: Likewise.
49200         * posix/sysconf.c: Likewise.
49201         * posix/times.c: Likewise.
49202         * posix/wait.c: Likewise.
49203         * posix/wait3.c: Likewise.
49204         * posix/wait4.c: Likewise.
49205         * posix/waitpid.c: Likewise.
49206         * resolv/gai_sigqueue.c: Likewise.
49207         * resource/getpriority.c: Likewise.
49208         * resource/getrlimit.c: Likewise.
49209         * resource/getrusage.c: Likewise.
49210         * resource/nice.c: Likewise.
49211         * resource/setpriority.c: Likewise.
49212         * resource/setrlimit.c: Likewise.
49213         * resource/ulimit.c: Likewise.
49214         * rt/aio_cancel.c: Likewise.
49215         * rt/aio_fsync.c: Likewise.
49216         * rt/aio_read.c: Likewise.
49217         * rt/aio_sigqueue.c: Likewise.
49218         * rt/aio_suspend.c: Likewise.
49219         * rt/aio_write.c: Likewise.
49220         * rt/clock_getres.c: Likewise.
49221         * rt/clock_gettime.c: Likewise.
49222         * rt/clock_nanosleep.c: Likewise.
49223         * rt/clock_settime.c: Likewise.
49224         * rt/lio_listio.c: Likewise.
49225         * rt/mq_close.c: Likewise.
49226         * rt/mq_getattr.c: Likewise.
49227         * rt/mq_notify.c: Likewise.
49228         * rt/mq_open.c: Likewise.
49229         * rt/mq_receive.c: Likewise.
49230         * rt/mq_send.c: Likewise.
49231         * rt/mq_setattr.c: Likewise.
49232         * rt/mq_timedreceive.c: Likewise.
49233         * rt/mq_timedsend.c: Likewise.
49234         * rt/mq_unlink.c: Likewise.
49235         * rt/shm_open.c: Likewise.
49236         * rt/shm_unlink.c: Likewise.
49237         * rt/timer_create.c: Likewise.
49238         * rt/timer_delete.c: Likewise.
49239         * rt/timer_getoverr.c: Likewise.
49240         * rt/timer_gettime.c: Likewise.
49241         * rt/timer_settime.c: Likewise.
49242         * setjmp/__longjmp.c: Likewise.
49243         * setjmp/setjmp.c: Likewise.
49244         * signal/kill.c: Likewise.
49245         * signal/killpg.c: Likewise.
49246         * signal/raise.c: Likewise.
49247         * signal/sigaction.c: Likewise.
49248         * signal/sigaltstack.c: Likewise.
49249         * signal/sigblock.c: Likewise.
49250         * signal/sigignore.c: Likewise.
49251         * signal/sigintr.c: Likewise.
49252         * signal/signal.c: Likewise.
49253         * signal/sigpause.c: Likewise.
49254         * signal/sigpending.c: Likewise.
49255         * signal/sigqueue.c: Likewise.
49256         * signal/sigreturn.c: Likewise.
49257         * signal/sigset.c: Likewise.
49258         * signal/sigsetmask.c: Likewise.
49259         * signal/sigstack.c: Likewise.
49260         * signal/sigsuspend.c: Likewise.
49261         * signal/sigtimedwait.c: Likewise.
49262         * signal/sigvec.c: Likewise.
49263         * signal/sigwait.c: Likewise.
49264         * signal/sigwaitinfo.c: Likewise.
49265         * signal/sysv_signal.c: Likewise.
49266         * socket/accept.c: Likewise.
49267         * socket/accept4.c: Likewise.
49268         * socket/bind.c: Likewise.
49269         * socket/connect.c: Likewise.
49270         * socket/getpeername.c: Likewise.
49271         * socket/getsockname.c: Likewise.
49272         * socket/getsockopt.c: Likewise.
49273         * socket/isfdtype.c: Likewise.
49274         * socket/listen.c: Likewise.
49275         * socket/recv.c: Likewise.
49276         * socket/recvfrom.c: Likewise.
49277         * socket/recvmsg.c: Likewise.
49278         * socket/send.c: Likewise.
49279         * socket/sendmsg.c: Likewise.
49280         * socket/sendto.c: Likewise.
49281         * socket/setsockopt.c: Likewise.
49282         * socket/shutdown.c: Likewise.
49283         * socket/sockatmark.c: Likewise.
49284         * socket/socket.c: Likewise.
49285         * socket/socketpair.c: Likewise.
49286         * stdio-common/ctermid.c: Likewise.
49287         * stdio-common/cuserid.c: Likewise.
49288         * stdio-common/remove.c: Likewise.
49289         * stdio-common/rename.c: Likewise.
49290         * stdio-common/renameat.c: Likewise.
49291         * stdio-common/tempname.c: Likewise.
49292         * stdlib/getcontext.c: Likewise.
49293         * stdlib/makecontext.c: Likewise.
49294         * stdlib/setcontext.c: Likewise.
49295         * stdlib/swapcontext.c: Likewise.
49296         * stdlib/system.c: Likewise.
49297         * streams/fattach.c: Likewise.
49298         * streams/fdetach.c: Likewise.
49299         * streams/getmsg.c: Likewise.
49300         * streams/getpmsg.c: Likewise.
49301         * streams/putmsg.c: Likewise.
49302         * streams/putpmsg.c: Likewise.
49303         * sysdeps/unix/bsd/getpt.c: Likewise.
49304         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
49305         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
49306         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
49307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
49308         Likewise.
49309         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
49310         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
49311         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
49312         * sysvipc/msgctl.c: Likewise.
49313         * sysvipc/msgget.c: Likewise.
49314         * sysvipc/msgrcv.c: Likewise.
49315         * sysvipc/msgsnd.c: Likewise.
49316         * sysvipc/semctl.c: Likewise.
49317         * sysvipc/semget.c: Likewise.
49318         * sysvipc/semop.c: Likewise.
49319         * sysvipc/semtimedop.c: Likewise.
49320         * sysvipc/shmat.c: Likewise.
49321         * sysvipc/shmctl.c: Likewise.
49322         * sysvipc/shmdt.c: Likewise.
49323         * sysvipc/shmget.c: Likewise.
49324         * termios/tcdrain.c: Likewise.
49325         * termios/tcflow.c: Likewise.
49326         * termios/tcflush.c: Likewise.
49327         * termios/tcgetattr.c: Likewise.
49328         * termios/tcgetpgrp.c: Likewise.
49329         * termios/tcsendbrk.c: Likewise.
49330         * termios/tcsetattr.c: Likewise.
49331         * termios/tcsetpgrp.c: Likewise.
49332         * time/adjtime.c: Likewise.
49333         * time/clock.c: Likewise.
49334         * time/getitimer.c: Likewise.
49335         * time/gettimeofday.c: Likewise.
49336         * time/setitimer.c: Likewise.
49337         * time/settimeofday.c: Likewise.
49338         * time/stime.c: Likewise.
49339         * time/time.c: Likewise.
49341 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
49343         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
49344         /usr/old/bin.
49346         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
49347         instead of spaces.
49348         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
49350 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
49352         [BZ #14796]
49353         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
49354         FE_TONEAREST before applying Dekker multiplication and Knuth
49355         addition.  Clear inexact exceptions and check for exact zero
49356         results afterwards.
49357         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49358         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
49359         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49360         * math/libm-test.inc (fma_test): Add more tests.
49361         (fma_test_towardzero): Likewise.
49362         (fma_test_downward): Likewise.
49363         (fma_test_upward): Likewise.
49364         * sysdeps/generic/math_private.h (default_libc_fesetround): New
49365         function.
49366         (libc_fesetround): New macro.
49367         (libc_fesetroundf): Likewise.
49368         (libc_fesetroundl): Likewise.
49369         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
49370         function.
49371         (libc_fesetround_387): Likewise.
49372         (libc_fesetroundf): New macro.
49373         (libc_fesetround): Likewise.
49374         (libc_fesetroundl): Likewise.
49375         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
49376         function.
49377         (libc_fesetroundf): New macro.
49378         (libc_fesetround): Likewise.
49379         (libc_fesetroundl): Likewise.
49380         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
49381         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
49382         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
49383         libm_hidden_ver.
49384         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
49385         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
49386         libm_hidden_def.
49387         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
49388         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
49389         libm_hidden_ver.
49390         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
49391         libm_hidden_def.
49393         [BZ #3439]
49394         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
49395         integer constant usable in #if and use that to give value to enum
49396         constant.
49397         (FE_DIVBYZERO): Likewise.
49398         (FE_UNDERFLOW): Likewise.
49399         (FE_OVERFLOW): Likewise.
49400         (FE_INVALID): Likewise.
49401         (FE_INVALID_SNAN): Likewise.
49402         (FE_INVALID_ISI): Likewise.
49403         (FE_INVALID_IDI): Likewise.
49404         (FE_INVALID_ZDZ): Likewise.
49405         (FE_INVALID_IMZ): Likewise.
49406         (FE_INVALID_COMPARE): Likewise.
49407         (FE_INVALID_SOFTWARE): Likewise.
49408         (FE_INVALID_SQRT): Likewise.
49409         (FE_INVALID_INTEGER_CONVERSION): Likewise.
49410         (FE_TONEAREST): Likewise.
49411         (FE_TOWARDZERO): Likewise.
49412         (FE_UPWARD): Likewise.
49413         (FE_DOWNWARD): Likewise.
49414         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
49415         (FE_DIVBYZERO): Likewise.
49416         (FE_OVERFLOW): Likewise.
49417         (FE_UNDERFLOW): Likewise.
49418         (FE_INEXACT): Likewise.
49419         (FE_TONEAREST): Likewise.
49420         (FE_DOWNWARD): Likewise.
49421         (FE_UPWARD): Likewise.
49422         (FE_TOWARDZERO): Likewise.
49423         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
49424         (FE_UNDERFLOW): Likewise.
49425         (FE_OVERFLOW): Likewise.
49426         (FE_DIVBYZERO): Likewise.
49427         (FE_INVALID): Likewise.
49428         (FE_TONEAREST): Likewise.
49429         (FE_TOWARDZERO): Likewise.
49430         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
49431         (FE_OVERFLOW): Likewise.
49432         (FE_UNDERFLOW): Likewise.
49433         (FE_DIVBYZERO): Likewise.
49434         (FE_INEXACT): Likewise.
49435         (FE_TONEAREST): Likewise.
49436         (FE_TOWARDZERO): Likewise.
49437         (FE_UPWARD): Likewise.
49438         (FE_DOWNWARD): Likewise.
49439         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
49440         (FE_DIVBYZERO): Likewise.
49441         (FE_OVERFLOW): Likewise.
49442         (FE_UNDERFLOW): Likewise.
49443         (FE_INEXACT): Likewise.
49444         (FE_TONEAREST): Likewise.
49445         (FE_DOWNWARD): Likewise.
49446         (FE_UPWARD): Likewise.
49447         (FE_TOWARDZERO): Likewise.
49449 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
49451         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
49453 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
49455         * scripts/cross-test-ssh.sh (command): Use newlines to separate
49456         commands.  Quote $PWD.
49457         (blacklist_exports): Don't use remove_newlines.  Replace "declare
49458         -x" by "export".
49459         (remove_newlines): Remove.
49461 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
49463         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
49464         * stdlib/stdlib.h (atof): Moved to ...
49465         * include/bits/stdlib-float.h: Here.  New file.
49466         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
49467         * stdlib/bits/stdlib-float.h: New file.
49468         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
49469         -mno-sse -mno-mmx.
49470         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
49471         <xmmintrin.h>.
49473 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
49475         * conform/conformtest.pl (@headers): Add fenv.h.
49476         * conform/data/fenv.h-data: New file.
49477         * include/fenv.h [_ISOMAC]: Disable all contents of file except
49478         include of <math/fenv.h>.
49480         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
49481         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
49482         && !UNIX98].  Enables tests for XOPEN2K8.
49483         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
49484         POSIX2008]: Likewise.
49486         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
49487         (struct rusage): Do not expect type or its members.
49489         [BZ #3439]
49490         * math/math.h (FP_NAN): Define macro to integer constant usable in
49491         #if and use that to give value to enum constant.
49492         (FP_INFINITE): Likewise.
49493         (FP_ZERO): Likewise.
49494         (FP_SUBNORMAL): Likewise.
49495         (FP_NORMAL): Likewise.
49497 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
49499         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
49500         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
49501         arguments.
49503 2012-11-02  Roland McGrath  <roland@hack.frob.com>
49505         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
49506         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
49507         autoconf-time if not.
49508         * configure.in: Remove AC_PREREQ.
49510 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49512         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
49513         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
49514         of the internal implementation.
49516 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
49518         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
49519         except include of <misc/sys/syslog.h>.
49521 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
49523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
49524         function returns with a NULL context exit with zero.
49526 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49528         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
49530 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
49532         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
49533         (run_program_cmd): This.
49534         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
49535         (tst_langinfo): New variable.  Use it.
49537 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
49539         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
49540         floating point opcodes.
49542 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
49544         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
49545         variable.
49547         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
49549         * sysdeps/mach/hurd/powerpc: Remove directory.
49550         * sysdeps/mach/powerpc: Likewise.
49552 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
49554         * scripts/check-local-headers.sh: Ignore c++ headers.
49556 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
49558         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
49559         __libc_cleanup_region_start argument.
49561 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
49563         [BZ #14784]
49564         [BZ #14785]
49565         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
49566         x * y using scaling, not as x * y + z.
49567         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49568         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49569         * math/libm-test.inc (fma_test): Add more tests.
49570         (fma_test_towardzero): Likewise.
49571         (fma_test_downward): Likewise.
49572         (fma_test_upward): Likewise.
49574 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
49576         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
49578 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
49580         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
49581         New variable.
49583 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
49585         * rt/tst-shm.c (worker): Correct checking for mmap failure.
49587 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
49589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49590         Fix sort order.
49591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49592         Likewise.
49594 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49597         Fix the order of the list for glibc 2.17.
49598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49599         Likewise.
49601 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
49603         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49605 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
49607         [BZ #14610]
49608         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
49609         for low part of x being zero before using __atanl (y).
49610         * math/libm-test.inc (atan2_test): Add another test.
49612         * manual/install.texi (Configuring and compiling): Document
49613         general use of test-wrapper and test-wrapper-env.
49614         * INSTALL: Regenerated.
49616         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
49617         (__fma): Do not extract and scale down low bits on after-rounding
49618         systems when result rounded to normal precision would have normal
49619         exponent.
49620         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
49621         (__fmal): Do not extract and scale down low bits on after-rounding
49622         systems when result rounded to normal precision would have normal
49623         exponent.
49624         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
49625         (__fmal): Do not extract and scale down low bits on after-rounding
49626         systems when result rounded to normal precision would have normal
49627         exponent.
49628         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
49629         macro.
49630         (fma_test): Add more tests.
49631         (fma_test_towardzero): Likewise.
49632         (fma_test_downward): Likewise.
49633         (fma_test_upward): Likewise.
49635 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
49637         * sysdeps/i386/tininess.h: Renamed to ...
49638         * sysdeps/x86/tininess.h: This.
49639         * sysdeps/x86_64/tininess.h: Removed.
49641 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
49643         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
49644         input.  Use $(build-program-cmd).
49645         ($(objpfx)tst-array1-static.out): Likewise.
49646         ($(objpfx)tst-array2.out): Likewise.
49647         ($(objpfx)tst-array3.out): Likewise.
49648         ($(objpfx)tst-array4.out): Likewise.
49649         ($(objpfx)tst-array5.out): Likewise.
49650         ($(objpfx)tst-array5-static.out): Likewise.
49652 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
49654         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
49655         if defined.
49657         * nss/nsswitch.h (nss_interface_function): Provide new
49658         macro for use with NSS functions.
49659         * grp/initgroups.c: Use new macro.
49660         * nss/getXXbyYY.c: Likewise.
49661         * nss/getXXbyYY_r.c: Likewise.
49662         * nss/getXXent.c: Likewise.
49663         * nss/getXXent_r.c: Likewise.
49664         * sysdeps/posix/getaddrinfo.c: Likewise.
49666 2012-10-30  Andreas Jaeger  <aj@suse.de>
49668         * po/ru.po: Update Russion translation from translation project.
49670 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
49672         [BZ #14152]
49673         [BZ #14783]
49674         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
49675         result and shift together with sticky bit instead of replicating
49676         round-to-nearest rounding.
49677         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49678         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49679         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
49680         missing underflow exceptions.
49681         (fma_test_towardzero): Add more tests.
49682         (fma_test_downward): Likewise.
49683         (fma_test_upward): Likewise.
49685         [BZ #14047]
49686         * sysdeps/generic/tininess.h: New file.
49687         * sysdeps/i386/tininess.h: Likewise.
49688         * sysdeps/sh/tininess.h: Likewise.
49689         * sysdeps/x86_64/tininess.h: Likewise.
49690         * stdlib/tst-strtod-underflow.c: Likewise.
49691         * stdlib/tst-tininess.c: Likewise.
49692         * stdlib/strtod_l.c: Include <tininess.h>.
49693         (round_and_return): Do not set errno for exact underflow cases.
49694         Force an underflow exception when setting errno for underflow.
49695         Determine underflow based on rounding to normal precision if
49696         TININESS_AFTER_ROUNDING.
49697         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
49698         ERANGE for exact underflow cases.
49699         * stdlib/Makefile (tests): Add tst-tininess and
49700         tst-strtod-underflow.
49701         ($(objpfx)tst-tininess): Use $(link-libm).
49702         ($(objpfx)tst-strtod-underflow): Likewise.
49704 2012-10-30  Andreas Jaeger  <aj@suse.de>
49706         [BZ#14767]
49707         * elf/Makefile (tests): Remove conditional for have-initfini-array
49708         since this is now always required and the variable does not exist
49709         anymore.
49710         (tests-static): Likewise.
49711         (modules-names): Likewise.
49713         * po/eo.po: Add Esperanto translation from translation project.
49715         * elf/tst-array1.c (fini_array): Make writeable so that it can be
49716         merged with constructor/destructor.
49717         (init_array): Likewise.
49718         * elf/tst-array2dep.c (fini_array): Likewise.
49719         (init_array): Likewise.
49721 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
49723         * manual/message.texi: Delete @cartouche tags.
49725 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
49727         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
49728         EOPNOTSUPP.
49729         * sysdeps/mach/hurd/fsync.c: Likewise.
49731         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
49732         [_POSIX_REALTIME_SIGNALS]: Change condition to
49733         [_POSIX_REALTIME_SIGNALS > 0].
49735 2012-10-27  Andreas Jaeger  <aj@suse.de>
49737         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
49738         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
49739         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
49740         [__WORDSIZE != 64]: Likewise.
49742 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
49744         *  iconvdata/tst-table.sh: Remove ${SHELL}.
49745         *  iconvdata/tst-tables.sh: Likewise.
49747 2012-10-25  David S. Miller  <davem@davemloft.net>
49749         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49750         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
49751         of strtoull.
49753         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
49754         ifunc-impl-list.c
49755         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49756         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
49757         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
49758         file.
49760 2012-10-25  Roland McGrath  <roland@hack.frob.com>
49762         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49763         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
49764         __getdirentries.
49766 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
49767             Jim Blandy  <jimb@codesourcery.com>
49769         * scripts/cross-test-ssh.sh: New file.
49770         * manual/install.texi (Configuring and compiling): Document use of
49771         cross-test-ssh.sh.
49772         * INSTALL: Regenerated.
49774 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
49776         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
49777         EOPNOTSUPP.
49779 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
49781         * Makeconfig (run-program-prefix): Fix comment.
49783 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
49784             Jim Blandy  <jimb@codesourcery.com>
49786         * Makeconfig (test-wrapper): New variable,
49787         (test-wrapper-env): Likewise.
49788         [$(cross-compiling) = yes && $(test-wrapper) != ""]
49789         (run-built-tests): Define to yes.
49790         (run-program-prefix): Use $(test-wrapper).
49791         (built-program-cmd): Likewise.
49792         * Rules (make-test-out): Use $(test-wrapper-env) and
49793         $(host-built-program-cmd).
49794         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
49795         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
49796         tst-pathopt.sh.
49797         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
49798         $(test-wrapper-env) to tst-rtld-load-self.sh.
49799         ($(objpfx)order2.out): Use $(test-wrapper).
49800         ($(objpfx)tst-initorder.out): Likewise.
49801         ($(objpfx)tst-initorder2.out): Likewise.
49802         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
49803         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
49804         (test_wrapper_env): New variable.  Use it to run ld.so.
49805         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
49806         Use it to run ld.so.
49807         (test_wrapper_env): Likewise.
49808         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
49809         $(test-wrapper) to run-iconv-test.sh.
49810         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
49811         (ICONV): Use $test_wrapper.
49812         * posix/Makefile ($(objpfx)globtest.out): Pass
49813         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
49814         globtest.sh, not $(run-program-prefix).
49815         * posix/globtest.sh (run_via_rtld_prefix): New variable.
49816         (test_wrapper): Likewise.
49817         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
49818         set together with run_via_rtld_prefix.
49819         (run_program_prefix): Define in terms of test_wrapper and
49820         run_via_rtld_prefix.
49822 2012-10-24  Roland McGrath  <roland@hack.frob.com>
49824         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
49825         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
49826         Targets removed.
49828         [BZ #14743]
49829         * include/time.h: Remove librt_hidden_proto (clock_gettime).
49830         Declare __clock_getres, __clock_gettime, __clock_settime,
49831         __clock_nanosleep, and __clock_getcpuclockid.
49832         * rt/clock_gettime.c: Define __clock_gettime as an alias.
49833         Remove librt_hidden_def (clock_gettime).
49834         * sysdeps/unix/clock_gettime.c: Likewise.
49835         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
49836         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
49837         * rt/clock_getres.c: Define __clock_getres as an alias.
49838         * sysdeps/posix/clock_getres.c: Likewise.
49839         * rt/clock_settime.c: Define __clock_settime as an alias.
49840         * sysdeps/unix/clock_settime.c: Likewise.
49841         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
49842         * sysdeps/unix/clock_nanosleep.c: Likewise.
49843         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
49844         * rt/clock-compat.c: New file.
49845         * rt/Makefile (librt-routines): Add clock-compat and move
49846         $(clock-routines) to ...
49847         (routines): ... here, new variable.
49848         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
49849         Don't add get_clockfreq here.
49850         * rt/Versions (libc: GLIBC_2.17): New version set.
49851         Add clock_* symbols here.
49852         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
49853         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
49854         (GLIBC_2.17): Add clock_* symbols.
49855         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
49856         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
49857         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
49858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49859         Likewise.
49860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49861         Likewise.
49862         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
49863         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
49864         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
49865         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
49866         * NEWS: Mention the move.
49868         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
49869         Use __open, __read, __close rather than their public counterparts.
49870         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49871         (__get_clockfreq_via_cpuinfo): Likewise.
49872         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
49873         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
49875         * config.h.in (HAVE_IFUNC): New #undef.
49876         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
49877         was successful.
49878         * configure: Regenerated.
49880 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
49882         * configure.in: Move READELF check to start of file.
49883         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
49884         libc_cv_asm_gnu_indirect_function in the process.
49885         * configure: Regenerated.
49887 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
49889         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
49890         send the output to /dev/null.
49891         (libc_cv_cc_with_libunwind): Likewise.
49892         (libc_cv_as_noexecstack): Likewise.
49893         * configure: Regenerate.
49895 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
49897         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
49899         * posix/globtest.sh (TMPDIR): Do not set.
49900         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
49901         (testout): Likewise.
49903 2012-10-24  Andreas Jaeger  <aj@suse.de>
49905         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
49906         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
49907         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
49908         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
49909         posix_fadvise64, posix_fallocate64.
49911         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
49912         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
49913         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
49914         Likewise.
49915         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
49916         Likewise.
49917         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
49919         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
49920         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
49921         <bits/fcntl-linux.h>.
49922         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
49924         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
49925         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
49926         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
49927         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
49928         [__WORDSIZE != 64]: Likewise.
49930 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
49932         * Makeconfig (run-built-tests): New variable.
49933         * Rules [$(cross-compiling) = yes]: Change condition to
49934         [$(run-built-tests) = no].
49935         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
49936         to [$(run-built-tests) = yes].
49937         * elf/Makefile [$(cross-compiling) = no]: Likewise
49938         * grp/Makefile [$(cross-compiling) = no]: Likewise.
49939         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
49940         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
49941         * intl/Makefile [$(cross-compiling) = no]: Likewise.
49942         * io/Makefile [$(cross-compiling) = no]: Likewise.
49943         * libio/Makefile [$(cross-compiling) = no]: Likewise.
49944         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
49945         * misc/Makefile [$(cross-compiling) = no]: Likewise.
49946         * posix/Makefile [$(cross-compiling) = no]: Likewise.
49947         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
49948         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
49949         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
49950         * string/Makefile [$(cross-compiling) = no]: Likewise.
49952         * posix/Makefile ($(objpfx)globtest.out): Pass
49953         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
49954         $(rtld-installed-name).
49955         * posix/globtest.sh (elf_objpfx): Remove variable.
49956         (rtld_installed_name): Likewise.
49957         (library_path): Likewise.
49958         (run_program_prefix): New variable.  Use for running globtest
49959         binary.
49961 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
49962             Joseph Myers  <joseph@codesourcery.com>
49964         * Makeconfig (host-built-program-cmd): New variable.
49965         * elf/Makefile (tst-stackguard1-ARGS): Use
49966         $(host-built-program-cmd).
49967         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
49968         (tst-spawn-ARGS): Likewise.
49969         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
49971 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
49972             Jim Blandy  <jimb@codesourcery.com>
49974         * Makeconfig (run-via-rtld-prefix): New variable.
49975         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
49976         (built-program-cmd): Likewise.
49978 2012-10-22  Andreas Jaeger  <aj@suse.de>
49980         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
49981         __O_RSYNC if it exists, otherwise to O_SYNC.
49983 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
49984             Joseph Myers  <joseph@codesourcery.com>
49986         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
49987         /dev/null.
49988         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
49989         from /dev/null
49990         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
49991         /dev/null.
49993 2012-10-22  Andreas Jaeger  <aj@suse.de>
49995         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
49996         Define always.
49997         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
49999         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50000         bits/fcntl-linux.h.
50002         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
50003         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
50005         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
50006         to __O_LARGEFILE.
50007         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
50008         to __O_LARGEFILE.
50010 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
50011             Joseph Myers  <joseph@codesourcery.com>
50013         * config.make.in (NM): New variable.
50015 2012-10-21  Andreas Jaeger  <aj@suse.de>
50017         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
50018         definitions and declarations that are provided by
50019         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
50021 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
50023         [BZ #14683]
50024         * elf/Makefile (tests-static): Add tst-leaks1-static.
50025         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
50026         ($(objpfx)tst-leaks1-static): New rule.
50027         ($(objpfx)tst-leaks1-static-mem): Likewise.
50028         (tst-leaks1-static-ENV): New macro.
50029         * elf/dl-open.c (dl_open_worker): Check the main application
50030         only if SHARED is defined.
50031         * elf/tst-leaks1-static.c: New file.
50033 2012-10-20  Andreas Jaeger  <aj@suse.de>
50035         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
50036         generic values for Linux.
50037         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
50038         and declarations that are provided by <bits/fcntl-linux.h> and
50039         include <bits/fcntl-linux.h>.
50040         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50041         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50043 2012-10-20  Roland McGrath  <roland@hack.frob.com>
50045         * io/fcntl.h: Move include of <bits/types.h> to the top and
50046         include it unconditionally.
50048 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
50050         * wcsmbs/Makefile (tests-ifunc): New variable.
50051         (tests): Add $(tests-ifunc).
50052         * wcsmbs/test-wcschr-ifunc.c: New file.
50053         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
50054         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
50055         * wcsmbs/test-wcslen-ifunc.c: Likewise.
50056         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
50057         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
50059         * string/Makefile (tests-ifunc): New variable.
50060         (tests): Add $(tests-ifunc).
50061         * string/test-memccpy.c (TEST_NAME): New macro.
50062         * string/test-memchr.c (TEST_NAME): Likewise.
50063         * string/test-memcmp.c (TEST_NAME): Likewise.
50064         * string/test-memcpy.c (TEST_NAME): Likewise.
50065         * string/test-memmem.c (TEST_NAME): Likewise.
50066         * string/test-memmove.c (TEST_NAME): Likewise.
50067         * string/test-memset.c (TEST_NAME): Likewise.
50068         * string/test-rawmemchr.c (TEST_NAME): Likewise.
50069         * string/test-stpcpy.c (TEST_NAME): Likewise.
50070         * string/test-stpncpy.c (TEST_NAME): Likewise.
50071         * string/test-strcasecmp.c (TEST_NAME): Likewise.
50072         * string/test-strcasestr.c (TEST_NAME): Likewise.
50073         * string/test-strcat.c (TEST_NAME): Likewise.
50074         * string/test-strchr.c (TEST_NAME): Likewise.
50075         * string/test-strcmp.c(TEST_NAME): Likewise.
50076         * string/test-strcpy.c (TEST_NAME): Likewise.
50077         * string/test-strcspn.c (TEST_NAME): Likewise.
50078         * string/test-strlen.c (TEST_NAME): Likewise.
50079         * string/test-strncasecmp.c (TEST_NAME): Likewise.
50080         * string/test-strncmp.c (TEST_NAME): Likewise.
50081         * string/test-strncpy.c (TEST_NAME): Likewise.
50082         * string/test-strnlen.c (TEST_NAME): Likewise.
50083         * string/test-strpbrk.c (TEST_NAME): Likewise.
50084         * string/test-strrchr.c (TEST_NAME): Likewise.
50085         * string/test-strspn.c (TEST_NAME): Likewise.
50086         * string/test-strstr.c (TEST_NAME): Likewise.
50087         * string/test-bcopy-ifunc.c: New file.
50088         * string/test-bzero-ifunc.c: Likewise.
50089         * string/test-memccpy-ifunc.c: Likewise.
50090         * string/test-memchr-ifunc.c: Likewise.
50091         * string/test-memcmp-ifunc.c: Likewise.
50092         * string/test-memcpy-ifunc.c: Likewise.
50093         * string/test-memmem-ifunc.c: Likewise.
50094         * string/test-memmove-ifunc.c: Likewise.
50095         * string/test-mempcpy-ifunc.c: Likewise.
50096         * string/test-memset-ifunc.c: Likewise.
50097         * string/test-rawmemchr-ifunc.c: Likewise.
50098         * string/test-stpcpy-ifunc.c: Likewise.
50099         * string/test-stpncpy-ifunc.c: Likewise.
50100         * string/test-strcasecmp-ifunc.c: Likewise.
50101         * string/test-strcasestr-ifunc.c: Likewise.
50102         * string/test-strcat-ifunc.c: Likewise.
50103         * string/test-strchr-ifunc.c: Likewise.
50104         * string/test-strchrnul-ifunc.c: Likewise.
50105         * string/test-strcmp-ifunc.c: Likewise.
50106         * string/test-strcpy-ifunc.c: Likewise.
50107         * string/test-strcspn-ifunc.c: Likewise.
50108         * string/test-strlen-ifunc.c: Likewise.
50109         * string/test-strncasecmp-ifunc.c: Likewise.
50110         * string/test-strncat-ifunc.c: Likewise.
50111         * string/test-strncmp-ifunc.c: Likewise.
50112         * string/test-strncpy-ifunc.c: Likewise.
50113         * string/test-strnlen-ifunc.c: Likewise.
50114         * string/test-strpbrk-ifunc.c: Likewise.
50115         * string/test-strrchr-ifunc.c: Likewise.
50116         * string/test-strspn-ifunc.c: Likewise.
50117         * string/test-strstr-ifunc.c: Likewise.
50119         * debug/Makefile (tests-ifunc): New variable.
50120         (tests): Add $(tests-ifunc).
50121         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
50122         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
50123         * debug/test-stpcpy_chk-ifunc.c: New file.
50124         * debug/test-strcpy_chk-ifunc.c: Likewise.
50126 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
50128         [BZ #13601]
50129         * elf/dl-load.c (open_verify): Retry read if the entire ELF
50130         header is not read in.
50132 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
50134         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
50135         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
50136         directly.  Pass built executable to script as
50137         $(built-program-cmd).
50138         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
50139         $testprogram without using LD_LIBRARY_PATH and $ldso.
50141         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
50142         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
50143         $(rtld-installed-name).
50144         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
50145         (rtld_installed_name): Likewise.
50146         (library_path): Likewise.
50147         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
50148         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
50149         $(run-program-prefix) to tst-tables.sh.
50150         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
50151         it to run tst-table-from and tst-table-to.
50152         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
50153         Pass it to tst-table.sh.
50154         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
50155         $(run-program-prefix) to tst-gettext.sh.
50156         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
50157         tst-translit.sh.
50158         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
50159         tst-gettext2.sh.
50160         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
50161         to run tst-gettext.
50162         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
50163         to run tst-gettext2.
50164         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
50165         to run tst-translit.
50166         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
50167         $(run-program-prefix) to tst-mtrace.sh.
50168         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
50169         to run tst-mtrace.
50170         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
50171         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
50172         $(rtld-installed-name).
50173         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
50174         (rtld_installed_name): Likewise.
50175         (run_program_prefix): New variable.  Use it to run wordexp-test.
50177         * Makeconfig (ARCH): Remove all definitions.
50178         (machine): Likewise.
50179         [ARCH]: Remove conditional code.
50180         [!objdir]: Give error.
50181         [!objdir] (objpfx): Remove.
50182         [!objdir] (common-objpfx): Likewise.
50183         [!objdir] (common-objdir): Likewise.
50184         * configure.in (config_makefile): Remove.  Hardcode Makefile in
50185         AC_CONFIG_FILES call.
50186         * configure: Regenerated.
50188         [BZ #13888]
50189         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
50190         or TMPDIR.
50191         (testout): Likewise.
50193         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
50194         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
50195         $(rtld-installed-name).
50196         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
50197         (rtld_installed_name): Likwise.
50198         (runit): Remove function.
50199         (run_getconf): New variable,  Use it for running getconf binary.
50201 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
50203         [BZ #14716]
50204         * string/test-memmem.c (check_result): New function.
50205         (do_one_test): Use it.
50206         (check1): New function.
50207         (test_main): Use it.
50209 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
50211         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
50213 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
50215         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
50216         (_G_LSEEK64): Likewise.
50217         (_G_MMAP64): Likewise.
50218         (_G_FSTAT64): Likewise.
50219         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
50220         (_G_LSEEK64): Likewise.
50221         (_G_MMAP64): Likewise.
50222         (_G_FSTAT64): Likewise.
50223         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
50224         unconditional.  Call __mmap64 directly.
50225         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
50226         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
50227         __lseek64 directly.
50228         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
50229         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
50230         __mmap64 directly.
50231         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
50232         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
50233         __lseek64 directly.
50234         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
50235         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
50236         __lseek64 directly.
50237         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
50238         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
50239         __lseek64 directly.
50240         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
50241         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
50242         __fxstat64 directly.
50243         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
50244         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
50245         unconditional.
50246         (freopen64) [!_G_OPEN64]: Remove conditional code.
50247         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
50248         unconditional.
50249         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
50250         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
50251         unconditional.
50252         (ftello64) [!_G_LSEEK64]: Remove conditional code.
50253         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
50254         unconditional.
50255         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
50256         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
50257         unconditional.
50258         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
50259         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
50260         unconditional.
50261         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
50262         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
50263         unconditional.
50264         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
50265         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
50266         unconditional.
50267         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
50269 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50271         [BZ #12140]
50272         * manual/memory.texi (Malloc Tunable Parameters): Add note
50273         about free list pointers overwriting some perturb bytes.
50274         Wording suggested by Roland McGrath.
50276 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
50278         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
50279         (lgamma_test): Likewise.
50280         (tgamma_test): Likewise.
50282 2012-10-16  Florian Weimer  <fweimer@redhat.com>
50284         [BZ #14700]
50285         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
50286         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
50288 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
50290         * NEWS: Mention BZ #14716.
50291         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
50292         when removing AVAILABLE1_USES_J macro.
50294 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
50296         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
50297         (__bswap_64): __uint64_t for unsigned 64-bit int.
50299 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
50301         * include/string.h (memmem): Declare libc hidden alias.
50302         * string/memmem.c (memmem): Define libc hidden alias.
50303         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
50304         __read, __close instead of open, read, close.
50306 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
50308         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
50309         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
50310         global and hidden.
50311         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
50312         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
50313         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
50314         Likewise.
50315         (__rawmemchr_sse2): Likewise.
50316         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
50317         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
50318         (__strchr_sse2): Likewise.
50319         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
50320         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
50321         (__strcasecmp_sse2): Likewise.
50322         (__strncasecmp_sse2): Likewise.
50323         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
50324         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
50325         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
50326         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
50327         (__strrchr_sse2): Likewise.
50328         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
50329         ifunc-impl-list.c.
50330         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
50331         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
50332         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
50333         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
50334         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
50335         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
50336         * sysdeps/x86_64/multiarch/memset.S: Likewise.
50337         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
50338         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
50339         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
50340         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
50341         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
50342         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
50343         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
50344         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
50345         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
50346         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
50347         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
50348         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
50349         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
50350         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
50351         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
50352         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
50353         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
50354         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
50355         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50356         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
50357         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
50358         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
50359         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
50361         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
50362         global and hidden.
50363         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
50364         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
50365         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
50366         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
50367         Likewise.
50368         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
50369         Likewise.
50370         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
50371         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
50372         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
50373         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
50374         ifunc-impl-list.c.
50375         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
50376         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
50377         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
50378         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
50379         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
50380         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
50381         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
50382         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
50383         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
50384         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
50385         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
50386         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
50387         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
50388         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
50389         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
50390         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50391         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
50392         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
50393         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
50394         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
50395         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50396         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
50397         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
50398         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
50399         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50400         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
50401         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
50402         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
50403         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
50404         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
50405         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
50406         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
50407         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
50408         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
50409         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
50410         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
50411         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
50412         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
50413         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
50414         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
50415         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
50417         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
50418         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
50419         * include/ifunc-impl-list.h: New file.
50420         * misc/ifunc-impl-list.c: Likewise.
50421         * misc/Makefile (routines): Add ifunc-impl-list.
50422         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
50423         * string/test-string.h: Include <ifunc-impl-list.h>.
50424         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
50425         TEST_NAME]: New variables.
50426         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
50427         are defined.
50428         (test_init): Call __libc_ifunc_impl_list to initialize
50429         func_list if TEST_IFUNC and TEST_NAME are defined.
50431         * string/Makefile (strop-tests): Add bcopy and bzero.
50432         * string/test-bcopy.c: New file.
50433         * string/test-bzero.c: Likewise.
50434         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
50435         defined.
50436         * string/test-memset.c: Support bzero test if TEST_BZERO is
50437         defined.
50438         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
50439         __libc_memmove.
50440         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
50441         __libc_memset.
50442         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
50443         of memset.
50445 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
50447         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
50448         * configure: Regenerated.
50450         * Makeconfig (+link-static-before-libc): Don't include
50451         $(link-static-libc).
50453         * libio/libio.h (_IO_pos_t): Remove.
50455 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
50457         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
50458         McGrath.
50460 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
50462         * crypt/crypt-entry.c: Include fips-private.h.
50463         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
50464         * crypt/md5c-test.c (main): Tolerate disabled MD5.
50465         * sysdeps/unix/sysv/linux/fips-private.h: New file.
50466         * sysdeps/generic/fips-private.h: New file, dummy fallback.
50468 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
50470         * crypt/crypt-private.h: Include stdbool.h.
50471         (_ufc_setup_salt_r): Return bool.
50472         * crypt/crypt-entry.c: Include errno.h.
50473         (__crypt_r): Return NULL with EINVAL for bad salt.
50474         * crypt/crypt_util.c (bad_for_salt): New.
50475         (_ufc_setup_salt_r): Check that salt is long enough and within
50476         the specified alphabet.
50477         * crypt/badsalttest.c: New file.
50478         * crypt/Makefile (tests): Add it.
50479         ($(objpfx)badsalttest): New.
50481 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
50483         * NEWS: Add entry for BZ #14602.
50485 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
50487         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
50488         type-generic.
50489         * math/libm-test.inc: Update comment listing what functions and
50490         macros are tested.
50491         (isgreater_test): New function.
50492         (isgreaterequal_test): Likewise.
50493         (isless_test): Likewise.
50494         (islessequal_test): Likewise.
50495         (islessgreater_test): Likewise.
50496         (isunordered_test): Likewise.
50497         (main): Call the new functions.
50499 2012-10-09  Roland McGrath  <roland@hack.frob.com>
50501         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
50502         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
50503         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
50504         * sysdeps/i386/configure: Regenerated.
50505         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
50506         * sysdeps/mach/configure: Regenerated.
50507         * sysdeps/mach/hurd/configure: Regenerated.
50508         * sysdeps/powerpc/configure: Regenerated.
50509         * sysdeps/powerpc/powerpc32/configure: Regenerated.
50510         * sysdeps/powerpc/powerpc64/configure: Regenerated.
50511         * sysdeps/s390/s390-32/configure: Regenerated.
50512         * sysdeps/s390/s390-64/configure: Regenerated.
50513         * sysdeps/sh/configure: Regenerated.
50514         * sysdeps/sparc/configure: Regenerated.
50515         * sysdeps/unix/sysv/linux/configure: Regenerated.
50516         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
50517         * sysdeps/x86_64/configure: Regenerated.
50519         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
50520         defined.  Don't check if MAP is NULL.
50522 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
50524         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
50525         (_G_stat64): Likewise.
50526         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
50527         (_G_stat64): Likewise.
50528         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
50529         instead of struct _G_stat64.
50530         * libio/fileops.c (mmap_remap_check): Likewise.
50531         (decide_maybe_mmap): Likewise.
50532         (_IO_new_file_seekoff): Likewise.
50533         (_IO_file_stat): Likewise.
50534         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
50535         _G_off64_t.
50536         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
50537         instead of struct _G_stat64.
50538         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
50540 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
50542         [BZ #14602]
50543         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
50544         Replace with ...
50545         (CHECK_EOL): New macro.
50546         (two_way_short_needle): Check beginning of haystack for EOL.  Use
50547         CHECK_EOL.
50548         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
50549         Replace with CHECK_EOL.
50550         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
50551         Replace with CHECK_EOL.
50553 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
50555         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
50556         type-generic.
50557         * math/libm-test.inc: Update comment listing what functions and
50558         macros are tested.
50559         (finite_test): New function.
50560         (isinf_test): Likewise.
50561         (isnan_test): Likewise.
50562         (fpclassify_test): Test subnormal input.
50563         (isfinite_test): Likewise.
50564         (isnormal_test): Likewise.
50565         (main): Call the new functions.
50567 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
50569         [BZ #14660]
50570         * Makerules (%.dynsym): Force C locale when running
50571         $(OBJDUMP) --dynamic-syms.
50573 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
50575         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
50576         <stdint.h>.
50578 2012-10-06  David S. Miller  <davem@davemloft.net>
50580         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
50581         upper 32-bits of the length value in %o2 since we use branch-on-register
50582         tests which consider the entire 64-bit register.
50584 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
50586         * string/test-strstr.c (check2): Add a test for page boundary.
50588 2012-10-05  David S. Miller  <davem@davemloft.net>
50590         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
50591         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
50592         file.
50593         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
50594         sysdep_routines.
50595         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
50596         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
50597         and bzero when HWCAP_SPARC_CRYPTO is present.
50599 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
50601         [BZ #14602]
50602         * string/test-strstr.c (check2): New function.
50603         (test_main): Call check2.
50605         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
50606         and bug-strchr1.
50607         * string/bug-strcasestr1.c (do_test): Moved to ...
50608         * string/test-strcasestr.c (check1): Here.  New function.
50609         (do_one_test): Break out result checking code into ...
50610         (check_result): This.  New function.
50611         (do_one_test): Call check_result.
50612         (test_main): Call check1.
50613         * string/bug-strchr1.c (do_test): Moved to ...
50614         * string/test-strchr.c (check1): Here.  New function.
50615         (do_one_test): Break out result checking code into ...
50616         (check_result): This.  New function.
50617         (do_one_test): Call check_result.
50618         (test_main): Call check1.
50619         * string/bug-strstr1.c (main): Moved to ...
50620         * string/test-strstr.c (check1): Here.  New function.
50621         (do_one_test): Break out result checking code into ...
50622         (check_result): This.  New function.
50623         (do_one_test): Call check_result.
50624         (test_main): Call check1.
50625         * string/bug-strcasestr1.c: Removed.
50626         * string/bug-strchr1.c: Likewise.
50627         * string/bug-strstr1.c: Likewise.
50629         * elf/Makefile (dl-routines): Add hwcaps.
50630         * elf/dl-support.c (_dl_important_hwcaps): Removed.
50631         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
50632         (_dl_important_hwcaps): Moved to ...
50633         * elf/dl-hwcaps.c: Here.  New file.
50634         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
50636         [BZ #14557]
50637         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
50638         if IS_IN_rtld isn't defined.
50640         * elf/dl-support.c (_dl_sysinfo_map): New.
50641         Include "get-dynamic-info.h" and "setup-vdso.h".
50642         (_dl_non_dynamic_init): Call setup_vdso.
50643         * elf/dynamic-link.h: Don't include <assert.h>.
50644         (elf_get_dynamic_info): Moved to ...
50645         * elf/get-dynamic-info.h: Here.  New file.
50646         * elf/dynamic-link.h: Include "get-dynamic-info.h".
50647         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
50648         * elf/setup-vdso.h: Here.  New file.
50649         * elf/rtld.c: Include "setup-vdso.h".
50650         (dl_main): Call setup_vdso.
50652 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
50654         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
50655         creal in comment listing functions tested.  List finite, isinf,
50656         isnan, isless, islessequal, isgreater, isgreaterequal,
50657         islessgreater, isunordered, lgamma_r and pow10 as functions and
50658         macros not tested.  Mention which functions not tested are aliases
50659         for other functions.  Fix typo.  Note that signs of NaNs are not
50660         tested.
50662         * scripts/config.guess: Update from config.git.
50663         * scripts/config.sub: Likewise.
50665 2012-10-04  Roland McGrath  <roland@hack.frob.com>
50667         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
50668         * misc/madvise.c (madvise): Renamed to __madvise.
50669         Make madvise a weak alias.
50670         * include/sys/mman.h: Declare __madvise.
50671         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
50672         * sysdeps/unix/syscalls.list
50673         (madvise): Make __madvise the strong name, and madvise a weak alias.
50674         * sysdeps/unix/sysv/linux/syscalls.list
50675         (madvise, mmap): Remove redundant entries.
50676         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
50677         * malloc/malloc.c (mtrim): Likewise.
50678         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
50680 2012-10-03  Roland McGrath  <roland@hack.frob.com>
50682         * sysdeps/mach/hurd/dl-cache.c: File removed.
50683         * config.h.in (USE_LDCONFIG): New #undef.
50684         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
50685         * configure: Regenerated.
50686         * elf/Makefile (dl-routines): Add dl-cache only under
50687         [$(use-ldconfig) = yes].
50688         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
50689         cache on [USE_LDCONFIG].
50690         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
50691         [USE_LDCONFIG].
50692         * elf/rtld.c (dl_main): Likewise.
50694 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
50696         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
50697         _SC_LEVEL4_CACHE_LINESIZE.
50699 2012-10-03  Roland McGrath  <roland@hack.frob.com>
50701         * sysdeps/unix/bsd/confstr.h: File removed.
50703 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
50705         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
50706         sys/sdt-config.h.
50708 2012-10-02  Roland McGrath  <roland@hack.frob.com>
50710         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
50711         Make 'mapoff' field ElfW(Off) rather than off_t.
50713 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
50715         * nscd/Makefile: Remove nscd-cflags and all its users.
50716         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
50717         (CFLAGS-nonlib): Add compiler flags for nscd modules.
50719         [BZ #10631]
50720         * malloc.c (malloc_printerr): Clarify error message.
50722 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
50724         [BZ #14648]
50725         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50726         Set bit_FMA_Usable if FMA is supported.
50727         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
50728         macro.
50729         (bit_FMA4_Usable): Updated.
50730         (index_FMA_Usable): New macro.
50731         (CPUID_FMA): Likewise
50732         (HAS_FMA): Defined with bit_FMA_Usable.
50734 2012-10-01  Roland McGrath  <roland@hack.frob.com>
50736         * bits/types.h (__swblk_t): Type removed.
50737         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
50738         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
50739         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50740         (__SWBLK_T_TYPE): Likewise.
50741         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
50742         (__SWBLK_T_TYPE): Likewise.
50743         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50744         (__SWBLK_T_TYPE): Likewise.
50745         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50746         (__SWBLK_T_TYPE): Likewise.
50748 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
50749             Honza Horak <hhorak@redhat.com>
50751         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
50752         (xdr_mapname): Use YPMAXMAP as maxsize.
50753         (xdr_peername): Use YPMAXPEER as maxsize.
50754         (xdr_keydat): Use YPAXRECORD as maxsize.
50755         (xdr_valdat): Use YPMAXRECORD as maxsize.
50757 2012-10-01  Roland McGrath  <roland@hack.frob.com>
50759         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
50761         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
50762         * csu/init-first.c: ... here.
50763         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
50764         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
50765         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
50766         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
50767         * sysdeps/i386/init-first.c: File removed.
50768         * sysdeps/sh/init-first.c: File removed.
50770 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
50772         [BZ #14645]
50773         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
50774         if x * y might underflow to zero and z is zero.
50775         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50776         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50777         * math/libm-test.inc (min_subnorm_value): New variable.
50778         (fma_test): Add more tests.
50779         (fma_test_towardzero): Likewise.
50780         (fma_test_downward): Likewise
50781         (fma_test_upward): Likewise.
50782         (initialize): Set min_subnorm_value.
50784 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
50786         [BZ #14638]
50787         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
50788         0 + 0.
50789         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
50790         mode for addition resulting in exact zero.
50791         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
50792         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
50793         exact 0 + 0.
50794         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
50795         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50796         * math/libm-test.inc (fma_test): Add more tests.
50797         (fma_test_towardzero): New function.
50798         (fma_test_downward): Likewise.
50799         (fma_test_upward): Likewise.
50800         (main): Call the new functions.
50802 2012-09-28  David S. Miller  <davem@davemloft.net>
50804         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
50806 2012-09-28  Roland McGrath  <roland@hack.frob.com>
50808         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
50809         instead of SIGALRM.
50811         * sysdeps/gnu/_G_config.h: Moved to ...
50812         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
50813         * sysdeps/mach/hurd/_G_config.h: Moved to ...
50814         * sysdeps/generic/_G_config.h: ... here.
50816         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
50818         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
50820         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
50821         Conditionalize target on [libnss_test1.so-version].
50823         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
50825         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
50826         (elfobjdir): Move out of conditionals.
50828         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
50829         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
50830         (__nss_lookup_function): Conditionalize label remove_from_tree on
50831         [!DO_STATIC_NSS || SHARED], matching its only use.
50833 2012-09-28  David S. Miller  <davem@davemloft.net>
50835         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
50836         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
50837         file.
50838         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
50839         sysdep_routines.
50840         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
50841         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
50842         when HWCAP_SPARC_CRYPTO is present.
50844 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
50846         * io/tst-mknodat.c: Create a FIFO instead of a socket.
50848 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
50850         [BZ #6530]
50851         * stdio-common/vfprintf.c (process_string_arg): Revert
50852         2000-07-22 change.
50854 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
50856         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
50857         for testcase.
50858         * stdio-common/tst-sprintf.c: Include <locale.h>
50859         (main): Test sprintf's handling of incomplete multibyte
50860         characters.
50862 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
50864         * elf/dl-runtime.c (VERSYMIDX): Removed.
50865         * elf/dl-version.c (VERSYMIDX): Likewise.
50866         * elf/do-rel.h (VERSYMIDX): Likewise.
50867         (VALIDX): Likewise.
50868         * elf/dynamic-link.h (VERSYMIDX): Likewise.
50869         * elf/rtld.c (VALIDX): Likewise.
50870         (ADDRIDX): Likewise.
50871         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
50872         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
50873         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
50874         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
50875         (VALIDX): Likewise.
50876         (ADDRIDX): Likewise.
50878 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
50880         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
50882 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
50884         [BZ #11438]
50885         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
50886         to global scope.
50887         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
50888         addresses are in the same scope as 192.0.2/24.
50889         * posix/gai.conf: Document new scope table defaults.
50891 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50893         [BZ #5298]
50894         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
50895         for ftell.  Compute offsets from write pointers instead.
50896         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
50898 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50900         [BZ #14543]
50901         * libio/Makefile (tests): New test case tst-fseek.
50902         * libio/tst-fseek.c: New test case to verify that fseek/ftell
50903         combination works in wide mode.
50904         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
50905         state when the external buffer state changes.
50907 2012-09-27  David S. Miller  <davem@davemloft.net>
50909         [BZ #14376]
50910         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
50911         pass reloc->r_addend in as the 'high' argument to
50912         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
50914         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50916 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
50918         * rt/tst-aio2.c: Include <pthread.h>.
50919         * rt/tst-aio3.c: Likewise.
50921 2012-09-27  Steve Ellcey  <sellcey@mips.com>
50923         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
50925 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
50927         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
50928         contents on [SHARED].
50930 2012-09-26  Marek Polacek  <polacek@redhat.com>
50932         [BZ #14530]
50933         [BZ #13741]
50934         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
50935         for C++ and GCC <4.3 as well as for non GCC compilers.
50937 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
50939         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50941 2012-09-25  Roland McGrath  <roland@hack.frob.com>
50943         * Makefile.in (all, install): Declare with .PHONY.
50944         Reported by Michael Hope <michael.hope@linaro.org>.
50946 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50948         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
50949         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
50950         system header.
50951         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
50952         Likewise.
50953         (sydep_routines): Add the new and the internal functions.
50954         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
50955         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
50956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
50957         (GLIBC_2.17): Add the new function.
50958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
50959         (GLIBC_2.17): Likewise.
50960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
50961         (GLIBC_2.17): Likewise.
50962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
50963         (GLIBC_2.17): Likewise.
50964         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
50966 2012-09-25  Alan Modra  <amodra@gmail.com>
50968         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
50969         Add release barrier before setting once_control to say
50970         initialisation is done.  Add hints on lwarx.  Use macro in
50971         place of isync.
50972         (clear_once_control): Add release barrier.
50974 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
50976         [BZ #13629]
50977         * math/s_clog.c (__clog): Handle more values close to |z| = 1
50978         specially.
50979         * math/s_clog10.c (__clog10): Likewise.
50980         * math/s_clog10f.c (__clog10f): Likewise.
50981         * math/s_clog10l.c (__clog10l): Likewise.
50982         * math/s_clogf.c (__clogf): Likewise.
50983         * math/s_clogl.c (__clogl): Likewise.
50984         * math/Makefile (libm-calls): Add x2y2m1.
50985         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
50986         (__x2y2m1): Likewise.
50987         (__x2y2m1l): Likewise.
50988         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
50989         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
50990         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
50991         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
50992         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
50993         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
50994         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
50995         * sysdeps/i386/fpu/libm-test-ulps: Update.
50996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50998         [BZ #14621]
50999         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
51000         int as type of variable DEPTH.
51001         (glob): Use size_t instead of int as type of variables NEWCOUNT
51002         and OLD_PATHC.
51004 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51006         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
51007         Add s_sincosf-sse2.
51008         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
51009         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
51010         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
51011         macros for using routine as __sincosf_ia32.
51012         Use macro for function declaration and weak_alias.
51013         * sysdeps/i386/fpu/libm-test-ulps: Update.
51015         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
51016         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51018         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
51019         subnormal argument.
51020         * math/s_cexpf.c (__cexpf): Likewise.
51021         * math/s_csinf.c (__csinf): Likewise.
51022         * math/s_csinhf.c (__csinhf): Likewise.
51023         * math/s_ctanf.c (__ctanf): Likewise.
51024         * math/s_ctanhf.c (__ctanhf): Likewise.
51025         * math/s_ccosh.c (__ccoshf): Likewise.
51026         * math/s_cexp.c (__cexpl): Likewise.
51027         * math/s_csin.c (__csin): Likewise.
51028         * math/s_csinh.c (__csinh): Likewise.
51029         * math/s_ctan.c (__ctan): Likewise.
51030         * math/s_ctanh.c (ctanh): Likewise.
51031         * math/s_ccoshl.c (__ccoshl): Likewise.
51032         * math/s_cexpl.c (__cexpl): Likewise.
51033         * math/s_csinl.c (__csinl): Likewise.
51034         * math/s_csinhl.c (__csinhl): Likewise.
51035         * math/s_ctanl.c (__ctanl): Likewise.
51036         * math/s_ctanhl.c (__ctanhl): Likewise.
51038 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
51040         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
51041         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
51042         (_IO_off_t): Define to __off_t, not _G_off_t.
51043         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
51044         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
51045         (_IO_wint_t): Define to wint_t, not _G_wint_t.
51046         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
51047         type of __dummy and __dummy2 fields.
51048         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
51049         (_G_ssize_t): Likewise.
51050         (_G_off_t): Likewise.
51051         (_G_pid_t): Likewise.
51052         (_G_uid_t): Likewise.
51053         (_G_wchar_t): Likewise.
51054         (_G_wint_t): Likewise.
51055         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
51056         (_G_ssize_t): Likewise.
51057         (_G_off_t): Likewise.
51058         (_G_pid_t): Likewise.
51059         (_G_uid_t): Likewise.
51060         (_G_wchar_t): Likewise.
51061         (_G_wint_t): Likewise.
51062         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
51063         (_G_ssize_t): Likewise.
51064         (_G_off_t): Likewise.
51065         (_G_pid_t): Likewise.
51066         (_G_uid_t): Likewise.
51067         (_G_wchar_t): Likewise.
51068         (_G_wint_t): Likewise.
51070 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51072         * malloc/arena.c: Include malloc-sysdep.h.
51073         (shrink_heap): Use check_may_shrink_heap to decide if madvise
51074         is sufficient to shrink the heap or an unmap is needed.
51075         * sysdeps/generic/malloc-sysdep.h: New file.  Define
51076         new function check_may_shrink_heap.
51077         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
51078         new function check_may_shrink_heap.
51080 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51082         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
51083         comments.
51085 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
51087         * catgets/test-gencat.sh: Add "set -e".
51088         * elf/tst-pathopt.sh: Likewise.
51089         * grp/tst_fgetgrent.sh: Likewise.
51090         * iconvdata/run-iconv-test.sh: Likewise.
51091         * intl/tst-gettext.sh: Likewise.
51092         * intl/tst-gettext2.sh: Likewise.
51093         * intl/tst-gettext4.sh: Likewise.
51094         * intl/tst-gettext6.sh: Likewise.
51095         * intl/tst-translit.sh: Likewise.
51096         * io/ftwtest-sh: Likewise.
51097         * libio/test-freopen.sh: Likewise.
51098         * malloc/tst-mtrace.sh: Likewise.
51099         * posix/globtest.sh: Likewise.
51100         * posix/tst-getconf.sh: Likewise.
51101         * posix/wordexp-tst.sh: Likewise.
51102         * stdio-common/tst-printf.sh: Likewise.
51103         * stdio-common/tst-unbputc.sh: Likewise.
51104         * stdlib/tst-fmtmsg.sh: Likewise.
51105         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
51106         * catgets/Makefile: Do not specify -e option when running
51107         testsuite shell scripts.
51108         * elf/Makefile: Likewise.
51109         * grp/Makefile: Likewise.
51110         * iconvdata/Makefile: Likewise.
51111         * intl/Makefile: Likewise.
51112         * io/Makefile: Likewise.
51113         * libio/Makefile: Likewise.
51114         * malloc/Makefile: Likewise.
51115         * posix/Makefile: Likewise.
51116         * stdio-common/Makefile: Likewise.
51117         * stdlib/Makefile: Likewise.
51118         * sysdeps/x86_64/Makefile: Likewise.
51120         * io/ftwtest-sh: Add copyright header.
51121         * posix/globtest.sh: Likewise.
51122         * posix/tst-getconf.sh: Likewise.
51123         * posix/wordexp-tst.sh: Likewise.
51124         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
51126 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
51128         [BZ #13679]
51129         * Makeconfig (+link): Defined as $(+link-static) if
51130         $(build-shared) isn't yes.
51131         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
51132         isn't yes.
51133         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
51135         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
51137         [BZ #14562]
51138         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
51139         new chunk size with MALLOC_ALIGN_MASK.
51141 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
51143         [BZ #5044]
51144         * stdio-common/printf_fphex.c: Include <stdbool.h> and
51145         <rounding-mode.h>.
51146         (__printf_fphex): Determine rounding using get_rounding_mode and
51147         round_away.
51148         * stdio-common/tst-printf-round.c (struct hex_test): New
51149         structure.
51150         (hex_tests): New variable.
51151         (test_hex_in_one_mode): New function.
51152         (do_test): Also run tests for hex float output.
51154 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
51156         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
51157         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
51158         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
51159         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
51160         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
51161         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
51162         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
51163         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
51165 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
51167         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
51168         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
51169         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
51170         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
51172 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
51174         [BZ #14579]
51175         * elf/rtld.c (dl_main): Limit the check for self loading to normal
51176         mode only.
51177         * elf/tst-rtld-load-self.sh: New test.
51178         * elf/Makefile: Run it.
51180 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
51182         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
51183         (tst-writev-ENV): Remove.
51184         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
51186 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
51188         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
51190 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
51192         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
51193         unconditional.
51194         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
51195         Likewise.
51196         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
51197         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
51198         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
51199         Likewise.
51201 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
51203         [BZ #14587]
51204         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
51205         * config.make.in (have-cpp-asm-debuginfo): Removed.
51206         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
51207         * configure: Regenerated.
51209 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
51211         [BZ #5044]
51212         * stdio-common/printf_fp.c: Include <stdbool.h> and
51213         <rounding-mode.h>.
51214         (___printf_fp): Determine rounding using get_rounding_mode and
51215         round_away.
51216         * stdio-common/tst-printf-round.c: New file.
51217         * stdio-common/Makefile (tests): Add tst-printf-round.
51218         (link-libm): New variable.
51219         ($(objpfx)tst-printf-round): Depend in $(link-libm).
51221 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
51223         [BZ #14576]
51224         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
51225         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
51226         Likewise.
51227         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
51228         Likewise.
51230 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
51232         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
51233         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
51234         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
51235         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
51237 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
51239         [BZ #14518]
51240         * include/rounding-mode.h: New file.
51241         * sysdeps/generic/get-rounding-mode.h: Likewise.
51242         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
51243         * stdlib/strtod_l.c: Include <rounding-mode.h>.
51244         (MAX_VALUE): New macro.
51245         (MIN_VALUE): Likewise.
51246         (overflow_value): New function.
51247         (underflow_value): Likewise.
51248         (round_and_return): Use overflow_value and underflow_value to
51249         determine return values in overflow and underflow cases.  Use
51250         round_away to determine rounding depending on rounding mode.
51251         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
51252         determine return values in overflow and underflow cases.
51253         * stdlib/tst-strtod-round.c: Include <fenv.h>.
51254         (struct test_results): New structure.
51255         (struct test): Use struct test_results to store expected results
51256         for all rounding modes.
51257         (TEST): Include expected results for all rounding modes.
51258         (test_in_one_mode): New function.
51259         (do_test): Use test_in_one_mode to compute and check results.
51260         Check results for all rounding modes.
51261         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
51262         $(link-libm).
51264 2012-12-09  Allan McRae  <allan@archlinux.org>
51266         * sysdeps/i386/fpu/libm-test-ulps: Update
51268 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
51270         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
51271         (_G_int32_t): Likewise.
51272         (_G_uint16_t): Likewise.
51273         (_G_uint32_t): Likewise.
51274         (_G_HAVE_BOOL): Likewise.
51275         (_G_HAVE_ATEXIT): Likewise.
51276         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
51277         (_G_HAVE_IO_FILE_OPEN): Likewise.
51278         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
51279         (_G_int32_t): Likewise.
51280         (_G_uint16_t): Likewise.
51281         (_G_uint32_t): Likewise.
51282         (_G_HAVE_BOOL): Likewise.
51283         (_G_HAVE_ATEXIT): Likewise.
51284         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
51285         (_G_HAVE_IO_FILE_OPEN): Likewise.
51286         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
51287         (_G_int32_t): Likewise.
51288         (_G_uint16_t): Likewise.
51289         (_G_uint32_t): Likewise.
51290         (_G_HAVE_BOOL): Likewise.
51291         (_G_HAVE_ATEXIT): Likewise.
51292         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
51293         (_G_HAVE_IO_FILE_OPEN): Likewise.
51295 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
51297         * csu/libc-tls.c: Update copyright years.
51299 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
51301         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
51302         [!_G_USING_THUNKS]: Remove conditional code.
51303         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
51304         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
51306         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
51307         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
51308         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
51309         (_G_VTABLE_LABEL_PREFIX): Likewise.
51310         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
51311         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
51312         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
51313         (_G_VTABLE_LABEL_PREFIX): Likewise.
51314         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
51315         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
51316         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
51317         (_G_VTABLE_LABEL_PREFIX): Likewise.
51318         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
51320 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
51322         * libio/Makefile: Include ../Makeconfig before tests.
51323         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
51324         only if $(build-shared) is yes.
51326         * iconv/gconv_db.c: Update copyright years.
51328 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51330         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
51331         unwind info if defined PIC. Fix special cases description.
51332         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
51334         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
51335         DP_HI_MASK entry.
51336         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
51338 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
51340         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
51342         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
51343         is NULL.
51345         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
51346         (LDLIBS-tst-chk4): This.
51347         (LDFLAGS-tst-chk5): Renamed to ...
51348         (LDLIBS-tst-chk5): This.
51349         (LDFLAGS-tst-chk6): Renamed to ...
51350         (LDLIBS-tst-chk6): This.
51351         (LDFLAGS-tst-lfschk4): Renamed to ...
51352         (LDLIBS-tst-lfschk4): This.
51353         (LDFLAGS-tst-lfschk5): Renamed to ...
51354         (LDLIBS-tst-lfschk5): This.
51355         (LDFLAGS-tst-lfschk6): Renamed to ...
51356         (LDLIBS-tst-lfschk6): This.
51358         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
51359         on $(common-objpfx)soversions.mk.
51361 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
51363         [BZ #10014]
51364         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
51365         example host name.
51367 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
51369         * malloc/arena.c (arena_get_retry): New function that gets
51370         another arena for the caller to try its request on.
51371         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
51372         current arena cannot fulfill the request.
51373         (__libc_memalign): Likewise.
51374         (__libc_memalign): Likewise.
51375         (__libc_pvalloc): Likewise.
51376         (__libc_calloc): Likewise.
51378 2012-09-05  John Tobey  <john.tobey@gmail.com>
51380         [BZ #13542]
51381         * manual/arith.texi (Operations on Complex): Fix description
51382         of carg branch cut.
51384 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
51386         [BZ #10014]
51387         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
51388         host name.
51390         [BZ #10038]
51391         * manual/memory.texi (Memory): Make order of menu items match
51392         order of sections.
51394 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
51396         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
51397         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
51398         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
51400 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
51402         * csu/libc-tls.c (static_dtv): Renamed to ...
51403         (_dl_static_dtv): This.  Make it global.
51404         (_dl_initial_dtv): Removed.
51405         (__libc_setup_tls): Updated.
51406         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
51407         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
51408         DL_INITIAL_DTV.
51410 2012-09-06  Petr Machata  <pmachata@redhat.com>
51412         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
51413         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
51414         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
51415         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
51417 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
51419         [BZ #14545]
51420         * csu/libc-tls.c (_dl_initial_dtv): New variable.
51421         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
51422         freeing dtv[-1].
51424 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
51426         [BZ #14544]
51427         * Makeconfig (link-static-before-libc): Replace $(+prector)
51428         with $(+prectorT).
51429         (link-static-after-libc): Replace $(+postctor) with
51430         $(+postctorT).
51431         (link-bounded): Replace $(+prector)/$(+postctor) with
51432         $(+prectorT)/$(+postctorT).
51433         (+prectorT): New macro.
51434         (+postctorT): Likewise.
51436 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
51438         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
51439         (round_str): Handle values above the maximum for IBM long double
51440         as inexact.
51441         * stdlib/tst-strtod-round.c (tests): Regenerated.
51443 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51445         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
51446         assembler flag.
51447         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
51448         zarch_nohighgprs around the zarch optimized routines.
51449         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
51450         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
51451         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
51452         for zarch.
51454 2012-09-05  David S. Miller  <davem@davemloft.net>
51456         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51458         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
51459         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
51460         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
51461         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
51462         entries.
51464 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
51466         * malloc/arena.c: Fold copyright years.
51467         * malloc/mcheck.c, malloc/memusage.c: Likewise.
51469 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
51471         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
51473 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
51475         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
51477 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
51479         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
51480         change internal state upon failure.
51482 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
51484         * malloc/mcheck.c (mcheck_check_all): Fix typo.
51485         * malloc/memusage.c (mmap): Likewise.
51486         (mmap64, mremap): Likewise.  Adjust name in comment.
51488 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51490         * libio/fileops.c: Fix typos in comments.
51491         * libio/oldfileops.c: Likewise.
51492         * libio/wfileops.c: Likewise.
51494 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51496         [BZ #1349]
51497         * malloc/Makefile (tests): Add tst-malloc-usable test case.
51498         (tst-malloc-usable-ENV): Set environment for test case.
51499         * malloc/hooks.c (malloc_check_get_size): New function to get
51500         requested size.
51501         * malloc/malloc.c (musable): Use malloc_check_get_size.
51502         * malloc/tst-malloc-usable.c: New test case.
51504 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
51506         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
51508 2012-09-05  Allan McRae  <allan@archlinux.org>
51510         [BZ #13966]
51511         * configure.in (CXX_SYSINCLUDES): Use compiler output to
51512         determine header location.
51513         * configure: Regenerated.
51515 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
51517         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
51518         float format.
51519         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
51520         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
51521         format.
51522         (test): Regenerate.
51524 2012-09-04  David S. Miller  <davem@davemloft.net>
51526         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
51527         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
51528         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
51530 2012-09-04  Florian Weimer  <fweimer@redhat.com>
51532         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
51533         failures.
51535         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
51537 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
51539         [BZ #9914]
51540         * libio/iogetdelim.c: Include <limits.h>.
51541         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
51542         + len + 1 would overflow.
51544 2012-09-03  Andreas Jaeger  <aj@suse.de>
51546         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51547         * sysdeps/i386/fpu/libm-test-ulps: Update.
51549 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51551         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
51552         Add s_sinf-sse2, s_conf-sse2.
51554         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
51555         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
51556         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
51557         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
51559         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
51560         for using routine as __sinf_ia32.
51561         Use macro for function declaration and weak_alias.
51562         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
51563         for using routine as __cosf_ia32.
51564         Use macro for function declaration and weak_alias.
51566         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
51567         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
51569         * sysdeps/x86_64/fpu/s_sinf.S: New file.
51570         * sysdeps/x86_64/fpu/s_cosf.S: New file.
51571         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51573         * math/libm-test.inc (cos_test): Add more test cases.
51574         (sin_test): Likewise.
51575         (sincos_test): Likewise.
51577 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51579         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
51580         (IFUNC_RESOLVE): Make pointers to the specialized implementations
51581         hidden.
51582         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
51584 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
51586         [BZ #14538]
51587         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
51588         first element of the GOT.
51589         (elf_machine_load_address): Return the difference between
51590         the runtime address of _DYNAMIC and elf_machine_dynamic ().
51592 2012-09-01  Allan McRae  <allan@archlinux.org>
51594         [BZ #13412]
51595         * configure.in (AWK): Require gawk version 3.0 or later.
51596         * configure: Regenerated.
51598 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
51600         * sysdeps/unix/sysv/linux/kernel-features.h
51601         (__ASSUME_POSIX_CPU_TIMERS): Remove.
51602         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
51603         [__NR_clock_getres]: Make code unconditional.
51604         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
51605         (clock_getcpuclockid): Remove code left unreachable by removal of
51606         conditionals.
51607         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
51608         code unconditional.
51609         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
51610         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
51611         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
51612         Make code unconditional.
51613         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
51614         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
51615         * sysdeps/unix/sysv/linux/clock_settime.c
51616         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
51617         conditional code.
51618         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
51619         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
51621 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
51623         [BZ #14476]
51624         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
51625         scripts/test-installation.pl.
51627         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
51628         and $ld_so_version if it is set.
51630 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
51632         [BZ #14516]
51633         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
51634         failure if reading from procfs failed.
51635         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
51637 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
51639         * sysdeps/unix/sysv/linux/kernel-features.h
51640         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
51641         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
51642         Remove conditional code.
51643         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51644         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
51645         Remove conditional code.
51646         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51647         * sysdeps/unix/sysv/linux/i386/fxstat.c
51648         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
51649         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51650         * sysdeps/unix/sysv/linux/i386/fxstatat.c
51651         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
51652         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51653         * sysdeps/unix/sysv/linux/i386/lxstat.c
51654         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
51655         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51656         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
51657         Remove conditional code.
51658         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51659         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
51660         Remove conditional code.
51661         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51662         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
51663         <kernel-features.h>.
51664         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
51665         Remove.
51666         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
51667         Remove conditional code.
51668         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51669         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
51670         Remove conditional.
51672 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
51674         [BZ #5400]
51675         * NEWS: Add fixed bug number.
51677 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
51679         [BZ #14519]
51680         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
51681         underflowing exponent in case of negative sign.
51682         * stdlib/tst-strtod-round-data: Add more tests.
51683         * stdlib/tst-strtod-round.c (tests): Regenerated.
51685         [BZ #3479]
51686         * stdlib/strtod_l.c (NDIG): Remove.
51687         (HEXNDIG): Likewise.
51688         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
51689         smallest representable value.
51690         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
51691         lie within an exact representation of 1/2 ulp of the result.
51692         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
51693         unconditionally.
51694         (TENS_P9_IDX): Define unconditionally.
51695         (TENS_P9_SIZE): Likewise.
51696         (TENS_P10_IDX): Likewise.
51697         (TENS_P10_SIZE): Likewise.
51698         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
51699         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
51700         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
51701         entries for 10^2^13 and 10^2^14.
51702         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
51703         (TENS_P13_IDX): Define.
51704         (TENS_P13_SIZE): Likewise.
51705         (TENS_P14_IDX): Likewise.
51706         (TENS_P14_SIZE): Likewise.
51707         (_fpioconst_pow10): Change array size to
51708         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
51709         unconditional.
51710         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
51711         1024]: Add entries for 10^2^13 and 10^2^14.
51712         [LAST_POW10 > _LAST_POW10]: Remove #error.
51713         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
51714         (_fpioconst_pow10): Change array size to
51715         FPIOCONST_POW10_ARRAY_SIZE.
51716         * stdlib/gen-fpioconst.c: New file.
51717         * stdlib/gen-tst-strtod-round.c: Likewise.
51718         * stdlib/tst-strtod-round-data: Likewise.
51719         * stdlib/tst-strtod-round.c: Likewise.
51720         * stdlib/Makefile (tests): Add tst-strtod-round.
51722         [BZ #14459]
51723         * stdlib/strtod_l.c: Include <stdint.h>.
51724         (NDEBUG): Do not define.
51725         (round_and_return): Change EXPONENT parameter to type intmax_t.
51726         Rearrange calculations to avoid internal overflow possibilities.
51727         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
51728         Rearrange calculations to avoid internal overflow possibilities.
51729         Assert that number fits inside MPNSIZE limbs.
51730         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
51731         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
51732         calculations and add assertions to avoid internal overflow
51733         possibilities.  Add casts to avoid signed/unsigned operations.
51734         * stdlib/tst-strtod-overflow.c: New file.
51735         * stdlib/Makefile (tests): Add tst-strtod-overflow.
51737 2012-08-25  Marek Polacek  <polacek@redhat.com>
51739         * time/time.h: Fix some typos in comments.
51741 2012-08-23  Roland McGrath  <roland@hack.frob.com>
51743         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
51744         * posix/tst-rfc3484-2.c: Likewise.
51745         * posix/tst-rfc3484-3.c: Likewise.
51747 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
51749         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
51750         (EF_ARM_ABI_FLOAT_HARD): Likewise.
51752 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
51754         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
51755         #include of fxstatat64.c.
51757 2012-08-22  Roland McGrath  <roland@hack.frob.com>
51759         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
51760         * shadow/getspent_r.c: Likewise.
51761         * shadow/getspnam.c: Likewise.
51762         * shadow/getspnam_r.c: Likewise.
51763         * gshadow/getsgent.c: Likewise.
51764         * gshadow/getsgent_r.c: Likewise.
51765         * gshadow/getsgnam.c: Likewise.
51766         * gshadow/getsgnam_r.c: Likewise.
51767         * inet/getnetbyad.c: Likewise.
51768         * inet/getnetbyad_r.c: Likewise.
51769         * inet/getnetbynm.c: Likewise.
51770         * inet/getnetbynm_r.c: Likewise.
51771         * inet/getnetent.c: Likewise.
51772         * inet/getnetent_r.c: Likewise.
51773         * inet/getproto.c: Likewise.
51774         * inet/getproto_r.c: Likewise.
51775         * inet/getprtent.c: Likewise.
51776         * inet/getprtent_r.c: Likewise.
51777         * inet/getprtname.c: Likewise.
51778         * inet/getprtname_r.c: Likewise.
51779         * inet/getrpcbyname.c: Likewise.
51780         * inet/getrpcbyname_r.c: Likewise.
51781         * inet/getrpcbynumber.c: Likewise.
51782         * inet/getrpcbynumber_r.c: Likewise.
51783         * inet/getrpcent.c: Likewise.
51784         * inet/getrpcent_r.c: Likewise.
51785         * inet/getaliasent.c: Likewise.
51786         * inet/getaliasent_r.c: Likewise.
51787         * inet/getaliasname.c: Likewise.
51788         * inet/getaliasname_r.c: Likewise.
51789         * nscd/getgrgid_r.c: Likewise.
51790         * nscd/getgrnam_r.c: Likewise.
51791         * nscd/gethstbyad_r.c: Likewise.
51792         * nscd/gethstbynm3_r.c: Likewise.
51793         * nscd/getpwnam_r.c: Likewise.
51794         * nscd/getpwuid_r.c: Likewise.
51795         * nscd/getsrvbynm_r.c: Likewise.
51796         * nscd/getsrvbypt_r.c: Likewise.
51797         * nscd/gai.c: Likewise.
51799         * configure.in (build_nscd): New substituted variable, set
51800         by --disable-build-nscd and defaults to $use_nscd.
51801         * configure: Regenerated.
51802         * config.make.in (build-nscd): New substituted variable.
51803         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
51804         Change conditional to require [$(build-nscd) = yes] as well.
51805         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
51807         [BZ# 13696]
51808         * configure.in (use_nscd): New substituted variable, set by
51809         --disable-nscd.  If enabled, define USE_NSCD.
51810         * configure: Regenerated.
51811         * config.h.in: Add USE_NSCD.
51812         * config.make.in (use-nscd): New substituted variable.
51813         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
51814         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
51815         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
51816         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
51817         (CFLAGS-getgrnam_r.c): Likewise.
51818         (CFLAGS-initgroups.c): Likewise.
51819         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
51820         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
51821         Variables removed.
51822         * inet/getnetgrent_r.c
51823         (nscd_setnetgrent): New function, broken out of ...
51824         (setnetgrent): ... here.  Call it.
51825         (innetgr): Conditionalize nscd bits on [USE_NSCD].
51826         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
51827         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
51828         * nscd/Makefile (routines, aux): Move definitions after include of
51829         Makeconfig.  Conditionalize on [$(use-nscd) != no].
51830         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
51831         Conditionalize on [USE_NSCD].
51832         (is_nscd, nscd_init_cb): Likewise.
51833         (nss_load_library): Conditionalize init callback on [USE_NSCD].
51834         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
51835         * nss/nss_db/db-init.c: Likewise.
51836         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
51837         [USE_NSCD].
51838         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
51839         (make_request): Use it.
51840         (cache_valid_p): New function.
51841         (__check_pf): Use it.
51842         * NEWS: Add item for --disable-nscd.
51844 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
51846         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
51847         to support sed >= 4.2.1-20-ga9bf076.
51848         * configure: Regenerated.
51850 2012-08-22  Roland McGrath  <roland@hack.frob.com>
51852         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
51853         Conditionalize whole body on [IREL].
51855 2012-08-22  Jeff Law <law@redhat.com>
51857         [BZ #14505]
51858         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
51859         if the family is PF_UNSPEC.
51861 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
51863         * Makerules (lib-version): Rename from V.
51864         (install-lib-nosubdir): Change V to lib-version.
51866 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
51868         [BZ #14252]
51869         * powerpc32/power6/wcschr.c: New file.
51870         * powerpc32/power6/wcscpy.c: New file.
51871         * powerpc32/power6/wcsrchr.c: New file.
51872         * powerpc64/power6/wcschr.c: New file.
51873         * powerpc64/power6/wcscpy.c: New file.
51874         * powerpc64/power6/wcsrchr.c: New file.
51876 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
51878         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
51879         (two_way_short_needle): Use it.
51880         * string/strstr.c (AVAILABLE1_USES_J): Define.
51881         * string/strcasestr.c: Likewise.
51883         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
51884         array references.
51885         * string/strcasestr.c (TOLOWER): Make side-effect safe.
51887         [BZ #11607]
51888         * NEWS: Add an entry.
51889         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
51890         define their defaults.
51891         (two_way_short_needle): Detect end-of-string on-the-fly.
51892         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
51893         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
51894         * string/bug-strcasestr1.c: New test.
51895         * string/Makefile: Run it.
51897 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
51899         [BZ #11607]
51900         * string/str-two-way.h (two_way_short_needle): Optimize matching of
51901         the first character.
51903 2012-08-21  Roland McGrath  <roland@hack.frob.com>
51905         * csu/elf-init.c (__libc_csu_irel): Function removed.
51906         * csu/libc-start.c (apply_irel): New function.
51907         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
51909 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
51911         * sysdeps/unix/sysv/linux/kernel-features.h
51912         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
51913         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
51914         <kernel-features.h>.
51915         [__NR_fadvise64_64]: Make code unconditional.
51916         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
51917         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
51918         !__NR_fadvise64_64)]: Likewise.
51919         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
51920         !__NR_fadvise64_64))]: Likewise.
51921         [__NR_fadvise64]: Make code unconditional.
51922         [!__NR_fadvise64]: Remove conditional code.
51923         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
51924         <kernel-features.h>.
51925         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
51926         unconditional.
51927         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
51928         conditional code.
51929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
51930         not include <kernel-features.h>.
51931         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
51932         unconditional.
51933         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
51934         conditional code.
51935         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
51936         include <kernel-features.h>.
51937         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
51938         unconditional.
51939         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
51940         conditional code.
51942 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
51944         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
51945         slight instruction rearrangements per scrollpipe analysis.
51946         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
51948 2012-08-20  Roland McGrath  <roland@hack.frob.com>
51950         * manual/syslog.texi (syslog; vsyslog, closelog):
51951         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
51952         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
51954         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
51955         DSOCAPS to match condition on defining it.
51957 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
51959         * sysdeps/unix/sysv/linux/kernel-features.h
51960         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
51961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
51962         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
51963         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
51964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
51965         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
51966         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
51967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
51968         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
51969         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
51971         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
51972         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
51974         * sysdeps/unix/sysv/linux/kernel-features.h
51975         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
51976         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
51977         unconditional.
51978         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51979         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
51980         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
51981         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51982         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
51983         Make code unconditional.
51984         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51985         (__mmap64) [!__NR_mmap2]: Likewise.
51986         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
51987         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
51988         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51989         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
51990         [__NR_mmap2]: Make code unconditional.
51991         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51992         (__mmap64) [!__NR_mmap2]: Likewise.
51994 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51996         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
51998 2012-08-18  Andreas Jaeger  <aj@suse.de>
52000         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
52002 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
52004         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
52005         * include/unistd.h (__have_sock_cloexec): Likewise.
52006         (__have_pipe2): Likewise.
52007         (__have_dup3): Likewise.
52009 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
52011         [BZ #9685]
52012         * include/unistd.h (__have_pipe2): Change define into an extern int.
52013         (__have_dup3): Likewise.
52014         * socket/have_sock_cloexec.c: Include fcntl.h.
52015         (__have_pipe2): New variable.
52016         (__have_dup3): Likewise.
52018 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
52020         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
52022 2012-08-17  Marek Polacek  <polacek@redhat.com>
52024         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
52025         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
52027 2012-08-17  Roland McGrath  <roland@hack.frob.com>
52029         * configure.in: Add AC_SUBST for sysheaders.
52030         * configure: Regenerated.
52031         * config.make.in (sysheaders): New substituted variable.
52033         * sysdeps/unix/mkfifo.c: Moved ...
52034         * sysdeps/posix/mkfifo.c: ... here.
52035         * sysdeps/unix/mkfifoat.c: Moved ...
52036         * sysdeps/posix/mkfifoat.c: ... here.
52038         * sysdeps/unix/utime.c: Moved ...
52039         * sysdeps/posix/utime.c: ... here.
52041         * sysdeps/unix/time.c: Moved ...
52042         * sysdeps/posix/time.c: ... here.
52043         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
52044         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
52046         * sysdeps/unix/nice.c: Moved ...
52047         * sysdeps/posix/nice.c: ... here.
52049         * sysdeps/unix/alarm.c: Moved ...
52050         * sysdeps/posix/alarm.c: ... here.
52052         * intl/Makefile ($(codeset_mo)): Depend on the input file.
52054 2012-08-17  Jeff Law <law@redhat.com>
52056         * intl/Makefile (codeset_mo): New variable.
52057         ($(codeset_mo)): New target.
52058         (tst-codeset.out): Depend on that.  Remove explicit rule.
52059         (tst-gettext3.out, tst-gettext5.out): Likewise.
52060         (LOCPATH-ENV, tst-codeset-ENV): New variables.
52061         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
52062         * intl/tst-codeset.sh: Remove.
52063         * intl/tst-gettext3.sh: Likewise.
52064         * intl/tst-gettext5.sh: Likewise.
52066 2012-08-17  Roland McGrath  <roland@hack.frob.com>
52068         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
52069         * sysdeps/unix/syscalls.list: ... here.
52071         * sysdeps/posix/getaddrinfo.c
52072         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
52073         (gaiconf_init, gaiconf_reload): Use them.
52074         [!_STATBUF_ST_NSEC]
52075         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
52076         Define using time_t rather than struct timespec.
52078         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
52079         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
52080         Macros removed.
52081         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
52082         [!NO_THREADS].
52083         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
52084         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
52085         Likewise.
52087         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
52088         __libc_cleanup_push argument.
52090         * bits/param.h: New file.
52091         * misc/sys/param.h: New file.
52092         * include/sys/param.h: New file.
52093         * misc/Makefile (headers): Add bits/param.h.
52094         * sysdeps/generic/sys/param.h: File removed.
52095         * sysdeps/unix/sysv/linux/bits/param.h: New file.
52096         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
52097         * sysdeps/mach/hurd/bits/param.h: New file.
52098         * sysdeps/mach/hurd/sys/param.h: File removed.
52100         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
52101         last change.
52103         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
52104         [_IO_MTSAFE_IO].
52105         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
52106         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
52107         New macros.
52109         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
52110         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
52111         rather than -D_IO_MTSAFE_IO conditionally.
52112         * stdio-common/Makefile (CPPFLAGS): Likewise.
52113         * wcsmbs/Makefile (CPPFLAGS): Likewise.
52114         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
52115         Use $(libio-mtsafe).
52116         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
52117         of -D_IO_MTSAFE_IO.
52118         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
52119         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
52120         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
52121         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
52122         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
52123         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
52124         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
52125         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
52126         (CFLAGS-fread_u_chk.c): Likewise.
52127         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
52128         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
52129         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
52130         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
52131         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
52132         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
52133         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
52134         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
52135         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
52137         * libio/Makefile: Test [$(libc-reentrant) = yes]
52138         instead of [$(filter %REENTRANT, $(defines)) nonempty].
52140         * Makeconfig
52141         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
52142         * sysdeps/pthread/configure: File removed.
52143         * sysdeps/pthread/Makeconfig: New file.
52144         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
52145         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
52147 2012-08-16  Gary Benson  <gbenson@redhat.com>
52149         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
52150         unmapping the first object in a namespace.
52152 2012-08-16  Roland McGrath  <roland@hack.frob.com>
52154         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
52155         (__internal_setnetgrent): ... this.  Add internal_function to
52156         definition.  Add libc_hidden_def.
52157         (setnetgrent): Update caller.
52158         (internal_endnetgrent): Renamed to ...
52159         (__internal_endnetgrent): ... this.  Add internal_function to
52160         definition.  Add libc_hidden_def.
52161         (endnetgrent): Update caller.
52162         (internal_getnetgrent_r): Renamed to ...
52163         (__internal_getnetgrent_r): ... this.  Add internal_function to
52164         definition.  Add libc_hidden_def.
52165         (__getnetgrent_r): Update caller.
52166         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
52168 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
52170         * stdlib/longlong.h: Update from GCC.
52172 2012-08-16  Roland McGrath  <roland@hack.frob.com>
52174         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
52175         on _QL, which is set by umul_ppmm but never used.
52176         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
52177         variables, which are set by GMP macros but never used.
52178         * stdio-common/_itowa.c (_itowa): Likewise.
52179         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
52180         * stdlib/mod_1.c (mpn_mod_1): Likewise.
52182 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
52184         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
52185         struct La_sh_regs is not constant.
52186         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
52187         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
52188         and struct La_sparc64_regs are not constant.
52190 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
52192         * sysdeps/unix/sysv/linux/kernel-features.h
52193         (__ASSUME_POSIX_TIMERS): Remove.
52194         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
52195         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52196         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
52197         Make code unconditional.
52198         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52199         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
52200         Make code unconditional.
52201         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52202         * sysdeps/unix/sysv/linux/clock_nanosleep.c
52203         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
52204         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52205         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
52206         Make code unconditional.
52207         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52208         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
52209         (__libc_missing_posix_timers): Remove.
52211 2012-08-15  Roland McGrath  <roland@hack.frob.com>
52213         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
52214         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
52216         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
52218         * elf/dl-sym.c: Include <stdlib.h>.
52220         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
52221         constants, which avoids warnings in 32-bit builds.
52223         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
52224         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
52226         * misc/lseek.c: File moved to ...
52227         * io/lseek.c: ... here.
52229         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
52231         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
52232         shifting LEN more than 31 bits at once.
52234 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52236         [BZ #14195]
52237         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
52238         segmentation fault for a case of two empty input strings.
52239         * string/test-strncasecmp.c (check1): Renamed to...
52240         (bz12205): ...this.
52241         (bz14195): Add new testcase for two empty input strings and N > 0.
52242         (test_main): Call new testcase, adapt for renamed function.
52244 2012-08-15  Andreas Jaeger  <aj@suse.de>
52246         [BZ #14090]
52247         * crypt/md5test2.c: New test, based on test supplied by Serge
52248         Belyshev <belyshev@depni.sinp.msu.ru>.
52249         * crypt/Makefile (xtests): Add md5test-giant..
52250         * crypt/Makefile ($(objpfx)md5test-giant): Add.
52252 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
52254         [BZ #14090]
52255         * crypt/md5.c (md5_process_block): Don't assume the buffer
52256         length is less than 2**32.
52257         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
52258         length is less than 2**64.
52260 2012-08-15  Roland McGrath  <roland@hack.frob.com>
52262         * string/str-two-way.h: Include <sys/param.h>.
52263         (MAX): Macro removed.
52265         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
52266         Move #define and #undef of memmove to just before and after
52267         including <string.h>.
52269         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
52270         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
52271         and after including <string.h>.  Move declarations of
52272         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
52273         to before #include "string/memmove.c".
52275         * include/dirent.h: Declare __getdirentries.
52277         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
52278         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
52280 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
52282         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
52283         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
52284         * sysdeps/i386/configure: Regenerated.
52285         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
52286         STABS_CURRENT_FILE, and STABS_FUN.
52287         (END): Remove call to STABS_FUN_END.
52288         (STABS_CURRENT_FILE1): Delete.
52289         (STABS_CURRENT_FILE): Likewise.
52290         (STABS_FUN): Likewise.
52291         (STABS_FUN_END): Likewise.
52292         (STABS_FUN2): Likewise.
52293         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
52294         * sysdeps/x86_64/configure: Regenerated.
52296 2012-08-14  Roland McGrath  <roland@hack.frob.com>
52298         * elf/dl-open.c: Include <atomic.h>.
52299         * elf/dl-lookup.c: Likewise.
52301 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
52303         * sysdeps/unix/sysv/linux/kernel-features.h
52304         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
52305         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
52306         unconditionally.
52307         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
52308         unconditionally.
52309         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
52310         condition on __ASSUME_CLONE_THREAD_FLAGS.
52312 2012-08-14  Andreas Jaeger  <aj@suse.de>
52314         * sysdeps/i386/fpu/libm-test-ulps: Update.
52316 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
52318         * include/atomic.h (atomic_exchange_and_add): Split into ...
52319         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
52320         New atomic macros.
52322 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
52324         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52326 2012-08-13  Jeff Law <law@redhat.com>
52328         * manual/stdio.texi (snprintf): Clarify handling of the trailing
52329         null byte in the output string.
52331 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
52333         * sysdeps/unix/sysv/linux/kernel-features.h
52334         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
52335         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
52336         (__ASSUME_ARG_MAX_STACK_BASED): Define.
52337         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
52338         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
52339         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
52340         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
52342 2012-08-09  Jeff Law <law@redhat.com>
52344         [BZ #13939]
52345         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
52346         When avoid_arena is set, don't retry in the that arena.  Pick the
52347         next one, whatever it might be.
52348         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
52349         (arena_lock): Pass in new parameter to arena_get2.
52350         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
52351         arena_get2.
52352         (__libc_malloc): Unify retrying after main arena failure with
52353         __libc_memalign version.
52354         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
52356 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
52358         [BZ #14166]
52359         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
52360         to __redirect_strstr.
52361         (__strstr_sse42): Use typeof __redirect_strstr.
52362         (__strstr_ia32): Likewise.
52363         (__libc_strstr): New prototype.
52364         (strstr): Renamed to ...
52365         (__libc_strstr): This.
52366         (strstr): New strong alias of __libc_strstr.
52367         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
52368         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
52369         __redirect_time.
52370         Include <time.h>.
52371         (__libc_time): New prototype.
52372         (time_ifunc): Replace time with __libc_time.
52373         (time): New strong alias and hidden definition of __libc_time.
52374         (__GI_time): Remove strong alias.
52375         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
52376         Include <stddef.h>.
52377         (memmove): Redefined to __redirect_memmove.
52378         (__memmove_sse2): Use typeof __redirect_memmove.
52379         (__memmove_ssse3): Likewise.
52380         (__memmove_ssse3_back): Likewise.
52381         (__libc_memmove): New prototype.
52382         (memmove): Renamed to ...
52383         (__libc_memmove): This.
52384         (memmove): New strong alias of __libc_memmove.
52386 2012-08-08  Mark Salter  <msalter@redhat.com>
52388         * elf/elf.h
52389         (R_MN10300_TLS_GD): Define.
52390         (R_MN10300_TLS_LD): Likewise.
52391         (R_MN10300_TLS_LDO): Likewise.
52392         (R_MN10300_TLS_GOTIE): Likewise.
52393         (R_MN10300_TLS_IE): Likewise.
52394         (R_MN10300_TLS_LE): Likewise.
52395         (R_MN10300_TLS_DTPMOD): Likewise.
52396         (R_MN10300_TLS_DTPOFF): Likewise.
52397         (R_MN10300_TLS_TPOFF): Likewise.
52398         (R_MN10300_SYM_DIFF): Likewise.
52399         (R_MN10300_ALIGN): Likewise.
52400         (R_MN10300_NUM): Update.
52402 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
52404         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
52405         Remove.
52407 2012-08-08  Roland McGrath  <roland@hack.frob.com>
52409         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
52411         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
52412         sysdeps/unix -> sysdeps/posix move.
52413         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
52415 2012-08-07      Allan McRae     <allan@archlinux.org>
52417         [BZ #14303]
52418         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
52419         (SUNOS_CPP): Likewise.
52420         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
52421         not found.
52422         (open_input): Call CPP using execvp.
52424 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
52426         * sysdeps/unix/sysv/linux/kernel-features.h
52427         (__ASSUME_PROT_GROWSUPDOWN): Remove.
52428         (__ASSUME_NO_CLONE_DETACHED): Likewise.
52429         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
52430         (__ASSUME_WAITID_SYSCALL): Likewise.
52431         * sysdeps/unix/sysv/linux/dl-execstack.c
52432         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
52433         code unconditional.
52434         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
52435         conditional code.
52436         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
52437         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
52438         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
52439         code.
52440         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
52441         unconditional.
52442         [__ASSUME_WAITID_SYSCALL]: Likewise.
52443         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
52445 2012-08-07  Roland McGrath  <roland@hack.frob.com>
52447         * sysdeps/unix/closedir.c: Renamed to ...
52448         * sysdeps/posix/closedir.c: ... here.
52449         * sysdeps/unix/dirfd.c: Renamed to ...
52450         * sysdeps/posix/dirfd.c: ... here.
52451         * sysdeps/unix/dirstream.h: Renamed to ...
52452         * sysdeps/posix/dirstream.h: ... here.
52453         * sysdeps/unix/fdopendir.c: Renamed to ...
52454         * sysdeps/posix/fdopendir.c: ... here.
52455         * sysdeps/unix/opendir.c: Renamed to ...
52456         * sysdeps/posix/opendir.c: ... here.
52457         * sysdeps/unix/readdir.c: Renamed to ...
52458         * sysdeps/posix/readdir.c: ... here.
52459         * sysdeps/unix/readdir_r.c: Renamed to ...
52460         * sysdeps/posix/readdir_r.c: ... here.
52461         * sysdeps/unix/rewinddir.c: Renamed to ...
52462         * sysdeps/posix/rewinddir.c: ... here.
52463         * sysdeps/unix/seekdir.c: Renamed to ...
52464         * sysdeps/posix/seekdir.c: ... here.
52465         * sysdeps/unix/telldir.c: Renamed to ...
52466         * sysdeps/posix/telldir.c: ... here.
52467         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
52468         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
52469         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
52470         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
52472         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
52473         * bits/fcntl.h: ... here.
52475         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
52476         not 0.
52477         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
52478         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
52479         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
52480         (struct flock): Move l_start, l_len to the beginning.
52481         Use __pid_t for l_pid.
52482         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
52483         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
52484         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
52485         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
52486         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
52487         [__USE_LARGEFILE64] (struct flock64): New type.
52488         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
52490         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
52491         * bits/dirent.h: ... here.
52493         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
52494         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
52496 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
52498         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
52499         Change from 2.6.0 to 2.6.16.
52500         * sysdeps/unix/sysv/linux/configure: Regenerated.
52501         * sysdeps/unix/sysv/linux/kernel-features.h
52502         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
52503         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
52504         version.
52505         (__ASSUME_UTIMES): Likewise.
52506         (__ASSUME_CLONE_STOPPED): Remove.
52507         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
52508         architectures, not kernel version.
52509         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
52510         (__ASSUME_NO_CLONE_DETACHED): Likewise.
52511         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
52512         (__ASSUME_WAITID_SYSCALL): Likewise.
52513         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
52514         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
52515         * README: State 2.6.16 as minimum Linux kernel version.  Do not
52516         refer to older versions.
52518 2012-08-06  Roland McGrath  <roland@hack.frob.com>
52520         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
52521         Define alphasort64 as an alias.
52522         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
52523         Define versionsort64 as an alias.
52524         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
52525         Define scandir64 as an alias.
52526         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
52527         Define scandirat64 as an alias.
52528         * dirent/alphasort64.c (alphasort64):
52529         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
52530         * dirent/versionsort64.c: Likewise.
52531         * dirent/scandir64.c: Likewise.
52532         * dirent/scandirat64.c: Likewise.
52533         * sysdeps/wordsize-64/alphasort.c: File removed.
52534         * sysdeps/wordsize-64/alphasort64.c: File removed.
52535         * sysdeps/wordsize-64/scandir.c: File removed.
52536         * sysdeps/wordsize-64/scandir64.c: File removed.
52537         * sysdeps/wordsize-64/scandirat.c: File removed.
52538         * sysdeps/wordsize-64/scandirat64.c: File removed.
52539         * sysdeps/wordsize-64/versionsort.c: File removed.
52540         * sysdeps/wordsize-64/versionsort64.c: File removed.
52541         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
52542         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
52543         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
52544         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
52545         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
52546         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
52547         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
52548         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
52550         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
52551         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
52552         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
52553         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52554         [defined __arch64__ || defined __sparcv9]
52555         (__INO_T_MATCHES_INO64_T): New macro.
52556         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
52557         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
52558         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
52559         * sysdeps/unix/sysv/linux/bits/dirent.h
52560         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
52561         (_DIRENT_MATCHES_DIRENT64): New macro.
52563         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
52564         Define lockf64 as an alias.
52565         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
52566         Define fseeko64 as an alias.
52567         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
52568         Define ftello64 as an alias.
52569         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
52570         Define _IO_fgetpos64 and fgetpos64 as aliases.
52571         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
52572         Define _IO_fsetpos64 and fsetpos64 as aliases.
52573         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
52574         Conditionalize body on this.
52575         * libio/fseeko64.c: Likewise.
52576         * libio/ftello64.c: Likewise.
52577         * libio/iofgetpos64.c: Likewise.
52578         * libio/iofsetpos64.c: Likewise.
52579         * sysdeps/wordsize-64/lockf.c: File removed.
52580         * sysdeps/wordsize-64/lockf64.c: File removed.
52581         * sysdeps/wordsize-64/fseeko.c: File removed.
52582         * sysdeps/wordsize-64/fseeko64.c: File removed.
52583         * sysdeps/wordsize-64/ftello.c: File removed.
52584         * sysdeps/wordsize-64/ftello64.c: File removed.
52585         * sysdeps/wordsize-64/iofgetpos.c: File removed.
52586         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
52587         * sysdeps/wordsize-64/iofsetpos.c: File removed.
52588         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
52589         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
52590         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
52591         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
52592         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
52593         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
52594         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
52595         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
52596         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
52597         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
52598         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
52600         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
52601         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
52602         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
52603         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52604         [defined __arch64__ || defined __sparcv9]
52605         (__OFF_T_MATCHES_OFF64_T): New macro.
52606         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
52607         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
52608         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52609         (__OFF_T_MATCHES_OFF64_T): New macro.
52611 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
52613         * stdlib/secure-getenv.c (__secure_getenv): Replace
52614         GLIBC_2_16 with GLIBC_2_17.
52616 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
52618         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
52619         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
52621 2012-08-03  David S. Miller  <davem@davemloft.net>
52623         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52625 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
52627         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
52628         Remove.
52629         (__ASSUME_CORRECT_SI_PID): Likewise.
52630         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
52631         (__ASSUME_TMPFS_NAME): Likewise.
52632         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
52633         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
52634         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
52635         (HAVE_AUX_SECURE): Make definition unconditional.
52636         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
52637         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
52639 2012-08-03  Roland McGrath  <roland@hack.frob.com>
52641         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
52642         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
52643         * sysdeps/mach/hurd/eloop-threshold.h: New file.
52644         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
52645         __eloop_threshold instead of SYMLOOP_MAX.
52647         * sysdeps/generic/eloop-threshold.h: New file.
52648         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
52649         of MAXSYMLINKS.
52650         * elf/chroot_canon.c (chroot_canon): Likewise.
52652 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
52654         [BZ #13717]
52655         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
52656         Change to 2.6.0 everywhere.
52657         * sysdeps/unix/sysv/linux/configure: Regenerated.
52658         * sysdeps/unix/sysv/linux/kernel-features.h
52659         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
52660         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
52661         kernel versions.
52662         (__ASSUME_POSIX_TIMERS): Define unconditionally.
52663         (__ASSUME_FUTEX_REQUEUE): Remove.
52664         (__ASSUME_STATFS64): Define unconditionally.
52665         (__ASSUME_AT_SECURE): Likewise.
52666         (__ASSUME_CORRECT_SI_PID): Likewise.
52667         (__ASSUME_TGKILL): Define without depending on kernel version for
52668         i386.
52669         (__ASSUME_UTIMES): Likewise.
52670         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
52671         kernel version.
52672         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
52673         (__ASSUME_TMPFS_NAME): Likewise.
52674         * README: Update reference to Linux kernel versions.
52676 2012-08-02  Marek Polacek  <polacek@redhat.com>
52678         [BZ# 14150]
52679         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
52680         libc_cv_asm_type_prefix with %.
52681         * configure: Regenerated.
52682         * include/libc-symbols.h: Remove comment about
52683         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
52684         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
52685         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
52686         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
52687         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
52688         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
52689         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
52690         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
52691         * elf/tst-unique2mod1.c: Likewise.
52692         * elf/tst-unique1mod2.c: Likewise.
52693         * elf/tst-unique1mod1.c: Likewise.
52694         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
52695         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
52696         Replace ASM_TYPE_DIRECTIVE with .type.
52697         * sysdeps/s390/s390-64/sysdep.h: Likewise.
52698         * sysdeps/i386/sysdep.h: Likewise.
52699         * sysdeps/x86_64/sysdep.h: Likewise.
52700         * sysdeps/sh/sysdep.h: Likewise.
52701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
52702         Do not define ASM_TYPE_DIRECTIVE.
52703         * sysdeps/powerpc/sysdep.h: Likewise.
52704         * sysdeps/powerpc/powerpc32/sysdep.h:
52705         Replace ASM_TYPE_DIRECTIVE with .type.
52706         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
52707         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
52708         * sysdeps/i386/fpu/e_powf.S: Likewise.
52709         * sysdeps/i386/fpu/e_expl.S: Likewise.
52710         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52711         * sysdeps/i386/fpu/e_acosh.S: Likewise.
52712         * sysdeps/i386/fpu/e_pow.S: Likewise.
52713         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
52714         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52715         * sysdeps/i386/fpu/s_expm1.S: Likewise.
52716         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
52717         * sysdeps/i386/fpu/e_log2.S: Likewise.
52718         * sysdeps/i386/fpu/e_log2l.S: Likewise.
52719         * sysdeps/i386/fpu/e_scalb.S: Likewise.
52720         * sysdeps/i386/fpu/e_powl.S: Likewise.
52721         * sysdeps/i386/fpu/e_log10f.S: Likewise.
52722         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
52723         * sysdeps/i386/fpu/e_logl.S: Likewise.
52724         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
52725         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
52726         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
52727         * sysdeps/i386/fpu/e_log2f.S: Likewise.
52728         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52729         * sysdeps/i386/fpu/e_log.S: Likewise.
52730         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52731         * sysdeps/i386/fpu/e_logf.S: Likewise.
52732         * sysdeps/i386/fpu/e_log10l.S: Likewise.
52733         * sysdeps/i386/fpu/e_atanh.S: Likewise.
52734         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
52735         * sysdeps/i386/fpu/e_log10.S: Likewise.
52736         * sysdeps/i386/fpu/s_frexp.S: Likewise.
52737         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52738         * sysdeps/i386/fpu/s_asinh.S: Likewise.
52739         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
52740         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52741         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
52742         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
52743         * sysdeps/i386/i686/strtok.S: Likewise.
52744         * sysdeps/i386/i386-mcount.S: Likewise.
52745         * sysdeps/i386/strtok.S: Likewise.
52746         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
52747         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52748         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52749         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52750         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
52751         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52752         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
52753         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
52754         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52755         * sysdeps/x86_64/_mcount.S: Likewise.
52756         * sysdeps/x86_64/strtok.S: Likewise.
52757         * sysdeps/sh/_mcount.S: Likewise.
52759 2012-08-01  Roland McGrath  <roland@hack.frob.com>
52761         * libio/iofopen.c: Include <fcntl.h>.
52762         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
52763         (_IO_fopen64, fopen64): Define as aliases.
52764         * libio/iofopen64.c: Include <fcntl.h>.
52765         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
52766         Conditionalize body on this.
52767         * sysdeps/wordsize-64/iofopen.c: File removed.
52768         * sysdeps/wordsize-64/iofopen64.c: File removed.
52770 2012-08-01  Marek Polacek  <polacek@redhat.com>
52772         * libc/Makeconfig: Use elf in place of binfmt-subdir.
52773         Use dlfcn directly instead of a variable.
52774         (binfmt-subdir): Do not define.
52775         (dlfcn): Likewise.
52777 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
52779         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
52780         Remove all definitions.
52781         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
52782         <kernel-features.h>.
52783         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
52784         (miss_F_GETOWN_EX): Remove all definitions.
52785         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
52786         macro definition.
52787         [!__ASSUME_FCNTL64]: Remove conditional code.
52788         [__ASSUME_FCNTL64]: Make code unconditional.
52789         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
52790         <kernel-features.h>.
52791         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
52792         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
52793         (lockf64) [__NR_fcntl64]: Make code unconditional.
52794         (lockf64) [__ASSUME_FCNTL64]: Likewise.
52796         * sysdeps/unix/sysv/linux/kernel-features.h
52797         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
52798         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
52799         Make code unconditional.
52800         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
52801         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
52802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
52803         [__NR_vfork]: Make code unconditional.
52804         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
52805         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
52806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
52807         [__NR_vfork]: Make code unconditional.
52808         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
52809         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
52811 2012-08-01  Roland McGrath  <roland@hack.frob.com>
52813         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
52814         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
52816         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
52817         Define mkstemp64 as an alias.
52818         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
52819         Define mkstemps64 as an alias.
52820         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
52821         Define mkostemp64 as an alias.
52822         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
52823         Define mkostemps64 as an alias.
52824         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
52825         Conditionalize body on this.
52826         * misc/mkostemp64.c: Likewise.
52827         * misc/mkostemps64.c: Likewise.
52828         * misc/mkstemps64.c: Likewise.
52829         * sysdeps/wordsize-64/mkstemp64.c: File removed.
52830         * sysdeps/wordsize-64/mkostemp64.c: File removed.
52831         * sysdeps/wordsize-64/mkostemp.c: File removed.
52832         * sysdeps/wordsize-64/mkstemp.c: File removed.
52833         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
52834         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
52835         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
52836         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
52838         [BZ #14138]
52839         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
52840         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
52841         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
52842         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
52844         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
52845         compat_symbol macros from <shlib-compat.h> rather than the underlying
52846         default_symbol_version and symbol_version macros, so that DEFAULT
52847         lines in shlib-versions are respected.
52848         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
52850 2012-08-01  Florian Weimer  <fweimer@redhat.com>
52852         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
52853         Declare with warn_unused_result.
52854         (setgid, setregid, setegid, setresgid): Likewise.
52855         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
52856         Likewise.
52857         * WUR-REPORT: Remove set*id functions.
52859 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
52861         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
52863 2012-07-31  Roland McGrath  <roland@hack.frob.com>
52865         [BZ #10191]
52866         * include/sys/socket.h (__libc_accept, __libc_accept4):
52867         Add attribute_hidden.
52868         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
52870         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
52871         use of PTR_MANGLE.
52872         * inet/getnetgrent_r.c (setup): Likewise.
52874         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
52876 2012-07-31  David S. Miller  <davem@davemloft.net>
52878         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52880 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
52882         [BZ #13629]
52883         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
52884         value between 1.0 and 2.0 and smaller part has absolute value less
52885         than 1.0.
52886         * math/s_clog10.c (__clog10): Likewise.
52887         * math/s_clog10f.c (__clog10f): Likewise.
52888         * math/s_clog10l.c (__clog10l): Likewise.
52889         * math/s_clogf.c (__clogf): Likewise.
52890         * math/s_clogl.c (__clogl): Likewise.
52891         * math/libm-test.inc (clog_test): Add more tests.
52892         (clog10_test): Likewise.
52893         * sysdeps/i386/fpu/libm-test-ulps: Update.
52894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52896 2012-07-31  Florian Weimer  <fweimer@redhat.com>
52898         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
52899         Exit with zero in case no suitable GID is found, and write a
52900         message to standard error.
52902 2012-07-30  Roland McGrath  <roland@hack.frob.com>
52904         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
52905         rather than to 1.
52906         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
52907         (MAXPATHLEN): Removed.
52908         (NOGROUP, NODEV): New macros.
52909         (setbit, clrbit, isset, isclr): New macros.
52910         (howmany, roundup, powerof2): New macros.
52911         (DEV_BSIZE): New macro.
52913         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
52914         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
52916         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
52917         definition on [!__NO_LONG_DOUBLE_MATH].
52919         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
52920         PTR_MANGLE and PTR_DEMANGLE.
52922         * socket/accept4.c (accept4): Rename to __libc_accept4.
52923         Define accept4 as a weak alias.
52925         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
52926         on [_DIRENT_HAVE_D_TYPE].
52927         * io/ftw.c (ftw_dir): Likewise.
52929         * io/xmknod.c (__xmknod): Don't check PATH for being null.
52931         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
52933         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
52934         Use the BSD numbers rather than the arbitrary ones we had.
52935         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
52936         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
52937         (SIGXCPU, SIGXFSZ): New macros.
52938         (_NSIG): Now 32.
52940         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
52941         initializer on [_LIBC_REENTRANT].
52943         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
52944         definitions inside [_POSIX_MAPPED_FILES].
52946         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
52948         * dirent/opendir.c: Include <fcntl.h>.
52950         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
52951         (__libc_getspecific): Likewise.
52952         (__libc_key_create): Likewise.
52954         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
52955         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
52956         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
52957         (tmpfile64): Define as alias.
52958         * sysdeps/wordsize-64/tmpfile.c: File removed.
52959         * sysdeps/wordsize-64/tmpfile64.c: File removed.
52960         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
52961         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
52963         * stdio-common/vfscanf.c: Include <stdbool.h>.
52964         * nss/makedb.c: Likewise.
52965         * stdio-common/_i18n_number.h: Likewise.
52966         * argp/argp-help.c: Likewise.
52967         * posix/wordexp.c: Likewise.
52968         * sysdeps/posix/spawni.c: Likewise.
52969         * nss/nss_files/files-initgroups.c: Likewise.
52970         * stdio-common/reg-modifier.c: Include <stdlib.h>.
52971         * nss/nss_files/files-initgroups.c: Likewise.
52972         * nss/nss_db/db-netgrp.c: Likewise.
52973         * nss/nss_db/db-initgroups.c: Likewise.
52974         * io/fchmodat.c: Include <sys/stat.h>.
52976         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
52977         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
52979         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
52980         [HAVE_MMAP].
52982         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
52983         Add multiple inclusion protection.
52985 2012-07-27  David S. Miller  <davem@davemloft.net>
52987         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52989 2012-07-27  Gary Benson  <gbenson@redhat.com>
52991         [BZ #14298]
52992         * elf/rtld.c: Include <stap-probe.h>.
52993         (dl_main): Added static probes "init_start" and "init_complete".
52994         * elf/dl-load.c: Include <stap-probe.h>.
52995         (lose): Take new parameter "nsid".
52996         Added static probe "map_failed".
52997         (_dl_map_object_from_fd): Pass namespace id to lose.
52998         Added static probe "map_start".
52999         (open_verify): Pass namespace id to lose.
53000         * elf/dl-open.c: Include <stap-probe.h>.
53001         (dl_open_worker) Added static probes "map_complete", "reloc_start"
53002         and "reloc_complete".
53003         * elf/dl-close.c: Include <stap-probe.h>.
53004         (_dl_close_worker): Added static probes "unmap_start" and
53005         "unmap_complete".
53006         * elf/rtld-debugger-interface.txt: New file documenting the above.
53008 2012-07-26  Roland McGrath  <roland@hack.frob.com>
53010         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
53011         rather than a string variable.
53012         * sunrpc/rpc_main.c (h_output): Likewise.
53013         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
53015 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
53017         * inet/check_native.c: New file.
53019 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
53021         [BZ #13629]
53022         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
53023         if larger part has absolute value 1.0.
53024         * math/s_clog10.c (__clog10): Likewise.
53025         * math/s_clog10f.c (__clog10f): Likewise.
53026         * math/s_clog10l.c (__clog10l): Likewise.
53027         * math/s_clogf.c (__clogf): Likewise.
53028         * math/s_clogl.c (__clogl): Likewise.
53029         * math/libm-test.inc (clog_test): Add more tests.
53030         (clog10_test): Likewise.
53031         * sysdeps/i386/fpu/libm-test-ulps: Update.
53032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53034         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
53035         (pltexit): Likewise.
53036         (La_regs): Likewise.
53037         (La_retval): Likewise.
53038         (int_retval): Likewise.
53039         Update #error for removed macros to refer only to definitions in
53040         tst-audit.h.
53041         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
53042         macro.
53043         (pltexit): Likewise.
53044         (La_regs): Likewise.
53045         (La_retval): Likewise.
53046         (int_retval): Likewise.
53047         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
53048         macro.
53049         (pltexit): Likewise.
53050         (La_regs): Likewise.
53051         (La_retval): Likewise.
53052         (int_retval): Likewise.
53053         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
53054         macro.
53055         (pltexit): Likewise.
53056         (La_regs): Likewise.
53057         (La_retval): Likewise.
53058         (int_retval): Likewise.
53059         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
53060         macro.
53061         (pltexit): Likewise.
53062         (La_regs): Likewise.
53063         (La_retval): Likewise.
53064         (int_retval): Likewise.
53065         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
53066         macro.
53067         (pltexit): Likewise.
53068         (La_regs): Likewise.
53069         (La_retval): Likewise.
53070         (int_retval): Likewise.
53071         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
53072         macro.
53073         (pltexit): Likewise.
53074         (La_regs): Likewise.
53075         (La_retval): Likewise.
53076         (int_retval): Likewise.
53077         * sysdeps/generic/tst-audit.h: Update comment to refer only to
53078         macro definitions in tst-audit.h.
53079         * sysdeps/i386/tst-audit.h: New file.
53080         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
53081         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
53082         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
53083         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
53084         * sysdeps/sh/tst-audit.h: Likewise.
53085         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
53086         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
53087         * sysdeps/x86_64/tst-audit.h: Likewise.
53089 2012-07-26  Andreas Jaeger  <aj@suse.de>
53091         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
53092         ptrace.
53094         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
53095         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
53096         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
53097         PTRACE_O_MASK.
53098         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
53099         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
53100         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
53102         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
53103         value.
53105         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
53106         _sigsys.
53107         (si_call_addr, si_syscall, si_arch): Define new macro.
53108         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
53109         _sigsys.
53110         (si_call_addr, si_syscall, si_arch): Define new marcro.
53111         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
53112         _sigsys.
53113         (si_call_addr, si_syscall, si_arch): Define new macro.
53114         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
53115         _sigsys.
53116         (si_call_addr, si_syscall, si_arch): Define new macro.
53118 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
53120         [BZ #13717]
53121         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
53122         Change to 2.4.21 where previously 2.4.1.
53123         * sysdeps/unix/sysv/linux/configure: Regenerated.
53124         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
53125         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
53126         Linux kernel version.
53127         (__ASSUME_STD_AUXV): Remove.
53128         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
53129         kernel version.
53130         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
53131         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
53132         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
53133         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
53134         (__ASSUME_NETLINK_SUPPORT): Likewise.
53135         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
53136         (__no_netlink_support): Remove conditional definition.
53137         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
53138         Remove.
53139         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
53140         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
53141         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
53142         (if_nameindex_ioctl): Remove.
53143         (if_nameindex_netlink): Do not handle __no_netlink_support.
53144         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
53145         code.
53146         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
53147         Remove conditional code.
53148         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
53149         code.
53150         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
53151         unconditional.
53152         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
53153         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
53154         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
53155         Remove.
53156         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
53157         [!__ASSUME_STD_AUXV]: Remove conditional code.
53158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
53159         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
53160         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
53161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
53162         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
53163         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
53164         code.
53165         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
53166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
53167         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
53168         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
53169         conditional code.
53170         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
53171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
53172         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
53173         code.
53174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
53175         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
53176         conditional code.
53177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
53178         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
53179         code unconditional.
53180         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53181         conditional code.
53182         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
53183         unconditional.
53184         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53185         conditional code.
53186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53187         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
53188         unconditional.
53189         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53190         conditional code.
53191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
53192         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
53193         code unconditional.
53194         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53195         conditional code.
53196         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
53197         unconditional.
53198         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53199         conditional code.
53200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
53201         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
53202         code unconditional.
53203         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53204         conditional code.
53205         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
53206         unconditional.
53207         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53208         conditional code.
53210 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
53212         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
53213         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
53214         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
53215         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
53216         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
53217         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
53218         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
53219         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
53220         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
53221         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
53222         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
53223         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
53224         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
53225         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
53226         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
53227         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
53228         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
53229         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
53230         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
53231         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
53232         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
53233         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
53234         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
53236 2012-07-25  Florian Weimer  <fweimer@redhat.com>
53238         * Versions.def: Add GLIBC_2.17.
53239         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
53240         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
53241         Introduce __libc_secure_getenv.
53242         * stdlib/Versions (2.17): Add secure_getenv
53243         (GLIBC_PRIVATE): Add __libc_secure_getenv.
53244         * stdlib/secure-getenv.c: Rename __secure_getenv to
53245         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
53246         symbol __secure_getenv for GLIBC_2.0.
53247         * stdlib/tst-secure-getenv.c: New.
53248         * stdlib/Makefile (tests): Add testcase.
53249         * manual/startup.texi (Environment Access): Document
53250         secure_getenv.
53251         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
53252         __libc_secure_getenv.
53253         * inet/ruserpass.c (ruserpass): Likewise.
53254         * malloc/mtrace.c (mtrace): Likewise.
53255         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
53256         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
53257         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
53258         * sysdeps/posix/tempname.c: Likewise.  Evaluate
53259         HAVE_SECURE_GETENV.
53260         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
53261         __secure_getenv to __libc_secure_getenv.
53262         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
53263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53264         Likewise.
53265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53266         Likewise.
53267         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
53268         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
53269         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
53270         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
53271         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
53272         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
53273         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
53275 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
53277         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
53278         (struct La_i86_retval): Likewise.
53279         (struct La_x86_64_regs): Likewise.
53280         (struct La_x86_64_retval): Likewise.
53281         (struct La_x32_regs): Likewise.
53282         (struct La_x32_retval): Likewise.
53283         (struct La_ppc32_regs): Likewise.
53284         (struct La_ppc32_retval): Likewise.
53285         (struct La_ppc64_regs): Likewise.
53286         (struct La_ppc64_retval): Likewise.
53287         (struct La_sh_regs): Likewise.
53288         (struct La_sh_retval): Likewise.
53289         (struct La_s390_32_regs): Likewise.
53290         (struct La_s390_32_retval): Likewise.
53291         (struct La_s390_64_regs): Likewise.
53292         (struct La_s390_64_retval): Likewise.
53293         (struct La_sparc32_regs): Likewise.
53294         (struct La_sparc32_retval): Likewise.
53295         (struct La_sparc64_regs): Likewise.
53296         (struct La_sparc64_retval): Likewise.
53297         (struct audit_ifaces): Remove architecture-specific pltenter and
53298         pltexit members.
53299         * sysdeps/i386/ldsodefs.h: New file.
53300         * sysdeps/powerpc/ldsodefs.h: Likewise.
53301         * sysdeps/s390/ldsodefs.h: Likewise.
53302         * sysdeps/sh/ldsodefs.h: Likewise.
53303         * sysdeps/sparc/ldsodefs.h: Likewise.
53304         * sysdeps/x86_64/ldsodefs.h: Likewise.
53306 2012-07-25  Marek Polacek  <polacek@redhat.com>
53308         [BZ #6808]
53309         * math/libm-test.inc (yn_test): Add another test.
53310         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
53311         to ERANGE when the result is +-Inf.
53312         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
53313         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
53314         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
53315         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
53317 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
53319         * conform/data/time.h-data (NULL): Use macro-constant.  Require
53320         equal to 0.
53321         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
53322         clock_t.
53323         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
53325 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
53327         * configure.in <sysdeps resolving>: Correct printing
53328         Implies_before.
53329         * configure: Regenerate.
53331 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
53333         * math/w_ilogb.c: Include <limits.h>.
53334         * math/w_ilogbl.c: Likewise.
53336 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
53338         * manual/lang.texi (__va_copy): Document primarily as ISO C99
53339         va_copy.  Document allowing for unavailable va_copy only as
53340         pre-C99 compatibility.
53341         * manual/string.texi (Copying and Concatenation): Use va_copy
53342         instead of __va_copy in concat example.
53344 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
53346         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
53347         (__sendto): Use create_address_port.  Initialize APORT and deallocate
53348         it if not null.
53350         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
53351         with O_NOLINK passed to __file_name_lookup.
53353         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
53354         with O_NOLINK passed to __file_name_lookup.
53356         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
53357         negative N or less than NGIDS.
53359         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
53360         type to string_t.  Set ERANGE as errno and return it if NAME is not big
53361         enough.  Use memcpy instead of strncpy.
53363 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
53365         * elf/Makefile (check-data): Remove.
53366         (localplt.data): New vpath directive.
53367         ($(objpfx)check-localplt.out): Use localplt.data from vpath
53368         instead of $(check-data).
53369         * scripts/data/localplt-generic.data: Move to ...
53370         * sysdeps/generic/localplt.data: ... here.
53371         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
53372         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
53373         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
53374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
53375         ... here.
53376         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
53377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
53378         ... here.
53379         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
53380         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
53381         ... here.
53382         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
53383         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
53384         ... here.
53385         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
53386         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
53387         ... here.
53388         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
53389         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
53390         ... here.
53392 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53394         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
53395         PPC32 and PPC64 files.
53396         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
53397         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
53399 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53401         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
53402         __makecontext_ret to ...
53403         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
53404         ... here and call exit if uc_link is NULL.  New file.
53405         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
53406         __makecontext_ret.S.
53407         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
53408         __makecontext_ret to ...
53409         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
53410         ... here and call exit if uc_link is NULL.  New file.
53411         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
53412         __makecontext_ret.S.
53414 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53416         * elf/elf.h (R_390_IRELATIVE): New definition.
53417         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
53418         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
53419         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
53420         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
53421         (elf_machine_lazy_rel): Likewise.
53422         * sysdeps/s390/dl-irel.h: New file.
53423         * sysdeps/s390/s390-64/memcpy.S: New asm code.
53424         * sysdeps/s390/s390-64/memset.S: New asm code.
53425         * sysdeps/s390/s390-64/memcmp.S: New asm code.
53426         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
53427         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
53428         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
53429         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
53430         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
53431         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
53432         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
53433         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
53434         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
53435         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
53436         * sysdeps/s390/s390-32/memcpy.S: New asm code.
53437         * sysdeps/s390/s390-32/memset.S: New asm code.
53438         * sysdeps/s390/s390-32/memcmp.S: New asm code.
53440 2012-07-17  Marek Polacek  <polacek@redhat.com>
53442         [BZ #14349]
53443         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
53444         * sysdeps/s390/s390-64/configure.in: Likewise.
53445         * sysdeps/sparc/configure.in: Likewise.
53446         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
53447         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
53448         * sysdeps/i386/configure.in: Likewise.
53449         * sysdeps/x86_64/configure.in: Likewise.
53450         * sysdeps/sh/configure.in: Likewise.
53451         * sysdeps/s390/s390-32/configure: Regenerated.
53452         * sysdeps/s390/s390-64/configure: Likewise.
53453         * sysdeps/x86_64/configure: Likewise.
53454         * sysdeps/sh/configure: Likewise.
53455         * sysdeps/powerpc/powerpc64/configure: Likewise.
53456         * sysdeps/powerpc/powerpc32/configure: Likewise.
53457         * sysdeps/sparc/configure: Likwise.
53458         * sysdeps/i386/configure: Likewise.
53460         * elf/dl-open.c: Comment fixes.
53462 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
53464         * Makefile [CXX] (check-data): Remove.
53465         [CXX] (c++-types.data): New vpath directive.
53466         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
53467         vpath.  Do not allow for C++ type data being missing.
53468         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
53469         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
53470         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
53471         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
53472         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
53473         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
53474         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
53475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
53476         ... here.
53477         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
53478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
53479         ... here.
53480         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
53481         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
53482         ... here.
53483         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
53484         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
53485         ... here.
53486         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
53487         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
53488         ... here.
53489         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
53490         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
53491         ... here.
53492         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
53493         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
53494         ... here.
53495         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
53496         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
53498         * elf/tls-macros.h (TLS_LE): Move architecture-specific
53499         definitions to architecture-specific files.
53500         (TLS_IE): Likewise.
53501         (TLS_LD): Likewise.
53502         (TLS_GD): Likewise.
53503         * sysdeps/i386/tls-macros.h: New file.
53504         * sysdeps/powerpc/tls-macros.h: Likewise.
53505         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
53506         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
53507         * sysdeps/sh/tls-macros.h: Likewise.
53508         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
53509         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
53510         * sysdeps/x86_64/tls-macros.h: Likewise.
53512 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
53514         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
53515         zero value for regular exit case.
53517         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
53518         (__start_context): Preserve zero value for regular exit case.
53520 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
53521             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53523         * manual/setjmp.texi (setcontext): Clarify normal process
53524         termination when uc_link is the null pointer.
53525         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
53526         exit call.
53528 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
53530         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
53531         preprocessor.  Test for each exception mask separately.
53533 2012-07-16  Andreas Jaeger  <aj@suse.de>
53535         * po/ru.po: Update from translation team.
53537 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
53539         * conform/data/string.h-data (NULL): Use macro-constant.  Require
53540         equal to 0.
53541         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
53542         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
53543         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
53544         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
53545         [ISO || ISO99 || ISO11] (*_t): Do not allow.
53547 2012-07-13  Andreas Jaeger  <aj@suse.de>
53549         * po/fr.po: Update from translation team.
53551 2012-07-12  Marek Polacek  <polacek@redhat.com>
53553         [BZ #14173]
53554         * math/libm-test.inc (yn_test): Add test for BZ #14173.
53555         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
53556         loop condition.
53558 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
53560         [BZ #13717]
53561         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
53562         Change to 2.4.1 where previously 2.4.0.
53563         * sysdeps/unix/sysv/linux/configure: Regenerated.
53564         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
53565         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
53566         version.
53567         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
53568         (__ASSUME_AT_CLKTCK): Remove.
53569         (__ASSUME_AT_PAGESIZE): Likewise.
53570         (__ASSUME_AT_XID): Likewise.
53571         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
53572         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
53573         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
53574         unconditionally.
53575         (HAVE_AUX_PAGESIZE): Likewise.
53576         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
53577         [__ASSUME_AT_CLKTCK]: Make code unconditional.
53578         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
53580 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
53582         [BZ #14307]
53583         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
53584         the temporary buffer used to invoke __gethostbyname2_r,
53585         __gethostbyaddr_r and gethostbyname4_r to make room for struct
53586         host_data / struct gaih_addrtuple.
53587         * resolv/nss_dns/dns-host.c (global scope): Move definition of
53588         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
53589         header file nss/nsswitch.h.
53590         * nss/nsswitch.h (global scope): Add definition of implementation
53591         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
53592         resolv/nss_dns/dns-host.c).
53594 2012-07-11  Andreas Jaeger  <aj@suse.de>
53596         * po/fr.po: Update from translation team.
53598         * po/sv.po: Update from translation team
53599         * po/fr.po: Another update from translation team.
53601 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53603         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
53604         for subnormals or multiply small sinh result by itself.
53605         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
53606         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53608 2012-07-11  David S. Miller  <davem@davemloft.net>
53610         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53612 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
53614         [BZ #14347]
53615         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
53616         (INTERNAL_MARK): Shift it here.
53618 2012-07-10  Marek Polacek  <polacek@redhat.com>
53620         [BZ #14151]
53621         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
53622         libc_cv_asm_global_directive with .globl.
53623         * configure: Regenerated.
53624         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
53625         with .globl.
53626         * sysdeps/i386/configure: Regenerated.
53627         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
53628         with .globl.
53629         * sysdeps/x86_64/configure: Regenerated.
53630         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
53631         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
53632         * elf/tst-unique2mod2.c: Likewise.
53633         * elf/tst-unique2mod1.c: Likewise.
53634         * elf/tst-unique1mod2.c: Likewise.
53635         * elf/tst-unique1mod1.c: Likewise.
53636         * sysdeps/s390/s390-32/sysdep.h: Likewise.
53637         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
53638         * sysdeps/s390/s390-64/sysdep.h: Likewise.
53639         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
53640         * sysdeps/mach/sysdep.h: Likewise.
53641         * sysdeps/i386/sysdep.h: Likewise.
53642         * sysdeps/i386/i386-mcount.S: Likewise.
53643         * sysdeps/x86_64/_mcount.S: Likewise.
53644         * sysdeps/x86_64/sysdep.h: Likewise.
53645         * sysdeps/sh/_mcount.S: Likewise.
53646         * sysdeps/sh/sysdep.h: Likewise.
53647         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
53648         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
53649         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
53650         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
53651         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
53652         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
53653         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
53654         * locale/localeinfo.h: Likewise.
53655         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
53656         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
53658 2012-07-09  Roland McGrath  <roland@hack.frob.com>
53660         [BZ #14336]
53661         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
53662         system".
53663         * manual/message.texi (The Uniforum approach): Likewise.
53664         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
53665         (glibc iconv Implementation): Likewise.
53667 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
53669         [BZ #14337]
53670         * math/s_clog.c (__clog): Avoid scaling a value down where that
53671         could result in underflow.
53672         * math/s_clog10.c (__clog10): Likewise.
53673         * math/s_clog10f.c (__clog10f): Likewise.
53674         * math/s_clog10l.c (__clog10l): Likewise.
53675         * math/s_clogf.c (__clogf): Likewise.
53676         * math/s_clogl.c (__clogl): Likewise.
53677         * math/libm-test.inc (clog_test): Add more tests.
53678         (clog10_test): Likewise.
53679         * sysdeps/i386/fpu/libm-test-ulps: Update.
53680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53682 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
53684         [BZ #14283]
53685         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
53686         by 7 not 8 to examine high bit of fractional part.
53688         [BZ #14042]
53689         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
53690         for call to __mcount_internal.
53691         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
53692         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
53693         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
53695 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
53697         [BZ #14154]
53698         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
53699         approximation for values within 0x1p-13f of an odd multiple of
53700         pi/4.
53701         * math/libm-test.inc (tan_test): Do not allow spurious underflow
53702         exception.  Add more tests.
53703         * sysdeps/i386/fpu/libm-test-ulps: Update.
53705         [BZ #6778]
53706         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
53707         inputs and return -1 for them.  Do not check for +Inf in case not
53708         reachable for +Inf.
53709         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
53710         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
53711         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
53712         and return -1 for them.  Do not check for +Inf in case not
53713         reachable for +Inf.
53714         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
53715         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         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
53720         spurious underflow.
53721         * sysdeps/i386/fpu/libm-test-ulps: Update.
53722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53724 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
53726         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
53728 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
53730         [BZ #14157]
53731         [BZ #14331]
53732         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
53733         could result in spurious underflow.  Scale down values above
53734         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
53735         * math/s_csqrtf.c (__csqrtf): Likewise.
53736         * math/s_csqrtl.c (__csqrtl): Likewise.
53737         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
53738         spurious underflow.
53739         * sysdeps/i386/fpu/libm-test-ulps: Update.
53740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53742 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
53744         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
53745         xopen-msg.sed.
53746         * catgets/xopen-msg.awk: New file.
53747         * catgets/xopen-msg.sed: Removed.
53749         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
53750         po2text.sed.
53751         * intl/po2test.awk: New file.
53752         * intl/po2test.sed: Removed.
53754 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
53756         [BZ #14328]
53757         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
53758         or multiply small sinh result by itself.
53759         * math/s_ctanf.c (__ctanf): Likewise.
53760         * math/s_ctanh.c (__ctanh): Likewise.
53761         * math/s_ctanhf.c (__ctanhf): Likewise.
53762         * math/s_ctanhl.c (__ctanhl): Likewise.
53763         * math/s_ctanl.c (__ctanl): Likewise.
53764         * math/libm-test.inc (ctan_test_tonearest): New function.
53765         (ctan_test_towardzero): Likewise.
53766         (ctan_test_downward): Likewise.
53767         (ctan_test_upward): Likewise.
53768         (ctanh_test_tonearest): Likewise.
53769         (ctanh_test_towardzero): Likewise.
53770         (ctanh_test_downward): Likewise.
53771         (ctanh_test_upward): Likewise.
53772         (main): Call these new functions.
53773         * sysdeps/i386/fpu/libm-test-ulps: Update.
53774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53776 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
53778         * .gitignore: Delete /ports entry.
53780 2012-07-03  Andreas Jaeger  <aj@suse.de>
53782         * po/bg.po: Update from translation team.
53783         * po/cs.po: Likewise.
53784         * po/de.po: Likewise.
53785         * po/hr.po: Likewise.
53786         * po/nl.pl: Likewise.
53787         * po/pl.po: Likewise.
53788         * po/vi.po: Likewise.
53790 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
53792         * Makeconfig [!+link] (+link-before-libc): New variable.
53793         [!+link] (+link-after-libc): Likewise.
53794         [!+link] (+link-tests): Likewise.
53795         [!+link] (+link): Define in terms of $(+link-before-libc) and
53796         $(+link-after-libc).
53797         [!+link-static] (+link-static-before-libc): New variable.
53798         [!+link-static] (+link-static-after-libc): Likewise.
53799         [!+link-static] (+link-static-tests): Likewise.
53800         [!+link-static] (+link-static): Define in terms of
53801         $(+link-static-before-libc) and $(+link-static-after-libc).
53802         [build-shared] (link-libc-before-gnulib): New variable.
53803         [build-shared] (link-libc-tests): Likewise.
53804         [build-shared] (link-libc): Define in terms of
53805         $(link-libc-before-gnulib).
53806         [!build-shared] (link-libc-tests): New variable.
53807         (link-libc-static-tests): New variable.
53808         [!gnulib] (gnulib-arch): New variable.
53809         [!gnulib] (gnulib-tests): Likewise.
53810         [!gnulib] (static-gnulib-arch): Likewise.
53811         [!gnulib] (static-gnulib-tests): Likewise.
53812         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
53813         Define with "=" instead of ":=".
53814         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
53815         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
53816         * Rules (binaries-all-notests): New variable.
53817         (binaries-all-tests): Likewise.
53818         (binaries-static-notests): Likewise.
53819         (binaries-static-tests): Likewise.
53820         (binaries-all): Define using $(binaries-all-notests) and
53821         $(binaries-all-tests).
53822         (binaries-static): Define using $(binaries-static-notests) and
53823         $(binaries-static-tests).
53824         (binaries-shared-tests): New variable.
53825         (binaries-shared-notests): Likewise.
53826         (binaries-shared): Remove variable.
53827         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
53828         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
53829         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
53830         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
53831         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
53832         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
53833         * elf/Makefile (sln-modules): New variable.
53834         (extra-objs): Add $(sln-modules:=.o).
53835         (ldconfig-modules): Add static-stubs.
53836         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
53837         * elf/static-stubs.c: New file.
53839         [BZ #14283]
53840         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
53841         by 7 not 8 to examine high bit of fractional part.  Use volatile
53842         variables when splitting into final array of floats if
53843         __FLT_EVAL_METHOD__ != 0.
53844         * math/libm-test.inc (cos_test): Add another test.
53845         (sin_test): Likewise.
53846         * sysdeps/i386/fpu/libm-test-ulps: Update.
53848         [BZ #14273]
53849         * math/libm-test.inc (cosh_test): Add more tests.
53851         * version.h (RELEASE): Set to "development".
53852         (VERSION): Set to "2.16.90".
53854 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
53856         * NEWS: Update copyright. Remove last-updated date.
53857         Mention math library bug fixes and timezone data changes.
53858         * README: Mention GNU/Hurd, x32, and HPPA support status.
53860 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
53862         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
53864 2012-06-27  Andreas Jaeger  <aj@suse.de>
53866         * manual/contrib.texi (Contributors): Add Samuel Thibault.
53868 2012-06-25  Andreas Jaeger  <aj@suse.de>
53870         * sysdeps/s390/fpu/libm-test-ulps: Update.
53872 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
53873             Thomas Schwinge  <thomas@codesourcery.com>
53875         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
53876         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
53877         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
53878         fanotify_mark.
53880 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
53882         * sysdeps/mach/start.c: Remove file.
53883         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
53884         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
53885         * sysdeps/sh/init-first.c: Likewise.
53887         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
53888         registers for frame unwinding purposes, add CFI directives.
53889         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
53890         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
53891         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
53892         Likewise.
53894         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
53895         __fortify_fail returning.
53896         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
53898         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
53899         sysdeps/sh/____longjmp_chk.S.
53900         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
53901         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
53902         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
53903         (gen-as-const-headers): Append sigaltstack-offsets.sym.
53905         * sysdeps/sh/abort-instr.h: New file.
53906         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
53907         process in case exit returns.
53909         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
53910         initialize the GOT register before use.
53912         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
53913         calculation of ARGC > 4.
53915         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
53916         meaningful names to some local labels.
53918 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53919             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53921         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
53922         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
53923         (__arch_compare_and_exchange_val_16_acq): Likewise.
53924         (__arch_compare_and_exchange_val_32_acq): Likewise.
53925         (atomic_exchange_and_add): Fix gUSA sequence.
53926         (atomic_add): Likewise.
53927         (atomic_add_negative): Likewise.
53928         (atomic_add_zero): Likewise.
53929         (atomic_bit_test_set): Likewise.
53931 2012-06-22  Andreas Schwab  <schwab@redhat.com>
53933         [BZ #13579]
53934         * include/link.h (struct link_map): Add l_free_initfini.
53935         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
53936         l_initfini.
53937         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
53938         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
53939         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
53940         set.
53942 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
53944         * configure.in: Use AC_LANG_SOURCE.
53945         * configure: Regenerate.
53947 2012-06-22  Roland McGrath  <roland@hack.frob.com>
53949         * configure.in (libc_cv_localstatedir): New substituted variable.
53950         * configure: Regenerated.
53951         * config.make.in (localstatedir): New variable, substituted from
53952         libc_cv_localstatedir.
53953         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
53954         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
53955         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
53956         * sysdeps/gnu/configure: Regenerated.
53958 2012-06-21  Jeff Law  <law@redhat.com>
53960         [BZ #14277]
53961         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
53962         free.  Simplify list management for _LIBC case.
53964 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
53966         [BZ #14273]
53967         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
53968         Clear sign bit of 64-bit integer value before comparing against
53969         overflow value.
53971         * sysdeps/mach/configure: Regenerated.
53973 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
53975         [BZ #14278]
53976         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
53978 2012-06-21  Jeff Law  <law@redhat.com>
53980         [BZ #13882]
53981         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
53982         uint16_t for elements in the "seen" array to avoid char overflows.
53983         * elf/dl-fini.c (_dl_sort_fini): Likewise.
53984         * elf/dl-open.c (dl_open_worker): Likewise.
53986 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
53988         * scripts/list-sources.sh: Scan PORTS for translations.
53989         * po/libc.pot: Regenerated.
53991 2012-06-21  Andreas Jaeger  <aj@suse.de>
53993         [BZ #12194]
53994         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
53995         warning.
53996         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
53997         * bits/byteswap-16.h (__bswap_16): Likewise.
53998         * bits/byteswap.h (__bswap_constant_16): Likewise.
54000 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
54002         [BZ #14117]
54003         * sysdeps/i386/fpu_control.h: Removed.
54004         * sysdeps/x86_64/fpu_control.h: Moved to ...
54005         * sysdeps/x86/fpu_control.h: Here.
54007         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
54008         (_FPU_SETCW): Likewise.
54010 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
54012         [BZ #14117]
54013         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
54014         * sysdeps/x86/fpu/bits/mathinline.h: This.
54015         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
54017         [BZ #14050]
54018         [BZ #14117]
54019         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
54020         functions if __x86_64__ is defined.
54022 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
54024         * string/endian.h: Add !__ASSEMBLER__ condition for including
54025         conversion interfaces.
54027 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
54029         [BZ #14241]
54030         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
54031         of ABS(x) in calculating zero to negative powers other than odd
54032         integers.
54033         * math/libm-test.inc (pow_test): Add more tests.
54035 2012-06-15  Andreas Jaeger  <aj@suse.de>
54037         * manual/contrib.texi (Contributors): Update entry of Liubov
54038         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
54039         Machado Filho.
54041 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
54043         * string/string.h: Add __wur to GNU version of strerror_r.
54045 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
54047         [BZ #14229]
54048         * string/Makefile (tests): Add tst-strtok_r.
54049         * string/tst-strtok_r.c: New file.
54050         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
54051         RAX_LP/RDX_LP on SAVE_PTR.
54053 2012-06-14  Roland McGrath  <roland@hack.frob.com>
54055         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
54057 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
54059         * libm_test.inc (csqrt_test): Allow more spurious underflow
54060         exceptions.
54061         (j0_test): Likewise.
54062         (j1_test): Likewise.
54063         (y0_test): Likewise.
54064         (y1_test): Likewise.
54066 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
54068         * po/Makefile (libc.pot): Use UTF-8 charset.
54070 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
54072         [BZ #14210]
54073         Suppress sign-conversion warning from FD_SET.
54074         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
54075         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
54076         not unsigned long int.
54077         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
54079 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
54081         [BZ #14050]
54082         [BZ #14117]
54083         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
54084         __extern_always_inline instead of __extern_inline.
54085         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
54086         (__signbit): Likewise.
54087         (__signbitl): Support C++ namespace.
54088         (lrintf): New inline function.
54089         (lrint): Likewise.
54090         (llrintf): Likewise.
54091         (llrint): Likewise.
54092         (fmaxf): Likewise.
54093         (fmax): Likewise.
54094         (fminf): Likewise.
54095         (fmin): Likewise.
54096         (rint): Likewise.
54097         (rintf): Likewise.
54098         (ceil): Likewise.
54099         (ceilf): Likewise.
54100         (floor): Likewise.
54101         (floorf): Likewise.
54102         (nearbyint): Likewise.
54103         (nearbyintf): Likewise.
54105 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
54107         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
54108         non-default versions.
54110 2012-06-11  Roland McGrath  <roland@hack.frob.com>
54112         [BZ #14218]
54113         * manual/argp.texi (Argp): Reword argp_parse description slightly.
54115 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
54117         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
54118         (FE_UPWARD, FE_DOWNWARD): Don't define.
54119         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
54120         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
54122         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
54123         reading it.
54124         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
54125         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54127 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54129         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
54130         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
54131         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
54132         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
54134 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
54136         [BZ #14117]
54137         * sysdeps/i386/fpu/bits/fenv.h: Removed.
54138         * sysdeps/i386/fpu/Implies: New file.
54139         * sysdeps/x86_64/fpu/Implies: Likewise.
54140         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
54141         * sysdeps/x86/fpu/bits/fenv.h: This.
54143         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
54144         __SSE_MATH__.
54146 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
54148         [BZ #14134]
54149         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
54150         character 0xffff that matches the last element of the
54151         conversion table.
54153 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54155         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
54156         fmodl commit.
54158 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54160         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
54161         values higher than 25.6283.
54163 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54165         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
54166         subnormal exponent extraction and add some __builtin_expect.
54167         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
54168         Fix for subnormal mantissa calculation.
54170 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
54172         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
54173         cpu2 is -1 and errno is not ENOSYS.
54175 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
54177         [BZ #14117]
54178         * sysdeps/i386/i486/bits/string.h: Renamed to ...
54179         * sysdeps/x86/bits/string.h: This.
54180         * sysdeps/x86_64/bits/string.h: Removed.
54182         * sysdeps/i386/i486/bits/string.h: Define inline functions only
54183         if not compiling for x86-64, but compiling for >= i486.
54185         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
54186         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
54188         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
54189         New macro from Linux kernel 3.4.0.
54190         (FP_XSTATE_MAGIC2): Likewise.
54191         (FP_XSTATE_MAGIC2_SIZE): Likewise.
54192         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
54193         (struct _fpx_sw_bytes): New struct.
54194         (struct _xsave_hdr): Likewise.
54195         (struct _ymmh_state): Likewise.
54196         (struct _xstate): Likewise.
54198         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
54199         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
54200         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
54201         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
54202         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
54203         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
54205         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
54206         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
54207         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
54208         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
54209         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
54210         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
54212 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54214         [BZ #13743]
54215         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
54216         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
54217         (sysdep_headers): Include sys/platform/ppc.h.
54218         * sysdeps/powerpc/test-gettimebase.c: Test for
54219         __ppc_get_timebase() to catch future ISA opcode/insn changes.
54220         * manual/Makefile (appendices): Include platform.texi.
54221         * manual/contrib.texi (Contributors): Update @node pointers.
54222         * manual/maint.texi (Maintenance): Likewise.
54223         (Platform): New node.
54224         * manual/platform.texi: New file.  Document the new features.
54226 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54227             Jakub Jelinek  <jakub@redhat.com>
54229         [BZ #14188]
54230         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
54231         where __builtin_expect is unavailable.
54233 2012-06-03  David S. Miller  <davem@davemloft.net>
54235         * stdlib/longlong.h: Updated from GCC.
54237 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
54239         [BZ #14042]
54240         * sysdeps/powerpc/powerpc32/mcount.c: New file.
54241         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
54242         __mcount_internal.
54243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
54244         (GLIBC_2.16): Likewise.
54246 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
54248         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
54250 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
54252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
54253         (default-abi): New variable.
54254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
54255         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
54256         variable.
54257         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
54258         Likewise.
54259         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
54260         Likewise.
54261         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
54262         Likewise.
54264         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
54265         definition.  Document in comment.
54267 2012-06-01  David S. Miller  <davem@davemloft.net>
54269         * stdlib/longlong.h: Updated from GCC.
54271 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
54273         [BZ #14117]
54274         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
54275         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
54276         sys/debugreg.h sys/io.h here.
54277         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
54278         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
54279         sys/io.h.
54280         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
54281         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
54282         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
54283         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
54284         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
54285         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
54287         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
54288         Define only if __x86_64__ is defined.
54290 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
54292         [BZ #14048]
54293         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
54294         Use int64_t for variable i.
54295         * math/libm-test.inc (fmod_test): Add more tests.
54297         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
54298         z computation is not scheduled after fetestexcept.
54299         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
54300         Use math_force_eval instead of asm to ensure calculation scheduled
54301         before exception test.
54302         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
54303         Ensure a1 + u.d computation is not scheduled after fetestexcept.
54305 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
54307         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
54308         computation is not scheduled after fetestexcept.
54310 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
54312         [BZ #14117]
54313         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
54314         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
54316 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54318         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
54319         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
54321 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
54323         [BZ #14117]
54324         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
54325         <bits/wordsize.h>.
54326         (__WCHAR_MIN): Support __WORDSIZE == 64.
54327         (__WCHAR_MAX): Likewise.
54329         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
54330         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
54332         [BZ #14183]
54333         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
54334         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
54336         [BZ #14117]
54337         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
54338         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
54340         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
54341         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
54343         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
54344         Defined to 1 if __x86_64__ isn't defined.
54345         (_STAT_VER_LINUX_OLD): New.
54346         (st_atime): Remove duplicate.
54347         (st_mtime): Likewise.
54348         (st_ctime): Likewise.
54350 2012-05-31  David S. Miller  <davem@davemloft.net>
54352         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
54353         entries.
54355 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
54357         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
54358         gen-libm-test.pl.
54360         [BZ #14132]
54361         * elf/dl-reloc.c: Include <_itoa.h>.
54362         (_dl_reloc_bad_type): Remove use of INTUSE.
54363         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
54364         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
54365         * stdio-common/psiginfo.c (psiginfo): Likewise.
54366         * stdio-common/psignal.c (psignal): Likewise.
54367         * string/strsignal.c (strsignal): Likewise.
54368         * include/signal.h (_sys_siglist): Declare hidden proto.
54369         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
54370         INTVARDEF with libc_hidden_data_def.
54371         * stdio-common/itoa-udigits.c: Likewise.
54372         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
54373         (_itoa_lower_digits_internal): Remove declaration.
54374         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
54375         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
54376         (_sys_sigabbrev_internal): Remove aliases.
54377         (_sys_siglist): Define hidden alias.
54379 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
54381         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54382         bits/sysctl.h.
54384 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
54386         [BZ #14117]
54387         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
54388         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
54390         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
54391         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
54392         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
54393         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
54394         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
54395         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
54397         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
54398         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
54399         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
54401         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
54402         with __addr.
54403         (insw): Likewise.
54404         (insl): Likewise.
54405         (outsb): Likewise.
54406         (outsw): Likewise.
54407         (outsl): Likewise.
54409         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
54410         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
54411         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
54413         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
54414         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
54415         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
54416         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
54417         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
54418         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
54420         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
54421         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
54423         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
54424         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
54426         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
54427         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
54428         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
54430         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
54431         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
54432         to ...
54433         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
54435         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
54436         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
54437         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
54439         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
54440         for x86-64.
54441         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
54443 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
54445         * math/math.h (M_El): Use two more decimal places.
54446         (M_LOG2El): Likewise.
54447         (M_LOG10El): Likewise.
54448         (M_LN2l): Likewise.
54449         (M_LN10l): Likewise.
54450         (M_PIl): Likewise.
54451         (M_PI_2l): Likewise.
54452         (M_PI_4l): Likewise.
54453         (M_1_PIl): Likewise.
54454         (M_2_PIl): Likewise.
54455         (M_2_SQRTPIl): Likewise.
54456         (M_SQRT2l): Likewise.
54457         (M_SQRT1_2l): Likewise.
54459 2012-05-31  David S. Miller  <davem@davemloft.net>
54461         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
54462         values between float registers.
54463         * sysdeps/sparc/sparc64/memset.S: Likewise.
54464         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
54466 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
54468         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
54469         -D_FORTIFY_SOURCE=1.
54470         (CPPFLAGS-tst-longjmp_chk.c): Define.
54471         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
54472         (CPPFLAGS-tst-longjmp_chk2.c): Define.
54473         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
54474         CFLAGS-tst-wchar-h.c.
54476 2012-05-31  Marek Polacek  <polacek@redhat.com>
54478         [BZ #14132]
54479         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
54480         __endmntent_internal): Remove declaration.
54481         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
54482         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
54483         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
54485 2012-05-30  David S. Miller  <davem@davemloft.net>
54487         * sysdeps/sparc/sparc32/soft-fp/q_util.c
54488         (___Q_simulate_exceptions): Use real FP ops rather than writing
54489         into the %fsr.
54490         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
54491         Likewise.
54493 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
54495         [BZ #14117]
54496         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
54497         * sysdeps/x86/bits/xtitypes.h: This.
54499         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
54500         * sysdeps/x86/bits/wordsize.h: This.
54502         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
54503         * sysdeps/x86/bits/huge_vall.h: This.
54505         * sysdeps/i386/bits/select.h: Removed.
54506         * sysdeps/x86_64/bits/select.h: Renamed to ...
54507         * sysdeps/x86/bits/select.h: This.
54509         * sysdeps/i386/bits/setjmp.h: Removed.
54510         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
54511         * sysdeps/x86/bits/setjmp.h: This.
54513         * sysdeps/i386/bits/mathdef.h: Removed.
54514         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
54515         * sysdeps/x86/bits/mathdef.h: This.
54517 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
54519         [BZ #14132]
54520         * include/sys/socket.h (__connect_internal)
54521         (__libc_sa_len_internal): Remove declaration.
54522         (__connect, __libc_sa_len): Declare hidden_proto.
54523         (SA_LEN): Remove use of INTUSE.
54524         * socket/connect.c: Add libc_hidden_def.
54525         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
54526         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
54527         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
54528         alias.
54529         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
54530         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
54531         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
54532         of adding _internal alias.
54534 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
54536         [BZ #14117]
54537         * sysdeps/i386/bits/link.h: Removed.
54538         * sysdeps/i386/bits/linkmap.h: Likewise.
54539         * sysdeps/x86_64/bits/link.h: Renamed to ...
54540         * sysdeps/x86/bits/link.h: This.
54541         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
54542         * sysdeps/x86/bits/linkmap.h: This.
54544         * sysdeps/i386/bits/endian.h: Removed.
54545         * sysdeps/x86_64/bits/endian.h: Renamed to ...
54546         * sysdeps/x86/bits/endian.h: This.
54548         * sysdeps/i386/bits/byteswap.h: Removed.
54549         * sysdeps/i386/bits/byteswap-16.h: Likewise.
54550         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
54551         * sysdeps/x86/bits/byteswap.h: This.
54552         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
54553         * sysdeps/x86/bits/byteswap-16.h: This.
54554         * sysdeps/i386/Implies: Add x86.
54555         * sysdeps/x86_64/Implies: Likewise.
54557 2012-05-30  David S. Miller  <davem@davemloft.net>
54559         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
54560         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
54561         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
54562         (FP_TRAPPING_EXCEPTIONS): Define.
54563         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
54564         (FP_TRAPPING_EXCEPTIONS): Define.
54565         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
54566         subnormals only when inexact has been signalled or underflow
54567         exceptions are enabled.
54568         (_FP_PACK_CANONICAL): Likewise.
54570 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
54572         [BZ #14183]
54573         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
54574         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
54576 2012-05-30  Richard Henderson  <rth@twiddle.net>
54578         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
54579         with #ifndef NOT_IN_libc.
54581         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
54582         marked to avoid plt entry.
54584 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
54586         [BZ #14112]
54587         * Makeconfig (default-abi): New macro.
54588         (abi-includes): Likewise.
54589         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
54590         $(abi-$(default-abi)-lib-soname) for soname if defined.
54591         ($(common-objpfx)gnu/lib-names.stmp): Generate from
54592         abi-variants.
54593         * Makefile (installed-stubs): Likewise.
54594         * include/stubs-biarch.h: Removed.
54595         * scripts/lib-names.awk: Only handle one library at a time.
54596         * scripts/soversions.awk: Remove WORDSIZE support.
54597         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
54598         entries.
54599         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
54600         Removed.
54601         (syscall-list-default-condition): Likewise.
54602         (syscall-list-default-condition): Likewise.
54603         (syscall-list-includes): Likewise.
54604         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
54605         syscall-list-* with abi-*.  Handle undefined abi-variants.
54606         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
54607         * sysdeps/unix/sysv/linux/i386/Implies: New file.
54608         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
54609         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
54610         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
54611         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
54612         Removed.
54613         (syscall-list-32-options): Likewise.
54614         (syscall-list-32-condition): Likewise.
54615         (syscall-list-64-options): Likewise.
54616         (syscall-list-64-condition): Likewise.
54617         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
54618         macro.
54619         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
54620         Renamed to ...
54621         (abi-*): This.
54622         (abi-64-ld-soname): New macro.
54623         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
54624         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
54625         Renamed to ...
54626         (abi-*): This.
54627         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
54628         * sysdeps/x86_64/x32/shlib-versions: Likewise.
54630 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
54632         * sysdeps/unix/sysv/linux/kernel-features.h
54633         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
54634         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
54635         include <kernel-features.h>.
54636         [!__NR_ftruncate64]: Remove conditional code.
54637         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54638         [__NR_ftruncate64]: Make code unconditional.
54639         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54640         * sysdeps/unix/sysv/linux/truncate64.c: Do not
54641         include <kernel-features.h>.
54642         [!__NR_ftruncate64]: Remove conditional code.
54643         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54644         [__NR_ftruncate64]: Make code unconditional.
54645         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
54647         include <kernel-features.h>.
54648         [!__NR_ftruncate64]: Remove conditional code.
54649         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54650         [__NR_ftruncate64]: Make code unconditional.
54651         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
54653         include <kernel-features.h>.
54654         [!__NR_ftruncate64]: Remove conditional code.
54655         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54656         [__NR_ftruncate64]: Make code unconditional.
54657         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54659         * configure.in (libc_cv_fpie): Weaken to a compile test using
54660         LIBC_TRY_CC_OPTION.
54661         * configure: Regenerated.
54663 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54665         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
54666         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
54667         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
54668         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
54669         Refreshed.
54670         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
54671         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
54672         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
54673         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
54674         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
54675         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
54676         Refreshed.
54678 2012-05-27  David S. Miller  <davem@davemloft.net>
54680         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
54681         (___Q_zero): New.
54682         (__Q_simulate_exceptions): Return void.  Change to simulate
54683         exceptions by writing into the %fsr.
54684         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
54685         (__Qp_handle_exceptions): Likewise.
54686         (numbers): Delete.
54687         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
54688         __Qp_handle_exceptions.
54689         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
54690         __Qp_handle_exceptions.
54691         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
54692         as unused and give dummy FP_RND_NEAREST initializer.
54693         (FP_INHIBIT_RESULTS): Define.
54694         (___Q_simulate_exceptions): Update declaration.
54695         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
54696         formatting.
54697         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
54698         as unused and give dummy FP_RND_NEAREST initializer.
54699         (__Qp_handle_exceptions): Update declaration.
54700         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
54701         formatting.
54703 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
54705         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
54706         the temporary FPU control word.
54707         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
54708         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
54709         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
54710         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
54711         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
54712         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
54713         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
54714         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
54715         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
54716         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
54717         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54719 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54721         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
54722         fields.
54724 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
54726         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
54727         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
54728         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
54729         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
54730         Likewise.
54731         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
54732         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
54733         Likewise.
54735 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
54737         * po/h.po: Update from translation team.
54739 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
54741         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
54743         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
54744         handling of denormals.
54745         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
54746         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
54747         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
54748         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
54749         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
54750         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
54751         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
54752         Likewise.
54754 2012-05-26  Marek Polacek  <polacek@redhat.com>
54756         [BZ #14152]
54757         * math/libm-test.inc (fma_test): Don't always expect underflow
54758         exception.
54760 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54762         [BZ #12416]
54763         * elf/tst-execstack.c: Include stackinfo.h.
54764         (do_test): Adjust test case to ensure that pthread_getattr_np
54765         behaviour remains the same after marking stack executable.
54767 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
54769         * sysdeps/unix/sysv/linux/kernel-features.h
54770         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
54771         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
54772         kernel-features.h.
54773         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
54774         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
54775         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
54776         kernel-features.h.
54777         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
54778         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
54780 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
54782         * configure.in: Define the default includes to being none.
54783         * configure: Regenerated.
54785 2012-05-25  Roland McGrath  <roland@hack.frob.com>
54787         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
54788         * sysdeps/x86_64/setjmp.S: Likewise.
54789         * sysdeps/i386/bsd-setjmp.S: Likewise.
54790         * sysdeps/i386/bsd-_setjmp.S: Likewise.
54791         * sysdeps/i386/setjmp.S: Likewise.
54792         * sysdeps/i386/__longjmp.S: Likewise.
54793         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
54794         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
54796         * include/stap-probe.h: New file.
54797         * configure.in: Handle --enable-systemtap.
54798         * configure: Regenerated.
54799         * config.h.in (USE_STAP_PROBE): New #undef.
54800         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
54801         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
54802         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
54804 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
54806         [BZ #13717]
54807         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
54808         to 2.4.0 where earlier.
54809         * sysdeps/unix/sysv/linux/configure: Regenerated.
54810         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
54811         <kernel-features.h>.
54812         [__ASSUME_32BITUIDS]: Make code unconditional.
54813         [!__ASSUME_32BITUIDS]: Remove conditional code.
54814         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
54815         <kernel-features.h>.
54816         [__ASSUME_32BITUIDS]: Make code unconditional.
54817         [!__ASSUME_32BITUIDS]: Remove conditional code.
54818         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
54819         [__ASSUME_32BITUIDS]: Make code unconditional.
54820         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
54821         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
54822         <kernel-features.h>.
54823         [__ASSUME_32BITUIDS]: Make code unconditional.
54824         [!__ASSUME_32BITUIDS]: Remove conditional code.
54825         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
54826         <kernel-features.h>.
54827         [__ASSUME_32BITUIDS]: Make code unconditional.
54828         [!__ASSUME_32BITUIDS]: Remove conditional code.
54829         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
54830         <kernel-features.h>.
54831         [__ASSUME_32BITUIDS]: Make code unconditional.
54832         [!__ASSUME_32BITUIDS]: Remove conditional code.
54833         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
54834         <kernel-features.h>.
54835         [__ASSUME_32BITUIDS]: Make code unconditional.
54836         [!__ASSUME_32BITUIDS]: Remove conditional code.
54837         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
54838         <kernel-features.h>.
54839         [__ASSUME_32BITUIDS]: Make code unconditional.
54840         [!__ASSUME_32BITUIDS]: Remove conditional code.
54841         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
54842         <kernel-features.h>.
54843         [__ASSUME_32BITUIDS]: Make code unconditional.
54844         [!__ASSUME_32BITUIDS]: Remove conditional code.
54845         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
54846         <kernel-features.h>.
54847         [__ASSUME_32BITUIDS]: Make code unconditional.
54848         [!__ASSUME_32BITUIDS]: Remove conditional code.
54849         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
54850         <kernel-features.h>.
54851         [__ASSUME_32BITUIDS]: Make code unconditional.
54852         [!__ASSUME_32BITUIDS]: Remove conditional code.
54853         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
54854         <kernel-features.h>.
54855         [__ASSUME_32BITUIDS]: Make code unconditional.
54856         [!__ASSUME_32BITUIDS]: Remove conditional code.
54857         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
54858         <kernel-features.h>.
54859         [__ASSUME_32BITUIDS]: Make code unconditional.
54860         [!__ASSUME_32BITUIDS]: Remove conditional code.
54861         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
54862         <kernel-features.h>.
54863         [__NR_setresgid] (__setresgid): Do not declare.
54864         [__ASSUME_32BITUIDS]: Make code unconditional.
54865         [!__ASSUME_32BITUIDS]: Remove conditional code.
54866         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
54867         <kernel-features.h>.
54868         [__NR_setresuid] (__setresuid): Do not declare.
54869         [__ASSUME_32BITUIDS]: Make code unconditional.
54870         [!__ASSUME_32BITUIDS]: Remove conditional code.
54871         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
54872         <kernel-features.h>.
54873         [__ASSUME_32BITUIDS]: Make code unconditional.
54874         [!__ASSUME_32BITUIDS]: Remove conditional code.
54875         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
54876         <kernel-features.h>.
54877         [__ASSUME_32BITUIDS]: Make code unconditional.
54878         [!__ASSUME_32BITUIDS]: Remove conditional code.
54879         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
54880         <kernel-features.h>.
54881         [__ASSUME_32BITUIDS]: Make code unconditional.
54882         [!__ASSUME_32BITUIDS]: Remove conditional code.
54883         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
54884         <kernel-features.h>.
54885         [__ASSUME_32BITUIDS]: Make code unconditional.
54886         [!__ASSUME_32BITUIDS]: Remove conditional code.
54887         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
54888         <kernel-features.h>.
54889         [__ASSUME_32BITUIDS]: Make code unconditional.
54890         [!__ASSUME_32BITUIDS]: Remove conditional code.
54891         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
54892         <kernel-features.h>.
54893         [__ASSUME_32BITUIDS]: Make code unconditional.
54894         [!__ASSUME_32BITUIDS]: Remove conditional code.
54895         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
54896         <kernel-features.h>.
54897         [__ASSUME_32BITUIDS]: Make code unconditional.
54898         [!__ASSUME_32BITUIDS]: Remove conditional code.
54899         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
54900         <kernel-features.h>.
54901         [__ASSUME_32BITUIDS]: Make code unconditional.
54902         [!__ASSUME_32BITUIDS]: Remove conditional code.
54903         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
54904         <kernel-features.h>.
54905         [__ASSUME_32BITUIDS]: Make code unconditional.
54906         [!__ASSUME_32BITUIDS]: Remove conditional code.
54907         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
54908         <kernel-features.h>.
54909         [__ASSUME_32BITUIDS]: Make code unconditional.
54910         [!__ASSUME_32BITUIDS]: Remove conditional code.
54911         * sysdeps/unix/sysv/linux/kernel-features.h
54912         (__ASSUME_SETRESUID_SYSCALL): Remove.
54913         (__ASSUME_SETRESGID_SYSCALL): Likewise.
54914         (__ASSUME_32BITUIDS): Likewise.
54915         (__ASSUME_LDT_WORKS): Likewise.
54916         (__ASSUME_O_DIRECTORY): Likewise.
54917         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
54918         architecture but not kernel version.
54919         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
54920         (__ASSUME_MMAP2_SYSCALL): Likewise.
54921         (__ASSUME_STAT64_SYSCALL): Likewise.
54922         (__ASSUME_IPC64): Likewise.
54923         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
54924         <kernel-features.h>.
54925         [__ASSUME_32BITUIDS]: Make code unconditional.
54926         [!__ASSUME_32BITUIDS]: Remove conditional code.
54927         * sysdeps/unix/sysv/linux/opendir.c: Do not include
54928         <kernel-features.h>.
54929         [__ASSUME_O_DIRECTORY]: Make code unconditional.
54930         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
54931         132096]: Remove conditional code.
54932         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
54933         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
54934         <kernel-features.h>.
54935         [__ASSUME_32BITUIDS]: Make code unconditional.
54936         [!__ASSUME_32BITUIDS]: Remove conditional code.
54937         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
54938         <kernel-features.h>.
54939         [__ASSUME_32BITUIDS]: Make code unconditional.
54940         [!__ASSUME_32BITUIDS]: Remove conditional code.
54941         * sysdeps/unix/sysv/linux/setegid.c: Do not include
54942         <kernel-features.h>.
54943         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
54944         unconditional.
54945         (__setresgid): Do not declare.
54946         [__ASSUME_32BITUIDS]: Make code unconditional.
54947         [!__ASSUME_32BITUIDS]: Remove conditional code.
54948         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
54949         <kernel-features.h>.
54950         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
54951         unconditional.
54952         (__setresuid): Do not declare.
54953         [__ASSUME_32BITUIDS]: Make code unconditional.
54954         [!__ASSUME_32BITUIDS]: Remove conditional code.
54955         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
54956         <kernel-features.h>.
54957         [__ASSUME_32BITUIDS]: Make code unconditional.
54958         [!__ASSUME_32BITUIDS]: Remove conditional code.
54959         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
54960         <kernel-features.h>.
54961         [__ASSUME_32BITUIDS]: Make code unconditional.
54962         [!__ASSUME_32BITUIDS]: Remove conditional code.
54964 2012-05-25  Richard Henderson  <rth@twiddle.net>
54966         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
54967         dl_hwcap to ifunc resolver.
54968         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
54969         elf_ifunc_invoke.
54970         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
54971         dl_hwcap to ifunc resolver.
54972         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
54974 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
54976         [BZ #14153]
54977         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
54978         for |x| <= 2**-26, not 2**-57.
54979         * math/libm-test.inc (acos_test): Do not allow spurious underflow
54980         exception.
54982 2012-05-24  Jeff Law  <law@redhat.com>
54984         * stdio-common/Makefile (tests): Add bug25.
54985         * stdio-common/bug25.c: New test.
54987 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
54989         [BZ #13576]
54990         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
54991         multiple of MALLOC_ALIGNMENT in size.
54992         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
54994 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
54996         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
54997         Require >= 256.
54998         (FILENAME_MAX): Use macro-int-constant.
54999         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
55000         (_IOFBF): Use macro-int-constant.
55001         (_IOLBF): Likewise.
55002         (_IONBF): Likewise.
55003         (SEEK_CUR): Likewise.
55004         (SEEK_END): Likewise.
55005         (SEEK_SET): Likewise.
55006         (TMP_MAX): Likewise.
55007         (EOF): Use macro-int-constant.  Require < 0.
55008         (NULL): Use macro-constant.  Require == 0.
55009         (stdin): Require type to be FILE *.
55010         (stdout): Likewise.
55011         (stderr): Likewise.
55012         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
55013         macro-int-constant.
55014         (EXIT_SUCCESS): Likewise.
55015         (NULL): Use macro-constant.  Require == 0.
55016         (RAND_MAX): Use macro-int-constant.
55017         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
55018         [C99-based standards] (strtof): Require function.
55019         [C99-based standards] (strtold): Likewise.
55020         [C99-based standards] (strtoll): Likewise.
55021         [C99-based standards] (strtoull): Likewise.
55022         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
55023         [ISO || ISO99 || ISO11] (limits.h): Likewise.
55024         [ISO || ISO99 || ISO11] (math.h): Likewise.
55025         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
55026         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
55027         [ISO || ISO99 || ISO11] (*_t): Do not allow.
55029 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
55031         [BZ #14132]
55032         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
55033         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
55034         * intl/dgettext.c (DCGETTEXT): Likewise.
55035         * intl/gettext.c (DCGETTEXT): Likewise.
55036         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
55037         * posix/regex_internal.h (gettext): Likewise.
55038         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
55039         Remove declaration.
55040         * include/argz.h (__argz_count_internal)
55041         (__argz_stringify_internal): Remove declaration.
55042         (__argz_count, __argz_stringify): Declare hidden proto.
55043         * intl/dcgettext.c: Remove use of INTDEF.
55044         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
55045         * string/argz-stringify.c: Likewise.
55046         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
55047         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
55048         Declare hidden proto.
55049         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
55050         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
55051         Declare hidden proto.
55052         * include/stdio.h (__asprintf_internal): Don't declare.
55053         (__asprintf): Don't define as macro.  Declare hidden proto.
55054         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
55055         (__fsetlocking): Declare hidden proto.
55056         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
55057         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
55058         hidden proto.
55059         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
55060         (_IO_setlinebuf): Remove use of INTUSE.
55061         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
55062         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
55063         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
55064         Remove declaration.
55065         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
55066         (_IO_do_flush): Remove use of INTUSE.
55067         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
55068         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
55069         (_IO_adjust_column, _IO_least_wmarker)
55070         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
55071         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
55072         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
55073         (_IO_default_doallocate, _IO_wdefault_doallocate)
55074         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
55075         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
55076         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
55077         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
55078         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
55079         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
55080         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
55081         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
55082         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
55083         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
55084         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
55085         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
55086         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
55087         proto.
55088         (_IO_flush_all_internal, _IO_adjust_column_internal)
55089         (_IO_default_uflow_internal, _IO_default_finish_internal)
55090         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
55091         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
55092         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
55093         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
55094         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
55095         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
55096         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
55097         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
55098         (_IO_file_close_internal, _IO_file_close_it_internal)
55099         (_IO_file_underflow_internal, _IO_file_overflow_internal)
55100         (_IO_file_init_internal, _IO_file_attach_internal)
55101         (_IO_file_fopen_internal, _IO_file_read_internal)
55102         (_IO_file_sync_internal, _IO_file_seek_internal)
55103         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
55104         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
55105         (_IO_str_underflow_internal, _IO_str_overflow_internal)
55106         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
55107         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
55108         (_IO_list_all_internal, _IO_link_in_internal)
55109         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
55110         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
55111         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
55112         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
55113         (_IO_do_write_internal, _IO_padn_internal)
55114         (_IO_getline_info_internal, _IO_getline_internal)
55115         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
55116         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
55117         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
55118         (_IO_vfscanf_internal, _IO_vfprintf_internal)
55119         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
55120         (_IO_init_internal, _IO_un_link_internal): Don't declare.
55121         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
55122         with libc_hidden_ver, remove use of INTUSE.
55123         * libio/genops.c: Likewise.
55124         * libio/freopen.c: Likewise.
55125         * libio/freopen64.c: Likewise.
55126         * libio/iofclose.c: Likewise.
55127         * libio/iofdopen.c: Likewise.
55128         * libio/iofflush.c: Likewise.
55129         * libio/iofflush_u.c: Likewise.
55130         * libio/iofgets.c: Likewise.
55131         * libio/iofgets_u.c: Likewise.
55132         * libio/iofopen.c: Likewise.
55133         * libio/iofopncook.c: Likewise.
55134         * libio/iofread.c: Likewise.
55135         * libio/iofread_u.c: Likewise.
55136         * libio/ioftell.c: Likewise.
55137         * libio/iofwrite.c: Likewise.
55138         * libio/iogetline.c: Likewise.
55139         * libio/iogets.c: Likewise.
55140         * libio/iogetwline.c: Likewise.
55141         * libio/iopadn.c: Likewise.
55142         * libio/iopopen.c: Likewise.
55143         * libio/ioseekoff.c: Likewise.
55144         * libio/ioseekpos.c: Likewise.
55145         * libio/iosetbuffer.c: Likewise.
55146         * libio/iosetvbuf.c: Likewise.
55147         * libio/ioungetc.c: Likewise.
55148         * libio/ioungetwc.c: Likewise.
55149         * libio/iovdprintf.c: Likewise.
55150         * libio/iovsprintf.c: Likewise.
55151         * libio/iovsscanf.c: Likewise.
55152         * libio/memstream.c: Likewise.
55153         * libio/obprintf.c: Likewise.
55154         * libio/oldfileops.c: Likewise.
55155         * libio/oldiofclose.c: Likewise.
55156         * libio/oldiofdopen.c: Likewise.
55157         * libio/oldiofopen.c: Likewise.
55158         * libio/oldiopopen.c: Likewise.
55159         * libio/oldstdfiles.c: Likewise.
55160         * libio/putc.c: Likewise.
55161         * libio/setbuf.c: Likewise.
55162         * libio/setlinebuf.c: Likewise.
55163         * libio/stdfiles.c: Likewise.
55164         * libio/strops.c: Likewise.
55165         * libio/vasprintf.c: Likewise.
55166         * libio/vscanf.c: Likewise.
55167         * libio/vsnprintf.c: Likewise.
55168         * libio/vswprintf.c: Likewise.
55169         * libio/wfiledoalloc.c: Likewise.
55170         * libio/wfileops.c: Likewise.
55171         * libio/wgenops.c: Likewise.
55172         * libio/wmemstream.c: Likewise.
55173         * libio/wstrops.c: Likewise.
55174         * libio/__fpurge.c: Likewise.
55175         * libio/__fsetlocking.c: Likewise.
55176         * assert/assert.c: Likewise.
55177         * debug/fgets_chk.c: Likewise.
55178         * debug/fgets_u_chk.c: Likewise.
55179         * debug/fread_chk.c: Likewise.
55180         * debug/fread_u_chk.c: Likewise.
55181         * debug/gets_chk.c: Likewise.
55182         * debug/obprintf_chk.c: Likewise.
55183         * debug/vasprintf_chk.c: Likewise.
55184         * debug/vdprintf_chk.c: Likewise.
55185         * debug/vsnprintf_chk.c: Likewise.
55186         * debug/vsprintf_chk.c: Likewise.
55187         * malloc/mtrace.c: Likewise.
55188         * misc/error.c: Likewise.
55189         * misc/syslog.c: Likewise.
55190         * stdio-common/asprintf.c: Likewise.
55191         * stdio-common/fxprintf.c: Likewise.
55192         * stdio-common/getw.c: Likewise.
55193         * stdio-common/isoc99_fscanf.c: Likewise.
55194         * stdio-common/isoc99_scanf.c: Likewise.
55195         * stdio-common/isoc99_vfscanf.c: Likewise.
55196         * stdio-common/isoc99_vscanf.c: Likewise.
55197         * stdio-common/isoc99_vsscanf.c: Likewise.
55198         * stdio-common/printf-prs.c: Likewise.
55199         * stdio-common/printf_fp.c: Likewise.
55200         * stdio-common/printf_fphex.c: Likewise.
55201         * stdio-common/printf_size.c: Likewise.
55202         * stdio-common/putw.c: Likewise.
55203         * stdio-common/scanf.c: Likewise.
55204         * stdio-common/sprintf.c: Likewise.
55205         * stdio-common/tmpfile.c: Likewise.
55206         * stdio-common/vfprintf.c: Likewise.
55207         * stdio-common/vfscanf.c: Likewise.
55208         * stdlib/strfmon_l.c: Likewise.
55209         * sunrpc/openchild.c: Likewise.
55210         * sunrpc/xdr_stdio.c: Likewise.
55211         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
55212         * sysdeps/mach/hurd/tmpfile.c: Likewise.
55214 2012-05-24  Roland McGrath  <roland@hack.frob.com>
55216         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
55218         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
55219         in the third column, to generate for the shared library an IFUNC
55220         that uses _dl_vdso_vsym.
55221         * Makerules (COMPILE.c, compile-stdin.c): New variables.
55222         * Makeconfig (object-suffixes-noshared): New variable.
55224         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
55225         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
55226         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
55227         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
55229         [BZ #14132]
55230         * include/sys/time.h (__gettimeofday): Remove macro.
55231         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
55232         * time/gettimeofday.c (__gettimeofday): Remove #undef.
55233         Remove INTDEF.
55234         (__gettimeofday): Add libc_hidden_def.
55235         (gettimeofday): Add libc_hidden_weak.
55236         * sysdeps/mach/gettimeofday.c: Likewise.
55237         * sysdeps/posix/gettimeofday.c: Likewise.
55238         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
55239         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
55240         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
55241         (__gettimeofday_internal): Remove strong_alias.
55242         (__gettimeofday): Add libc_hidden_def.
55243         (gettimeofday): Add libc_hidden_weak.
55244         * sysdeps/unix/syscalls.list (gettimeofday):
55245         Remove __gettimeofday_internal alias.
55247 2012-05-24  Daniel Jacobowitz  <drow@false.org>
55248             H.J. Lu  <hongjiu.lu@intel.com>
55250         [BZ #12495]
55251         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
55252         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
55253         (largebin_index_32_big): New.
55254         (largebin_index): Use it for 16-byte alignment.
55255         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
55256         correction with front_misalign.
55258 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
55260         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
55261         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
55262         Likewise.
55263         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
55264         Likewise.
55265         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
55266         Likewise.
55267         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
55268         Likewise.
55269         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
55270         Likewise.
55271         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
55272         Likewise.
55273         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
55274         Likewise.
55275         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
55276         Likewise.
55277         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
55278         Likewise.
55279         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
55280         Likewise.
55281         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
55282         Likewise.
55283         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
55284         Likewise.
55286         * scripts/data/c++-types-x32-linux-gnu.data: New file.
55287         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
55289 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
55291         [BZ #10846]
55292         [BZ #14036]
55293         * math/libm-test.inc (exp_test): Add test from bug 14036.
55294         (pow_test): Add test from bug 10846.
55296         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
55297         and other flags.
55298         (special_function): Do not include flags in test name.
55299         (parse_args): Likewise.
55300         * sysdeps/i386/fpu/libm-test-ulps: Update.
55301         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55302         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55303         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55306         * math/gen-libm-test.pl (%beautify): Add entries for underflow
55307         exceptions.
55308         * math/libm-test.inc ("Philosophy"): Update comment about
55309         exception testing.
55310         (UNDERFLOW_EXCEPTION): New macro.
55311         (UNDERFLOW_EXCEPTION_OK): Likewise.
55312         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
55313         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
55314         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
55315         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
55316         (INVALID_EXCEPTION_OK): Update value.
55317         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
55318         (OVERFLOW_EXCEPTION_OK): Likewise.
55319         (IGNORE_ZERO_INF_SIGN): Likewise.
55320         (test_exceptions): Handle underflow exceptions.
55321         (acos_test): Update for underflow exception expectations.
55322         (cexp_test): Likewise.
55323         (clog_test): Likewise.
55324         (clog10_test): Likewise.
55325         (csqrt_test): Likewise.
55326         (ctan_test): Likewise.
55327         (ctanh_test): Likewise.
55328         (exp_test): Likewise.
55329         (exp10_test): Likewise.
55330         (exp2_test): Likewise.
55331         (expm1_test): Likewise.
55332         (fma_test): Likewise.
55333         (j0_test): Likewise.
55334         (jn_test): Likewise.
55335         (nexttoward_test): Likewise.
55336         (pow_test): Likewise.
55337         (scalbn_test): Likewise.
55338         (scalbln_test): Likewise.
55339         (tan_test): Likewise.
55340         (y1_test): Likewise.
55341         * sysdeps/i386/fpu/libm-test-ulps: Update.
55342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55344 2012-05-23  David S. Miller  <davem@davemloft.net>
55346         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
55347         (__libc_sigaction): Remove unused local variables.
55349 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
55351         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
55353 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
55355         mktime: avoid signed integer overflow
55356         * time/mktime.c (__mktime_internal): Do not mishandle the case
55357         where diff == INT_MIN.
55359         mktime: simplify computation of average
55360         * time/mktime.c (ranged_convert): Use new time_t_avg function
55361         instead of rolling our own (probably-slower) code.
55363         mktime: do not assume signed right shift propagates sign bit
55364         * time/mktime.c (isdst_differ): New static function.
55365         (__mktime_internal): No need to normalize tm_isdst now.
55366         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
55367         tm_isdst values.
55369         mktime: merge another wrapv change from gnulib
55370         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
55371         from some compilers.
55373         mktime: remove incorrect attempt at unusual arithmetics
55374         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
55375         The code didn't really work on such machines anyway.
55376         (TYPE_MINIMUM): Assume two's complement.
55377         (twos_complement_arithmetic): Verify that long_int and time_t
55378         are two's complement (or unsigned, in the latter case).
55380         mktime: check signed shifts on long_int and time_t, too
55381         * time/mktime.c (SHR): Check that shifts work as desired
55382         on the types long_int and time_t too, as SHR is used on
55383         such types.
55385         mktime: do not assume 'long' is wide enough
55386         * time/mktime.c (verify): Move decl up.
55387         (long_int): New type.
55388         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
55389         to remove assumption in the code that 'long' is wide enough to
55390         store year values.  This assumption is not true on x32 and on
55391         some non-glibc platforms.
55393         mktime: merge wrapv change from gnulib
55394         * time/mktime.c (WRAPV): New macro.
55395         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
55396         (guess_time_tm, __mktime_internal): Do not assume that signed
55397         integer overflow wraps around; modern compilers generate code
55398         where this assumption is no longer valid.
55400 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
55402         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
55403         Replace "jmp L(pseudo_end)" with "ret".
55404         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
55405         Likewise.
55407 2012-05-23  Andreas Jaeger  <aj@suse.de>
55409         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
55410         * sysdeps/unix/sysv/linux/poll.c: Remove file.
55412 2012-05-23  Andreas Jaeger  <aj@suse.de>
55413             Maximilian Attems  <max@stro.at>
55415         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
55416         New macros.
55418 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
55420         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
55421         code so that pseudo_end is just ret and the stack pointer is
55422         correct also for static library in error case.
55424 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
55426         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
55427         move to syscalls.list.
55428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
55429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
55430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
55431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
55433         * manual/install.texi (Running make install): Do not mention Linux
55434         kernel version for which pt_chown is not needed.
55435         (Linux): Do not mention problems with nscd with 2.0 kernels.
55436         * INSTALL: Regenerated.
55438 2012-05-23  Andreas Jaeger  <aj@suse.de>
55440         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
55441         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
55442         macro.
55443         * sysdeps/unix/sysv/linux/s390/bits/mman.h
55444         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55445         * sysdeps/unix/sysv/linux/sh/bits/mman.h
55446         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55447         * sysdeps/unix/sysv/linux/i386/bits/mman.h
55448         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55449         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
55450         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55451         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
55452         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55453         * sysdeps/unix/sysv/linux/bits/in.h
55454         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
55456 2012-05-22  Roland McGrath  <roland@hack.frob.com>
55458         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
55459         (PREPARE_VERSION): Just use assert instead, it will be elided
55460         under [NDEBUG] anyway.
55462 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
55464         * sysdeps/unix/sysv/linux/Makefile: Include
55465         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
55466         (sysdep_routines): Remove sysctl.
55467         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
55468         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
55469         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
55470         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
55471         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
55473 2012-05-22  Andreas Jaeger  <aj@suse.de>
55475         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
55476         that pseudo_end is just ret and the stack pointer is correct also
55477         for static library in error case.
55479 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
55481         [BZ #14122]
55482         * nss/nsswitch.c (defconfig_entries): New variable.
55483         (__nss_database_lookup): Don't leak defconfig entries.
55484         (nss_parse_service_list): Don't leak on error paths.
55485         (free_database_entries): New function.
55486         (free_defconfig): New function.
55487         (free_mem): Move common code to free_database_entries.
55489 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
55491         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
55492         Add arch_prctl.
55493         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
55495         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
55496         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
55497         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
55498         New macro.
55499         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
55500         (INTERNAL_SYSCALL_TYPES): Likewise.
55501         (LOAD_ARGS_TYPES_[1-6]): Likewise.
55502         (LOAD_REGS_TYPES_[1-6]): Likewise.
55503         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
55504         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
55506 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55508         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
55509         copysignl for GLIBC_2_0.
55510         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
55511         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
55512         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
55513         logbl for GLIBC_2_0.
55514         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
55515         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
55517 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
55519         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
55520         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
55522         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
55523         Use "neg %eax".
55525         * time/mktime.c: Update copyright years.
55527 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
55529         mktime: merge comment-quoting-style change from gnulib
55530         * time/mktime.c: Quote 'like this' in comments.
55531         The GNU coding standards suggest that we no longer quote `like this',
55532         as "`" and "'" are typically rendered asymmetrically nowadays.
55533         The typical gnulib style is to quote 'like this' when quoting
55534         code, and "like this" when quoting English.
55536         * time/mktime.c (compile-command): Add "-I.".
55538         mktime: merge mktime-internal.h change from gnulib
55539         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
55541         mktime: merge time_r change from gnulib
55542         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
55544         mktime: merge DEBUG change from gnulib
55545         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
55546         case system <time.h> has a #define.
55548         mktime: merge <sys/types.h> change from gnulib
55549         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
55550         since <time.t> is now guaranteed to define time_t.
55552         mktime: merge HAVE_CONFIG_H change from gnulib
55553         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
55555 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
55557         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
55558         Use "neg %eax".
55560         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
55561         __rlim_t cast.
55562         (struct rusage): Use anonymous union to pad each field to
55563         __syscall_slong_t.
55565 2012-05-21  David S. Miller  <davem@davemloft.net>
55567         * Makefules (o-iterator): Remove .s cases.
55568         (compile-command.s): Delete.
55569         (COMPILE.s): Delete.
55570         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
55572 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
55574         * configure.in (libc_cv_predef_stack_protector): Only consider
55575         "foobar" and "__stack_chk_fail" lines in libc_undefs.
55576         * configure: Regenerated.
55578 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
55580         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
55581         New macro.  Use R*LP on int and pointer.
55582         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
55583         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
55584         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
55585         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
55587         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
55588         [__WORDSIZE_TIME64_COMPAT32] instead of
55589         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
55590         (struct utmp): Likewise.
55591         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
55592         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
55593         Renamed to ...
55594         (__WORDSIZE_TIME64_COMPAT32): This.
55595         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
55596         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
55597         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
55598         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
55599         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
55600         (__WORDSIZE_TIME64_COMPAT32): New macro.
55602 2012-05-21  Andreas Jaeger  <aj@suse.de>
55604         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
55605         only if [SHARED]. Add prototype for __wcschr_ia32.
55607 2012-05-21  Roland McGrath  <roland@hack.frob.com>
55609         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
55610         of %rbp unmolested in the jmp_buf while mangling the low bits.
55611         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
55612         unmolested high bits of %rbp while demangling the low bits.
55613         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
55615 2012-05-21  Andreas Jaeger  <aj@suse.de>
55617         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
55618         * sunrpc/svc_simple.c: Use it for registerrpc.
55619         * sunrpc/xcrypt.c: Use it for passwd2des.
55621         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
55623 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
55625         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
55626         Don't define if [__SYSCALL_WORDSIZE != 32].
55627         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
55628         New macro.
55630 2012-05-21  Bruno Haible  <bruno@clisp.org>
55631             Andreas Jaeger  <aj@suse.de>
55633         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
55634         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
55635         inptr and inend for must_buffer_ch.
55636         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
55637         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
55638         * stdio-common/Makefile (tests): Remove bug15.
55639         (bug15-ENV): Remove macro.
55640         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
55641         anymore.
55643 2012-05-19  Andreas Jaeger  <aj@suse.de>
55644             Roland McGrath  <roland@hack.frob.com>
55646         * manual/contrib.texi: Completely rewritten. It contains now an
55647         alphabetical list of contributors and their contributions.
55649 2012-05-21  Richard Henderson  <rth@twiddle.net>
55651         * misc/getauxval.c (__getauxval): Use unsigned long int.
55652         * misc/sys/auxv.h: Include <sys/cdefs.h>.
55653         (getauxval): Use unsigned long int.
55655 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
55657         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
55659 2012-05-21  Roland McGrath  <roland@hack.frob.com>
55661         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
55662         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
55663         __alignof__ (long double).
55665 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55667         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55669 2012-05-20  Richard Henderson  <rth@twiddle.net>
55671         * misc/getauxval.c: New file.
55672         * misc/sys/auxv.h: New file.
55673         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
55674         (routines): Add getauxval.
55675         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
55676         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
55677         * elf/dl-sysdep.c (_dl_auxv): Remove.
55678         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
55679         * elf/dl-support.c (_dl_auxv): New variable.
55680         (_dl_aux_init): Initialize it.
55681         * manual/startup.texi (Auxiliary Vector): New node.
55682         * sysdeps/generic/bits/hwcap.h: New file.
55683         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
55684         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
55685         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
55686         * sysdeps/sparc/sysdep.h: ... here.  Include it.
55687         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
55688         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
55689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55690         Update.
55691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
55692         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
55693         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
55694         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
55695         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
55696         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
55697         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
55698         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
55700 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55702         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55704 2012-05-19  David S. Miller  <davem@davemloft.net>
55706         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55708 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
55710         [BZ #14123]
55711         * math/s_ccosh.c: Include <float.h>
55712         (__ccosh): Avoid internal overflow calculating sinh and cosh
55713         values before multiplying by sin and cos values.
55714         * math/s_ccoshf.c: Likewise.
55715         * math/s_ccoshl.c: Likewise.
55716         * math/s_csin.c: Likewise.
55717         * math/s_csinf.c: Likewise.
55718         * math/s_csinl.c: Likewise.
55719         * math/s_csinh.c: Likewise.
55720         * math/s_csinhf.c: Likewise.
55721         * math/s_csinhl.c: Likewise.
55722         * math/libm-test.inc (ccos_test): Add more tests.
55723         (ccosh_test): Likewise.
55724         (csin_test): Likewise.
55725         (csinh_test): Likewise.
55726         * sysdeps/i386/fpu/libm-test-ulps: Update.
55727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55729 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
55731         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
55732         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
55734         * sysdeps/x86_64/x32/_itoa.h: Add comment.
55736 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
55738         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
55739         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
55740         * sysdeps/powerpc/soft-fp/Versions: Likewise.
55741         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
55742         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
55743         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
55744         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
55745         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
55746         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
55747         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
55748         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
55749         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
55750         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
55751         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
55752         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
55753         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
55754         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
55755         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
55756         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
55757         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
55758         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
55759         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
55760         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
55761         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
55762         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
55763         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
55764         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
55765         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
55766         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
55767         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
55768         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
55770 2012-05-18  Andreas Jaeger  <aj@suse.de>
55772         * csu/.gitignore: Delete.
55774 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
55776         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
55777         (timex): Use __syscall_slong_t.
55779 2012-05-18  Andreas Jaeger  <aj@suse.de>
55780             Carlos O'Donell  <carlos_odonell@mentor.com>
55782         * manual/install.texi (Configuring and compiling): Update
55783         description about files modified in the source directory.
55784         * INSTALL: Regenerated.
55786 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
55788         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
55789         value.  Use "or" to set return value to -1.
55790         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
55791         negate return value.
55793 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55795         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
55796         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
55797         failure if the compiler has Graphite support disabled.
55798         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
55799         Likewise.
55800         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
55801         (CFLAGS-memmove.c): Likewise.
55802         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
55803         Likewise.
55805 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
55807         * sysdeps/x86_64/x32/_itoa.h: New file.
55809         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
55810         getdents system call only if kernel and user dirents have the
55811         same d_ino and d_off.
55813         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
55814         LLONG_MAX != LONG_MAX.
55815         (_itoa_word): Use _ITOA_WORD_TYPE on value.
55816         (_fitoa_word): Likewise.
55818         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
55819         years.
55820         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
55821         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
55822         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
55824         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
55825         include <bits/wordsize.h>.  Check __x86_64__ instead of
55826         __WORDSIZE.
55827         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
55828         if __x86_64__ is defined.  Use anonymous union on fpstate.
55830         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
55831         anonymous union.
55833 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
55835         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
55836         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
55837         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
55838         Refer to _rtld_local_ro instead of _rtld_global_ro.
55839         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
55840         Likewise.
55841         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
55842         Likewise.
55843         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
55844         Likewise.
55845         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
55846         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
55847         of _rtld_global, and rtld_progname instead of _dl_argv[0].
55849         [BZ #10882]
55850         * sysdeps/powerpc/powerpc32/dl-machine.c
55851         (__elf_machine_runtime_setup) [PROF]: Don't reference
55852         _dl_prof_resolve.
55854 2012-05-18  Andreas Jaeger  <aj@suse.de>
55856         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
55857         function only available for GCCs before 3.4 since GCC 3.4
55858         introduced a builtin.
55859         (lrint): Likewise.
55860         (llrintf): Likewise.
55861         (llrint): Likewise.
55862         (fmaxf): Likewise.
55863         (fmax): Likewise.
55864         (fminf): Likewise.
55865         (fmin): Likewise.
55866         (rint): Likewise.
55867         (rintf): Likewise.
55868         (nearbyint): Likewise.
55869         (nearbyintf): Likewise.
55870         (ceil): Likewise.
55871         (ceilf): Likewise.
55872         (floor): Likewise.
55873         (floorf): Likewise.
55875 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
55877         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
55878         on both fields and cast pointer to __syscall_ulong_t.
55880         * bits/types.h (__fsword_t): New type.
55881         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
55882         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
55883         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55884         (__FSWORD_T_TYPE): Likewise.
55885         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
55886         (__FSWORD_T_TYPE): Likewise.
55887         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55888         (__FSWORD_T_TYPE): Likewise.
55889         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
55890         (__FSWORD_T_TYPE): Likewise.
55891         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
55892         __SWORD_TYPE with __fsword_t.
55893         (statfs64): Likewise.
55895 2012-05-17  David S. Miller  <davem@davemloft.net>
55897         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
55899 2012-05-17  Andreas Jaeger  <aj@suse.de>
55901         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
55902         warning.
55904 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
55906         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
55908 2012-05-17  Andreas Jaeger  <aj@suse.de>
55910         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
55911         when it is used.
55913 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
55915         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
55917 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
55919         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
55920         * sysdeps/x86_64/tst-mallocalign1.c: New file.
55922 2012-05-17  Andreas Jaeger  <aj@suse.de>
55923             Carlos O'Donell  <carlos_odonell@mentor.com>
55925         [BZ #14059]
55926         * sysdeps/x86_64/multiarch/init-arch.h
55927         (bit_YMM_Usable): Rename to...
55928         (bit_AVX_Usable): ... this.
55929         (bit_FMA4_Usable): New macro.
55930         (bit_XMM_state): New macro.
55931         (bit_YMM_state): New macro.
55932         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
55933         [__ASSEMBLER__] (index_AVX_Usable): ... this.
55934         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
55935         (CPUID_OSXSAVE): New macro.
55936         (CPUID_AVX): New macro.
55937         (CPUID_FMA4): New macro.
55938         (index_YMM_Usable): Rename to...
55939         (index_AVX_Usable): ... this.
55940         (HAS_AVX): Use HAS_ARCH_FEATURE.
55941         (HAS_FMA4): Likewise.
55942         (HAS_YMM_USABLE): Remove.
55943         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55944         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
55945         are present.
55946         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
55947         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
55948         * sysdeps/x86_64/multiarch/Makefile: Likewise.
55949         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
55950         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
55952 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
55954         * math/libm-test.c: Support platforms without multiple rounding modes.
55955         * math/bug-nextafter.c: Support platforms without FP exceptions.
55956         * math/bug-nexttoward.c: Likewise.
55957         * math/test-fenv.c: Likewise.
55958         * math/test-misc.c: Likewise.
55959         * stdlib/bug-getcontext.c: Likewise.
55961 2012-05-17  Andreas Jaeger  <aj@suse.de>
55963         * manual/examples/search.c (critter_cmp): Change signature to
55964         avoid warnings.
55965         * manual/string.texi (Collation Functions): Likewise.
55967 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55969         * bits/types.h: Fold copyright years.
55970         * bits/typesizes.h: Likewise.
55971         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
55972         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
55973         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
55974         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
55975         * time/time.h: Likewise.
55977 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
55979         [BZ #208]
55980         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
55981         in instead of returning them.  Return void.
55982         (__libc_mallinfo): Accumulate over all arenas.
55983         (__malloc_stats): Adjust for change in int_mallinfo interface.
55985 2012-05-16  Roland McGrath  <roland@hack.frob.com>
55987         [BZ #10375]
55988         * configure.in (NM): Add AC_CHECK_TOOL for it.
55989         (libc_extra_cflags): New substituted variable.
55990         Check for -fstack-protector being used implicitly.
55991         * configure: Regenerated.
55992         * config.make.in (config-extra-cflags): New variable,
55993         gets @libc_extra_cflags@.
55994         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
55996         [BZ #10375]
55997         * configure.in: Check for _FORTIFY_SOURCE being predefined.
55998         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
55999         * configure: Regenerated.
56000         * config.make.in (CPPUNDEFS): New substituted variable.
56001         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
56002         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
56003         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
56005 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56007         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
56008         (mq_attr): Use __syscall_slong_t.
56010 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56012         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
56013         Check __x86_64__ instead of __WORDSIZE.
56014         (_STAT_VER_LINUX): Likewise.
56015         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
56016         __syscall_ulong_t and __syscall_slong_t.
56017         (stat64): Likewise.
56019 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56021         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
56023 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56025         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
56027 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56029         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
56030         __syscall_ulong_t.
56032         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
56033         include <bits/wordsize.h>.  Check __x86_64__ instead of
56034         __WORDSIZE.
56035         (greg_t): Use "__extension__ long long int" if __x86_64__ is
56036         defined.
56037         (mcontext_t): Replace "unsigned long" with "unsigned long long".
56039         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
56040         include <bits/wordsize.h>.  Check __x86_64__ instead of
56041         __WORDSIZE.
56042         (user_regs_struct): Use "__extension__ unsigned long long"
56043         instead of "unsigned long" if __x86_64__ is defined.
56044         (user): Likewise.  Pad after pointer field if __ILP32__ is
56045         defined.
56047 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
56049         * configure.in (makeinfo): Require version 4.5 or later.  Allow
56050         versions 5 to 9.
56051         * configure: Regenerated.
56052         * manual/install.texi (texinfo): Increase version requirement to
56053         4.5 or later.
56054         * INSTALL: Regenerated.
56056         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
56058 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56060         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
56062         * sysdeps/x86_64/x32/ffs.c: New file.
56064         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
56065         __syscall_ulong_t.
56066         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
56067         defined.  Use __syscall_ulong_t.
56068         (shminfo): Use __syscall_ulong_t.
56069         (shm_info): Likewise.
56071         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
56072         __syscall_ulong_t.
56074         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
56075         <bits/wordsize.h>.
56076         (msgqnum_t): Use __syscall_ulong_t.
56077         (msglen_t): Likewise.
56078         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
56079         __syscall_ulong_t.
56081         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
56082         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
56084         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
56086         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
56087         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
56089         * sysvipc/sys/msg.h (msgbuf): Replace long int with
56090         __syscall_slong_t.
56092         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
56093         include <bits/wordsize.h>.  Check __x86_64__ instead of
56094         __WORDSIZE.
56096         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
56097         "unsigned long long int" if __x86_64__ is defined.
56098         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
56100         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
56101         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
56102         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
56104         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
56105         <stdint.h>.
56106         (GET_PC): Cast to uintptr_t first.
56107         (GET_FRAME): Likewise.
56108         (GET_STACK): Likewise.
56110         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
56111         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
56112         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
56113         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
56114         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
56115         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
56116         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
56117         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
56118         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
56119         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
56120         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
56121         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
56122         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
56123         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
56124         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
56125         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
56126         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
56127         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
56128         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
56129         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
56130         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
56131         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
56132         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
56133         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
56134         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
56135         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
56136         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
56137         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
56138         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
56140 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
56142         * Makerules (+depfiles): Also collect depfiles from .oS in
56143         $(extra-objs).
56144         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
56145         .oS, $(libnldbl-routines)).
56147         * Makerules (native-compile-mkdep-flags): Define.
56148         * sunrpc/Makefile (extra-objs): Add $(addprefix
56149         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
56150         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
56151         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
56152         calling $(make-target-directory).
56154 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56156         * bits/types.h (__snseconds_t): Removed.
56157         * time/time.h (struct timespec): Replace __snseconds_t with
56158         __syscall_slong_t.
56159         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
56160         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
56161         Likewise.
56162         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56163         (__SNSECONDS_T_TYPE): Likewise.
56164         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
56165         (__SNSECONDS_T_TYPE): Likewise.
56166         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56167         (__SNSECONDS_T_TYPE): Likewise.
56169 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56171         * sysdeps/mach/hurd/bits/typesizes.h
56172         (__SYSCALL_SLONG_TYPE): New macro.
56173         (__SYSCALL_ULONG_TYPE): Likewise.
56175 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56177         * bits/types.h (__syscall_slong_t): New type.
56178         (__syscall_ulong_t): Likewise.
56180         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
56181         (__SYSCALL_ULONG_TYPE): Likewise.
56182         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56183         (__SYSCALL_SLONG_TYPE): Likewise.
56184         (__SYSCALL_ULONG_TYPE): Likewise.
56185         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
56186         (__SYSCALL_SLONG_TYPE): Likewise.
56187         (__SYSCALL_ULONG_TYPE): Likewise.
56188         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56189         (__SYSCALL_SLONG_TYPE): Likewise.
56190         (__SYSCALL_ULONG_TYPE): Likewise.
56192 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56194         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
56195         Add sigaltstack-offsets.sym.
56196         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
56197         <sigaltstack-offsets.h>.
56198         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
56199         longjmp_msg pointer.
56200         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
56201         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
56202         signal stack.
56203         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
56205 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
56207         * elf/stackguard-macros.h: Remove file.
56208         * sysdeps/generic/stackguard-macros.h: New file.
56209         * sysdeps/i386/stackguard-macros.h: Likewise.
56210         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
56211         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
56212         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
56213         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
56214         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
56215         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
56216         * sysdeps/x86_64/stackguard-macros.h: Likewise.
56217         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
56218         <elf/stackguard-macros.h>.
56220         [BZ #14109]
56221         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
56222         __aligned__ in attribute.
56223         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
56224         (gregset_t): Likewise.
56226 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56228         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
56229         * sysdeps/x86_64/64/Implies-after: Here.  New file.
56230         * sysdeps/x86_64/x32/Implies-after: New file.
56232 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56234         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
56235         and access return value for _dl_profile_fixup.  Use R10_LP to
56236         load frame size.
56238 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56240         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
56242 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56244         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
56245         * sysdeps/x86_64/x32/sysdep.h: New file.
56247 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56249         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
56250         * sysdeps/x86_64/setjmp.S: Likewise.
56252 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56254         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
56255         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
56256         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
56257         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
56258         remove unused global constant.
56260 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
56262         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
56263         include of <not-cancel.h>.
56265 2012-05-15  Roland McGrath  <roland@hack.frob.com>
56267         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
56269 2012-05-15  Jeff Law  <law@redhat.com>
56270             Andreas Jaeger  <aj@suse.de>
56272         [BZ #13594]
56273         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
56274         out from...
56275         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
56276         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
56277         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
56278         code changing __hst_map_handle.map.
56280 2012-05-15  Roland McGrath  <roland@hack.frob.com>
56282         * configure.in (sysnames): Look for Implies-before and Implies-after
56283         files.
56284         * configure: Regenerated.
56286 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56288         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
56289         8-byte data alignment with LP_SIZE alignment.
56291 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56293         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
56294         into R10_LP.
56296 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56298         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
56300 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56302         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
56303         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
56304         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
56305         Likewise.
56306         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
56308 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56310         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
56311         (stackinfo_sub_sp): Likewise.
56313 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56315         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
56316         RAX_LP.
56318 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56320         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
56321         into R*_LP.
56323 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56325         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
56326         sizes into R*_LP.
56328 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56330         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
56332 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56334         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
56335         into R11_LP and load __x86_64_shared_cache_size_half into
56336         R8_LP.
56338 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56340         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
56341         R8_LP.
56343 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56345         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
56346         logb for POWER7.
56347         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
56348         logbf for POWER7.
56349         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
56350         logbl for POWER7.
56351         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
56352         powerpc32/power7/fpu/s_logb.c via #include.
56353         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
56354         powerpc32/power7/fpu/s_logbf.c via #include.
56355         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
56356         powerpc32/power7/fpu/s_logbl.c via #include.
56358 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
56360         * README.libm: Remove file.
56362 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56364         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
56365         count for x32.  Use R*_LP and omit operand-size suffix.
56367 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56369         * shlib-versions: Move x86_64-.*-linux.* entries to ...
56370         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
56371         * sysdeps/x86_64/x32/shlib-versions: New file.
56373 2012-05-14  Roland McGrath  <roland@hack.frob.com>
56375         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
56376         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
56377         Use _dl_fatal_printf instead.
56379 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
56381         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
56382         set if not set by the user.  Do not allow for being unset.
56383         * sysdeps/unix/sysv/linux/configure: Regenerated.
56385 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56387         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
56388         the `q' suffix from lea and replace .quad with ASM_ADDR.
56390 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56392         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
56393         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
56394         instead of $17.
56395         (PTR_DEMANGLE): Likewise.
56397 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56399         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
56400         (LP_OP): Likewise.
56401         (ASM_ADDR): Likewise.
56402         (RAX_LP): Likewise.
56403         (RBP_LP): Likewise.
56404         (RBX_LP): Likewise.
56405         (RCX_LP): Likewise.
56406         (RDI_LP): Likewise.
56407         (RSI_LP): Likewise.
56408         (RSP_LP): Likewise.
56409         (R8_LP): Likewise.
56410         (R9_LP): Likewise.
56411         (R10_LP): Likewise.
56412         (R10_LP): Likewise.
56413         (R11_LP): Likewise.
56414         (R12_LP): Likewise.
56415         (R13_LP): Likewise.
56416         (R14_LP): Likewise.
56417         (R15_LP): Likewise.
56419 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56421         * sysdeps/x86_64/x32/dl-machine.h: New file.
56423 2012-05-14  Andreas Jaeger  <aj@suse.de>
56425         * manual/Makefile (subdir): Remove export of subdir.
56426         (all): Remove target.
56427         (.PHONY): Remove all from list.
56428         (mkinstalldirs): Remove.
56429         (.PHONY): Remove installdirs from list.
56430         ($(inst_infodir)/libc.info): Use make-target-directory.
56431         (installdirs): Remove.
56432         (subdir_%): Remove.
56433         (glibc-targets): Remove.
56434         (lib): Remove.
56435         (stubs): Remove.
56436         ($(objpfx)stubs ../po/manual.pot): Remove.
56437         ($(objpfx)stamp%): Remove.
56438         (make-target-directory): Remove.
56439         (subdir_install): Remove.
56440         (routines): Remove.
56441         (aux): Remove.
56442         (sources): Remove.
56443         (objects): Remove.
56444         (headers): Remove.
56446         [BZ #13750]
56447         * manual/.gitignore: Remove, it's not needed anymore.
56448         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
56449         all files in it.
56450         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
56451         directory.
56452         (texis): Renamed to $(objpfx)texis.
56453         (texis-path): New, contains path to generated files.
56454         (chapters.%): Use texis-path for complete path, add extra argument
56455         libc-texinfo.sh.
56456         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
56457         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
56458         (summary,texi, stamp-summary): Use complete path of
56459         files. Generate files in build dir.
56460         (dir-add.texi): Build in build dir.
56461         (libm-err.texi,stamp-libm-err): Likewise.
56462         (version.texi, stamp-version): Likewise.
56463         (.%c.texi): Likewise.
56464         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
56465         (mostlyclean): Remove target.
56466         (realclean): Remove target.
56467         (generated): Add new variable with contents from mostlyclean and
56468         realclean, remove entries duplicated in common-mostlyclean, add
56469         stamp-libm-err and stamp-version.
56470         (generated-dirs): Add libc directory.
56471         ($(inst_infodir)/libc.info): Install files from build dir.
56473         * manual/install.texi (Configuring and compiling): Adjust since
56474         the info files are not part of the tar ball anymore.
56476 2012-05-14  Andreas Jaeger  <aj@suse.de>
56478         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
56479         variable.
56481 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
56483         [BZ #13717]
56484         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
56485         to 2.2.0 where earlier.
56486         * sysdeps/unix/sysv/linux/configure: Regenerated.
56487         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
56488         Remove conditional code.
56489         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
56490         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
56491         Remove conditional code.
56492         [!__NR_lchown]: Likewise.
56493         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
56494         [__NR_lchown]: Likewise.
56495         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
56496         comment referencing __ASSUME_LCHOWN_SYSCALL.
56497         * sysdeps/unix/sysv/linux/i386/sigaction.c
56498         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
56499         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
56500         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
56501         Remove conditional code.
56502         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
56503         (__protocol_available): Remove #if 0 code.
56504         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
56505         conditional code.
56506         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
56507         * sysdeps/unix/sysv/linux/kernel-features.h
56508         (__ASSUME_GETCWD_SYSCALL): Don't define.
56509         (__ASSUME_REALTIME_SIGNALS): Likewise.
56510         (__ASSUME_PREAD_SYSCALL): Likewise.
56511         (__ASSUME_PWRITE_SYSCALL): Likewise.
56512         (__ASSUME_POLL_SYSCALL): Likewise.
56513         (__ASSUME_LCHOWN_SYSCALL): Likewise.
56514         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
56515         non-SPARC.
56516         (__ASSUME_SIOCGIFNAME): Don't define.
56517         (__ASSUME_MSG_NOSIGNAL): Likewise.
56518         (__ASSUME_SENDFILE): Define unconditionally.
56519         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
56520         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
56521         conditional code.
56522         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
56523         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
56524         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
56525         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
56526         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
56527         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
56528         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
56529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
56530         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
56531         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
56533         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
56534         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
56536         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56537         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
56539         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56540         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
56542         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
56543         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
56545         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
56546         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
56548         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56549         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
56551         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56552         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56553         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
56554         Remove conditional code.
56555         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56556         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
56557         Remove conditional code.
56558         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56559         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
56560         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
56561         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
56562         Remove conditional code.
56563         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56564         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
56565         Remove conditional code.
56566         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56567         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
56568         Remove conditional code.
56569         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56570         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
56571         Remove conditional code.
56572         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56573         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
56574         Remove conditional code.
56575         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56576         * sysdeps/unix/sysv/linux/sh/pwrite64.c
56577         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56578         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56579         * sysdeps/unix/sysv/linux/sigaction.c
56580         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
56581         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
56582         * sysdeps/unix/sysv/linux/sigpending.c
56583         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
56584         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
56585         * sysdeps/unix/sysv/linux/sigprocmask.c
56586         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
56587         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
56588         * sysdeps/unix/sysv/linux/sigsuspend.c
56589         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
56590         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
56591         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
56592         (__libc_missing_rt_sigs): Remove.
56593         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
56594         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
56595         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
56596         Remove conditional code.
56597         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
56598         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
56599         return 1.
56600         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
56601         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
56602         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
56603         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
56605 2012-05-14  Andreas Jaeger  <aj@suse.de>
56607         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
56608         it's not used in glibc.
56609         (__coshm1): Likewise.
56610         (__acosh1p): Likewise.
56611         (__sgn): Likewise.
56613         * manual/string.texi (Copying and Concatenation): Add missing
56614         variable in concat example.
56615         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
56617 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56619         [BZ #14103]
56620         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
56621         __builtin_clzl with __builtin_clzll.
56623 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56625         [BZ #14104]
56626         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
56627         libc_freeres_ptr.
56629 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56631         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
56632         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
56633         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
56634         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
56636 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
56638         * NEWS: Update ia64 info.
56640 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
56642         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
56643         used as bcopy.
56645 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
56647         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
56648         * sysdeps/unix/syscalls.list (dup3): Likewise.
56649         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
56650         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
56652 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
56654         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
56655         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
56657 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
56659         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
56660         thread pointer.
56661         (TLS_IE): Use mov/add instead of movq/addq to load thread
56662         pointer.
56663         (TLS_GD_PREFIX): New.
56664         (TLS_GD): Use it.
56666 2012-05-11  David S. Miller  <davem@davemloft.net>
56668         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
56669         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
56670         (_FPU_SETCW): Likewise.
56672 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
56674         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
56675         is 32-byte aligned.
56677 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
56679         [BZ #11837]
56680         * iconvdata/gb18030.c: Update tables.
56681         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
56682         characters specially.
56683         (BODY for TO_LOOP): Add encoding of missing ranges.
56685 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
56687         [BZ #13673]
56688         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
56689         * sysdeps/mach/hurd/dup3.c: Likewise.
56690         * sysdeps/mach/hurd/readlinkat.c: Likewise.
56691         * sysdeps/powerpc/memmove.c:: Likewise.
56693 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
56695         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
56696         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
56698 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
56700         * elf/elf.h (R_X86_64_RELATIVE64): New.
56701         (R_X86_64_NUM): Updated.
56702         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
56703         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
56704         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
56705         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
56706         tst-quad1pie tst-quad2pie
56707         (modules-names): Add tst-quadmod1 tst-quadmod2.
56708         ($(objpfx)tst-quad1): New dependency.
56709         ($(objpfx)tst-quad2): Likewise.
56710         ($(objpfx)tst-quad1pie): Likewise.
56711         ($(objpfx)tst-quad2pie): Likewise.
56712         * sysdeps/x86_64/tst-quad1.c: New file.
56713         * sysdeps/x86_64/tst-quad1pie.c: New file.
56714         * sysdeps/x86_64/tst-quad2.c: Likewise.
56715         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
56716         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
56717         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
56718         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
56719         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
56721 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56723         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
56724         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
56725         * streams/stropts.h (t_scalar_t): Define type.
56727         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
56728         (_PATH_PRESERVE): Set to "/var/lib".
56729         (_PATH_RWHODIR): Set to "/var/spool/rwho".
56731         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
56732         instead of int.
56734         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
56735         if __dir_mkfile succeeded.
56737         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
56738         checking for _hurd_dtablesize.  Unlock it right after having
56739         finished _hurd_dtable allocation.
56741 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56743         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
56744         * sysdeps/mach/hurd/configure: Regenerated.
56745         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
56746         special-casing to...
56747         * sysdeps/gnu/configure.in: ... this new file.
56748         * sysdeps/unix/sysv/linux/configure: Regenerated.
56749         * sysdeps/gnu/configure: New generated file.
56751         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
56752         for Linux: use nsec instead of usec, as well as:
56753         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
56754         members of type struct timespec.
56755         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
56756         New macros.
56757         (struct stat64): Likewise.
56758         (_STATBUF_ST_NSEC): New macro.
56759         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
56761         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
56762         __strtoul_internal rather than strtoul.
56764 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
56766         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
56767         and reject them.
56769 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56771         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
56772         which preserves existing values.
56773         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
56775 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
56777         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
56778         TIMEOUT values.  Return EINVAL for NFDS values either negative or
56779         greater than FD_SETSIZE.
56781 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56783         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
56784         allocated, call __vm_protect to finish enabling the existing space, and
56785         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
56786         allocate the remainder.
56788 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
56790         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
56791         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
56793 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56795         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
56796         sysdeps/mach/hurd/readlink.c.
56798         * posix/tst-sysconf.c (posix_options): Only use
56799         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
56800         _POSIX_SYNCHRONIZED_IO when they are defined
56801         * sysdeps/mach/hurd/bits/posix_opt.h:
56802         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
56803         (_XOPEN_REALTIME): Undefine macro.
56804         (_XOPEN_REALTIME_THREADS): Undefine macro.
56805         (_XOPEN_SHM): Undefine macro.
56806         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
56807         macro to -1.
56808         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
56809         macro to -1.
56810         (_POSIX_ASYNC_IO): Undefine macro.
56811         (_POSIX_PRIORITIZED_IO): Undefine macro.
56812         (_POSIX_SPIN_LOCKS): Define macro to -1.
56814         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
56815         SA_NODEFER, SA_RESETHAND.
56816         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
56817         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
56818         F_DUPFD_CLOEXEC.
56820 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56822         * elf/Makefile (pldd-modules): Define unconditionally.
56824 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56826         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
56828 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56830         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
56831         Return ENOENT when name is empty.
56832         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
56834 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56836         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
56838         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
56840 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56842         Fix mlock in all cases except non-readable pages.
56843         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
56844         instead of VM_PROT_ALL as parameter to __vm_wire function.
56846         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
56847         (__mkdir): When path is `/', just fail with EEXIST.
56848         * sysdeps/mach/hurd/mkdirat.c: Likewise.
56850 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56852         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
56853         <sys/uio.h> (for writev).
56854         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
56855         and <sys/param.h> (for MIN).
56857 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
56859         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
56860         REQUESTED_TIME.  Properly set the remaining time and return EINTR
56861         if interrupted.
56863 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56865         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
56866         Depend on against $(link-rpcuserlibs).
56868 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56870         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
56871         (__libc_stack_end): Do not use attribute_relro.
56872         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
56873         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
56874         to libthread-provided value.
56875         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
56876         attribute_relro.
56878 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56880         [BZ #3748]
56881         * bits/libc-lock.h (__libc_once_get): New macro.
56882         * sysdeps/mach/bits/libc-lock.h: Likewise.
56883         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
56884         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
56885         instead of using implementation details.
56887         * libio/fileops.c: Unconditionally include <kernel-features.h>.
56888         * libio/freopen.c: Likewise.
56889         * libio/freopen64.c: Likewise.
56890         * misc/syslog.c: Likewise.
56891         * nscd/connections.c: Likewise.
56892         * nscd/netgroupcache.c: Likewise.
56893         * sysdeps/posix/getcwd.c: Likewise.
56895 2012-05-10  Roland McGrath  <roland@hack.frob.com>
56897         * math/w_ilogbf.c: Add #include <limits.h>.
56899 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56901         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
56902         path instead of returning without unlocking.
56904         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
56905         immediate-write ioctls.
56906         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
56908 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56910         * sysdeps/mach/hurd/i386/init-first.c (init): Use
56911         __builtin_frame_address instead of making assumptions about the
56912         location of the return address relative to DATA.  Force early load of
56913         the return address.
56914         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
56915         __builtin_frame_address.
56917         dup3 for GNU Hurd.
56918         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
56919         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
56920         implement dup3 and do some further code clean-ups.
56921         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
56922         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
56924 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56926         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
56928         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
56929         HURD_CRITICAL_END around holding _hurd_dtable_lock.
56930         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
56931         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
56932         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
56933         d->port.lock.
56935         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
56936         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
56937         when handler == SIG_ERR, not when handler != SIG_ERR.
56939 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56941         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
56942         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
56943         definitions.
56945         accept4 for GNU Hurd.
56946         * include/sys/socket.h (__libc_accept4): New prototype.
56947         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
56948         to implement __libc_accept4.
56949         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
56950         __libc_accept4.
56951         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
56953         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
56954         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
56955         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
56956         signal-defines.sym.
56958 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56960         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
56962 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56964         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
56965         assertion on O_CLOEXEC flag.
56966         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
56967         * hurd/intern-fd.c: Likewise.
56968         * hurd/port2fd.c: Likewise.
56970 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56972         [BZ #3906]
56973         * bits/in.h (IPV6_PKTINFO): Define new macro.
56974         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
56976 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56978         [BZ #13954]
56979         [BZ #13955]
56980         [BZ #13956]
56981         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
56982         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
56983         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
56984         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
56985         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56986         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
56987         * math/libm-test.inc (logb_test) : Additional logb tests.
56989 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
56990             Andreas Jaeger  <aj@suse.de>
56992         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
56993         * configure: Regenerated.
56994         * config.h.in (LINK_OBSOLETE_RPC): New macro.
56995         * config.make.in (link-obsolete-rpc): New substituted variable.
56996         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
56997         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
56998         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
56999         (shared-only-routines): Don't set it under [link-obsolete-rpc],
57000         so that libc.a contains the symbols.
57001         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
57002         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
57003         * sunrpc/auth_none.c: Likewise.
57004         * sunrpc/auth_unix.c: Likewise.
57005         * sunrpc/authdes_prot.c: Likewise.
57006         * sunrpc/authuxprot.c: Likewise.
57007         * sunrpc/clnt_gen.c: Likewise.
57008         * sunrpc/clnt_perr.c: Likewise.
57009         * sunrpc/clnt_raw.c: Likewise.
57010         * sunrpc/clnt_simp.c: Likewise.
57011         * sunrpc/clnt_tcp.c: Likewise.
57012         * sunrpc/clnt_udp.c: Likewise.
57013         * sunrpc/clnt_unix.c: Likewise.
57014         * sunrpc/des_crypt.c: Likewise.
57015         * sunrpc/des_soft.c: Likewise.
57016         * sunrpc/get_myaddr.c: Likewise.
57017         * sunrpc/key_call.c: Likewise.
57018         * sunrpc/key_prot.c: Likewise.
57019         * sunrpc/netname.c: Likewise.
57020         * sunrpc/pm_getmaps.c: Likewise.
57021         * sunrpc/pm_getport.c: Likewise.
57022         * sunrpc/pmap_clnt.c: Likewise.
57023         * sunrpc/pmap_prot.c: Likewise.
57024         * sunrpc/pmap_prot2.c: Likewise.
57025         * sunrpc/pmap_rmt.c: Likewise.
57026         * sunrpc/publickey.c: Likewise.
57027         * sunrpc/rpc_cmsg.c: Likewise.
57028         * sunrpc/rpc_common.c: Likewise.
57029         * sunrpc/rpc_dtable.c: Likewise.
57030         * sunrpc/rpc_prot.c: Likewise.
57031         * sunrpc/rpc_thread.c: Likewise.
57032         * sunrpc/rtime.c: Likewise.
57033         * sunrpc/svc.c: Likewise.
57034         * sunrpc/svc_auth.c: Likewise.
57035         * sunrpc/svc_raw.c: Likewise.
57036         * sunrpc/svc_run.c: Likewise.
57037         * sunrpc/svc_tcp.c: Likewise.
57038         * sunrpc/svc_udp.c: Likewise.
57039         * sunrpc/svc_unix.c: Likewise.
57040         * sunrpc/svcauth_des.c: Likewise.
57041         * sunrpc/xcrypt.c: Likewise.
57042         * sunrpc/xdr.c: Likewise.
57043         * sunrpc/xdr_array.c: Likewise.
57044         * sunrpc/xdr_float.c: Likewise.
57045         * sunrpc/xdr_intXX_t.c: Likewise.
57046         * sunrpc/xdr_mem.c: Likewise.
57047         * sunrpc/xdr_rec.c: Likewise.
57048         * sunrpc/xdr_ref.c: Likewise.
57049         * sunrpc/xdr_sizeof.c: Likewise.
57050         * sunrpc/xdr_stdio.c: Likewise.
57052 2012-05-10  Roland McGrath  <roland@hack.frob.com>
57054         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
57055         change.  Update copyright years.
57057 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
57059         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
57061 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
57062             Joseph Myers  <joseph@codesourcery.com>
57063             Paul Pluzhnikov  <ppluzhnikov@google.com>
57065         [BZ #14012]
57066         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
57067         requiring rpcgen.
57068         [cross-compiling] (extra-libs): Likewise.
57069         [cross-compiling] (extra-libs-others): Likewise.
57070         [cross-compiling] (librpcsvc-routines): Likewise.
57071         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
57072         [cross-compiling] (omit-deps): Likewise.
57073         (sunrpc-CPPFLAGS): New variable.
57074         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
57075         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
57076         (cross-rpcgen-objs): New variable.
57077         (extra-objs): Append $(cross-rpcgen-objs).
57078         ($(cross-rpcgen-objs)): New rule.
57079         ($(objpfx)cross-rpcgen): Likewise.
57080         (rpcgen-cmd): Define to use $(built-program-file).  Expand
57081         comment.
57082         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
57083         ($(objpfx)x%.stmp): Likewise.
57084         * sunrpc/proto.h [IS_IN_build] (_): Define.
57085         [IS_IN_build] (_libc_intl_domainname): Likewise.
57087 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
57089         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
57090         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
57091         and R_X86_64_TPOFF64.
57093 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
57095         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
57096         sysdeps/unix/sysv/syscalls.list.
57097         (stime): Likewise.
57098         (utime): Likewise.
57099         * sysdeps/unix/sysv/syscalls.list: Remove file.
57101 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
57103         [BZ #3440]
57104         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
57105         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
57106         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
57107         (__LC_IDENTIFICATION): Make these macros useful in #if
57108         expressions, as required by C99.
57110 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
57112         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
57113         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
57114         after this.
57116 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
57118         * stdlib/longlong.h: Updated from GCC.
57120 2012-05-09  Andreas Jaeger  <aj@suse.de>
57122         * nscd/nscd.c (run_modes): Make named enum, reorder so that
57123         default is first entry.
57124         (run_mode): Set type.
57125         (main): Remove informal message about syslog.
57126         (options): Fix typo.
57128         [BZ #14053]
57129         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
57130         to asm.
57131         (lrint): Likewise.
57132         (llrintf): Likewise.
57133         (llrint): Likewise.
57134         (rint): Likewise.
57135         (rintf): Likewise.
57136         (nearbyint): Likewise.
57137         (nearbyintf): Likewise.
57139 2012-05-09  Andreas Jaeger  <aj@suse.de>
57140             Pedro Alves  <palves@redhat.com>
57142         * nscd/nscd.c (run_mode): Use enum.
57143         (main): Cleanup coding style issue.
57145 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
57146             Andreas Jaeger  <aj@suse.de>
57148         * nscd/nscd.c (go_background): Replaced with...
57149         (run_mode): ... this.
57150         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
57151         (options): Add -F --foreground.
57152         (main): Implement it.
57153         (parse_opt): Parse it.
57155 2012-05-09  Andreas Jaeger  <aj@suse.de>
57157         [BZ #14083]
57158         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
57159         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
57160         -Wconversion warning.
57161         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
57162         Likewise.
57164 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
57166         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
57167         == 0.
57168         (LC_ALL): Use macro-int-constant.
57169         (LC_COLLATE): Likewise.
57170         (LC_CTYPE): Likewise.
57171         (LC_MESSAGES): Likewise.
57172         (LC_MONETARY): Likewise.
57173         (LC_NUMERIC): Likewise.
57174         (LC_TIME): Likewise.
57175         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
57176         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
57177         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57178         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
57179         Specify type.
57180         [C99-based standards] (float_t): Expect type.
57181         [C99-based standards] (double_t): Expect type.
57182         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
57183         type.
57184         [C99-based standards] (HUGE_VALL): Likewise.
57185         [C99-based standards] (INFINITY): Likewise.
57186         [C99-based standards] (NAN): Likewise.
57187         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
57188         [C99-based standards] (FP_NAN): Likewise.
57189         [C99-based standards] (FP_NORMAL): Likewise.
57190         [C99-based standards] (FP_SUBNORMAL): Likewise.
57191         [C99-based standards] (FP_ZERO): Likewise.
57192         [C99-based standards] (FP_FAST_FMA): Use
57193         optional-macro-int-constant.  Specify type.  Require == 1.
57194         [C99-based standards] (FP_FAST_FMAF): Likewise.
57195         [C99-based standards] (FP_FAST_FMAL): Likewise.
57196         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
57197         [C99-based standards] (FP_ILOGBNAN): Likewise.
57198         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
57199         Specify type.
57200         [C99-based standards] (MATH_ERREXCEPT): Likewise.
57201         [C99-based standards] (math_errhandling): Specify type.
57202         [ISO99 || ISO11] (signgam): Do not allow.
57203         [non-C99-based standards] (copysignf): Do not allow.
57204         [non-C99-based standards] (exp2f): Likewise.
57205         [non-C99-based standards] (log2f): Likewise.
57206         [non-C99-based standards] (modff): Allow.
57207         [non-C99-based standards] (erff): Do not allow.
57208         [non-C99-based standards] (erfcf): Likewise.
57209         [non-C99-based standards] (gammaf): Likewise.
57210         [non-C99-based standards] (hypotf): Likewise.
57211         [non-C99-based standards] (j0f): Likewise.
57212         [non-C99-based standards] (j1f): Likewise.
57213         [non-C99-based standards] (jnf): Likewise.
57214         [non-C99-based standards] (lgammaf): Likewise.
57215         [non-C99-based standards] (tgammaf): Likewise.
57216         [non-C99-based standards] (y0f): Likewise.
57217         [non-C99-based standards] (y1f): Likewise.
57218         [non-C99-based standards] (ynf): Likewise.
57219         [non-C99-based standards] (isnanf): Likewise.
57220         [non-C99-based standards] (acoshf): Likewise.
57221         [non-C99-based standards] (asinhf): Likewise.
57222         [non-C99-based standards] (atanhf): Likewise.
57223         [non-C99-based standards] (cbrtf): Likewise.
57224         [non-C99-based standards] (expm1f): Likewise.
57225         [non-C99-based standards] (ilogbf): Likewise.
57226         [non-C99-based standards] (log1pf): Likewise.
57227         [non-C99-based standards] (logbf): Likewise.
57228         [non-C99-based standards] (nextafterf): Likewise.
57229         [non-C99-based standards] (remainderf): Likewise.
57230         [non-C99-based standards] (rintf): Likewise.
57231         [non-C99-based standards] (scalbf): Likewise.
57232         [non-C99-based standards] (copysignl): Likewise.
57233         [non-C99-based standards] (exp2l): Likewise.
57234         [non-C99-based standards] (log2l): Likewise.
57235         [non-C99-based standards] (modfl): Allow.
57236         [non-C99-based standards] (erfl): Do not allow.
57237         [non-C99-based standards] (erfcl): Likewise.
57238         [non-C99-based standards] (gammal): Likewise.
57239         [non-C99-based standards] (hypotl): Likewise.
57240         [non-C99-based standards] (j0l): Likewise.
57241         [non-C99-based standards] (j1l): Likewise.
57242         [non-C99-based standards] (jnl): Likewise.
57243         [non-C99-based standards] (lgammal): Likewise.
57244         [non-C99-based standards] (tgammal): Likewise.
57245         [non-C99-based standards] (y0l): Likewise.
57246         [non-C99-based standards] (y1l): Likewise.
57247         [non-C99-based standards] (ynl): Likewise.
57248         [non-C99-based standards] (isnanl): Likewise.
57249         [non-C99-based standards] (acoshl): Likewise.
57250         [non-C99-based standards] (asinhl): Likewise.
57251         [non-C99-based standards] (atanhl): Likewise.
57252         [non-C99-based standards] (cbrtl): Likewise.
57253         [non-C99-based standards] (expm1l): Likewise.
57254         [non-C99-based standards] (ilogbl): Likewise.
57255         [non-C99-based standards] (log1pl): Likewise.
57256         [non-C99-based standards] (logbl): Likewise.
57257         [non-C99-based standards] (nextafterl): Likewise.
57258         [non-C99-based standards] (remainderl): Likewise.
57259         [non-C99-based standards] (rintl): Likewise.
57260         [non-C99-based standards] (scalbl): Likewise.
57261         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57262         [non-C99-based standards] (FP_*): Do not allow.
57263         [C99-based standards] (FP_*): Change to
57264         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
57265         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
57266         allow.
57267         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
57268         (SIG_ERR): Likewise.
57269         [X/Open-based standards] (SIG_HOLD): Likewise.
57270         (SIG_IGN): Likewise.
57271         (SIGABRT): Use macro-int-constant.  Specify type.  Require
57272         positive value.
57273         (SIGFPE): Likewise.
57274         (SIGILL): Likewise.
57275         (SIGINT): Likewise.
57276         (SIGSEGV): Likewise.
57277         (SIGTER): Likewise.
57278         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
57279         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
57280         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
57281         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
57282         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
57283         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
57284         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
57285         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
57286         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
57287         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
57288         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
57289         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
57290         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
57291         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
57292         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
57293         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
57294         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
57295         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
57296         [X/Open-based standards] (SIGTRAP): Likewise.
57297         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
57298         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
57299         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
57300         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
57301         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
57302         allow.
57304 2012-05-08  Ian Wienand  <ianw@vmware.com>
57306         [BZ #14080]
57307         * time/tzset.c (__tzset_parse_tz): Update default rules for
57308         daylight time changes in the Energy Policy Act of 2005.
57310 2012-05-09  Andreas Jaeger  <aj@suse.de>
57312         [BZ #13983]
57313         * elf/ldconfig.c (parse_conf): Change string to make clear that
57314         ldconfig only issued a warning if ld.so.conf does not exist.
57316 2012-05-08  David S. Miller  <davem@davemloft.net>
57318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
57319         movxtod instead of popping the value on the stack.
57321         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57323 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
57325         * config.h.in: Add HAVE_ARM_PCS_VFP.
57327 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
57329         [BZ #13979]
57330         * include/features.h: Warn if user requests __FORTIFY_SOURCE
57331         checking but the checks are disabled for any reason.
57333 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
57335         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
57336         and ELF64_R_TYPE with ELFW(R_TYPE).
57338 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
57340         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
57341         (ulimit): Likewise.
57343         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
57344         (settimeofday): Likewise.
57346 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
57348         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
57349         a struct th_u2 inside the union, and move tu_block/tu_code into
57350         a new th_u3 union of tu_block/tu_code inside of that.  Move
57351         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
57352         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
57353         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
57354         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
57355         (th_stuff): Change to th_u1.tu_stuff.
57356         (th_data): Define.
57357         (th_msg): Change to th_u1.th_u2.tu_data.
57359 2012-05-07  David S. Miller  <davem@davemloft.net>
57361         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57363         [BZ #14074]
57364         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
57365         (SETUP_PIC_REG): Use it.
57366         (SETUP_PIC_REG_LEAF): Use it.
57368 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
57370         [BZ #13885]
57371         [BZ #13923]
57372         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
57373         USE_AS_EXPM1L.
57374         (EXPL_FINITE): Likewise.
57375         (FLDLOG): Likewise.
57376         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
57377         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
57378         e_expl.S.
57379         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
57380         USE_AS_EXPM1L.
57381         (EXPL_FINITE): Likewise.
57382         (FLDLOG): Likewise.
57383         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
57384         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
57385         e_expl.S.
57386         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
57387         test of -max_value argument for long double.
57388         * sysdeps/i386/fpu/libm-test-ulps: Update.
57389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57391 2012-05-06  David S. Miller  <davem@davemloft.net>
57393         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
57394         quad soft-float symbols whose references which are compiler
57395         generated.
57396         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
57398 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
57400         [BZ #13884]
57401         [BZ #13914]
57402         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
57403         USE_AS_EXP10L.
57404         (EXPL_FINITE): Likewise.
57405         (FLDLOG): Likewise.
57406         (c0): Likewise.
57407         (c1): Likewise.
57408         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
57409         Adjust comments for base varying.
57410         (__expl_finite): Change alias to EXPL_FINITE.
57411         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
57412         e_expl.S.
57413         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
57414         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
57415         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
57416         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
57417         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
57418         USE_AS_EXP10L.
57419         (EXPL_FINITE): Likewise.
57420         (FLDLOG): Likewise.
57421         (c0): Likewise.
57422         (c1): Likewise.
57423         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
57424         Adjust comments for base varying.
57425         (__expl_finite): Change alias to EXPL_FINITE.
57426         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
57427         tests for bugs.
57428         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57430         [BZ #14064]
57431         * math/libm-test.inc (check_float_internal): Correct ulp
57432         calculation for subnormal expected results.
57434 2012-05-06  Andreas Jaeger  <aj@suse.de>
57436         * Makeconfig (+math-flags): New, set to -frounding-math.
57437         (+cflags): Add +math-flags so that all of glibc gets compiled with
57438         it.
57440         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
57442 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
57444         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
57445         Disable one test.
57447         [BZ #13787]
57448         [BZ #13922]
57449         [BZ #14036]
57450         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
57451         (__ieee754_expl): Allow for and saturate large arguments.
57452         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
57453         (u_threshold): Likewise.
57454         (__exp): Call __ieee754_exp before checking for overflow and
57455         underflow.
57456         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
57457         (u_threshold): Likewise.
57458         (__expf): Call __ieee754_expf before checking for overflow and
57459         underflow.
57460         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
57461         (u_threshold): Likewise.
57462         (__expl): Call __ieee754_expl before checking for overflow and
57463         underflow.
57464         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
57465         (__ieee754_expl): Allow for and saturate large arguments.
57466         * math/libm-test.inc (exp_test): Add another test.  Do not allow
57467         missing overflow exception on overflow.
57468         (expm1_test): Do not allow missing overflow exception on overflow.
57470         * sysdeps/i386/fpu/e_expl.c: Move to ...
57471         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
57472         rather than using inline asm.
57473         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
57474         * sysdeps/x86_64/fpu/e_expl.S: Copy from
57475         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
57477         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
57478         (nice): Likewise.
57479         (poll): Likewise.
57480         (signal): Likewise.
57481         (time): Likewise.
57482         (times): Likewise.
57484 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
57486         * sysdeps/unix/syscalls.list (adjtime): Add entry from
57487         sysdeps/unix/common/syscalls.list.
57488         (fchmod): Likewise.
57489         (fchown): Likewise.
57490         (ftruncate): Likewise.
57491         (getrusage): Likewise.
57492         (gettimeofday): Likewise.
57493         (setpgid): Likewise.
57494         (setregid): Likewise.
57495         (setreuid): Likewise.
57496         (sigaction): Likewise.
57497         (truncate): Likewise.
57498         (vhangup): Likewise.
57499         * sysdeps/unix/common/syscalls.list: Remove file.
57500         * sysdeps/unix/bsd/Implies: Don't include unix/common.
57501         * sysdeps/unix/sysv/linux/Implies: Likewise.
57503 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
57505         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
57506         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
57507         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
57508         Moved to ...
57509         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
57510         Here.
57511         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
57512         to ...
57513         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
57514         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
57515         to ...
57516         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
57517         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
57518         to ...
57519         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
57520         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
57521         to ...
57522         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
57523         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
57524         to ...
57525         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
57526         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
57527         to ...
57528         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
57529         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
57530         to ...
57531         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
57532         Here.
57533         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
57534         to ...
57535         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
57536         Here.
57537         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
57538         to ...
57539         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
57540         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
57541         Moved to ...
57542         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
57543         Here.
57544         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
57545         to ...
57546         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
57548 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
57550         * sysdeps/unix/common/bits/dirent.h: Remove file.
57551         * sysdeps/unix/common/bits/fcntl.h: Likewise.
57553         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
57554         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
57555         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
57556         * sysdeps/unix/bsd/isatty.c: Likewise.
57557         * sysdeps/unix/bsd/tcdrain.c: Likewise.
57558         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
57559         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
57561 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57563         [BZ #13563]
57564         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
57565         long double comparison inaccuracies.
57566         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
57567         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57569 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
57571         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
57572         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
57574 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
57576         [BZ #14049]
57577         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
57578         nonzero digits before rounding a hex value.
57579         * stdlib/tst-strtod.c (tests): Add another test.
57581 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57583         * sysdeps/s390/fpu/libm-test-ulps: Update.
57585 2012-05-03  Andreas Jaeger  <aj@suse.de>
57587         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
57588         does not get optimized out.
57589         (malloc_opt_barrier): New.
57591 2012-05-03  Andreas Jaeger  <aj@suse.de>
57592             Roland McGrath  <roland@hack.frob.com>
57594         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
57595         intermediate file deletion.
57596         (generated): Add .symlist files.
57598 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
57600         [BZ #13775]
57601         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
57602         Redirect under this condition.
57603         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
57604         [__USE_GNU] (__dprintf_chk): Not under this condition.
57605         [__USE_GNU] (__vdprintf_chk): Likewise.
57606         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
57607         under this condition.
57608         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
57609         [__USE_XOPEN2K8] (dprintf): Define under this condition.
57610         [__USE_XOPEN2K8] (vdprintf): Likewise.
57611         [__USE_GNU] (__dprintf_chk): Not under this condition.
57612         [__USE_GNU] (__vdprintf_chk): Likewise.
57613         [__USE_GNU] (dprintf): Likewise.
57614         [__USE_GNU] (vdprintf): Likewise.
57616 2012-05-03  Roland McGrath  <roland@hack.frob.com>
57618         * elf/Makefile (common-generated): Set this instead of generated for
57619         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
57620         $(all-built-dso)-derived lists.
57622 2012-05-03  Andreas Jaeger  <aj@suse.de>
57624         * sysdeps/i386/fpu/libm-test-ulps: Update.
57626         * FAQ: Removed.
57627         * FAQ.in: Likewise.
57628         * scripts/gen-FAQ.pl: Likewise.
57629         * manual/install.texi (Installation): Point to online location of
57630         FAQ.
57631         * Makefile (files-for-dist): Remove FAQ.
57632         (FAQ): Remove.
57634 2012-05-02  Allan McRae  <allan@archlinux.org>
57636         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
57637         (LDFLAGS-reldepmod5.so): Likewise.
57638         (LDFLAGS-reldep6mod1.so): Likewise.
57639         (LDFLAGS-reldep6mod4.so): Likewise.
57640         (LDFLAGS-reldep8mod3.so): Likewise.
57641         (LDFLAGS-unload4mod1.so): Likewise.
57642         (LDFLAGS-unload4mod2.so): Likewise.
57643         (LDFLAGS-tst-initorder): Likewise.
57644         (LDFLAGS-tst-initordera2.so): Likewise.
57645         (LDFLAGS-tst-initordera3.so): Likewise.
57646         (LDFLAGS-tst-initordera4.so): Likewise.
57647         (LDFLAGS-tst-initorderb2.so): Likewise.
57648         (LDFLAGS-noload): Likewise.
57649         (LDFLAGS-next): Likewise.
57650         (LDFLAGS-order2mod1.so): Likewise.
57651         (LDFLAGS-order2mod2.so): Likewise.
57652         (LDFLAGS-tst-initorder2): Likewise.
57653         (LDFLAGS-tst-initorder2a.so): Likewise.
57654         (LDFLAGS-tst-initorder2b.so): Likewise.
57655         (LDFLAGS-tst-initorder2c.so): Likewise.
57656         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
57658 2012-05-02  David S. Miller  <davem@davemloft.net>
57660         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57662 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
57664         [BZ #14055]
57665         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
57667 2012-05-02  Andreas Jaeger  <aj@suse.de>
57669         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
57670         since we manipulate rounding mode.
57671         (CPPFLAGS-test-idouble.c): Likewise.
57672         (CPPFLAGS-test-ifloat.c): Likewise.
57673         (CFLAGS-test-ldouble.c): Likewise.
57674         (CFLAGS-test-double.c): Likewise.
57675         (CFLAGS-test-float.c): Likewise.
57676         (CFLAGS-test-misc.c): Likewise.
57677         (CFLAGS-test-test-fenv.c): Likewise.
57679 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57681         [BZ #2550]
57682         [BZ #2570]
57683         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
57684         comparisons to determine direction to adjust input.
57686 2012-05-01  Roland McGrath  <roland@hack.frob.com>
57688         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
57689         output to the target.
57691         * scripts/localplt.awk: New file.
57692         * elf/Makefile ($(objpfx)check-localplt): Target removed.
57693         (check-localplt-CFLAGS): Variable removed.
57694         ($(all-built-dso:=.jmprel)): New static pattern rule.
57695         (generated): Add those targets.
57696         (localplt-built-dso): New variable.
57697         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
57699         * elf/check-localplt.c: File removed.
57701         * scripts/check-execstack.awk: New file.
57702         * elf/Makefile ($(objpfx)check-execstack): Target removed.
57703         (check-execstack-CFLAGS): Variable removed.
57704         ($(objpfx)check-execstack.h): Target removed.
57705         ($(objpfx)execstack-default): New target.
57706         (generated): Add that instead of check-execstack.h.
57707         ($(all-built-dso:=.phdr)): New static pattern rule.
57708         (generated): Add those targets.
57709         * elf/check-execstack.c: File removed.
57711         * scripts/check-textrel.awk: New file.
57712         * elf/Makefile ($(objpfx)check-textrel): Target removed.
57713         (check-textrel-CFLAGS): Variable removed.
57714         (all-built-dso): Use := to define.o
57715         ($(all-built-dso:=.dyn)): New static pattern rule.
57716         (generated): Add those targets.
57717         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
57718         * config.make.in (READELF): New substituted variable.
57719         * elf/check-textrel.c: File removed.
57721 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
57723         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
57724         allow.
57725         * conform/data/ctype.h-data [C99-based standards] (isblank):
57726         Expect function.
57727         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
57728         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
57729         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57730         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
57731         Specify type.  Require positive value.
57732         (EILSEQ): Likewise.
57733         (ERANGE): Likewise.
57734         [ISO || POSIX] (EILSEQ): Do not expect.
57735         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
57736         Specify type.  Require positive value.
57737         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
57738         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
57739         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
57740         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
57741         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
57742         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
57743         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
57744         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
57745         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
57746         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
57747         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
57748         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
57749         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
57750         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
57751         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
57752         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
57753         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
57754         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
57755         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
57756         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
57757         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
57758         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
57759         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
57760         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
57761         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
57762         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
57763         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
57764         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
57765         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
57766         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
57767         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
57768         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
57769         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
57770         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
57771         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
57772         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
57773         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
57774         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
57775         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
57776         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
57777         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
57778         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
57779         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
57780         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
57781         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
57782         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
57783         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
57784         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
57785         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
57786         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
57787         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
57788         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
57789         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
57790         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
57791         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
57792         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
57793         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
57794         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
57795         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
57796         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
57797         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
57798         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
57799         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
57800         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
57801         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
57802         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
57803         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
57804         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
57805         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
57806         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
57807         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
57808         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
57809         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
57810         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
57811         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
57812         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
57813         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
57814         Require >= 2.
57815         (FLT_ROUNDS): Expect as macro, not constant.
57816         (FLT_MANT_DIG): Use macro-int-constant.
57817         (DBL_MANT_DIG): Likewise.
57818         (LDBL_MANT_DIG): Likewise.
57819         (FLT_DIG): Likewise.
57820         (DBL_DIG): Likewise.
57821         (LDBL_DIG): Likewise.
57822         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
57823         (DBL_MIN_EXP): Likewise.
57824         (LDBL_MIN_EXP): Likewise.
57825         (FLT_MAX_EXP): Use macro-int-constant.
57826         (DBL_MAX_EXP): Likewise.
57827         (LDBL_MAX_EXP): Likewise.
57828         (FLT_MAX_10_EXP): Likewise.
57829         (DBL_MAX_10_EXP): Likewise.
57830         (LDBL_MAX_10_EXP): Likewise.
57831         (FLT_MAX): Use macro-constant.
57832         (DBL_MAX): Likewise.
57833         (LDBL_MAX): Likewise.
57834         (FLT_EPSILON): Use macro-constant.  Give upper bound.
57835         (DBL_EPSILON): Likewise.
57836         (LDBL_EPSILON): Likewise.
57837         (FLT_MIN): Likewise.
57838         (DBL_MIN): Likewise.
57839         (LDBL_MIN): Likewise.
57840         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
57841         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
57842         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
57843         [ISO11] (FLT_HAS_SUBNORM): Likewise.
57844         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
57845         [ISO11] (DBL_DECIMAL_DIG): Likewise.
57846         [ISO11] (FLT_DECIMAL_DIG): Likewise.
57847         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
57848         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
57849         [ISO11] (FLT_TRUE_MIN): Likewise.
57850         [ISO11] (LDBL_TRUE_MIN): Likewise.
57851         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57852         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
57853         (SCHAR_MIN): Use macro-int-constant.  Specify type.
57854         (SCHAR_MAX): Likewise.
57855         (UCHAR_MAX): Likewise.
57856         (CHAR_MIN): Likewise.
57857         (CHAR_MAX): Likewise.
57858         (MB_LEN_MAX): Use macro-int-constant.
57859         (SHRT_MIN): Use macro-int-constant.  Specify type.
57860         (SHRT_MAX): Likewise.
57861         (USHRT_MAX): Likewise.
57862         (INT_MAX): Likewise.
57863         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
57864         bound negative.
57865         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
57866         bound with "U".
57867         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
57868         bound with "L".
57869         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
57870         bound negative.  Suffix upper bound with "L".
57871         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
57872         bound with "UL".
57873         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
57874         Specify type.
57875         [C99-based standards] (LLONG_MAX): Likewise.
57876         [C99-based standards] (ULLONG_MAX): Likewise.
57877         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
57878         == 0.
57879         [ISO11] (max_align_t): Require type.
57880         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57882         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
57883         from $CFLAGS, without defining away __attribute__ calls.
57884         (checknamespace): Use $CFLAGS_namespace.
57886         * conform/conformtest.pl (@keywords): Only include C99 keywords
57887         for standards based on C99 or C11.
57889         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
57890         Disable tests.
57891         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
57892         UNIX98]: Likewise.
57894         * conform/conformtest.pl: Handle "macro-int-constant" and test for
57895         usability of symbols in #if.
57897         * conform/conformtest.pl: If macro or constant types start
57898         "promoted:", expect the symbol to be of the following type
57899         promoted by the integer promotions.
57901         * conform/conformtest.pl: Parse all "constant" and "macro" lines
57902         in one place.  Also handle "macro-constant".
57904         * conform/conformtest.pl: Only accept expected macro values with
57905         "==".  Parse all "macro" lines in one place.
57906         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
57908         * conform/conformtest.pl: Handle braced types on "constant" lines
57909         instead of handling "typed-constant".
57910         * conform/data/signal.h-data: Use "constant" instead of
57911         "typed-constant".
57913         * conform/conformtest.pl: Handle "optional-" at start of lines in
57914         one place rather than duplicating several cases.  Handle each
57915         format of "macro" line with initial "optional-".
57917         * conform/conformtest.pl: Only accept expected constant or
57918         optional-constant values with "==".  Parse all "constant" lines in
57919         one place.  Parse all "optional-constant" lines in one place.
57920         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
57921         * conform/data/fmtmsg.h-data: Likewise.
57922         * conform/data/netinet/in.h-data: Likewise.
57923         * conform/data/tar.h-data: Likewise.
57924         * conform/data/limits.h-data: Use "==" form on "constant" and
57925         "optional-constant" lines.
57927         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
57928         Use -std=c99 for XOPEN2K.
57929         (@knownproblems): Remove.
57930         (newtoken): Don't check %isknown.
57932         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
57933         Do not expect macro.
57934         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
57935         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
57936         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
57937         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
57938         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
57939         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
57940         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
57941         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
57942         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
57943         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
57944         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
57945         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
57946         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
57947         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
57948         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
57949         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
57950         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
57951         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
57952         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
57953         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
57954         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
57955         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
57956         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
57957         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
57958         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
57959         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
57960         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
57961         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
57962         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
57963         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
57964         [XPG3] (acosh): Likewise.
57965         [XPG3] (asinh): Likewise.
57966         [XPG3] (atanh): Likewise.
57967         [XPG3] (cbrt): Likewise.
57968         [XPG3] (expm1): Likewise.
57969         [XPG3] (ilogb): Likewise.
57970         [XPG3] (log1p): Likewise.
57971         [XPG3] (logb): Likewise.
57972         [XPG3] (nextafter): Likewise.
57973         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
57974         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
57975         [XPG3] (remainder): Likewise.
57976         [XPG3] (rint): Likewise.
57977         [XPG3 || XPG4 || UNIX98] (round): Likewise.
57978         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
57979         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
57980         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
57981         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
57982         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
57983         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
57984         [UNIX98 || XOPEN2K] (scalb): Expect.
57985         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
57986         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
57987         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
57988         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
57989         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
57990         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
57991         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
57992         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
57993         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
57994         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
57995         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
57996         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
57997         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
57998         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
57999         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
58000         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
58001         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
58002         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
58003         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
58004         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
58005         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
58006         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
58007         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
58008         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
58009         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
58010         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
58011         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
58012         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
58013         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
58014         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
58015         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
58016         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
58017         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
58018         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
58019         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
58020         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
58021         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
58022         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
58023         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
58024         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
58025         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
58026         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
58027         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
58028         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
58029         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
58030         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
58031         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
58032         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
58033         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
58034         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
58035         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
58036         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
58037         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
58038         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
58039         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
58040         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
58041         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
58042         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
58043         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
58044         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
58045         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
58046         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
58047         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
58048         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
58049         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
58050         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
58051         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
58052         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
58053         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
58054         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
58055         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
58056         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
58057         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
58058         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
58059         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
58060         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
58061         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
58062         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
58063         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
58064         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
58065         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
58066         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
58067         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
58068         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
58069         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
58070         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
58071         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
58072         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
58073         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
58074         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
58075         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
58076         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
58077         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
58078         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
58079         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
58080         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
58081         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
58082         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
58083         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
58084         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
58085         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
58086         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
58087         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
58088         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
58089         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
58090         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
58091         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
58092         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
58093         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
58094         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
58095         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
58096         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
58097         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
58098         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
58099         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
58100         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
58101         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
58102         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
58103         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
58104         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
58105         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
58106         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
58107         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
58108         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
58109         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
58110         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
58111         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
58112         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
58113         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
58114         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
58115         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
58116         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
58117         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
58118         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
58119         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
58120         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
58121         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
58123         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
58124         _XOPEN_SOURCE_EXTENDED for XPG4.
58126         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
58128         * Makeconfig (localtime): Remove variable.
58129         (inst_localtime-file): Likewise.
58131 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
58133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
58134         Update.
58135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58136         Update.
58137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
58138         Update.
58139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
58140         Update.
58141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
58142         Update.
58143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
58144         Update.
58145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58146         Update.
58147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
58148         Update.
58149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
58150         Update.
58152 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
58154         [BZ #2550]
58155         [BZ #2570]
58156         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
58157         comparisons to determine direction to adjust input.
58158         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
58159         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
58160         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
58161         Likewise.
58162         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
58163         Likewise.
58164         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
58165         Likewise.
58166         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
58167         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
58168         Likewise.
58169         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
58170         Likewise.
58171         * math/libm-test.inc (nexttoward_test): Add more tests.
58173 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
58175         [BZ #14040]
58176         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
58177         in version GLIBC_2.1, not GLIBC_2.0.
58178         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
58179         Likewise.
58181 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
58183         [BZ #13942]
58184         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
58185         (1 - x) * (1 + x).
58186         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
58187         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
58188         * math/libm-test.inc (acos_test): Add more tests.
58189         (asin_test): Likewise.
58190         * sysdeps/i386/fpu/libm-test-ulps: Update.
58191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58193         [BZ #14034]
58194         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
58195         of square root.
58196         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
58197         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
58198         * math/libm-test.inc (acos_test_tonearest): New function.
58199         (acos_test_towardzero): Likewise.
58200         (acos_test_downward): Likewise.
58201         (acos_test_upward): Likewise.
58202         (asin_test_tonearest): Likewise.
58203         (asin_test_towardzero): Likewise.
58204         (asin_test_downward): Likewise.
58205         (asin_test_upward): Likewise.
58206         (main): Call the new functions.
58207         * sysdeps/i386/fpu/libm-test-ulps: Update.
58208         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58210         [BZ #13884]
58211         [BZ #13924]
58212         * math/e_exp10.c: Include <float.h>.
58213         (__ieee754_exp10): Handle underflow here rather than multiplying
58214         large negative argument by M_LN10.
58215         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
58216         of __ieee754_expf.
58217         * math/e_exp10l.c: Include <float.h>.
58218         (__ieee754_exp10l): Handle underflow here rather than multiplying
58219         large negative argument by M_LN10l.
58220         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
58221         spurious overflow exception on underflow.
58223 2012-04-29  Marek Polacek  <polacek@redhat.com>
58225         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
58226         (__fortify_function): New macro.
58227         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
58228         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
58229         __extern_always_inline.
58230         * libio/bits/stdio2.h: Likewise.
58231         * libio/bits/stdio.h: Likewise.
58232         * string/string.h: Likewise.
58233         * string/bits/string3.h: Likewise.
58234         * include/stdio.h: Likewise.
58235         * stdlib/bits/stdlib.h: Likewise.
58236         * stdlib/stdlib.h: Likewise.
58237         * rt/bits/mqueue2.h: Likewise.
58238         * rt/mqueue.h: Likewise.
58239         * posix/bits/unistd.h: Likewise.
58240         * posix/unistd.h: Likewise.
58241         * io/bits/poll2.h: Likewise.
58242         * io/bits/fcntl2.h: Likewise.
58243         * io/fcntl.h: Likewise.
58244         * io/sys/poll.h: Likewise.
58245         * misc/bits/syslog.h: Likewise.
58246         * misc/bits/syslog-ldbl.h: Likewise.
58247         * misc/sys/syslog.h: Likewise.
58248         * socket/bits/socket2.h: Likewise.
58249         * socket/sys/socket.h: Likewise.
58250         * debug/tst-chk1.c: Likewise.
58251         * wcsmbs/bits/wchar2.h: Likewise.
58252         * wcsmbs/bits/wchar-ldbl.h: Likewise.
58253         * wcsmbs/wchar.h: Likewise.
58255 2012-04-29  Andreas Jaeger  <aj@suse.de>
58257         * Makerules (tests): Remove enable-check-abi protection.
58258         (check-abi-warn): Remove.
58259         (check-abi-%): Remove check-abi-warn usage.
58261         * configure.in: Remove check-abi configure option.
58262         * configure: Regenerated.
58263         * config.make.in (enable-check-abi): Remove.
58265 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
58267         [BZ #14033]
58268         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
58269         double functions to double *_finite functions.
58271         [BZ #13941]
58272         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
58273         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
58274         LDBL_MIN_EXP.
58275         * stdio-common/Makefile (tests): Add tst-sprintf3.
58276         * stdio-common/tst-sprintf3.c: New file.
58278         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
58279         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
58281 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
58283         * conform/conformtest.pl: Remove duplicate typed-constant
58284         handling.
58286 2012-04-28  David S. Miller  <davem@davemloft.net>
58288         * Makerules (%.abilist): Add vpath on sysdep_dirs.
58289         (check-abi-%): Remove AWK script prerequisite and explicit
58290         abilist directory.
58291         (check-abi): Rewrite to just diff the symlist with the abilist.
58292         (config-tls, config-abi-config): Delete, no longer used.
58293         (update-abi-%): Remove AWK script and explicit abilist directory.
58294         (update-abi): Rewrite to simply compare and conditionally copy the
58295         symlist and the sysdep abilist file.  Remove update-abi-config
58296         checks.
58297         * abilist/ld.abilist: Remove.
58298         * abilist/libBrokenLocale.abilist: Remove.
58299         * abilist/libanl.abilist: Remove.
58300         * abilist/libcrypt.abilist: Remove.
58301         * abilist/libdl.abilist: Remove.
58302         * abilist/librt.abilist: Remove.
58303         * abilist/libthread_db.abilist: Remove.
58304         * abilist/libutil.abilist: Remove.
58305         * scripts/extract-abilist.awk: Remove.
58306         * scripts/merge-abilist.awk: Remove.
58307         * sysdeps/generic/libcidn.abilist: New file.
58308         * sysdeps/generic/libnss_compat.abilist: New file.
58309         * sysdeps/generic/libnss_db.abilist: New file.
58310         * sysdeps/generic/libnss_dns.abilist: New file.
58311         * sysdeps/generic/libnss_files.abilist: New file.
58312         * sysdeps/generic/libnss_hesiod.abilist: New file.
58313         * sysdeps/generic/libnss_nis.abilist: New file.
58314         * sysdeps/generic/libnss_nisplus.abilist: New file.
58315         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
58316         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
58317         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
58318         file.
58319         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
58320         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
58321         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
58322         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
58323         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
58324         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
58325         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
58326         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
58327         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
58328         file.
58329         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
58330         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
58331         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
58332         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
58333         file.
58334         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
58335         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
58336         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
58337         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
58338         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
58339         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
58340         file.
58341         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
58342         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
58343         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
58344         file.
58345         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
58346         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
58347         New file.
58348         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
58349         New file.
58350         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
58351         New file.
58352         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
58353         New file.
58354         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
58355         New file.
58356         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
58357         New file.
58358         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
58359         New file.
58360         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
58361         New file.
58362         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
58363         New file.
58364         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
58365         New file.
58366         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
58367         New file.
58368         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
58369         New file.
58370         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
58371         New file.
58372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
58373         file.
58374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
58375         New file.
58376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
58377         New file.
58378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
58379         file.
58380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
58381         New file.
58382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
58383         New file.
58384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
58385         file.
58386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
58387         New file.
58388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
58389         New file.
58390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
58391         New file.
58392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
58393         New file.
58394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
58395         New file.
58396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
58397         New file.
58398         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
58399         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
58400         file.
58401         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
58402         New file.
58403         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
58404         file.
58405         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
58406         file.
58407         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
58408         file.
58409         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
58410         file.
58411         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
58412         file.
58413         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
58414         New file.
58415         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
58416         file.
58417         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
58418         file.
58419         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
58420         New file.
58421         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
58422         file.
58423         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
58424         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
58425         file.
58426         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
58427         New file.
58428         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
58429         file.
58430         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
58431         file.
58432         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
58433         file.
58434         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
58435         file.
58436         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
58437         file.
58438         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
58439         New file.
58440         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
58441         file.
58442         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
58443         file.
58444         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
58445         New file.
58446         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
58447         file.
58448         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
58449         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
58450         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
58451         file.
58452         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
58453         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
58454         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
58455         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
58456         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
58457         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
58458         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
58459         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
58460         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
58461         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
58462         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
58463         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
58464         file.
58465         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
58466         New file.
58467         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
58468         file.
58469         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
58470         file.
58471         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
58472         file.
58473         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
58474         file.
58475         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
58476         file.
58477         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
58478         New file.
58479         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
58480         New file.
58481         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
58482         file.
58483         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
58484         New file.
58485         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
58486         file.
58487         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
58488         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
58489         file.
58490         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
58491         New file.
58492         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
58493         file.
58494         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
58495         file.
58496         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
58497         file.
58498         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
58499         file.
58500         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
58501         file.
58502         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
58503         New file.
58504         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
58505         New file.
58506         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
58507         file.
58508         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
58509         New file.
58510         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
58511         file.
58513 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
58515         * conform/conformtest.pl: Fix typo in handling typed-constant from
58516         allow-header.
58518 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
58520         * README: Cut down references to pre-2.6 Linux kernels and
58521         Linuxthreads.  Update lists of configurations in libc and ports
58522         and sort alphabetically.  Say "or newer" with Linux kernel version
58523         requirements.
58525         * config.h.in [IS_IN_build]: Allow compiling without optimization.
58527 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58529         [BZ #887]
58530         * math/libm-test.inc (logb_test_downward): New test to expose
58531         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
58532         rounding mode.
58534 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
58536         [BZ #14027]
58537         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
58538         to be done.
58539         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
58540         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
58542 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
58544         * sysdeps/unix/i386/brk.S: Remove file.
58545         * sysdeps/unix/i386/dl-brk.S: Likewise.
58546         * sysdeps/unix/i386/pipe.S: Likewise.
58547         * sysdeps/unix/i386/sigreturn.S: Likewise.
58548         * sysdeps/unix/i386/syscall.S: Likewise.
58549         * sysdeps/unix/i386/vfork.S: Likewise.
58550         * sysdeps/unix/i386/wait.S: Likewise.
58552         * sysdeps/unix/common/tcsendbrk.c: Move to ...
58553         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
58555         * configure.in (arm*-none*): Do not allow without
58556         --enable-hacker-mode.
58557         (netbsd*): Remove case setting base_os.
58558         (386bsd*): Likewise.
58559         (freebsd*): Likewise.
58560         (bsdi*): Likewise.
58561         (osf*): Likewise.
58562         (sunos*): Likewise.
58563         (ultrix*): Likewise.
58564         (newsos*): Likewise.
58565         (dynix*): Likewise.
58566         (*bsd*): Likewise.
58567         (sysv*): Likewise.
58568         (isc*): Likewise.
58569         (esix*): Likewise.
58570         (sco*): Likewise.
58571         (minix*): Likewise.
58572         (irix4*): Likewise.
58573         (irix6*): Likewise.
58574         (solaris[2-9]*): Likewise.
58575         (none): Likewise.
58576         * configure: Regenerated.
58578 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58580         [BZ #11521]
58581         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
58582         overflow or cancellation in calculating denominator.
58583         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
58584         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
58585         down expression to avoid unexpected rounding in newer GCCs.
58586         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
58588 2012-04-26  David S. Miller  <davem@davemloft.net>
58590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
58591         long-double compat symbols.
58592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
58593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
58594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
58595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
58596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
58597         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
58598         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
58599         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
58600         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
58601         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
58602         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
58603         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
58604         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
58606 2012-04-25  David S. Miller  <davem@davemloft.net>
58608         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
58609         HWCAP_* values only after the memory barriers have been defined.
58610         (atomic_full_barrier): Define.
58611         (atomic_read_barrier): Define.
58612         (atomic_write_barrier): Define.
58614 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58616         * shlib-versions: Add libgcc_s version information.
58617         * sysdeps/generic/libgcc_s.h: Remove.
58618         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
58619         libgcc_s.h.
58620         * sysdeps/gnu/unwind-resume.c: Likewise.
58621         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
58623 2012-04-25  David S. Miller  <davem@davemloft.net>
58625         * sysdeps/unix/sparc/brk.S: Delete.
58626         * sysdeps/unix/sparc/dl-brk.S: Delete.
58627         * sysdeps/unix/sparc/pipe.S: Delete.
58628         * sysdeps/unix/sparc/sysdep.S: Delete.
58629         * sysdeps/unix/sparc/sysdep.h: Delete.
58630         * sysdeps/unix/sparc/vfork.S: Delete.
58631         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
58632         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
58633         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
58634         (ret_ERRVAL, r0, r1, MOVE): Define.
58635         (JUMPTARGET): Remove.
58636         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
58637         sysdeps/unix/sparc/sysdep.h
58638         (ENTRY, END): Remove.
58639         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
58641 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
58643         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
58644         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
58645         -DIS_IN_build.
58647         * timezone/README: Update upstream location and email address for
58648         tzcode and tzdata.
58649         * timezone/zdump.c: Update from tzcode 2012b.
58650         * timezone/zic.c: Likewise.
58652         * configure.in (libc_cv_as_needed): Remove test.
58653         * configure: Regenerated.
58654         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
58655         conditional definition.
58656         [$(have-as-needed) != yes] (no-as-needed): Likewise.
58657         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
58658         * config.make.in (have-as-needed): Remove variable.
58660 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
58661             Paul Pluzhnikov  <ppluzhnikov@google.com>
58663         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
58664         strings correctly.
58666 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
58668         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
58669         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
58670         * sysdeps/sh/strlen.S: Likewise.
58672 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
58674         * sysdeps/unix/fork.S: Remove file.
58675         * sysdeps/unix/i386/fork.S: Likewise.
58676         * sysdeps/unix/sparc/fork.S: Likewise.
58678         * sysdeps/unix/system.c: Remove file.
58679         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
58681         * sysdeps/unix/getegid.S: Remove file.
58682         * sysdeps/unix/geteuid.S: Likewise.
58684 2012-04-24  Roland McGrath  <roland@hack.frob.com>
58686         * scripts/check-localplt.awk: New file.
58687         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
58688         of diff.
58689         * scripts/data/localplt-generic.data: Add a comment.
58691         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
58692         NODE when __dir_mkfile failed.
58693         * sysdeps/mach/hurd/symlinkat.c: Likewise.
58694         Reported by Ludovic Courtès <ludo@gnu.org>.
58696 2012-04-24  Andreas Jaeger  <aj@suse.de>
58698         * Makerules (common-clean): Also remove gen-as-const-headers
58699         files.
58701 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
58703         * Makerules (native-compile): Do not change working directory for
58704         build.  Use $(OUTPUT_OPTION) in command.
58705         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
58707 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58709         [BZ #13886]
58710         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
58711         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
58712         * math/libm-test.inc (floor_test): Add more tests.
58713         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
58715 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
58717         * sysdeps/unix/getdents.c: Remove file.
58718         * sysdeps/unix/sysv/getdents.c: Likewise.
58719         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
58721         * sysdeps/unix/syscalls.list (madvise): Add syscall from
58722         sysdeps/unix/mman/syscalls.list.
58723         (mmap): Likewise.
58724         (mprotect): Likewise.
58725         (msync): Likewise.
58726         (munmap): Likewise.
58727         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
58728         * sysdeps/unix/mman/syscalls.list: Remove.
58729         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
58731         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
58732         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
58733         * configure: Regenerated.
58734         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
58735         $(libgcc_s_suffix).
58736         * config.make.in (libgcc_s_suffix): Remove variable.
58738 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
58740         * sysdeps/unix/sysv/gethostname.c: Move to ...
58741         * sysdeps/posix/gethostname.c: ... here.
58743         * sysdeps/unix/execve.S: Remove file.
58745         * sysdeps/unix/_exit.S: Remove file.
58747 2012-04-23  Andreas Jaeger  <aj@suse.de>
58749         [BZ #13739]
58750         * manual/Makefile: Remove make dist support, there's no
58751         need for a stand-alone documentation tar ball.
58752         (TEXI2DVI): Define always, it's not in Makeconfig.
58753         (dist): Removed.
58754         (tar-it): Removed.
58755         (edition): Removed.
58756         (glibc-doc-$(edition).tar): Removed
58757         (%.Z): Removed.
58758         (%.gz): Removed.
58759         (%.uu): Removed.
58760         (ETAGS): Remove, it's in Makeconfig.
58761         (move-if-change): Remove, it's in Makeconfig.
58763 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
58765         [BZ #13970]
58766         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
58767         (strtod, strtof, strtold, strtol, strtoul, strtoq)
58768         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
58769         (strtod_l, strtof_l, strtold_l): Remove __wur.
58770         It is not necessarily an error to ignore strtol's return value.
58771         One can reliably look at the stored endptr to decide whether
58772         the number had valid syntax.
58774 2012-04-21  Andreas Jaeger  <aj@suse.de>
58776         [BZ #13739]
58777         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
58779 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
58781         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
58782         * sysdeps/unix/sysv/Versions: Remove file.
58784 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
58786         [BZ #13927]
58787         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58789 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
58791         [BZ #7064]
58792         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
58793         version from __vm86.
58795 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
58797         * sysdeps/unix/common/lxstat.c: Remove file.
58798         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
58800         * sysdeps/unix/sysv/Makefile: Remove file.
58802         * sysdeps/unix/sysv/direct.h: Remove file.
58804         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
58805         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
58806         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
58807         * sysdeps/unix/sysv/bits/signum.h: Likewise.
58808         * sysdeps/unix/sysv/bits/stat.h: Likewise.
58809         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
58810         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
58812         * sysdeps/unix/sysv/setrlimit.c: Remove file.
58814         * sysdeps/unix/xmknod.c: Remove file.
58815         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
58817         * sysdeps/unix/sysv/settimeofday.c: Remove file.
58819         * sysdeps/unix/sysv/i386/time.S: Remove file.
58821         * sysdeps/unix/fxstat.c: Remove file.
58822         * sysdeps/unix/xstat.c: Likewise.
58823         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
58825         * sysdeps/unix/sysv/sigaction.c: Remove file.
58827         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
58828         (sysdep_headers): Remove variable.
58829         [termio.h not in sysdep_headers] (generated): Likewise.
58830         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
58831         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
58832         * sysdeps/unix/sysv/tcdrain.c: Likewise.
58833         * sysdeps/unix/sysv/tcflow.c: Likewise.
58834         * sysdeps/unix/sysv/tcflush.c: Likewise.
58835         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
58836         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
58837         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
58838         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
58839         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
58841         * sysdeps/unix/siglist.c: Remove file.
58843         * sysdeps/unix/getppid.S: Remove file.
58845         * sysdeps/unix/mkdir.c: Remove file.
58846         * sysdeps/unix/rmdir.c: Likewise.
58848 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
58850         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
58851         ERR_MAX value.
58852         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
58853         errlist-compat value.
58855 2012-04-18  David S. Miller  <davem@davemloft.net>
58857         * sysdeps/generic/memcopy.h (reg_char): Delete.
58858         * debug/strcat_chk.c: Use char, not reg_char.
58859         * debug/strcpy_chk.c: Likewise.
58860         * debug/strncat_chk.c: Likewise.
58861         * debug/strncpy_chk.c: Likewise.
58862         * string/memchr.c: Likewise.
58863         * string/memrchr.c: Likewise.
58864         * string/rawmemchr.c: Likewise.
58865         * string/strcat.c: Likewise.
58866         * string/strchr.c: Likewise.
58867         * string/strchrnul.c: Likewise.
58868         * string/strcmp.c: Likewise.
58869         * string/strcpy.c: Likewise.
58870         * string/strncat.c: Likewise.
58871         * string/strncmp.c: Likewise.
58872         * string/strncpy.c: Likewise.
58874 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
58876         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
58877         __builtin_memcopy is called when src and dest ranges are known to not
58878         overlap.
58880 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
58882         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
58883         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
58884         fwd_align_merge macro call.
58885         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
58886         bwd_align_merge macro call.
58887         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
58889 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
58891         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
58892         bwd_align_merge macros.
58893         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
58894         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
58895         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
58897 2012-04-18  David S. Miller  <davem@davemloft.net>
58899         * sysdeps/sparc/sparc64/memcopy.h: Delete.
58901 2012-04-18  Andreas Jaeger  <aj@suse.de>
58903         [BZ# 6794]
58904         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
58905         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
58906         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
58908         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
58909         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
58910         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
58912         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
58913         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
58914         Adjust for changed ldbl-128 files.
58916         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
58917         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
58918         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
58920 2012-04-17  David S. Miller  <davem@davemloft.net>
58922         * sysdeps/sparc/sparc32/memcopy.h: Delete.
58924 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
58926         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
58927         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
58928         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
58929         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
58930         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
58931         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
58933 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58935         [BZ #6794]
58936         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
58937         * math/libm-test.inc: Add ilogb errno and exception tests.
58938         * math/w_ilogb.c: New file: ilogb wrapper.
58939         * math/w_ilogbf.c: New file: ilogbf wrapper.
58940         * math/w_ilogbl.c: New file: ilogbl wrapper.
58941         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
58942         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
58943         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
58944         exception being thrown with 0.0 as argument.
58945         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
58946         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
58947         exception being thrown with 0.0 as argument.
58948         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
58949         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
58950         exception being thrown with 0.0 as argument.
58951         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
58952         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
58953         exception being thrown with 0.0 as argument.
58954         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
58955         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
58956         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
58957         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
58958         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
58959         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
58960         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
58961         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
58962         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
58964 2012-04-17  Petr Baudis  <pasky@ucw.cz>
58966         * include/sys/uio.h: Change __vector to __iovec to avoid clash
58967         with altivec.
58969 2012-04-16  Marek Polacek  <polacek@redhat.com>
58971         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
58973 2012-04-16  Marek Polacek  <polacek@redhat.com>
58975         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
58976         operands of fdivp instruction.
58978 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
58980         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
58981         * elf/tst-auditmod3b.c: Likewise.
58982         * elf/tst-auditmod4b.c: Likewise.
58983         * elf/tst-auditmod5b.c: Likewise.
58984         * elf/tst-auditmod6b.c: Likewise.
58985         * elf/tst-auditmod6c.c: Likewise.
58986         * elf/tst-auditmod7b.c: Likewise.
58987         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
58988         * sysdeps/x86_64/preconfigure.in: Likewise.
58989         * sysdeps/x86_64/preconfigure: Regenerated.
58991 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
58993         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
58994         __ILP32__.
58996 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
58998         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
58999         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
59001 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
59003         [BZ #13973]
59004         * locale/iso-639.def: Fix gl language name. Spotted by
59005         Yaron Shahrabani.
59007 2012-04-12  Roland McGrath  <roland@hack.frob.com>
59009         [BZ #2074]
59010         * libio/libio.h (__io_write_fn): Update comment.
59012 2012-04-12  Petr Baudis  <pasky@ucw.cz>
59014         [BZ #2074]
59015         * stdio.texi (Hook Functions): The user provided writer function
59016         is not allowed to return -1.
59018 2012-04-11  David S. Miller  <davem@davemloft.net>
59020         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59022 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
59024         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
59025         Add a leading slash to rtkaio.
59027 2012-04-11  Jim Meyering  <meyering@redhat.com>
59029         [BZ #11959]
59030         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
59031         It is not necessarily an error to ignore fwrite's return
59032         value.  One can reliably use ferror to test for errors after
59033         the fact.
59035 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
59037         * bits/types.h (__snseconds_t): New type.
59038         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
59040         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
59041         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59042         (__SNSECONDS_T_TYPE): Likewise.
59043         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59044         (__SNSECONDS_T_TYPE): Likewise.
59045         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59046         (__SNSECONDS_T_TYPE): Likewise.
59048 2012-04-10  Andreas Jaeger  <aj@suse.de>
59050         [BZ #2636]
59051         * manual/time.texi (Processor Time): Return type of times is
59052         elapsed real time since an arbitrary point in the past.
59053         (CPU Time): Move CLK_TCK from here...
59054         (Processor Time): ...to here.  Correct description.
59055         * manual/conf.texi (Constants for Sysconf): Correct description of
59056         _SC_CLK_TCK.
59058 2012-04-10  David S. Miller  <davem@davemloft.net>
59060         [BZ #13967]
59061         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
59062         where the is a gap between DT_REL(A) and DT_JMPREL.
59064 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
59066         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
59067         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
59068         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
59070 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59072         * elf/dl-support.c (_dl_inhibit_cache): New variable.
59073         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
59074         (dl_main): Handle --inhibit-cache.
59075         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
59076         _dl_inhibit_cache.
59077         * elf/dl-load.c (_dl_map_object): Use it.
59078         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
59080 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
59082         [BZ #13872]
59083         * sysdeps/i386/fpu/e_powl.S (p78): New object.
59084         (__ieee754_powl): Saturate large exponents rather than testing for
59085         overflow of y*log2(x).
59086         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
59087         * math/libm-test.inc (pow_test): Do not permit spurious overflow
59088         exceptions.
59090         [BZ #11521]
59091         * math/s_ctan.c: Include <float.h>.
59092         (__ctan): Avoid internal overflow or cancellation in calculating
59093         denominator.
59094         * math/s_ctanf.c: Likewise.
59095         * math/s_ctanl.c: Likewise.
59096         * math/s_ctanh.c: Likewise.
59097         * math/s_ctanhf.c: Likewise.
59098         * math/s_ctanhl.c: Likewise.
59099         * math/libm-test.inc (ctan_test): Add more tests.
59100         (ctanh_test): Likewise.
59101         * sysdeps/i386/fpu/libm-test-ulps: Update.
59102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59104 2012-04-09  Andreas Jaeger  <aj@suse.de>
59106         [BZ #6894]
59107         * manual/filesys.texi (Directory Entries): Mention that d_namlen
59108         is an optional BSD extension.
59110         [BZ #10254]
59111         * manual/stdio.texi (Opening Streams): Document additional fopen
59112         parameters.
59114 2012-04-09  Roland McGrath  <roland@hack.frob.com>
59116         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
59117         %eax without telling the compiler.
59119 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
59121         [BZ # 13963]
59122         * manual/install.texi: Use sourceware.org.
59124 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
59126         [BZ #13873]
59127         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
59128         (__ieee754_pow): Generate overflow and underflow using huge*huge
59129         and tiny*tiny rather than just returning constant infinity or zero
59130         for large exponents.
59131         * math/libm-test.inc (pow_test): Require overflow exceptions for
59132         applicable cases of large exponents.
59134         [BZ #706]
59135         * sysdeps/i386/fpu/e_pow.S (p10): New object.
59136         (__ieee754_pow): Use iterative multiplication algorithm only for
59137         integer exponents with absolute value below 1024.  Check for odd
59138         integer exponents when using algorithm for real exponents.
59139         * math/libm-test.inc (pow_test): Add more tests.
59140         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59142 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
59144         [BZ #13705]
59145         * math/libm-test.inc (exp_test): Do not allow overflow exception
59146         on underflow test.
59148 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
59150         [BZ #13705]
59151         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
59152         instead of __kernel_standard_f.
59154 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
59156         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
59157         * sysdeps/x86_64/memset_chk.S: Likewise.
59159 2012-04-08  Andreas Jaeger  <aj@suse.de>
59161         [BZ #10153]
59162         * manual/startup.texi (Environment Access): Describe return value
59163         for putenv and setenv.
59165         [BZ #6895]
59166         * manual/filesys.texi (Directory Entries): Add description for
59167         DT_LNK.
59169         [BZ #6890]
59170         * manual/filesys.texi (Directory Entries): Clarify that it's file
59171         system not operating system in the description of DT_UNKNOWN.
59173         [BZ #6578]
59174         * manual/syslog.texi (closelog): Fix reference, it's openlog.
59176 2012-04-08  Stephen Compall  <s11@member.fsf.org>
59178         [BZ #6649]
59179         * manual/llio.texi (Opening and Closing Files): Add cross
59180         reference to explain mode argument.
59182 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
59184         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
59185         * sysdeps/x86_64/memset_chk.S: Likewise.
59187 2012-04-07  David S. Miller  <davem@davemloft.net>
59189         * elf/elf.h (R_SPARC_WDISP10): Define.
59190         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
59191         R_SPARC_SIZE32.
59192         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
59193         R_SPARC_SIZE64 and R_SPARC_H34.
59195 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
59197         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
59198         conditions and remove no longer applicable assertion.
59200 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
59202         * bits/byteswap.h: Include <features.h>.
59203         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
59204         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
59206 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
59208         * bits/byteswap.h (__bswap_16): Removed.
59209         Include <bits/byteswap-16.h> to get __bswap_16.
59210         * sysdeps/i386/bits/byteswap.h: Likewise.
59211         * sysdeps/s390/bits/byteswap.h: Likewise.
59212         * sysdeps/x86_64/bits/byteswap.h: Likewise.
59213         * bits/byteswap-16.h: New file.
59214         * sysdeps/i386/bits/byteswap-16.h: Likewise.
59215         * sysdeps/s390/bits/byteswap-16.h: Likewise.
59216         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
59217         * string/Makefile (headers): Add bits/byteswap-16.h.
59219 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
59221         [BZ #13895]
59222         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
59223         extra indirection.
59224         * nss/Makefile (tests-static, tests): Add tst-nss-static.
59225         * nss/tst-nss-static.c: New.
59227 2012-04-06  Robert Millan  <rmh@gnu.org>
59229         [BZ #6486]
59230         * manual/llio.texi (File Position Primitive): lseek
59231         refers to WHENCE when it really means OFFSET.
59233 2012-04-06  Andreas Jaeger  <aj@suse.de>
59235         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
59236         strncmp declarations.
59238         * abilist/libc.abilist: Add __poll and __ppoll.
59240 2012-04-05  David S. Miller  <davem@davemloft.net>
59242         * scripts/check-local-headers.sh: Accept a host triplet in the
59243         path matched by the exclude regexp.
59245         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
59246         definition.
59247         * sysdeps/powerpc/powerpc32/dl-machine.h
59248         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
59249         * sysdeps/s390/s390-32/dl-machine.h
59250         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
59251         * sysdeps/sparc/sparc32/dl-machine.h
59252         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
59253         * sysdeps/sparc/sparc64/dl-machine.h
59254         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
59256         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
59257         lazy binding.
59258         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
59259         undefined symbol errors.
59261         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
59262         DT_NEEDED entries.
59264 2012-04-05  Michael Matz  <matz@suse.de>
59266         [BZ #13592]
59267         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
59269 2012-04-05  Andreas Jaeger  <aj@suse.de>
59271         [BZ #13908]
59272         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
59273         comment.
59275 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59277         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
59278         which ROUND is no valid rounding mode.
59280 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59282         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
59283         read again.
59284         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
59286 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59288         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
59289         an exception using FPU order intentionally.
59291 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59293         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
59294         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
59295         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
59296         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
59298 2012-04-05  Simon Josefsson  <simon@josefsson.org>
59300         [BZ #12340]
59301         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
59302         EINVAL when BUFLEN is too smal.
59304 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
59306         [BZ #13553]
59307         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
59308         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
59310 2012-04-03  Andreas Jaeger  <aj@suse.de>
59312         [BZ #13938]
59313         * manual/setjmp.texi (System V contexts): Fix sentence.
59315         [BZ #13926]
59316         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
59317         New macro for this case.
59318         [!__GNUC__] (__bswap_64): New inline function for this case.
59319         * sysdeps/x86_64/bits/byteswap.h: Likewise.
59320         * bits/byteswap.h: Likewise.
59321         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
59322         ull, guard with __GLIBC_HAVE_LONG_LONG.
59324         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
59325         __GLIBC_HAVE_LONG_LONG.
59327         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
59328         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
59330 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
59332         [BZ #13691]
59333         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
59334         inptr and inend, rather than using last_ch.
59336 2012-04-02  David S. Miller  <davem@davemloft.net>
59338         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
59339         * stdio-common/printf-parse.h (read_int): Change return type to
59340         'int', return -1 on INT_MAX overflow.
59341         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
59342         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
59343         overflows INT_MAX.  Check for overflow of in-format-string precision
59344         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
59345         SIZE_MAX not INT_MAX for integer overflow test.
59346         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
59347         skip the construct in the format string but do not record anything.
59348         * stdio-common/bug22.c: Adjust to test both width/prevision
59349         INT_MAX overflow as well as total length INT_MAX overflow.  Check
59350         explicitly for proper errno values.
59352 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
59354         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
59355         CHAR_MAX.
59356         * string/test-strcmp.c [! WIDE]: Likewise.
59357         * time/tst-mktime2.c: Likewise for INT_MAX.
59358         * string/test-string.h: #include <sys/param.h> for MIN.
59360         * csu/init-first.c (__libc_init_first): Call __ctype_init.
59361         * sysdeps/i386/init-first.c (init): Likewise.
59362         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
59363         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
59364         * sysdeps/sh/init-first.c (init): Likewise.
59366 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
59368         * po/ru.po: Update from translation team.
59369         * po/vi.po: Likewise.
59371 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
59373         * resolv/nss_dns/dns-host.c: Merge copyright years.
59375 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59377         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
59378         Optimize memcpy with prefetch if
59379         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
59380         src, dst pointers have unequal 16 byte alignments.
59382 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
59384         [BZ #13928]
59385         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
59386         from a CNAME entry and return the minimum ttl for the query.
59387         (gaih_getanswer_slice): Likewise.
59389 2012-03-30  Jeff Law  <law@redhat.com>
59391         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
59392         due to long keys.
59393         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
59394         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
59396         * resolv/nss_dns/dns-host.c: Update copyright year.
59398 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
59400         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
59401         requests to save a system call.  Fix check that all bytes are sent.
59403         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
59404         comments for sendmmsg.
59406 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59408         [BZ #13691]
59409         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
59410         with only 1 character between 0x0041 and 0x01b0.
59411         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
59412         * wcsmbs/tst-mbsnrtowcs.c: New file.
59414 2012-03-29  David S. Miller  <davem@davemloft.net>
59416         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
59417         small copies by hand.
59419 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59421         [BZ #13761]
59422         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
59423         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
59424         group memberships.
59426 2012-03-28  David S. Miller  <davem@davemloft.net>
59428         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
59429         that branches into memcpy.
59430         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
59431         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
59432         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
59433         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
59434         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
59435         bits.
59436         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
59437         implementation too.
59438         * sysdeps/sparc/mempcpy.S: New file.
59440         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
59441         the IFUNC routine in the libc case.
59442         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
59444         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
59445         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
59446         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
59447         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
59448         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
59449         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
59450         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
59451         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
59453         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
59454         loop to 256 bytes instead of 64 bytes and fix test signedness.
59456         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
59457         * sysdeps/sparc/sparc32/Makefile: rather than here...
59458         * sysdeps/sparc/sparc64/Makefile: and here.
59460 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
59462         * malloc/mallocbug.c: Avoid warnings about unused variables.
59464 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
59466         [BZ #13760]
59467         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
59468         in the right place. Discard and retry query if response is
59469         larger than input buffer size.
59471 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
59473         [BZ #369]
59474         [BZ #2678]
59475         [BZ #3866]
59476         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
59477         x for large integer exponent.
59478         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
59479         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
59480         sign of result as needed afterwards.
59481         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
59482         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
59483         result for underflowing pow the same as for overflow.
59484         (__kernel_standard_l): Handle powl overflow and underflow here
59485         rather than calling __kernel_standard.
59486         * math/libm-test.inc (pow_test): Add more tests.
59488         [BZ #3868]
59489         [BZ #13879]
59490         [BZ #13910]
59491         [BZ #13911]
59492         [BZ #13912]
59493         [BZ #13913]
59494         [BZ #13915]
59495         [BZ #13916]
59496         [BZ #13917]
59497         [BZ #13918]
59498         [BZ #13919]
59499         [BZ #13920]
59500         [BZ #13921]
59501         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
59502         * sysdeps/ieee754/k_standard.c: Include <float.h>.
59503         (__kernel_standard_l): New function.
59504         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
59505         __kernel_standard.
59506         * math/w_acosl.c (__acosl): Likewise.
59507         * math/w_asinl.c (__asinl): Likewise.
59508         * math/w_atan2l.c (__atan2l): Likewise.
59509         * math/w_atanhl.c (__atanhl): Likewise.
59510         * math/w_coshl.c (__coshl): Likewise.
59511         * math/w_exp10l.c (__exp10l): Likewise.
59512         * math/w_exp2l.c (__exp2l): Likewise.
59513         * math/w_fmodl.c (__fmodl): Likewise.
59514         * math/w_hypotl.c (__hypotl): Likewise.
59515         * math/w_j0l.c (__j0l, __y0l): Likewise.
59516         * math/w_j1l.c (__j1l, __y1l): Likewise.
59517         * math/w_jnl.c (__jnl, __ynl): Likewise.
59518         * math/w_lgammal.c (__lgammal): Likewise.
59519         * math/w_log10l.c (__log10l): Likewise.
59520         * math/w_log2l.c (__log2l): Likewise.
59521         * math/w_logl.c (__logl): Likewise.
59522         * math/w_powl.c (__powl): Likewise.
59523         * math/w_remainderl.c (__remainderl): Likewise.
59524         * math/w_scalbl.c (sysv_scalbl): Likewise.
59525         * math/w_sinhl.c (__sinhl): Likewise.
59526         * math/w_sqrtl.c (__sqrtl): Likewise.
59527         * math/w_tgammal.c (__tgammal): Likewise.
59528         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
59529         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
59530         * math/libm-test.inc (acos_test): Add more tests.
59531         (acosh_test): Likewise.
59532         (asin_test): Likewise.
59533         (atanh_test): Likewise.
59534         (exp_test): Likewise.
59535         (exp10_test): Likewise.
59536         (exp2_test): Likewise.
59537         (expm1_test): Likewise.
59538         (lgamma_test): Likewise.
59539         (log_test): Likewise.
59540         (log10_test): Likewise.
59541         (log1p_test): Likewise.
59542         (log2_test): Likewise.
59543         (pow_test): Do not allow some spurious overflow exceptions.
59544         (sqrt_test): Add more tests.
59545         (tgamma_test): Likewise.
59546         (y0_test): Likewise.
59547         (y1_test): Likewise.
59548         (yn_test): Likewise.
59550 2012-03-27  Anton Blanchard  <anton@samba.org>
59552         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
59553         MAP_HUGETLB.
59554         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
59555         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
59556         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
59558 2012-03-27  David S. Miller  <davem@davemloft.net>
59560         * conform/Makefile: Run run-conformtest.sh using $(BASH).
59562         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
59563         have-as-vis3 check.
59565 2012-03-27  Andreas Jaeger  <aj@suse.de>
59567         * sysdeps/x86_64/elf/configure.in: Moved to ...
59568         * sysdeps/x86_64/configure.in: ... here.
59569         * sysdeps/x86_64/elf/start.S: Moved to ...
59570         * sysdeps/x86_64/start.S: ... here.
59571         * sysdeps/x86_64/elf/configure: Delete.
59573         * sysdeps/x86_64/configure.in: Merge contents from
59574         sysdeps/i386/configure.in (without i686 check).
59576         * sysdeps/i386/elf/Versions: Merge into ...
59577         * sysdeps/i386/Versions: ... this.
59578         * sysdeps/i386/elf/Versions: Delete file.
59579         * sysdeps/i386/elf/start.S: Moved to ...
59580         * sysdeps/i386/start.S: ...here.
59581         * sysdeps/i386/elf/configure.in: Merge into...
59582         * sysdeps/i386/configure.in: ...here.
59583         * sysdeps/i386/elf/configure.in: Delete file.
59584         * sysdeps/i386/elf/configure: Delete file.
59586         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
59587         * debug/backtracesyms.c: ... here.
59588         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
59589         * debug/backtracesymsfd.c: ... here.
59590         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
59591         * sysdeps/generic/ifunc-sel.h: ... here.
59593         * sysdeps/unix/i386/start.c: Delete file.
59594         * sysdeps/unix/sparc/start.c: Delete file.
59595         * sysdeps/unix/start.c: Delete file.
59597         * sysdeps/sh/elf/configure.in: Moved to ...
59598         * sysdeps/sh/configure.in: ... here.
59599         * sysdeps/sh/elf/start.S: Moved to ...
59600         * sysdeps/sh/start.S: ... here.
59601         * sysdeps/sh/elf/configure: Delete file.
59603         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
59604         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
59605         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
59606         * sysdeps/powerpc/powerpc64/entry.h: ... here.
59607         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
59608         * sysdeps/powerpc/powerpc64/start.S: here.
59609         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
59610         * sysdeps/powerpc/powerpc64/Makefile: ... this.
59611         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
59612         * sysdeps/powerpc/powerpc64/configure.in: ... this.
59613         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
59615         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
59616         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
59617         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
59618         * sysdeps/powerpc/powerpc32/start.S: ... here.
59619         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
59620         * sysdeps/powerpc/powerpc32/configure.in: ... this.
59621         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
59623         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
59624         * sysdeps/powerpc/ifunc-sel.h: ... here.
59625         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
59626         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
59628         * sysdeps/sparc/elf/configure.in: Moved to ...
59629         * sysdeps/sparc/configure.in: ... here.
59630         * sysdeps/sparc/elf/configure: Delete file.
59631         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
59632         * sysdeps/sparc/sparc32/start.S: ... here.
59633         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
59634         * sysdeps/sparc/sparc64/start.S: ... here.
59635         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
59636         * sysdeps/sparc/sparc32/Makefile: ... this.
59637         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
59638         * sysdeps/sparc/sparc64/Makefile: ... this.
59640         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
59641         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
59642         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
59643         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
59644         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
59645         * sysdeps/s390/s390-32/setjmp.S: ... here.
59646         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
59647         * sysdeps/s390/s390-32/configure.in: ... here.
59648         * sysdeps/s390/s390-32/elf/configure: Delete file.
59649         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
59650         * sysdeps/s390/s390-32/start.S: ... here.
59652         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
59653         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
59654         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
59655         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
59656         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
59657         * sysdeps/s390/s390-64/setjmp.S: ... here.
59658         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
59659         * sysdeps/s390/s390-64/configure.in: ... here
59660         * sysdeps/s390/s390-64/elf/configure: Delete file.
59661         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
59662         * sysdeps/s390/s390-64/start.S: ... here.
59663         * sysdeps/s390/s390-64/elf/configure: Delete.
59665         * configure.in: Remove support for elf directories in sysdeps.
59667         * configure: Regenerated.
59668         * sysdeps/i386/configure: Regenerated.
59669         * sysdeps/powerpc/powerpc32/configure: Regenerated.
59670         * sysdeps/powerpc/powerpc64/configure: Regenerated.
59671         * sysdeps/s390/s390-32/configure: Regenerated.
59672         * sysdeps/s390/s390-64/configure: Regenerated.
59673         * sysdeps/sh/configure: Regenerated.
59674         * sysdeps/sparc/configure: Regenerated.
59675         * sysdeps/x86_64/configure: Regenerated.
59677 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
59679         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59681         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
59682         denormal result into account.
59684 2012-03-25  Roland McGrath  <roland@hack.frob.com>
59686         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
59687         Reported by Allan McRae <allan@archlinux.org>.
59689 2012-03-23  Jeff Law  <law@redhat.com>
59691         * nss/getnssent.c (__nss_getent): Fix typo.
59693 2012-03-23  David S. Miller  <davem@davemloft.net>
59695         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59697 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
59699         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
59700         to pad to uint64_t for each field.
59701         (dl_tls_index): Replace unsigned long with uint64_t.
59703 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
59704         Paul Pluzhnikov  <ppluzhnikov@google.com>
59706         [BZ #6528]
59707         * grp/Makefile (otherlibs): Don't set it.
59708         * inet/Makefile (otherlibs): Likewise.
59709         * login/Makefile (otherlibs): Likewise.
59710         * nscd/Makefile (otherlibs): Likewise.
59711         * posix/Makefile (otherlibs): Likewise.
59712         * pwd/Makefile (otherlibs): Likewise.
59713         * rt/Makefile (otherlibs): Likewise.
59714         * sunrpc/Makefile (otherlibs): Likewise.
59715         * nss/Makefile (otherlibs): Likewise.
59716         Add libnss_files to routines and static-only-routines.
59717         ($(objpfx)getent): Remove rule.
59718         * resolv/Makefile: Add libnss_dns and libresolv to routines and
59719         static-only-routines.
59721 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
59723         [BZ #13892]
59724         * math/s_cexp.c: Include <float.h>.
59725         (__cexp): Handle exp result overflowing not necessarily
59726         overflowing both real and imaginary parts of result.
59727         * math/s_cexpf.c: Likewise.
59728         * math/s_cexpl.c: Likewise.
59729         * math/libm-test.inc (cexp_test): Add more tests.
59730         * sysdeps/i386/fpu/libm-test-ulps: Update.
59731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59733 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
59735         * include/link.h (ELFW): New macro.
59736         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
59737         Replace ELF64_R_TYPE with ELFW(R_TYPE).
59739 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
59741         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
59742         with uint64_t.
59744 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
59746         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
59747         declaration.
59748         (struct La_x32_retval): Likewise.
59750 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
59752         * sysdeps/x86_64/preconfigure.in: New file.
59753         * sysdeps/x86_64/preconfigure: New generated file.
59755 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
59757         [BZ #13824]
59758         * math/e_exp2l.c: Include <float.h>.
59759         (__ieee754_exp2l): Handle overflow and underflow cases
59760         separately.  Only pass fractional part of argument to
59761         __ieee754_expl.
59762         * math/libm-test.inc (exp2_test): Add more tests.
59764         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
59765         negating x to take absolute value.
59766         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
59767         Likewise.
59768         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
59769         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
59770         Likewise.
59771         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
59772         computing low part if x was negated.
59773         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
59775 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
59777         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
59778         la_x32_gnu_pltexit.
59779         (pltexit): Cast int_retval to ptrdiff_t.
59780         * elf/tst-auditmod3b.c: Likewise.
59781         * elf/tst-auditmod4b.c: Likewise.
59782         * elf/tst-auditmod5b.c: Likewise.
59783         * elf/tst-auditmod6b.c: Likewise.
59784         * elf/tst-auditmod6c.c: Likewise.
59785         * elf/tst-auditmod7b.c: Likewise.
59787         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
59788         and x32_gnu_pltexit.
59790         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
59791         __ELF_NATIVE_CLASS.
59792         (La_x32_regs): New macro.
59793         (La_x32_retval): Likewise.
59794         (la_x32_gnu_pltenter): New function prototype.
59795         (la_x32_gnu_pltexit): Likewise.
59797 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
59799         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
59800         exponent.
59802         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59804         * configure.in (libc_cv_cc_nofma): Check for option to disable
59805         generation of FMA instructions.
59806         * configure: Regenerate.
59807         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
59808         * sysdeps/ieee754/dbl-64/Makefile: New file.
59809         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
59810         Remove brandred-fma4.
59811         (CFLAGS-brandred-fma4.c): Remove.
59812         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
59813         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
59814         define.
59815         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
59816         define.
59818 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
59820         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
59821         LLONG_MAX != LONG_MAX.
59822         (_itoa_word): Use _ITOA_WORD_TYPE on value.
59823         (_fitoa_word): Likewise.
59824         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
59825         LLONG_MAX != LONG_MAX.
59826         * stdio-common/_itowa.h: Include <_itoa.h>.
59827         (_itowa_word): Use _ITOA_WORD_TYPE on value.
59828         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
59829         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
59830         only if not defined.
59831         (_ITOA_WORD_TYPE): Likewise.
59832         (_itoa_word): Use _ITOA_WORD_TYPE on value.
59833         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
59835 2012-03-21  David S. Miller  <davem@davemloft.net>
59837         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59839 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
59841         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
59842         of x86_64 when setting libc_cv_slibdir, libdir and
59843         libc_cv_localedir.
59844         * sysdeps/unix/sysv/linux/configure: Regenerated.
59846 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
59848         * manual/lang.texi (Old Varargs): Remove section.
59849         (How Variadic): Update menu.
59850         (va_start): Do not mention varargs.h.
59852 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
59853             Joseph Myers  <joseph@codesourcery.com>
59855         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
59856         link test.
59857         * configure: Regenerated.
59859 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
59861         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
59862         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
59863         conformtest.pl
59865 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
59867         * NOTES: Remove.
59868         * Makefile (files-for-dist): Remove NOTES.
59869         (NOTES): Remove rule.
59870         * README: Don't refer to NOTES.
59871         * manual/creature.texi: Don't include macros.texi.
59872         * manual/intro.texi (creature.texi): Remove comment referring to
59873         NOTES.
59875         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
59876         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
59877         * configure: Regenerated.
59878         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
59879         LIBC_TRY_CC_OPTION.
59880         (libc_cv_as_i686): Likewise.
59881         (libc_cv_cc_avx): Likewise.
59882         (libc_cv_cc_sse2avx): Likewise.
59883         (libc_cv_cc_fma4): Likewise.
59884         (libc_cv_cc_novzeroupper): Likewise.
59885         * sysdeps/i386/configure: Regenerated.
59887         [BZ #13883]
59888         * sysdeps/i386/fpu/s_cexp.S: Remove.
59889         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
59890         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
59891         * math/libm-test.inc (cexp_test): Add more tests.
59892         * sysdeps/i386/fpu/libm-test-ulps: Update.
59893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59895 2012-03-21  Allan McRae  <allan@archlinux.org>
59897         * timezone/Makefile: Do not install iso3166.tab and zone.tab
59899 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
59901         [BZ #13871]
59902         * math/w_exp2.c: Do not include <float.h>.
59903         (o_threshold, u_threshold): Remove.
59904         (__exp2): Calculate result before checking finiteness and calling
59905         __kernel_standard.
59906         * math/w_exp2f.c: Likewise.
59907         * math/w_exp2l.c: Likewise.
59908         * math/libm-test.inc (exp2_test): Require overflow exception for
59909         1e6 input.
59911         [BZ #3866]
59912         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
59913         range of signed 64-bit integers before using fistpll.  Remove
59914         checks for whether integers fit in mantissa bits.
59915         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
59916         the range of signed 32-bit integers before using fistpl.  Remove
59917         checks for whether integers fit in mantissa bits.
59918         * sysdeps/i386/fpu/e_powl.S (p64): New object.
59919         (__ieee754_powl): Test for y outside the range of signed 64-bit
59920         integers before using fistpll.  Reduce 64-bit values to 63-bit
59921         ones as needed.
59922         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
59923         divide-by-zero is raised for zero to large negative powers.
59924         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
59925         (__ieee754_powl): Test for y outside the range of signed 64-bit
59926         integers before using fistpll.  Reduce 64-bit values to 63-bit
59927         ones as needed.
59928         * math/libm-test.inc (pow_test): Add more tests.
59930 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
59932         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
59933         <stdio-common/_itoa.h>.
59934         * debug/segfault.c: Likewise.
59935         * elf/dl-cache.c: Likewise.
59936         * elf/dl-minimal.c: Likewise.
59937         * elf/dl-misc.c: Likewise.
59938         * elf/dl-sysdep.c: Likewise.
59939         * elf/dl-version.c: Likewise.
59940         * elf/rtld.c: Likewise.
59941         * hurd/hurdsock.c: Likewise.
59942         * hurd/lookup-retry.c: Likewise.
59943         * malloc/malloc.c: Likewise.
59944         * malloc/mtrace.c: Likewise.
59945         * nscd/nscd_getgr_r.c: Likewise.
59946         * nscd/nscd_getpw_r.c: Likewise.
59947         * nscd/nscd_getserv_r.c: Likewise.
59948         * posix/getopt_init.c: Likewise.
59949         * posix/wordexp.c: Likewise.
59950         * stdio-common/_itoa.c: Likewise.
59951         * stdio-common/printf_fphex.c: Likewise.
59952         * stdio-common/vfprintf.c: Likewise.
59953         * string/_strerror.c: Likewise.
59954         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
59955         * sysdeps/i386/i686/hp-timing.h: Likewise.
59956         * sysdeps/mach/_strerror.c: Likewise.
59957         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
59958         * sysdeps/mach/hurd/sethostid.c: Likewise.
59959         * sysdeps/mach/hurd/xmknodat.c: Likewise.
59960         * sysdeps/mach/xpg-strerror.c: Likewise.
59961         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
59962         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
59963         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
59964         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
59965         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
59966         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
59967         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
59968         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
59969         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
59970         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
59971         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
59972         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
59973         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
59974         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
59975         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
59976         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
59977         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
59978         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
59979         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
59980         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
59981         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
59983         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
59985         * stdio-common/_itoa.h: Moved to ...
59986         * sysdeps/generic/_itoa.h: Here.
59988         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
59990         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
59991         instead of "_itoa.h" and "_itowa.h".
59992         * stdio-common/vfprintf.: Likewise.
59994 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
59996         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
59997         <bits/wordsize.h>.
59998         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
59999         (__signbit): Likwise.
60000         (llrintf): Likwise.
60001         (llrint): Likwise.
60003 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
60005         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
60006         __WORDSIZE != 64.
60008 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
60010         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
60011         OVERFLOW_EXCEPTION_OK.
60012         * math/libm-test.inc ("Philosophy"): Update comment about
60013         exception testing.
60014         (OVERFLOW_EXCEPTION): Define.
60015         (OVERFLOW_EXCEPTION_OK): Likewise.
60016         (INVALID_EXCEPTION_OK): Renumber.
60017         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
60018         (IGNORE_ZERO_INF_SIGN): Likewise.
60019         (test_exceptions): Handle FE_OVERFLOW.
60020         (exp10_test): Expect overflow exceptions.
60021         (exp2_test): Likewise.
60022         (expm1_test): Likewise.
60023         (nextafter_test): Likewise.
60024         (pow_test): Likewise.
60025         (scalbn_test): Likewise.
60026         (scalbln_test): Likewise.
60028 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60030         * sysdeps/x86_64/bits/atomic.h
60031         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
60032         64bit integer.
60033         (atomic_exchange_acq): Likewise.
60034         (__arch_exchange_and_add_body): Likewise.
60035         (__arch_add_body): Likewise.
60036         (atomic_add_negative): Likewise.
60037         (atomic_add_zero): Likewise.
60039 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60041         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
60042         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
60044 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60046         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
60047         Check __x86_64__ instead of __WORDSIZE.
60049 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60051         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
60053 2012-03-19  David S. Miller  <davem@davemloft.net>
60055         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60057         * sysdeps/sparc/fpu/fenv_private.h: New file.
60058         * sysdeps/sparc/fpu/math_private.h: Use it.
60059         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
60060         Remove.
60061         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
60062         (libc_feholdexcept_setroundl): Remove.
60063         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
60064         Remove.
60065         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
60066         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
60068 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60070         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
60071         int64_t instead of long int.
60072         (INSERT_WORDS64): Likwise.
60074 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60076         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
60077         _Unwind_GetCFA return to _Unwind_Ptr first.
60079 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
60081         [BZ #13629]
60082         * math/s_clog.c: Include <float.h>.
60083         (__clog): Scale large or subnormal inputs.
60084         * math/s_clogf.c: Likewise.
60085         * math/s_clogl.c: Likewise.
60086         * math/s_clog10.c: Include <float.h>.
60087         (M_LOG10_2): Define.
60088         (__clog10): Scale large or subnormal inputs.
60089         * math/s_clog10f.c: Likewise.
60090         * math/s_clog10l.c: Likewise.
60091         * math/libm-test.inc (clog_test): Add more tests.
60092         (clog10_test): Likewise.
60093         * sysdeps/i386/fpu/libm-test-ulps: Update.
60094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60096         [BZ #11451]
60097         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
60098         x and y.
60099         * math/libm-test.inc (atan2_test): Add another test.
60101         * Makerules (common-objdir-compile): Remove.
60102         * sysdeps/unix/Makefile (config-generated): Do not add
60103         $(unix-generated) to variable.
60104         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
60105         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
60106         Remove rule.
60107         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
60108         Likewise.
60109         [generic bits/local_lim.h] (before-compile): Do not append to
60110         variable.
60111         [generic bits/local_lim.h] (common-generated): Likewise.
60112         [generic sys/param.h] (before-compile): Do not append to variable.
60113         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
60114         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
60115         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
60116         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
60117         include.
60118         [generic sys/param.h] (sys/param.h-includes): Remove variable.
60119         [generic sys/param.h] (sys/param.h-includes): Remove rule.
60120         [generic sys/param.h] ($(addprefix
60121         $(common-objpfx),$(sys/param.h-includes))): Likewise.
60122         [generic sys/param.h] (common-generated): Do not append to
60123         variable.
60124         [generic sys/param.h] (sysdep_headers): Likewise.
60125         [generic bits/errno.h] (before-compile): Do not append to
60126         variable.
60127         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
60128         rule.
60129         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
60130         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
60131         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
60132         [generic bits/errno.h] (common-generated): Do not append to
60133         variable.
60134         [generic bits/ioctls.h] (before-compile): Do not append to
60135         variable.
60136         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
60137         rule.
60138         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
60139         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
60140         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
60141         rule.
60142         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
60143         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
60144         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
60145         [generic bits/ioctls.h] (common-generated): Do not append to
60146         variable.
60147         [generic sys/syscall.h] (syscall.h): Remove variable.
60148         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
60149         rule.
60150         [generic sys/syscall.h] (before-compile): Do not append to
60151         variable.
60152         [generic sys/syscall.h] (common-generated): Likewise.
60153         * sysdeps/unix/errnos-tmpl.c: Remove file.
60154         * sysdeps/unix/errnos.awk: Likewise.
60155         * sysdeps/unix/ioctls-tmpl.c: Likewise.
60156         * sysdeps/unix/ioctls.awk: Likewise.
60157         * sysdeps/unix/mk-local_lim.c: Likewise.
60158         * sysdeps/unix/snarf-ioctls: Likewise.
60160 2012-03-19  Richard Henderson  <rth@twiddle.net>
60162         * sysdeps/i386/fpu/fenv_private.h: New file.
60163         * sysdeps/i386/fpu/math_private.h: Use it.
60164         (math_opt_barrier, math_force_eval): Remove.
60165         (libc_feholdexcept_setround_53bit): Remove.
60166         (libc_feupdateenv_53bit): Remove.
60167         * sysdeps/x86_64/fpu/math_private.h: Likewise.
60168         (math_opt_barrier, math_force_eval): Remove.
60169         (libc_feholdexcept): Remove.
60170         (libc_feholdexcept_setround): Remove.
60171         (libc_fetestexcept, libc_fesetenv): Remove.
60172         (libc_feupdateenv_test): Remove.
60173         (libc_feupdateenv, libc_feholdsetround): Remove.
60174         (libc_feresetround): Remove.
60176         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
60177         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
60179         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
60180         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
60181         (libc_feupdateenv_testl): New.
60182         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
60183         (libc_feupdateenv_testf): New.
60184         (libc_feupdateenv): Use libc_feupdateenv_test.
60185         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
60186         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
60188         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
60189         (libc_feholdsetroundf, libc_feholdsetroundl): New.
60190         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
60191         (libc_feresetround_noex): New.
60192         (libc_feresetround_noexf): New.
60193         (libc_feresetround_noexl): New.
60194         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
60195         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
60196         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
60197         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
60198         SET_RESTORE_ROUND.
60199         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
60200         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
60201         (__cos): Likewise.
60202         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
60203         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
60204         SET_RESTORE_ROUND_NOEX.
60205         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
60206         SET_RESTORE_ROUND_NOEXF.
60207         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
60208         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
60209         (libc_feholdsetroundf): New.
60210         (libc_feresetround, libc_feresetroundf): New.
60212         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
60213         (libc_feholdexcept_setround_53bit): Convert from macro to function.
60214         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
60216         * sysdeps/generic/math_private.h: Include <fenv.h>.
60217         (default_libc_feholdexcept): New.
60218         (default_libc_feholdexcept_setround): New.
60219         (default_libc_fesetenv, default_libc_feupdateenv): New.
60220         (libc_feholdexcept): Only define if undefined.
60221         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
60222         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
60223         (libc_feholdexcept_setroundl): Likewise.
60224         (libc_feholdexcept_setround_53bit): Likewise.
60225         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
60226         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
60227         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
60228         (libc_feupdateenv_53bit): Likewise.
60229         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
60230         (libc_feholdexcept): Convert from macro to inline function.
60231         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
60232         (libc_fesetenv, libc_feupdateenv): Likewise.
60234         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
60235         not previously defined.
60236         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
60237         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
60238         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
60239         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
60240         * sysdeps/ieee754/flt-32/math_private.h: New file.
60241         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
60242         math_private.h below SET_FLOAT_WORD.
60243         (__isnan, __isinf_ns, __finite): Remove.
60244         (__isnanf, __isinf_nsf, __finitef): Remove.
60246 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
60248         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60250 2012-03-17  David S. Miller  <davem@davemloft.net>
60252         [BZ #6471]
60253         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
60254         for 2.16.
60256 2012-03-16  David S. Miller  <davem@davemloft.net>
60258         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
60259         warnings.
60261         [BZ #6471]
60262         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
60263         properly.
60264         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
60265         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
60266         sysdep_routines when subdir is sysvipc.
60267         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
60268         __getshmlba helper.
60270         * sysdeps/sparc/fpu/libm-test/ulps: Update.
60272 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60274         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
60275         [__LP64__].
60277 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60279         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
60280         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
60281         (__lround): Renamed to ...
60282         (__llround): This.  Replace long int with long long int.
60283         Define lround functions as aliases of llround functions.
60284         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
60286 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60288         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
60289         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
60290         adresses to uintptr_t.  Replace "long int" and "unsigned long
60291         int" with "greg_t" on va_arg.
60293 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60295         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
60296         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
60298         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
60299         Move e_machine check before EI_CLASS check.  Handle x32
60300         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
60301         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
60302         SKIP_EM_IA_64 and include
60303         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
60305         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
60306         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
60307         (add_system_dir): New macro.
60309         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
60310         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
60312 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
60314         [BZ #2551]
60315         [BZ #2552]
60316         [BZ #2553]
60317         [BZ #2554]
60318         [BZ #2562]
60319         [BZ #2563]
60320         [BZ #2565]
60321         [BZ #2566]
60322         [BZ #2576]
60323         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
60324         (y0): Likewise.
60325         * math/w_j0f.c (j0f): Likewise.
60326         (y0f): Likewise.
60327         * math/w_j0l.c (__j0l): Likewise.
60328         (__y0l): Likewise.
60329         * math/w_j1.c (j1): Likewise.
60330         (y1): Likewise.
60331         * math/w_j1f.c (j1f): Likewise.
60332         (y1f): Likewise.
60333         * math/w_j1l.c (__j1l): Likewise.
60334         (__y1l): Likewise.
60335         * math/w_jn.c (jn): Likewise.
60336         (yn): Likewise.
60337         * math/w_jnf.c (jnf): Likewise.
60338         (ynf): Likewise.
60339         * math/w_jnl.c (__jnl): Likewise.
60340         (__ynl): Likewise.
60341         * math/libm-test.inc (j0_test): Add more tests.
60342         (j1_test): Likewise.
60343         (jn_test): Likewise.  Add trailing semicolon to existing test.
60344         (y0_test): Likewise.
60345         (y1_test): Likewise.
60346         * sysdeps/i386/fpu/libm-test-ulps: Update.
60347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60349         [BZ #13851]
60350         [BZ #13854]
60351         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
60352         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
60353         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
60354         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
60355         (__tanl): Set errno for infinite argument.
60356         * sysdeps/i386/fpu/mptan.c: Remove.
60357         * sysdeps/i386/fpu/s_tan.S: Likewise.
60358         * sysdeps/i386/fpu/s_tanl.S: Likewise.
60359         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
60360         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
60361         * math/libm-test.inc (tan_test): Add more tests and enable more
60362         tests for double and long double.
60363         * sysdeps/i386/fpu/libm-test-ulps: Update.
60364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60366 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
60368         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
60369         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
60371 2012-03-16  Roland McGrath  <roland@hack.frob.com>
60373         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
60374         * configure.in: Use it for both main tree and add-ons.
60375         * configure: Regenerated.
60377 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60379         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
60381 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
60383         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
60384         in comment.
60386         [BZ #13851]
60387         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
60388         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
60389         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
60390         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
60391         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
60392         infinite argument.
60393         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
60394         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
60395         != 0 for prec == 2.
60396         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
60397         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
60398         * sysdeps/i386/fpu/s_cosl.S: Likewise.
60399         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
60400         * sysdeps/i386/fpu/s_sinl.S: Likewise.
60401         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
60402         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
60403         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
60404         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
60405         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
60406         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
60407         * math/libm-test.inc (cos_test): Add more tests and enable more
60408         tests for long double.
60409         (sin_test): Likewise.
60410         (sincos_test): Likewise.
60411         * sysdeps/i386/fpu/libm-test-ulps: Update.
60412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60414 2012-03-16  David S. Miller  <davem@davemloft.net>
60416         * sysdeps/sparc/fpu/math_private.h: New file.
60418 2012-03-15  David S. Miller  <davem@davemloft.net>
60420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
60421         file.
60422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
60423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
60424         file.
60425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
60426         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
60427         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
60428         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
60429         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
60430         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
60431         sysdep routines.
60432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
60434         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
60435         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
60437         * sysdeps/sparc/sparc-ifunc.h: New file.
60438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
60439         sparc-ifunc.h
60440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
60441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
60442         Likewise.
60443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
60444         Likewise.
60445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
60446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
60447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
60448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
60449         Likewise.
60450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
60451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
60452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
60453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
60454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
60455         Likewise.
60456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
60457         Likewise.
60458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
60459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
60460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
60461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
60462         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
60463         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
60464         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
60465         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
60466         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
60467         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
60468         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
60469         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
60470         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
60471         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
60472         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
60473         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
60474         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
60475         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
60476         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
60477         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
60478         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
60479         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
60480         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
60481         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
60483 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
60485         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
60486         scaling.
60487         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60489 2012-03-15  Andreas Jaeger  <aj@suse.de>
60491         [BZ #13852]
60492         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
60493         ieee754/flt-32 implementation for sin, cos and sincos.
60494         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
60495         * sysdeps/i386/fpu/s_cosf.S: Likewise.
60496         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
60497         * sysdeps/i386/fpu/s_sinf.S: Likewise.
60498         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
60499         ieee754/flt-32 implementation for tan.
60501         * math/libm-test.inc (cos_test): Enable some large input tests for
60502         float as well
60503         (sin_test): Likewise.
60504         (sincos_test): Likewise.
60505         (tan_test): Add tests for large input.
60507         * sysdeps/i386/fpu/libm-test-ulps: Update.
60509 2012-03-15  Andreas Jaeger  <aj@suse.de>
60511         [BZ #13658]
60512         * math/libm-test.inc (cos_test): Add more test cases.
60513         (sin_test): Likewise.
60514         (sincos_test): Likewise.
60516 2012-03-15  Andreas Jaeger  <aj@suse.de>
60518         [BZ #13837]
60519         * math/libm-test.inc (cos_test): Add a test case for large input
60520         value.
60521         (sin_test): Likewise.
60522         (sincos_test): Likewise.
60524 2012-03-15  Andreas Jaeger  <aj@suse.de>
60525             Joseph Myers  <joseph@codesourcery.com>
60527         [BZ #13658]
60528         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
60529         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
60530         * sysdeps/i386/fpu/branred.c: Likewise.
60531         * sysdeps/i386/fpu/dosincos.c: Likewise.
60532         * sysdeps/i386/fpu/mpa.c: Likewise.
60533         * sysdeps/i386/fpu/s_cos.S: Likewise.
60534         * sysdeps/i386/fpu/s_sin.S: Likewise.
60535         * sysdeps/i386/fpu/s_sincos.S: Likewise.
60536         * sysdeps/i386/fpu/sincos32.c: Likewise.
60538         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
60539         Define.
60540         (libc_feupdateenv_53bit): Define.
60541         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
60542         Define.
60543         (libc_feupdateenv_53bit): Define.
60545         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
60546         53 bit (without extend i386 double precision).
60548         * math/libm-test.inc (sincos_test): Add tests for large input.
60549         (sin): Likewise.
60550         (cos): Likewise.
60552         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
60554 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
60556         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60558 2012-03-15  David S. Miller  <davem@davemloft.net>
60560         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
60561         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
60562         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
60563         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
60564         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
60565         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
60566         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
60567         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
60568         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
60569         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
60570         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
60571         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
60572         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
60573         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
60574         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
60575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
60576         file.
60577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
60578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
60579         file.
60580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
60581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
60582         file.
60583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
60584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
60585         file.
60586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
60587         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
60588         fmin/fmax sysdep routines.
60589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
60591 2012-03-14  David S. Miller  <davem@davemloft.net>
60593         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
60594         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
60595         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
60596         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
60597         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
60598         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
60599         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
60600         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
60601         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
60602         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
60603         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
60604         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
60605         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
60606         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
60607         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
60608         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
60609         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
60610         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
60611         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
60612         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
60613         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
60614         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
60615         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
60616         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
60617         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
60618         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
60619         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
60620         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
60621         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
60622         routines.
60623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
60624         file.
60625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
60626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
60627         file.
60628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
60629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
60630         file.
60631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
60632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
60633         file.
60634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
60635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
60636         file.
60637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
60638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
60639         file.
60640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
60641         file.
60642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
60643         file.
60644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
60645         file.
60646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
60647         New file.
60648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
60649         file.
60650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
60651         file.
60652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
60653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
60654         file.
60655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
60656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
60657         file.
60658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
60659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
60660         file.
60661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
60662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
60663         VIS3 routines.
60665         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
60666         New file.
60668         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60670         * sysdeps/sparc/configure.in: New file.
60671         * sysdeps/sparc/configure: Generate.
60672         * configure.in (libc_cv_sparc_as_vis3): Substitute.
60673         * configure: Regenerate.
60674         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
60675         * config.make.in (have-as-vis3): New.
60676         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
60677         available use -Av9d instead of -Av9a.
60678         * sysdeps/sparc/sparc64/Makefile: Likewise.
60679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
60680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
60681         New file.
60682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
60683         file.
60684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
60685         New file.
60686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
60687         file.
60688         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
60689         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
60690         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
60691         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
60692         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
60694         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
60695         fzeros/fnegs to load 0x80000000 into a float register instead of
60696         using the stack.
60697         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
60699 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
60701         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60702         bits/syscall.h.
60703         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
60704         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
60705         ($(inst_includedir)/bits/syscall.h): Remove rule.
60706         ($(objpfx)bits/syscall.d): Include instead of
60707         $(objpfx)syscall-list.d.
60708         (generated): Change syscall-list.h and syscall-list.d to
60709         bits/syscall.h and bits/syscall.d.
60711 2012-03-14  Roland McGrath  <roland@hack.frob.com>
60713         [BZ #13846]
60714         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
60716 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
60718         [BZ #13841]
60719         * math/s_csqrt.c: Include <float.h>.
60720         (__csqrt): Scale large or subnormal inputs.
60721         * math/s_csqrtf.c: Likewise.
60722         * math/s_csqrtl.c: Likewise.
60723         * math/libm-test.inc (csqrt_test): Add more tests.
60724         * sysdeps/i386/fpu/libm-test-ulps: Update.
60725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60727         [BZ #13840]
60728         * math/libm-test.inc (hypot_test): Add more tests.
60730 2012-03-13  David S. Miller  <davem@davemloft.net>
60732         [BZ #13840]
60733         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
60734         double-precision for the calculation instead of scaling.
60736 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
60738         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
60739         manipulate bits before adding and subtracting TWO52[sx].
60740         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
60741         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
60742         Likewise.
60743         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
60745 2012-03-13  David S. Miller  <davem@davemloft.net>
60747         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
60748         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
60749         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
60750         rtld-global-offsets.h
60751         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60753         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
60754         large parameters.
60756         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
60758         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
60759         'err' in the ifdef scope in which it is actually used.
60761         * nss/nss_db/db-init.c: Include string.h
60763 2012-03-12  David S. Miller  <davem@davemloft.net>
60765         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
60766         masking out of the most significant byte of random value used.
60767         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60768         Fix coding style in previous change.
60770         * sysdeps/unix/sysv/linux/kernel-features.h
60771         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
60772         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
60773         expression.
60774         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
60775         later.
60777 2012-03-11  David S. Miller  <davem@davemloft.net>
60779         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
60780         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
60781         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
60782         for 'resultvar' otherwise things get truncated on 64-bit.
60784         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60785         Fix masking out of the most significant byte of random value used.
60787         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60789 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
60791         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60793 2012-03-09  David S. Miller  <davem@davemloft.net>
60795         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
60796         variables with appropriate CPP guards.
60797         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
60798         from the frame pointer, not the stack pointer.  Correct layout
60799         comments.  Fix test on resulting framesize and the management of
60800         the outregs buffer for pltexit.  Preserve floating point return
60801         values across _dl_call_pltexit call.
60802         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
60803         framesize and the management of the outregs buffer for pltexit.
60804         Preserve floating point return values across _dl_call_pltexit
60805         call.
60806         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
60807         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
60808         (la_sparc64_gnu_pltexit): New functions.
60809         (print_exit): Fix format string for return register value.
60811 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
60813         * sunrpc/Makefile (others): Add rpcgen.
60814         ($(objpfx)rpcgen): Remove special build rule and dependency on
60815         libc.
60816         * sunrpc/rpcgen.c: New file.
60818 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
60820         [BZ #13673]
60821         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
60822         * stdio-common/bug-vfprintf-nargs.c: Likewise.
60823         * sysdeps/i386/crti.S: Likewise.
60824         * sysdeps/i386/crtn.S: Likewise.
60825         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
60826         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
60827         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
60828         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
60829         * sysdeps/sh/crti.S: Likewise.
60830         * sysdeps/sh/crtn.S: Likewise.
60831         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
60833         [BZ #13673]
60834         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
60835         with URL.
60836         * locale/programs/locfile-kw.gperf: Likewise.
60837         * locale/programs/charmap-kw.h: Regenerated.
60838         * locale/programs/locfile-kw.h: Likewise.
60840         [BZ #13673]
60841         * intl/plural.y: Replace FSF snail mail address with URL.
60842         * intl/plural.c: Regenerated.
60844 2012-03-09  Richard Henderson  <rth@twiddle.net>
60846         * include/math_private.h: Remove file.
60847         * math/math_private.h: Move file ...
60848         * sysdeps/generic/math_private.h: ... here.
60850         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
60851         * sysdeps/powerpc/fpu/math_private.h: Likewise.
60852         * sysdeps/x86_64/fpu/math_private.h: Likewise.
60854         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
60855         and <math_private.h>.
60856         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
60857         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
60858         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
60859         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
60860         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
60861         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
60862         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
60863         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60864         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
60865         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60866         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60867         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
60868         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
60869         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60870         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
60871         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
60872         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60873         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
60874         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
60875         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
60876         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60877         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
60878         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
60879         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60880         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
60881         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
60882         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
60883         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60884         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60885         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
60886         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
60887         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60888         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
60889         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
60890         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
60891         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
60892         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
60893         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
60894         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
60895         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60896         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
60897         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
60898         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
60899         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
60900         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
60901         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
60902         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
60903         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
60904         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
60905         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
60906         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
60907         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
60908         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
60909         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
60910         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
60911         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
60912         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
60913         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
60914         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
60915         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
60916         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60917         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
60918         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60919         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
60920         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
60921         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
60922         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
60923         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
60924         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
60925         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
60926         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
60927         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
60928         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
60929         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
60930         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
60931         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
60932         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
60933         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
60934         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
60935         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
60936         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
60937         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
60938         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
60939         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
60940         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
60941         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
60942         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
60943         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
60944         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
60945         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
60946         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
60947         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
60948         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
60949         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
60950         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
60951         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
60952         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
60953         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
60954         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
60955         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
60956         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
60957         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
60958         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
60959         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
60960         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
60961         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
60962         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
60963         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
60964         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
60965         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
60966         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
60967         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
60968         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
60969         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
60970         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
60971         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
60972         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
60973         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
60974         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
60975         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
60976         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
60977         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
60978         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
60979         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
60980         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
60981         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
60982         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
60983         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
60984         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
60985         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
60986         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
60987         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
60988         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
60989         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
60990         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
60991         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
60992         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
60993         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
60994         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
60995         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
60996         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
60997         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
60998         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
60999         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
61000         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
61001         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
61002         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
61003         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
61004         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
61005         * sysdeps/ieee754/k_standard.c: Likewise.
61006         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
61007         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
61008         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
61009         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
61010         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
61011         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
61012         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
61013         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
61014         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
61015         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
61016         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
61017         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
61018         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
61019         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
61020         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
61021         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
61022         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
61023         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
61024         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
61025         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
61026         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
61027         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
61028         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
61029         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
61030         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
61031         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
61032         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
61033         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
61034         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
61035         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
61036         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
61037         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
61038         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
61039         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
61040         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
61041         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
61042         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
61043         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
61044         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
61045         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
61046         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
61047         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
61048         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
61049         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
61050         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
61051         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
61052         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
61053         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
61054         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
61055         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
61056         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
61057         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
61058         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
61059         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
61060         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
61061         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
61062         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
61063         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
61064         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
61065         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
61066         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
61067         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
61068         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
61069         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
61070         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
61071         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
61072         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
61073         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
61074         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
61075         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
61076         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
61077         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
61078         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
61079         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
61080         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
61081         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
61082         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
61083         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
61084         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
61085         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
61086         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
61087         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
61088         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
61089         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
61090         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
61091         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
61092         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
61093         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
61094         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
61095         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
61096         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
61097         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
61098         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
61099         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
61100         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
61101         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
61102         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
61103         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
61104         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
61105         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
61106         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
61107         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
61108         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
61109         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
61110         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
61111         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
61112         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
61113         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
61114         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
61115         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
61116         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
61117         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
61118         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
61119         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
61120         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
61121         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
61122         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
61123         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
61124         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
61125         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
61126         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
61127         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
61128         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
61129         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
61130         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
61131         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
61132         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
61133         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
61134         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
61135         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
61136         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
61137         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
61138         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
61139         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
61140         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
61141         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
61142         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
61143         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
61144         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
61145         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
61146         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
61147         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
61148         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
61149         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
61150         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
61151         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
61152         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
61153         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
61154         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
61155         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
61156         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
61157         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
61158         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
61159         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
61160         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
61161         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
61162         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
61163         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
61164         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
61165         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
61166         * sysdeps/ieee754/s_lib_version.c: Likewise.
61167         * sysdeps/ieee754/s_matherr.c: Likewise.
61168         * sysdeps/ieee754/s_signgam.c: Likewise.
61169         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
61170         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
61171         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
61172         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
61173         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
61174         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
61175         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
61176         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
61177         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
61178         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
61179         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
61180         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
61181         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
61182         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
61183         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
61184         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
61185         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
61186         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
61187         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
61188         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
61189         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
61191 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
61193         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
61194         * sunrpc/rpc_main.c: Likewise.
61195         * sunrpc/rpc_svcout.c: Likewise.
61197 2012-03-09  David S. Miller  <davem@davemloft.net>
61199         * include/math_private.h: New file.
61201 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
61203         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
61204         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
61205         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
61206         from <bits/socket_type.h>.
61207         (enum __socket_type): Don't define here.
61208         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
61209         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61210         bits/socket_type.h.
61212         [BZ #13566]
61213         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
61214         checking __USE_GNU.
61216         * Makerules ($(inst_includedir)/%.h): New rule.
61217         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
61218         (install-others): Remove variable setting.
61219         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
61221 2012-03-08  Richard Henderson  <rth@twiddle.net>
61223         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
61224         from macro to inline function; merge with the
61225         !__LIBC_INTERNAL_MATH_INLINES version.
61226         (__ieee754_sqrtf): Likewise.
61228         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
61229         to inline function.
61230         (__rintf, __floor, __floorf): Likewise.
61232         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
61233         macro to inline function.
61234         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
61236         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
61237         not <math/math_private.h>.
61239 2012-03-08  David S. Miller  <davem@davemloft.net>
61241         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
61242         copyright year.
61243         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
61245 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
61247         * resolv/gai_misc.c (handle_requests): Fix struct timespec
61248         normalization.
61249         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
61250         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
61252 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
61254         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
61255         be defined individually, they must be defined as a block.  Define
61256         S for printing a string instead of hidint the different by using a
61257         macro for adding the 'l'.
61258         * stdio-common/tst-fphex-wide.c: Adjust.
61260 2012-03-07  Marek Polacek  <polacek@redhat.com>
61262         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
61264 2012-03-08  Marek Polacek  <polacek@redhat.com>
61266         [BZ #13806]
61267         * stdio-common/Makefile (tests): Add tst-fphex-wide.
61268         * stdio-common/tst-fphex.c: Define a few macros to make the
61269         test reusable.  Use them.
61270         * stdio-common/tst-fphex-wide.c: New file.
61272 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
61274         [BZ #6911]
61275         * manual/macros.texi (gnusystems): New macro.
61276         (nongnusystems): Likewise.
61277         (gnulinuxhurdsystems): Likewise.
61278         (gnuhurdsystems): Likewise..
61279         (gnulinuxsystems): Likewise.
61280         * manual/charset.texi: Use new macros or @theglibc{} to refer to
61281         variants of the GNU system, not "GNU system".
61282         * manual/conf.texi: Likewise.
61283         * manual/errno.texi: Likewise.  Update example of errno macro
61284         expansion.
61285         * manual/filesys.texi: Likewise.
61286         (getumask): Document as specific to GNU/Hurd.
61287         * manual/install.texi: Likewise.  Reword some references to
61288         GNU/Linux.
61289         * manual/intro.texi: Likewise.
61290         * manual/io.texi: Likewise.
61291         (File Name Portability): Detail which constraints are inapplicable
61292         to all GNU systems and which are only inapplicable to GNU/Hurd.
61293         * manual/job.texi: Likewise.
61294         * manual/llio.texi: Likewise.
61295         (O_NOCTTY): Document as present on GNU/Linux.
61296         * manual/maint.texi: Likewise.
61297         * manual/memory.texi: Likewise.
61298         * manual/pattern.texi: Likewise.
61299         * manual/pipe.texi: Likewise.
61300         * manual/process.texi: Likewise.
61301         * manual/resource.texi: Likewise.
61302         (RUSAGE_CHILDREN): Remove statement about specifying a particular
61303         child on GNU/Hurd.
61304         * manual/setjmp.texi: Likewise.
61305         * manual/signal.texi: Likewise.
61306         * manual/startup.texi: Likewise.
61307         * manual/stdio.texi: Likewise.
61308         * manual/terminal.texi: Likewise.
61309         (ONLCR): Document as POSIX.
61310         (OXTABS): Document availability on GNU/Linux as XTABS.
61311         (ONOEOT): Document availability separately from other bits.
61312         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
61313         * manual/time.texi: Likewise.
61314         * manual/users.texi: Likewise.
61315         * INSTALL: Regenerated.
61316         * sysdeps/gnu/errlist.c: Regenerated.
61318         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
61319         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
61320         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
61321         puts.
61322         * configure: Regenerated.
61324 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
61326         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
61327         default includes instead of AC_HEADER_CHECK.
61328         * sysdeps/i386/configure: Regenerated.
61330         [BZ #10716]
61331         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
61332         * math/s_cacoshf.c (__cacoshf): Likewise.
61333         * math/s_cacoshl.c (__cacoshl): Likewise.
61334         * math/s_casinh.c (__casinh): Set signs of result from argument.
61335         * math/s_casinhf.c (__casinhf): Likewise.
61336         * math/s_casinhl.c (__casinhl): Likewise.
61337         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
61338         (casinh_test): Add more tests.
61339         * sysdeps/i386/fpu/libm-test-ulps: Update.
61340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61342 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
61344         * po/zh_TW.po: Update from translation team.
61346         * login/Makefile (distribute): Remove variable.
61347         * catgets/Makefile: Likewise.
61348         * mach/Makefile: Likewise.
61349         * malloc/Makefile: Likewise.
61350         * misc/Makefile: Likewise.
61351         * iconv/Makefile: Likewise.
61352         * nscd/Makefile: Likewise.
61353         * hurd/Makefile: Likewise.
61354         * manual/Makefile: Likewise.
61355         * locale/Makefile: Likewise.
61356         * intl/Makefile: Likewise.
61357         * conform/Makefile: Likewise.
61358         * nss/Makefile: Likewise.
61359         * time/Makefile: Likewise.
61360         * soft-fp/Makefile: Likewise.
61361         * dirent/Makefile: Likewise.
61362         * gmon/Makefile: Likewise.
61363         * po/Makefile: Likewise.
61364         * rt/Makefile: Likewise.
61365         * socket/Makefile: Likewise.
61366         * math/Makefile: Likewise.
61367         * signal/Makefile: Likewise.
61368         * debug/Makefile: Likewise.
61369         * elf/Makefile: Likewise.
61370         * timezone/Makefile: Likewise.
61371         * stdlib/Makefile: Likewise.
61372         * iconvdata/Makefile: Likewise.
61373         * sunrpc/Makefile: Likewise.
61374         * io/Makefile: Likewise.
61375         * argp/Makefile: Likewise.
61376         * inet/Makefile: Likewise.
61377         * hesiod/Makefile: Likewise.
61378         * grp/Makefile: Likewise.
61379         * csu/Makefile: Likewise.
61380         * wctype/Makefile: Likewise.
61381         * crypt/Makefile: Likewise.
61382         * libio/Makefile: Likewise.
61383         * string/Makefile: Likewise.
61384         * nis/Makefile: Likewise.
61385         * resolv/Makefile: Likewise.
61386         * stdio-common/Makefile: Likewise.
61387         * wcsmbs/Makefile: Likewise.
61388         * dlfcn/Makefile: Likewise.
61389         * posix/Makefile: Likewise.
61391         [BZ #6959]
61392         * timezone/Makefile: Don't install timezone files, just the programs
61393         and scripts.
61395 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
61397         * nss/databases.def: Add missing gshadow entry.
61399         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
61401 2012-03-06  Marek Polacek  <polacek@redhat.com>
61403         [BZ #13726]
61404         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
61405         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
61406         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
61407         * stdio-common/tst-long-dbl-fphex.c: New file.
61409 2012-03-06  David S. Miller  <davem@davemloft.net>
61411         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61412         (set_obp_int): New function.
61413         (get_obp_int): New function.
61414         (__get_clockfreq_via_dev_openprom): Likewise.
61415         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
61416         Avoid unused variable warnings on 'val' and use builtin_expect.
61417         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
61418         __builtin_expect.
61419         (INLINE_CLONE_SYSCALL): Likewise.
61421 2012-03-05  David S. Miller  <davem@davemloft.net>
61423         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61425 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
61427         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61429         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
61430         only for |x| >= 40.
61431         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
61433 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
61435         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
61436         Replace gettimeofday with __vdso_gettimeofday.
61438         * sysdeps/unix/sysv/linux/x86_64/init-first.c
61439         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
61440         __vdso_clock_gettime and __vdso_getcpu.
61442         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
61443         time with __vdso_time.
61445 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
61447         * manual/lang.texi (size_t): Note types to which size_t may be
61448         equivalent with the GNU C Library, but do not describe when
61449         differences between them are significant.
61451 2012-03-05  Andreas Jaeger  <aj@suse.de>
61453         * sysdeps/i386/fpu/libm-test-ulps: Update.
61455 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
61457         [BZ #3976]
61458         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
61459         (__ieee754_pow): Save and restore rounding mode and use
61460         round-to-nearest for main computations.
61461         * math/libm-test.inc (pow_test_tonearest): New function.
61462         (pow_test_towardzero): Likewise.
61463         (pow_test_downward): Likewise.
61464         (pow_test_upward): Likewise.
61465         (main): Call the new functions.
61466         * sysdeps/i386/fpu/libm-test-ulps: Update.
61467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61469         [BZ #3976]
61470         * math/libm-test.inc (cosh_test_tonearest): New function.
61471         (cosh_test_towardzero): Likewise.
61472         (cosh_test_downward): Likewise.
61473         (cosh_test_upward): Likewise.
61474         (sinh_test_tonearest): Likewise.
61475         (sinh_test_towardzero): Likewise.
61476         (sinh_test_downward): Likewise.
61477         (sinh_test_upward): Likewise.
61478         (main): Call the new functions.
61479         * sysdeps/i386/fpu/libm-test-ulps: Update.
61480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61482 2012-03-05  Tom de Vries  <tom@codesourcery.com>
61484         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
61485         default stack guard is set in last bytes.
61486         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
61488 2012-03-05  Kees Cook  <keescook@chromium.org>
61490         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
61492         [BZ #13656]
61493         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
61494         possibly allocate from heap instead of stack.
61495         * stdio-common/bug-vfprintf-nargs.c: New file.
61496         * stdio-common/Makefile (tests): Add nargs overflow test.
61498 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
61500         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61502 2012-03-03  Marek Polacek  <polacek@redhat.com>
61504         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
61505         * math/math_private.h: Likewise.
61506         * stdlib/tst-strtod.c: Likewise.
61507         * sysdeps/i386/i486/bits/atomic.h: Likewise.
61508         * sysdeps/x86_64/bits/atomic.h: Likewise.
61510 2012-03-02  David S. Miller  <davem@davemloft.net>
61512         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
61513         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
61514         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
61515         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
61516         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
61517         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
61518         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
61519         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
61521 2012-03-02  Roland McGrath  <roland@hack.frob.com>
61523         [BZ #13792]
61524         * manual/examples/README: New file, says the example source files
61525         can be used under GPL>=2.
61526         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
61527         line containing just "*/".
61528         * manual/examples/add.c: Add copyright header (GPL>=2).
61529         * manual/examples/argp-ex1.c: Likewise.
61530         * manual/examples/argp-ex2.c: Likewise.
61531         * manual/examples/argp-ex3.c: Likewise.
61532         * manual/examples/argp-ex4.c: Likewise.
61533         * manual/examples/atexit.c: Likewise.
61534         * manual/examples/db.c: Likewise.
61535         * manual/examples/dir.c: Likewise.
61536         * manual/examples/dir2.c: Likewise.
61537         * manual/examples/execinfo.c: Likewise.
61538         * manual/examples/filecli.c: Likewise.
61539         * manual/examples/filesrv.c: Likewise.
61540         * manual/examples/fmtmsgexpl.c: Likewise.
61541         * manual/examples/genpass.c: Likewise.
61542         * manual/examples/inetcli.c: Likewise.
61543         * manual/examples/inetsrv.c: Likewise.
61544         * manual/examples/isockad.c: Likewise.
61545         * manual/examples/longopt.c: Likewise.
61546         * manual/examples/memopen.c: Likewise.
61547         * manual/examples/memstrm.c: Likewise.
61548         * manual/examples/mkfsock.c: Likewise.
61549         * manual/examples/mkisock.c: Likewise.
61550         * manual/examples/mygetpass.c: Likewise.
61551         * manual/examples/pipe.c: Likewise.
61552         * manual/examples/popen.c: Likewise.
61553         * manual/examples/rprintf.c: Likewise.
61554         * manual/examples/search.c: Likewise.
61555         * manual/examples/select.c: Likewise.
61556         * manual/examples/setjmp.c: Likewise.
61557         * manual/examples/sigh1.c: Likewise.
61558         * manual/examples/sigusr.c: Likewise.
61559         * manual/examples/stpcpy.c: Likewise.
61560         * manual/examples/strdupa.c: Likewise.
61561         * manual/examples/strftim.c: Likewise.
61562         * manual/examples/strncat.c: Likewise.
61563         * manual/examples/subopt.c: Likewise.
61564         * manual/examples/swapcontext.c: Likewise.
61565         * manual/examples/termios.c: Likewise.
61566         * manual/examples/testopt.c: Likewise.
61567         * manual/examples/testpass.c: Likewise.
61568         * manual/examples/timeval_subtract.c: Likewise.
61570         [BZ #13792]
61571         * manual/time.texi (Elapsed Time): Move timeval_subtract example
61572         function to ...
61573         * manual/timeval_subtract.c.texi: ... here, new file.
61575 2012-03-02  David S. Miller  <davem@davemloft.net>
61577         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
61579 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
61581         [BZ #3976]
61582         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
61583         (__sin): Save and restore rounding mode and use round-to-nearest
61584         for all computations.
61585         (__cos): Save and restore rounding mode and use round-to-nearest
61586         for all computations.
61587         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
61588         <fenv.h>.
61589         (tan): Save and restore rounding mode and use round-to-nearest for
61590         all computations.
61591         * math/libm-test.inc (cos_test_tonearest): New function.
61592         (cos_test_towardzero): Likewise.
61593         (cos_test_downward): Likewise.
61594         (cos_test_upward): Likewise.
61595         (sin_test_tonearest): Likewise.
61596         (sin_test_towardzero): Likewise.
61597         (sin_test_downward): Likewise.
61598         (sin_test_upward): Likewise.
61599         (tan_test_tonearest): Likewise.
61600         (tan_test_towardzero): Likewise.
61601         (tan_test_downward): Likewise.
61602         (tan_test_upward): Likewise.
61603         (main): Call the new functions.
61604         * sysdeps/i386/fpu/libm-test-ulps: Update.
61605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61607         [BZ #10135]
61608         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
61609         small n, then large n, before computing and testing k+n.
61610         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
61611         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
61612         Likewise.
61613         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
61614         Likewise.
61615         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
61616         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
61617         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
61618         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
61619         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
61620         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
61621         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
61622         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
61623         * math/libm-test.inc (scalbn_test): Add more tests.
61624         (scalbln_test): Likewise.
61626         * manual/filesys.texi (mode_t): Describe constraints on size and
61627         signedness, not exact equivalence to a particular type.
61628         (ino_t): Likewise.
61629         (ino64_t): Likewise.
61630         (dev_t): Likewise.
61631         (nlink_t): Likewise.
61632         (blkcnt_t): Likewise.
61633         (blkcnt64_t): Likewise.
61634         * manual/llio.texi (off_t): Likewise.
61636         [BZ #3976]
61637         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
61638         (__ieee754_exp): Save and restore rounding mode and use
61639         round-to-nearest for all computations.
61640         * math/libm-test.inc (exp_test_tonearest): New function.
61641         (exp_test_towardzero): Likewise.
61642         (exp_test_downward): Likewise.
61643         (exp_test_upward): Likewise.
61644         (main): Call the new functions.
61645         * sysdeps/i386/fpu/libm-test-ulps: Update.
61646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61648 2012-03-01  Chris Demetriou  <cgd@google.com>
61650         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
61651         have predictable order.
61653 2012-03-01  David S. Miller  <davem@davemloft.net>
61655         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
61657         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
61658         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
61659         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
61660         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
61662         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
61663         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
61664         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
61665         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
61666         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
61667         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
61668         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
61669         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
61670         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
61672         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61674         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
61675         * sysdeps/sparc/fpu/libm-test-ulps: to here.
61676         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
61678         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
61679         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
61680         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
61681         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
61682         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
61683         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
61684         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
61685         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
61686         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
61687         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
61688         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
61689         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
61690         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
61691         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
61692         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
61693         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
61694         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
61695         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
61696         * sysdeps/sparc/elf/configure: Regenerated.
61698 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
61700         * configure.in (AS, LD): Require binutils 2.20 or later.
61701         * configure: Regenerated.
61702         * manual/install.texi (Tools for Compilation): Give binutils 2.20
61703         as required minimum version.
61704         * INSTALL: Regenerated.
61706         [BZ #2541]
61707         [BZ #4108]
61708         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
61709         before squaring exponent.
61710         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
61711         bottom long double and 27 bits of top long double before squaring
61712         exponent.
61713         * math/libm-test.inc (erfc_test): Add more tests.
61714         * sysdeps/i386/fpu/libm-test-ulps: Update.
61715         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
61716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61718 2012-03-01  Kai Tietz  <ktietz@redhat.com>
61720         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
61721         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
61722         containing bit-fields.
61723         * soft-fp/extended.h (_FP_UNION_E): Likewise.
61724         * soft-fp/single.h (_FP_UNION_S): Likewise.
61725         * soft-fp/double.h (_FP_UNION_D): Likewise.
61727 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
61729         [BZ #13786]
61730         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
61731         not include ../strcmp.S.
61732         [USE_AS_STRNCASECMP_L]: Likewise.
61733         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
61734         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
61735         * sysdeps/i386/i686/multiarch/strncase_l-c.c
61736         (__strncasecmp_l_ia32): Define as alias to
61737         __strncasecmp_l_nonascii.
61739         [BZ #5794]
61740         * math/libm-test.inc (expm1_test): Add test for bug 5794.
61741         * sysdeps/i386/fpu/libm-test-ulps: Update.
61742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61744         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
61745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61747 2012-02-29  Jeff Law  <law@redhat.com>
61749         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
61750         out of bounds read.
61752 2012-02-29  Marek Polacek  <polacek@redhat.com>
61754         [BZ #13706]
61755         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
61756         * elf/Makefile: Add rules to run tst-unused-dep.out.
61758 2012-02-28  David S. Miller  <davem@davemloft.net>
61760         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
61761         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
61762         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
61763         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
61764         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
61765         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
61767 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
61769         * math/libm-test.inc (llround_test): Move one test from
61770         lround_test.  Use TEST_f_L in moved test.
61771         (lround_test): Move misplaced test to llround_test.  Add testcase
61772         from bug 2561.
61774 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
61776         * sysdeps/x86_64/fpu/e_expf.S: New file.
61777         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
61779 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
61781         [BZ #13637]
61782         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
61783         of remain_len that may cause incomplete multi-byte character and
61784         false match.
61785         * posix/bug-regex33.c: New file.
61786         * posix/Makefile (tests): Add bug-regex33.
61788 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
61790         * manual/macros.texi: New file.
61791         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
61792         * manual/libc.texinfo: Include macros.texi.
61793         * manual/creatute.texi: Likewise.
61794         * manual/install.texi: Likewise.
61795         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
61796         @glibcadj{} in references to the GNU C Library.
61797         * manual/charset.texi: Likewise.
61798         * manual/conf.texi: Likewise.
61799         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
61800         when not using those macros.
61801         * manual/creature.texi: Likewise.
61802         * manual/crypt.texi: Likewise.
61803         * manual/errno.texi: Likewise.
61804         * manual/filesys.texi: Likewise.
61805         * manual/header.texi: Likewise.
61806         * manual/install.texi: Likewise.
61807         * manual/intro.texi: Likewise.
61808         * manual/io.texi: Likewise.
61809         * manual/job.texi: Likewise.
61810         * manual/lang.texi: Likewise.
61811         * manual/libc.texiinfo: Likewise.
61812         * manual/llio.texi: Likewise.
61813         * manual/locale.texi: Likewise.
61814         * manual/maint.texi: Likewise.
61815         * manual/math.texi: Likewise.
61816         * manual/memory.texi: Likewise.
61817         * manual/message.texi: Likewise.
61818         * manual/nss.texi: Likewise.
61819         * manual/pattern.texi: Likewise.
61820         * manual/process.texi: Likewise.
61821         * manual/resource.texi: Likewise.
61822         * manual/search.texi: Likewise.
61823         * manual/setjmp.texi: Likewise.
61824         * manual/signal.texi: Likewise.
61825         * manual/socket.texi: Likewise.
61826         * manual/startup.texi: Likewise.
61827         * manual/stdio.texi: Likewise.
61828         * manual/string.texi: Likewise.
61829         * manual/sysinfo.texi: Likewise.
61830         * manual/syslog.texi: Likewise.
61831         * manual/terminal.texi: Likewise.
61832         * manual/time.texi: Likewise.
61833         * manual/users.texi: Likewise.
61834         * INSTALL: Regenerated.
61835         * NOTES: Regenerated.
61836         * sysdeps/gnu/errlist.c: Regenerated.
61838 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
61840         * include/dirent.h: Include <dirstream.h> before
61841         <dirent/dirent.h>.
61843 2012-02-28  David S. Miller  <davem@davemloft.net>
61845         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
61846         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
61847         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
61848         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
61850 2012-02-27  David S. Miller  <davem@davemloft.net>
61852         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
61853         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
61854         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
61855         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
61857         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
61858         frame pointer instead of stack pointer relative arg slot.
61859         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
61860         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
61861         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
61863 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
61865         [BZ #3992]
61866         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
61868 2012-02-27  David S. Miller  <davem@davemloft.net>
61870         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
61871         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
61872         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
61873         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
61874         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
61875         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
61876         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
61877         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
61879 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
61881         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
61882         later.  Allow versions 5-9.
61883         * configure: Regenerated.
61884         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
61885         required minimum version and 4.6 as recommended version.  Do not
61886         mention bugs in GCC 2.7 and 2.8.
61887         * INSTALL: Regenerated.
61889 2012-02-27  David S. Miller  <davem@davemloft.net>
61891         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
61892         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
61893         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
61894         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
61895         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
61896         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
61897         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
61898         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
61900         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
61901         manipulate bits before adding and subtracting TWO112[sx].
61902         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
61904 2012-02-27  Roland McGrath  <roland@hack.frob.com>
61906         [BZ #13775]
61907         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
61908         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
61909         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
61910         being in POSIX, because they are in 1003.1-2008.
61912         * rt/tst-aio.c: Include <fcntl.h>.
61913         * rt/tst-aio7.c: Likewise.
61914         * rt/tst-aio64.c: Likewise.
61916         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
61918 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
61920         * manual/install.texi (--with-headers): Describe headers as
61921         interface headers, not private headers.
61922         (Specific advice for GNU/Linux systems): Describe use of headers
61923         from "make headers_install", not private headers from older
61924         kernels.
61925         * INSTALL: Regenerated.
61926         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
61927         Change to 2.6.19.
61928         * sysdeps/unix/sysv/linux/configure: Regenerated.
61930         * manual/llio.texi (fclean): Remove documentation.
61932         * manual/Makefile (libc-texi-generated): New variable.  Include
61933         version.texi.
61934         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
61935         $(libc-texi-generated), not duplicated list of files.
61936         (version.texi, stamp-version): New rules.
61937         (realclean): Remove $(libc-texi-generated), not individual files
61938         from that list.  Do not remove dir-add.texinfo.
61939         * manual/libc.texinfo: Comment out uses of edition numbers and
61940         references to printed manual.  Remove last-updated dates.
61941         (EDITION): Comment out.
61942         (ISBN): Likewise.
61943         (VERSION, UPDATED): Remove.
61944         (version.texi): Include.
61946 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
61948         * sysdeps/posix/spawni.c: Include <signal.h>.
61949         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
61950         * sysdeps/pthread/aio_fsync.c: Likewise.
61952 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
61954         * conform/Makefile (tests): Run only when not cross-compiling and
61955         when fast-check is not defined.
61957         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
61958         * conform/data/limits.h-data: Fixes for POSIX2008.
61959         * conform/run-conformtest.sh: Run all tests.
61960         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
61961         headers.
61962         * include/bits/dlfcn.h: Likewise.
61963         * include/langinfo.h: Likewise.
61964         * include/monetary.h: Likewise.
61965         * include/sys/poll.h: Likewise.
61967         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
61968         for __USE_GNU.
61969         * posix/spawn.h: Define __need_sigset_t.
61970         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
61971         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
61972         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
61973         to get sigevent_t only.
61974         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
61975         only for __USE_GNU.
61976         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61977         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
61978         process_vm_writev only for __USE_GNU.
61979         * termios/termios.h: Declare tcgetsid also for POSIX2008.
61981         * conform/Makefile: For now ignore errors from run-conformtest.
61982         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
61983         POSIX to avoid namespace pollution.  Don't prepend headers.
61984         * conform/data/aio.h-data: Fixes for POSIX testing.
61985         * conform/data/fcntl.h-data: Likewise.
61986         * conform/data/glob.h-data: Likewise.
61987         * conform/data/grp.h-data: Likewise.
61988         * conform/data/pthread.h-data: Likewise.
61989         * conform/data/pwd.h-data: Likewise.
61990         * conform/data/signal.h-data: Likewise.
61991         * conform/data/spawn.h-data: Likewise.
61992         * conform/data/stdio.h-data: Likewise.
61993         * conform/data/stdlib.h-data: Likewise.
61994         * conform/data/stropts.h-data: Likewise.
61995         * conform/data/sys/mman.h-data: Likewise.
61996         * conform/data/sys/stat.h-data: Likewise.
61997         * conform/data/sys/types.h-data: Likewise.
61998         * conform/data/sys/wait.h-data: Likewise.
61999         * conform/data/time.h-data: Likewise.
62000         * conform/data/unistd.h-data: Likewise.
62001         * conform/data/utime.h-data: Likewise.
62003         * io/sys/stat.h: fchmod was always in POSIX.
62004         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
62005         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
62006         * rt/aio.h: Define __need_timespec before including <time.h>.
62007         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
62008         struct.  Add forward declaration of pthread_attr_t and use it in
62009         sigevent.
62010         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
62011         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
62012         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
62013         always remove CLK_TCK definition.
62015 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
62017         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
62019 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
62021         * conform/run-conformtest.sh: New file.
62022         * conform/Makefile: Run run-conformtest for tests.
62023         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
62024         support.
62026         * conform/data/uchar.h-data: New file.
62027         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
62028         * conform/data/arpa/inet.h-data: Likewise.
62029         * conform/data/assert.h-data: Likewise.
62030         * conform/data/complex.h-data: Likewise.
62031         * conform/data/cpio.h-data: Likewise.
62032         * conform/data/ctype.h-data: Likewise.
62033         * conform/data/dirent.h-data: Likewise.
62034         * conform/data/dlfcn.h-data: Likewise.
62035         * conform/data/errno.h-data: Likewise.
62036         * conform/data/fcntl.h-data: Likewise.
62037         * conform/data/float.h-data: Likewise.
62038         * conform/data/fmtmsg.h-data: Likewise.
62039         * conform/data/fnmatch.h-data: Likewise.
62040         * conform/data/ftw.h-data: Likewise.
62041         * conform/data/glob.h-data: Likewise.
62042         * conform/data/grp.h-data: Likewise.
62043         * conform/data/iconv.h-data: Likewise.
62044         * conform/data/inttypes.h-data: Likewise.
62045         * conform/data/langinfo.h-data: Likewise.
62046         * conform/data/libgen.h-data: Likewise.
62047         * conform/data/limits.h-data: Likewise.
62048         * conform/data/locale.h-data: Likewise.
62049         * conform/data/math.h-data: Likewise.
62050         * conform/data/monetary.h-data: Likewise.
62051         * conform/data/mqueue.h-data: Likewise.
62052         * conform/data/ndbm.h-data: Likewise.
62053         * conform/data/net/if.h-data: Likewise.
62054         * conform/data/netdb.h-data: Likewise.
62055         * conform/data/netinet/in.h-data: Likewise.
62056         * conform/data/nl_types.h-data: Likewise.
62057         * conform/data/poll.h-data: Likewise.
62058         * conform/data/pthread.h-data: Likewise.
62059         * conform/data/pwd.h-data: Likewise.
62060         * conform/data/regex.h-data: Likewise.
62061         * conform/data/sched.h-data: Likewise.
62062         * conform/data/search.h-data: Likewise.
62063         * conform/data/semaphore.h-data: Likewise.
62064         * conform/data/setjmp.h-data: Likewise.
62065         * conform/data/signal.h-data: Likewise.
62066         * conform/data/spawn.h-data: Likewise.
62067         * conform/data/stdarg.h-data: Likewise.
62068         * conform/data/stdio.h-data: Likewise.
62069         * conform/data/stdlib.h-data: Likewise.
62070         * conform/data/string.h-data: Likewise.
62071         * conform/data/strings.h-data: Likewise.
62072         * conform/data/stropts.h-data: Likewise.
62073         * conform/data/sys/ipc.h-data: Likewise.
62074         * conform/data/sys/mman.h-data: Likewise.
62075         * conform/data/sys/msg.h-data: Likewise.
62076         * conform/data/sys/resource.h-data: Likewise.
62077         * conform/data/sys/select.h-data: Likewise.
62078         * conform/data/sys/sem.h-data: Likewise.
62079         * conform/data/sys/shm.h-data: Likewise.
62080         * conform/data/sys/socket.h-data: Likewise.
62081         * conform/data/sys/stat.h-data: Likewise.
62082         * conform/data/sys/statvfs.h-data: Likewise.
62083         * conform/data/sys/time.h-data: Likewise.
62084         * conform/data/sys/timeb.h-data: Likewise.
62085         * conform/data/sys/times.h-data: Likewise.
62086         * conform/data/sys/types.h-data: Likewise.
62087         * conform/data/sys/uio.h-data: Likewise.
62088         * conform/data/sys/un.h-data: Likewise.
62089         * conform/data/sys/utsname.h-data: Likewise.
62090         * conform/data/sys/wait.h-data: Likewise.
62091         * conform/data/syslog.h-data: Likewise.
62092         * conform/data/tar.h-data: Likewise.
62093         * conform/data/termios.h-data: Likewise.
62094         * conform/data/utime.h-data: Likewise.
62095         * conform/data/utmpx.h-data: Likewise.
62096         * conform/data/varargs.h-data: Likewise.
62097         * conform/data/wchar.h-data: Likewise.
62098         * conform/data/wctype.h-data: Likewise.
62099         * conform/data/wordexp.h-data: Likewise.
62101         * include/stropts.h: New file.
62102         * include/uchar.h: New file.
62103         * include/aio.h: Changes to allow conformtest.pl to use the headers.
62104         * include/assert.h: Likewise.
62105         * include/ctype.h: Likewise.
62106         * include/dirent.h: Likewise.
62107         * include/dlfcn.h: Likewise.
62108         * include/fcntl.h: Likewise.
62109         * include/fnmatch.h: Likewise.
62110         * include/glob.h: Likewise.
62111         * include/grp.h: Likewise.
62112         * include/libio.h: Likewise.
62113         * include/locale.h: Likewise.
62114         * include/math.h: Likewise.
62115         * include/net/if.h: Likewise.
62116         * include/netdb.h: Likewise.
62117         * include/netinet/in.h: Likewise.
62118         * include/pthread.h: Likewise.
62119         * include/pwd.h: Likewise.
62120         * include/regex.h: Likewise.
62121         * include/sched.h: Likewise.
62122         * include/search.h: Likewise.
62123         * include/setjmp.h: Likewise.
62124         * include/signal.h: Likewise.
62125         * include/stdio.h: Likewise.
62126         * include/stdlib.h: Likewise.
62127         * include/string.h: Likewise.
62128         * include/sys/cdefs.h: Likewise.
62129         * include/sys/mman.h: Likewise.
62130         * include/sys/msg.h: Likewise.
62131         * include/sys/resource.h: Likewise.
62132         * include/sys/select.h: Likewise.
62133         * include/sys/socket.h: Likewise.
62134         * include/sys/stat.h: Likewise.
62135         * include/sys/statvfs.h: Likewise.
62136         * include/sys/time.h: Likewise.
62137         * include/sys/times.h: Likewise.
62138         * include/sys/uio.h: Likewise.
62139         * include/sys/utsname.h: Likewise.
62140         * include/sys/wait.h: Likewise.
62141         * include/termios.h: Likewise.
62142         * include/time.h: Likewise.
62143         * include/ulimit.h: Likewise.
62144         * include/unistd.h: Likewise.
62145         * include/utime.h: Likewise.
62146         * include/wchar.h: Likewise.
62147         * include/wctype.h: Likewise.
62148         * include/wordexp.h: Likewise.
62150         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
62152         * time/time.h: TIME_UTC must be a macro.
62153         Make timespec_get available for ISO C11 only as well.
62155 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
62157         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
62158         Reported by Peng Haitao <penght@cn.fujitsu.com>.
62160 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
62162         * configure.in: Use -o not -a in test for unsupported multi-arch.
62164 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
62166         * manual/texinfo.tex: Update to version 2012-01-19.16.
62168 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
62170         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
62172 2012-02-24  Roland McGrath  <roland@hack.frob.com>
62174         [BZ #13738]
62175         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
62176         * manual/fdl-1.3.texi: New file.
62177         * manual/fdl-1.1.texi: File removed.
62179         [BZ #13738]
62180         * manual/libc.texinfo (FDL_VERSION): New @set.
62181         Use it for mention of FDL in cover text.
62182         (Documentation License): Use it in @include file name.
62184 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62185             Roland McGrath  <roland@hack.frob.com>
62187         [BZ #5461]
62188         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
62189         (not LONG_LONG_MAX and LONG_LONG_MIN.
62190         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
62191         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
62192         name.
62193         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
62195 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62197         [BZ #2547]
62198         [BZ #11365]
62199         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
62200         manipulate bits before adding and subtracting TWO23[sx].
62201         * math/libm-test.inc (nearbyint_test): Add more tests.
62203 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62205         [BZ #2548]
62206         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
62207         bits before adding and subtracting TWO23[sx].
62208         * math/libm-test.inc (rint_test): Add more tests.
62209         (rint_test_tonearest): Likewise.
62210         (rint_test_towardzero): Likewise.
62211         (rint_test_downward): Likewise.
62212         (rint_test_upward: Likewise.
62214 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62216         [BZ #10110]
62217         * include/stdc-predef.h: New file.  Extracted from features.h.
62218         * include/features.h: Include stdc-predef.h.
62219         * Makefile (headers): Add stdc-predef.h.
62220         * CONFORMANCE (Compiler limitations): Update.
62222 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62224         * manual/libc.texinfo (VERSION, UPDATED): Revert.
62226 2012-02-21  David S. Miller  <davem@davemloft.net>
62228         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
62229         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
62231 2012-02-20  David S. Miller  <davem@davemloft.net>
62233         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
62234         using a normal save/restore sequence, rather than allocating a
62235         dummy stack frame just to store a frame pointer and restore.
62236         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
62238 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
62240         * manual/install.texi: Fix stray word in line-wrapped comment.
62242 2012-02-20  David S. Miller  <davem@davemloft.net>
62244         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
62245         both binutils and gcc support GOTDATA.
62247         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
62248         "rd %pc" in the PIC register setup sequences.
62250         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
62251         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
62252         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
62253         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
62254         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
62255         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
62256         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62257         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
62258         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
62259         (SYSCALL_ERROR_HANDLER): Likewise.
62260         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
62261         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
62262         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
62263         (SYSCALL_ERROR_HANDLER): Likewise.
62265         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
62266         (HAVE_GCC_GOTDATA): New.
62267         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
62268         relocation support in both binutils and gcc.
62269         * sysdeps/sparc/elf/configure: Regenerate.
62271         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
62272         * sysdeps/sparc/sparc32/elf/configure: Delete.
62273         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
62274         * sysdeps/sparc/sparc64/elf/configure: Delete.
62275         * sysdeps/sparc/elf/configure.in: New file.
62276         * sysdeps/sparc/elf/configure: Generate.
62278         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
62279         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
62280         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
62281         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
62282         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
62284 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
62286         * manual/install.texi: Do not mention specific glibc version
62287         numbers.
62288         * manual/libc.texinfo (VERSION, UPDATED): Update.
62289         (@copying): Use @copyright{} and range of years.
62291 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
62293         [BZ #13695]
62294         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
62295         [crti.S not in sysdirs] (generated): Do not append.
62296         [crti.S not in sysdirs] (omit-deps): Likewise.
62297         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
62298         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
62299         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
62300         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
62301         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
62302         Likewise.
62303         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
62304         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
62305         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
62306         * csu/defs.awk: Remove file.
62307         * sysdeps/generic/initfini.c: Likewise.
62308         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
62309         variable.
62310         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
62311         Likewise.
62313 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
62315         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
62316         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
62317         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
62318         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
62319         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
62320         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
62321         <bits/epoll.h>.
62322         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
62323         (__EPOLL_PACKED): Define to empty if not defined by
62324         <bits/epoll.h>.
62325         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
62326         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62327         bits/epoll.h.
62329 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
62331         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
62332         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
62333         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
62334         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
62335         <bits/timerfd.h>.
62336         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
62337         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62338         bits/timerfd.h.
62340 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
62342         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
62343         in C locale.
62344         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62345         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
62346         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
62347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62349 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
62351         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
62352         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
62354 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
62356         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
62357         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
62358         defined.
62359         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
62360         Likewise.
62361         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
62362         entry for 2.16.
62364 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
62366         * math/w_acos.c: Use non-signaling floating-point comparisons.
62367         * math/w_acosf.c: Likewise.
62368         * math/w_acosh.c: Likewise.
62369         * math/w_acoshf.c: Likewise.
62370         * math/w_acoshl.c: Likewise.
62371         * math/w_acosl.c: Likewise.
62372         * math/w_asin.c: Likewise.
62373         * math/w_asinf.c: Likewise.
62374         * math/w_asinl.c: Likewise.
62375         * math/w_atanh.c: Likewise.
62376         * math/w_atanhf.c: Likewise.
62377         * math/w_atanhl.c: Likewise.
62378         * math/w_exp2.c: Likewise.
62379         * math/w_exp2f.c: Likewise.
62380         * math/w_exp2l.c: Likewise.
62381         * math/w_j0.c: Likewise.
62382         * math/w_j0f.c: Likewise.
62383         * math/w_j0l.c: Likewise.
62384         * math/w_j1.c: Likewise.
62385         * math/w_j1f.c: Likewise.
62386         * math/w_j1l.c: Likewise.
62387         * math/w_jn.c: Likewise.
62388         * math/w_jnf.c: Likewise.
62389         * math/w_log.c: Likewise.
62390         * math/w_log10.c: Likewise.
62391         * math/w_log10f.c: Likewise.
62392         * math/w_log10l.c: Likewise.
62393         * math/w_log2.c: Likewise.
62394         * math/w_log2f.c: Likewise.
62395         * math/w_log2l.c: Likewise.
62396         * math/w_logf.c: Likewise.
62397         * math/w_logl.c: Likewise.
62398         * math/w_sqrt.c: Likewise.
62399         * math/w_sqrtf.c: Likewise.
62400         * math/w_sqrtl.c: Likewise.
62401         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
62402         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
62403         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
62404         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
62405         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
62407 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
62409         [BZ #9739]
62410         * manual/string.texi (strnlen): Use correct parameter name in
62411         equivalent expression.
62413 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
62415         [BZ #11174]
62416         * manual/users.texi (seteuid): Consistently use neweuid for
62417         argument name.
62419 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
62421         [BZ #13704]
62422         * manual/nss.texi (Services in the NSS configuration): Correct
62423         list of services in example configuration file.
62425 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
62427         [BZ #11322]
62428         * manual/arith.texi: Remove statements about negative zero
62429         behaving identically to zero.
62431 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
62433         [BZ #5993]
62434         * manual/install.texi: Do not document upgrading from libc5.
62436 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
62438         [BZ #4596]
62439         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
62441 2012-02-18  David S. Miller  <davem@davemloft.net>
62443         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
62444         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
62445         %o7 across the call.
62446         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
62447         instead.
62448         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
62449         SETUP_PIC_REG_LEAF.
62450         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
62451         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
62452         * sysdeps/sparc/crtn.S: Likewise.
62454 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
62456         * aout/Makefile: Remove.
62458 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
62460         [BZ #13058]
62461         * manual/examples/argp-ex1.c (main): Format definition in GNU
62462         style.
62463         * manual/examples/argp-ex2.c (main): Likewise.
62464         * manual/examples/argp-ex3.c (main): Likewise.
62465         * manual/examples/argp-ex4.c (main): Likewise.
62466         * manual/examples/longopt.c (main): Use new-style prototype
62467         definition.
62468         * manual/examples/strncat.c (main): Specify return type and use
62469         (void) for arguments.
62470         * manual/examples/subopt.c (main): Use char **argv argument.
62472 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
62474         [BZ #5077]
62475         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
62476         rounding modes.
62478 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
62480         [BZ #6907]
62481         * manual/string.texi (strchr): Change when strchrnul is
62482         recommended.
62484 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
62486         [BZ #174]
62487         * manual/locale.texi (setlocale): Document LOCPATH.
62489 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
62491         [BZ #10210]
62492         * manual/process.texi (execle): Move @dots{} before last argument.
62494 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
62496         [BZ #12047]
62497         * manual/charset.texi (Generic Charset Conversion): Fix typo
62498         (LC_TYPE -> LC_CTYPE).
62500 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
62502         [BZ #5805]
62503         * manual/arith.texi (scalbn): Use @var{} on parameter names.
62504         (scalbnf): Likewise.
62505         (scalbnl): Likewise.
62506         (scalbln): Likewise.
62507         (scalblnf): Likewise.
62508         (scalblnl): Likewise.
62509         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
62510         (vwarnx): Likewise.
62511         (verr): Likewise.
62512         (verrx): Likewise.
62513         * manual/filesys.texi (telldir): Use braces around return type.
62514         * manual/llio.texi (mmap): Add space after comma.
62515         (mmap64): Likewise.
62516         * manual/math.texi (jn): Use @var{} on parameter names.
62517         (jnf): Likewise.
62518         (jnl): Likewise.
62519         (yn): Likewise.
62520         (ynf): Likewise.
62521         (ynl): Likewise.
62522         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
62523         line.
62524         * manual/resource.texi (ulimit): Use @dots{} instead of literal
62525         "...".
62526         (sched_get_priority_min): Remove semicolon on @deftypefun line.
62527         (sched_get_priority_max): Likewise.
62528         * manual/signal.texi (sigvec): Add space after comma.
62529         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
62530         names.
62531         (if_indextoname): Likewise.
62532         (if_freenameindex): Likewise.
62533         (sendto): Use ',' instead of '.' in prototype.
62534         * manual/startup.texi (syscall): Use @dots{} instead of literal
62535         "...".
62536         * manual/stdio.texi (__fpending): Separate initial words of
62537         paragraph from @deftypefun line.
62538         * manual/syslog.texi (syslog): Use @dots{} instead of literal
62539         "...".
62540         (vsyslog): Use @var{} on parameter names.
62541         * manual/terminal.texi (stty): Use @var{} on parameter names.
62542         * manual/users.texi (getutmp): Use @var{} on parameter names.
62543         (getutmpx): Likewise.
62545 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
62547         [BZ #6884]
62548         * manual/stdio.texi (fopen): Fix typos in description of
62549         ",ccs=STRING".
62551 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
62553         [BZ #4026]
62554         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
62555         get clock_id definition.
62557 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
62559         [BZ #4822]
62560         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
62561         (madvise): Cast every argument to void on its own.
62563 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
62565         [BZ #9902]
62566         * manual/startup.texi (Exit Status): Fix typo.
62568 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
62570         [BZ #10140]
62571         * manual/examples/argp-ex1.c: Include <stdlib.h>.
62572         * manual/examples/argp-ex2.c: Likewise.
62573         * manual/examples/argp-ex3.c: Likewise.
62575 2012-02-16  Richard Henderson  <rth@redhat.com>
62577         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
62578         * sysdeps/s390/s390-32/initfini.c: Remove.
62579         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
62580         * sysdeps/s390/s390-64/initfini.c: Remove.
62582 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62584         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
62585         compiler output for sysdeps/generic/initfini.c.
62586         * sysdeps/sh/elf/initfini.c: Remove file.
62588 2012-02-16  David S. Miller  <davem@davemloft.net>
62590         [BZ #11494]
62591         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
62593         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
62594         * sysdeps/sparc/crti.S: New file.
62595         * sysdeps/sparc/crtn.S: New file.
62596         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
62597         * sysdeps/sparc/sparc64/Makefile: Likewise.
62599 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
62601         [BZ #3335]
62602         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
62604 2012-02-15  Roland McGrath  <roland@hack.frob.com>
62606         [BZ #4822]
62607         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
62609         * mach/devstream.c (cookie_io_functions_t): Macro removed.
62610         (write, read, close): Likewise.
62611         Patch by Aurelien Jarno <aurelien@aurel32.net>.
62613 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
62615         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
62616         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
62617         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
62618         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
62619         <bits/signalfd.h>.
62620         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
62621         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62622         bits/signalfd.h.
62624 2012-02-14  Marek Polacek  <polacek@redhat.com>
62626         * sysdeps/x86_64/crti.S: New file.
62627         * sysdeps/x86_64/crtn.S: New file.
62628         * sysdeps/x86_64/elf/initfini.c: Remove file.
62630 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
62632         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
62633         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
62634         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
62635         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
62636         <bits/inotify.h>.
62637         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
62638         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62639         bits/inotify.h.
62641 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
62643         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
62644         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
62645         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
62646         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
62647         <bits/eventfd.h>.
62648         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
62649         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62650         bits/eventfd.h.
62652 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
62654         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
62655         __feraiseexcept instead of feraiseexcept.
62657         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
62658         nanosleep invocations.
62659         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
62660         strings, and add error checking for a nanosleep invocations.
62662 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
62664         Replace FSF snail mail address with URLs, as per GNU coding standards.
62665         Most of the snail mail addresses were wrong anyway, and omitting
62666         them makes the source code easier to maintain.  Almost all of the
62667         changes are to license notices and to locale LC_IDENTIFICATION
62668         addresses, except for this one:
62669         * manual/libc.texinfo: In "Published by", give the FSF's URL,
62670         not its snail mail address.
62672 2012-02-09  Richard Henderson  <rth@twiddle.net>
62674         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
62675         of kernel-features.h.
62677         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
62679 2012-02-08  Marek Polacek  <polacek@redhat.com>
62681         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
62682         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
62683         * sysdeps/gnu/_G_config.h: Likewise.
62684         * sysdeps/generic/_G_config.h: Likewise.
62686 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
62688         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
62689         tests.
62690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62692         * sysdeps/powerpc/powerpc32/crti.S: New file.
62693         * sysdeps/powerpc/powerpc32/crtn.S: New file.
62694         * sysdeps/powerpc/powerpc64/crti.S: New file.
62695         * sysdeps/powerpc/powerpc64/crtn.S: New file.
62697         * Makeconfig (have-initfini): Don't set.
62698         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
62699         * configure.in (nopic_initfini): Don't substitute.
62700         * config.h.in (HAVE_INITFINI): Don't #undef.
62701         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
62702         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
62704 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
62706         Support crti.S and crtn.S provided directly by architectures.
62707         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
62708         [crti.S in sysdirs] (omit-deps): Likewise.
62709         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
62710         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
62711         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
62712         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
62713         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
62714         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
62715         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
62716         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
62717         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
62718         compiler output for sysdeps/generic/initfini.c.
62719         * sysdeps/i386/elf/Makefile: Remove file.
62720         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
62722 2012-02-07  Marek Polacek  <polacek@redhat.com>
62724         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
62725         * sysdeps/gnu/_G_config.h: Likewise.
62726         * sysdeps/mach/hurd/_G_config.h: Likewise.
62728 2012-02-07  Marek Polacek  <polacek@redhat.com>
62730         * math/Makefile (tests): Add tst-CMPLX2.
62731         * math/tst-CMPLX2.c: New file.
62733 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
62735         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
62737         * math/libm-test.inc (jn_test): Add missing L suffix.
62739 2012-02-06  Marek Polacek  <polacek@redhat.com>
62741         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
62742         * sysdeps/i386/fpu/e_powf.S: Likewise.
62743         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
62744         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
62745         * sysdeps/i386/fpu/e_acosh.S: Likewise.
62746         * sysdeps/i386/fpu/e_pow.S: Likewise.
62747         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
62748         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
62749         * sysdeps/i386/fpu/s_expm1.S: Likewise.
62750         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
62751         * sysdeps/i386/fpu/e_log2.S: Likewise.
62752         * sysdeps/i386/fpu/e_log2l.S: Likewise.
62753         * sysdeps/i386/fpu/e_scalb.S: Likewise.
62754         * sysdeps/i386/fpu/e_powl.S: Likewise.
62755         * sysdeps/i386/fpu/s_log1p.S: Likewise.
62756         * sysdeps/i386/fpu/e_log10f.S: Likewise.
62757         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
62758         * sysdeps/i386/fpu/e_logl.S: Likewise.
62759         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
62760         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
62761         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
62762         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
62763         * sysdeps/i386/fpu/e_log2f.S: Likewise.
62764         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
62765         * sysdeps/i386/fpu/e_log.S: Likewise.
62766         * sysdeps/i386/fpu/s_cexp.S: Likewise.
62767         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
62768         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
62769         * sysdeps/i386/fpu/e_logf.S: Likewise.
62770         * sysdeps/i386/fpu/e_log10l.S: Likewise.
62771         * sysdeps/i386/fpu/e_atanh.S: Likewise.
62772         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
62773         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
62774         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
62775         * sysdeps/i386/fpu/e_log10.S: Likewise.
62776         * sysdeps/i386/fpu/s_frexp.S: Likewise.
62777         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
62778         * sysdeps/i386/fpu/s_asinh.S: Likewise.
62779         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
62780         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
62781         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
62782         * sysdeps/i386/asm-syntax.h: Likewise.
62783         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
62784         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
62785         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
62786         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
62787         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
62788         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
62789         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
62790         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
62791         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
62792         * sysdeps/powerpc/sysdep.h: Likewise.
62793         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
62794         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
62796 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
62798         [BZ #411]
62799         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
62801 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
62803         * sysdeps/i386/sysdep.h: Include <features.h>.
62804         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
62805         version.
62807 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
62809         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
62810         Define.
62811         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
62812         LOAD_PIC_REG_STR.
62814 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
62816         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
62817         (SETUP_PIC_REG): Use GET_PC_THUNK.
62818         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
62819         macro.
62821 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
62823         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
62824         for non-PIC compilation.
62825         (SETUP_PIC_REG): Add .p2align directive.
62826         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
62827         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
62828         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
62829         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
62830         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
62831         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
62832         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
62833         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
62834         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
62835         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
62836         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
62837         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
62838         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
62839         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
62840         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
62841         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
62842         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
62843         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
62844         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
62845         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
62846         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
62847         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
62848         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
62849         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
62850         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
62851         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
62852         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
62853         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
62854         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
62855         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
62856         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
62857         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
62858         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
62859         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
62860         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
62861         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
62862         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
62863         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
62864         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
62865         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
62866         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
62868 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
62870         * math/tst-CMPLX.c: Include <stdio.h>.
62872 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
62874         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
62875         float.
62876         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
62877         * sysdeps/sparc/bits/mathdef.h: Likewise.
62879 2012-01-31  Marek Polacek  <polacek@redhat.com>
62881         * libio/libio.h: Don't define _PARAMS.
62882         * locale/programs/config.h: Don't define PARAMS.
62883         * stdlib/strtol_l.c: Likewise.
62884         (__strtol_l): Remove PARAMS from the prototype.
62886 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
62888         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
62889         names.  Just use the correct names.  Remove unnecessary wrapper
62890         functions.
62891         * malloc/arena.c: Likewise.
62892         * malloc/hooks.c: Likewise.
62894         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
62895         ARENA_TEST says not to.  Simplify test for creation of a new arena.
62896         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
62898 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
62900         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
62901         into tail calls.
62902         (update_get_addr): New function.
62903         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
62904         GET_ADDR_MODULE parameter.
62906 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
62908         * crypt/cert.c: Remove __STDC__ conditionals.
62909         * crypt/crypt-entry.c: Likewise.
62910         * crypt/crypt_util.c: Likewise.
62911         * libio/filedoalloc.c: Likewise.
62912         * libio/fileops.c: Likewise.
62913         * libio/genops.c: Likewise.
62914         * libio/iofclose.c: Likewise.
62915         * libio/iofdopen.c: Likewise.
62916         * libio/iofopen.c: Likewise.
62917         * libio/iofopen64.c: Likewise.
62918         * libio/iogetdelim.c: Likewise.
62919         * libio/iopopen.c: Likewise.
62920         * libio/obprintf.c: Likewise.
62921         * libio/oldfileops.c: Likewise.
62922         * libio/oldiofclose.c: Likewise.
62923         * libio/oldiofdopen.c: Likewise.
62924         * libio/oldiofopen.c: Likewise.
62925         * libio/oldiopopen.c: Likewise.
62926         * libio/wfiledoalloc.c: Likewise.
62927         * libio/wgenops.c: Likewise.
62928         * locale/programs/xmalloc.c: Likewise.
62929         * misc/syslog.c: Likewise.
62930         * stdio-common/xbug.c: Likewise.
62931         * string/memchr.c: Likewise.
62932         * string/memcmp.c: Likewise.
62933         * string/memrchr.c: Likewise.
62934         * string/rawmemchr.c: Likewise.
62935         * sysdeps/posix/getcwd.c: Likewise.
62936         * time/strftime_l.c: Likewise.
62938 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
62940         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
62941         * config.make.in (config-cflags-sse2avx): Define.
62942         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
62943         Fix typo.
62945 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
62947         * scripts/config.guess: Update from upstream config git repository.
62948         * scripts/config.sub: Likewise.
62950 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
62952         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
62953         (EM_NUM): Update.
62954         (R_TILEPRO_*, R_TILEGX_*): New macros.
62956         * scripts/firstversions.awk: Fix bug in version range handling.
62958         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
62960         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
62962         * include/sys/epoll.h: New file.
62963         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
62964         libc_hidden_def.
62966 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
62968         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
62969         Avoid unnecessary __WORDSIZE == 64 test.
62970         (fmaxf): Use VEX format if possible.
62971         (fmax): Likewise.
62972         (fminf): Likewise.
62973         (fmin): Likewise.
62975         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
62976         * math/math_private.h: Remove libc_fegetround* and
62977         libc_fesetround*.
62978         * sysdeps/i386/configure.in: Check for -msse2avx.
62979         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
62980         also if SSE2AVX is defined.
62981         Remove libc_fegetround* and libc_fesetround*.
62982         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
62983         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
62984         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
62985         of HAS_YMM_USABLE.
62986         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
62987         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
62988         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
62989         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
62990         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
62992         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
62994 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62996         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
62997         size is not set.
62998         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
63000 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
63002         [BZ #13618]
63003         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
63004         relocation.
63005         * Makeconfig (libm): Define.
63006         * elf/Makefile: Add rules to build and run tst-relsort1.
63007         * elf/tst-relsort1.c: New file.
63008         * elf/tst-relsort1mod1.c: New file.
63009         * elf/tst-relsort1mod2.c: New file.
63011 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
63013         * math/s_ldexp.c: Remove __STDC__ conditionals.
63014         * math/s_ldexpf.c: Likewise.
63015         * math/s_ldexpl.c: Likewise.
63016         * math/s_nextafter.c: Likewise.
63017         * math/s_nexttowardf.c: Likewise.
63018         * math/s_significand.c: Likewise.
63019         * math/s_significandf.c: Likewise.
63020         * math/s_significandl.c: Likewise.
63021         * math/w_jnl.c: Likewise.
63022         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
63023         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
63024         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
63025         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
63026         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
63027         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
63028         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
63029         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
63030         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
63031         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
63032         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
63033         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
63034         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
63035         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
63036         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
63037         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
63038         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
63039         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
63040         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
63041         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
63042         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
63043         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
63044         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
63045         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
63046         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
63047         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
63048         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
63049         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
63050         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
63051         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
63052         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
63053         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
63054         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
63055         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
63056         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
63057         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
63058         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
63059         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
63060         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
63061         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
63062         * sysdeps/ieee754/k_standard.c: Likewise.
63063         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
63064         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
63065         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
63066         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
63067         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
63068         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
63069         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
63070         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
63071         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
63072         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
63073         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
63074         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
63075         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
63076         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
63077         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
63078         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
63079         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
63080         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
63081         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
63082         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
63083         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
63084         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
63085         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
63086         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
63087         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
63088         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
63089         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
63090         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
63091         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
63092         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
63093         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
63094         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
63095         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
63096         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
63097         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
63098         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
63099         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
63100         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
63101         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
63102         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
63103         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
63104         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
63105         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
63106         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
63107         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
63108         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
63109         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
63110         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
63111         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
63112         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
63113         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
63114         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
63115         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
63116         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
63117         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
63118         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
63119         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
63120         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
63121         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
63122         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
63123         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
63124         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
63125         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
63126         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
63127         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
63128         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
63129         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
63130         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
63131         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
63132         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
63133         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
63134         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
63135         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
63136         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
63137         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
63138         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
63139         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
63140         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
63141         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
63142         * sysdeps/ieee754/s_matherr.c: Likewise.
63143         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
63144         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
63145         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
63146         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
63148 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
63150         * crypt/md5.h: Remove __STDC__ conditionals.
63151         * libio/libioP.h: Likewise.
63152         * locale/programs/config.h: Likewise.
63153         * sysdeps/generic/sysdep.h: Likewise.
63154         * sysdeps/i386/asm-syntax.h: Likewise.
63155         * sysdeps/s390/asm-syntax.h: Likewise.
63156         * sysdeps/unix/sysdep.h: Likewise.
63157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
63158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
63160 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
63162         * libio/libio.h: Remove __STDC__ conditionals.
63163         * malloc/obstack.h: Likewise.
63164         * math/complex.h: Likewise.
63165         * math/math.h: Likewise.
63166         * sysdeps/generic/_G_config.h: Likewise.
63167         * sysdeps/gnu/_G_config.h: Likewise.
63168         * sysdeps/mach/hurd/_G_config.h: Likewise.
63169         * sysdeps/powerpc/bits/mathdef.h: Likewise.
63170         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
63171         * sysdeps/sparc/bits/mathdef.h: Likewise.
63173 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
63175         [BZ #13583]
63176         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
63177         Clean up HAS_* macros.
63178         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
63179         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
63180         possible.
63181         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
63182         HAS_AVX.
63183         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
63184         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
63185         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
63186         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
63187         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
63189 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
63191         * elf/tst-unique3.cc (gets): Remove declaration.
63192         * elf/tst-unique3lib.cc (gets): Likewise.
63193         * elf/tst-unique3lib2.cc (gets): Likewise.
63194         * elf/tst-unique4.cc (gets): Likewise.
63196 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
63198         * include/stdio.h: Add C++ protection.  Add gets declarations and
63199         definitions.
63200         * debug/tst-chk1.c: Don't declare gets here.
63201         * stdio-common/tst-gets.c: Likewise.
63203 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
63205         * posix/glob: Remove directory.
63207 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
63209         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
63211 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
63213         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
63214         of the non-standard EPFNOSUPPORT.
63216 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63218         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
63219         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
63220         ANYWHERE set to 1 only on KERN_NO_SPACE error.
63222 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
63224         * wcsmbs/uchar.h: Test __STDC_VERSION__.
63226 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
63228         * nscd/aicache.c (addhstaiX): Do not cache negative results of
63229         transient errors.
63230         * nscd/grpcache.c (cache_addgr): Likewise.
63231         * nscd/hstcache.c (cache_addhst): Likewise.
63232         * nscd/initgrcache.c (addinitgroupsX): Likewise.
63233         * nscd/pwdcache.c (cache_addpw): Likewise.
63234         * nscd/servicescache.c (cache_addserv): Likewise.
63236 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
63238         * malloc/malloc.c: Various cleanups.
63239         * malloc/hooks.c: Likewise.
63241         * stdlib/Makefile (tests): Add bug-fmtmsg1.
63242         * stdlib/bug-fmtmsg1.c: New file.
63244         * stdlib/fmtmsg.c (init): Add missing unlock.
63245         Patch by Peng Haitao <penght@cn.fujitsu.com>.
63247 2012-01-12  Marek Polacek  <polacek@redhat.com>
63249         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
63250         and _GNU_SOURCE.
63252 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
63254         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
63255         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
63256         macro to ensure uniqueness of label name.
63257         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
63258         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
63260 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
63262         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
63264         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
63265         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
63266         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
63267         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
63269 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
63271         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
63273         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
63274         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
63275         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
63277         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
63279         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
63280         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
63281         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
63282         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
63284         * math/bits/math-finite.h: Add ldexp support.
63286 2012-01-10  Marek Polacek  <polacek@redhat.com>
63288         * locale/programs/localedef.h (show_archive_content): Add noreturn
63289         attribute.
63291 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
63293         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
63295 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
63297         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
63299         * io/Makefile (headers): Add bits/poll2.h.
63301 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
63303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
63304         typo #include statement.
63306 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
63308         * include/sys/cdefs.h: Define __attribute_alloc_size.
63309         * catgets/gencat.c: Add alloc_size attribute and apply consistently
63310         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
63311         * elf/pldd.c: Likewise.
63312         * iconv/iconv_charmap.c: Likewise.
63313         * iconv/iconvconfig.c: Likewise.
63314         * iconv/strtab.c: Likewise.
63315         * locale/programs/locale.c: Likewise.
63316         * locale/programs/localedef.h: Likewise.
63317         * locale/programs/simple-hash.c: Likewise.
63318         * nscd/nscd.h: Likewise.
63319         * nss/makedb.c: Likewise.
63320         * sysdeps/generic/ldconfig.h: Likewise.
63321         * locale/programs/localedef.c: Remove xmalloc prototype.
63322         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
63324 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
63326         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
63327         appropriate.
63329 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
63331         * math/Makefile (tests): Add tst-CMPLX.
63332         * math/tst-CMPLX.c: New file.
63334         * math/complex.h (CMPLXL): Fix typo.
63336         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
63337         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
63338         GLIBC_2.16.
63339         * debug/tst-chk1.c: Add poll and ppoll tests.
63340         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
63341         * include/sys/poll.h: Add hidden proto for ppoll.
63342         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
63343         * sysdeps/mach/hurd/ppoll.c: Likewise.
63344         * io/ppoll.c: Likewise.
63345         * debug/poll_chk.c: New file.
63346         * debug/ppoll_chk.c: New file.
63347         * include/bits/poll2.h: New file.
63348         * io/bits/poll2.h: New file.
63350         [BZ #1350]
63351         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
63353         * configure.in: static is always set to yes.  Remove.
63354         * config.make.in: Don't set build-static.
63355         * Makeconfig: Remove use of build-static.
63356         * dlfcn/Makefile: Likewise.
63357         * elf/Makefile: Likewise.
63358         * math/Makefile: Likewise.
63359         * misc/Makefile: Likewise.
63360         * nptl/Makefile: Likewise.
63361         * sysdeps/mach/hurd/Makefile: Likewise.
63363         * configure.in: PWD_P is not used anymore.
63364         * config.make.in: Remove PWD_P entry.
63366         * configure.in: Remove last remnants of RANLIB.
63367         No need to check for signed size_t anymore.
63368         Don't set libc_commonpagesize and libc_relro_required here for Alpha
63369         and IA-64.
63370         Remove __builtin_expect test because we require at least gcc 3.4.
63371         * aclocal.m4: Likewise.
63373         * wcsmbs/mbrtoc16.c: Implement using towc function.
63374         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
63375         * wcsmbs/wcsmbsload.c: Likewise.
63376         * iconv/gconv_simple.c: Likewise.
63377         * iconv/gconv_int.h: Likewise.
63378         * iconv/gconv_builtin.h: Likewise.
63379         * iconv/iconv_prog.c: Remove CHAR16 handling.
63381         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
63383         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
63385         * configure.in: Remove --with-elf and --enable-bounded options.
63386         Dont set base_machine for ia64.  More non-ELF conditions removed.
63387         Remove testing and setting of leading underscore information.
63388         * config.make.in (build-bounded): Set to no.
63389         * config.h.in: Remove NO_UNDERSCORES entry.
63390         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
63391         them.
63392         * csu/start.c: Remove !NO_UNDERSCORE code.
63393         * locale/localeinfo.h: Likewise.
63394         * sysdeps/generic/machine-gmon.h: Likewise.
63395         * sysdeps/generic/sysdep.h: Likewise.
63396         * sysdeps/i386/sysdep.h: Likewise.
63397         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
63398         * sysdeps/mach/sysdep.h: Likewise.
63399         * sysdeps/s390/s390-32/sysdep.h: Likewise.
63400         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63401         * sysdeps/sh/sysdep.h: Likewise.
63402         * sysdeps/sparc/sparc32/alloca.S: Likewise.
63403         * sysdeps/unix/i386/sysdep.S: Likewise.
63404         * sysdeps/unix/sparc/start.c: Likewise.
63405         * sysdeps/unix/sparc/sysdep.S: Likewise.
63406         * sysdeps/unix/sparc/sysdep.h: Likewise.
63407         * sysdeps/unix/start.c: Likewise.
63408         * sysdeps/unix/x86_64/sysdep.S: Likewise.
63409         * sysdeps/x86_64/sysdep.h: Likewise.
63411 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
63413         [BZ #13553]
63414         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
63415         for non-gcc.
63416         * argp/argp-fmtstream.h: Use const instead __const.
63417         * argp/argp.h: Likewise.
63418         * assert/assert.h: Likewise.
63419         * bits/fenv.h: Likewise.
63420         * bits/sched.h: Likewise.
63421         * bits/sigset.h: Likewise.
63422         * bits/sigthread.h: Likewise.
63423         * catgets/nl_types.h: Likewise.
63424         * conform/data/pthread.h-data: Likewise.
63425         * crypt/crypt-private.h: Likewise.
63426         * crypt/crypt.h: Likewise.
63427         * crypt/crypt_util.c: Likewise.
63428         * ctype/ctype.h: Likewise.
63429         * debug/execinfo.h: Likewise.
63430         * debug/mbsnrtowcs_chk.c: Likewise.
63431         * debug/mbsrtowcs_chk.c: Likewise.
63432         * debug/wcsnrtombs_chk.c: Likewise.
63433         * debug/wcsrtombs_chk.c: Likewise.
63434         * debug/wcstombs_chk.c: Likewise.
63435         * dirent/dirent.h: Likewise.
63436         * dlfcn/dlfcn.h: Likewise.
63437         * elf/neededtest4.c: Likewise.
63438         * grp/grp.h: Likewise.
63439         * gshadow/gshadow.h: Likewise.
63440         * iconv/gconv.h: Likewise.
63441         * iconv/gconv_int.h: Likewise.
63442         * iconv/gconv_simple.c: Likewise.
63443         * iconv/iconv.h: Likewise.
63444         * iconv/loop.c: Likewise.
63445         * iconv/skeleton.c: Likewise.
63446         * include/aio.h: Likewise.
63447         * include/aliases.h: Likewise.
63448         * include/argz.h: Likewise.
63449         * include/arpa/inet.h: Likewise.
63450         * include/assert.h: Likewise.
63451         * include/dirent.h: Likewise.
63452         * include/dlfcn.h: Likewise.
63453         * include/execinfo.h: Likewise.
63454         * include/fcntl.h: Likewise.
63455         * include/fenv.h: Likewise.
63456         * include/glob.h: Likewise.
63457         * include/grp.h: Likewise.
63458         * include/libintl.h: Likewise.
63459         * include/mntent.h: Likewise.
63460         * include/netdb.h: Likewise.
63461         * include/pwd.h: Likewise.
63462         * include/rpc/netdb.h: Likewise.
63463         * include/sched.h: Likewise.
63464         * include/search.h: Likewise.
63465         * include/shadow.h: Likewise.
63466         * include/signal.h: Likewise.
63467         * include/stdio.h: Likewise.
63468         * include/stdlib.h: Likewise.
63469         * include/string.h: Likewise.
63470         * include/sys/socket.h: Likewise.
63471         * include/sys/stat.h: Likewise.
63472         * include/sys/statfs.h: Likewise.
63473         * include/sys/statvfs.h: Likewise.
63474         * include/sys/syslog.h: Likewise.
63475         * include/sys/time.h: Likewise.
63476         * include/sys/uio.h: Likewise.
63477         * include/time.h: Likewise.
63478         * include/unistd.h: Likewise.
63479         * include/utmp.h: Likewise.
63480         * include/wchar.h: Likewise.
63481         * include/wctype.h: Likewise.
63482         * inet/aliases.h: Likewise.
63483         * inet/arpa/inet.h: Likewise.
63484         * inet/netinet/ether.h: Likewise.
63485         * inet/netinet/in.h: Likewise.
63486         * intl/libintl.h: Likewise.
63487         * io/bits/fcntl2.h: Likewise.
63488         * io/fcntl.h: Likewise.
63489         * io/ftw.h: Likewise.
63490         * io/sys/poll.h: Likewise.
63491         * io/sys/stat.h: Likewise.
63492         * io/sys/statfs.h: Likewise.
63493         * io/sys/statvfs.h: Likewise.
63494         * io/utime.h: Likewise.
63495         * libio/bits/stdio.h: Likewise.
63496         * libio/bits/stdio2.h: Likewise.
63497         * libio/libio.h: Likewise.
63498         * libio/libioP.h: Likewise.
63499         * libio/stdio.h: Likewise.
63500         * locale/lc-ctype.c: Likewise.
63501         * locale/locale.h: Likewise.
63502         * login/utmp.h: Likewise.
63503         * malloc/arena.c: Likewise.
63504         * malloc/malloc.c: Likewise.
63505         * malloc/malloc.h: Likewise.
63506         * malloc/mcheck.c: Likewise.
63507         * malloc/mtrace.c: Likewise.
63508         * math/bits/mathcalls.h: Likewise.
63509         * math/fenv.h: Likewise.
63510         * math/math_private.h: Likewise.
63511         * misc/bits/error.h: Likewise.
63512         * misc/bits/syslog.h: Likewise.
63513         * misc/err.h: Likewise.
63514         * misc/error.h: Likewise.
63515         * misc/fstab.h: Likewise.
63516         * misc/mntent.h: Likewise.
63517         * misc/regexp.h: Likewise.
63518         * misc/search.h: Likewise.
63519         * misc/sgtty.h: Likewise.
63520         * misc/sys/mman.h: Likewise.
63521         * misc/sys/syslog.h: Likewise.
63522         * misc/sys/uio.h: Likewise.
63523         * misc/sys/xattr.h: Likewise.
63524         * misc/ttyent.h: Likewise.
63525         * nis/rpcsvc/ypclnt.h: Likewise.
63526         * nss/nss.h: Likewise.
63527         * posix/bits/unistd.h: Likewise.
63528         * posix/fnmatch.h: Likewise.
63529         * posix/glob.h: Likewise.
63530         * posix/sched.h: Likewise.
63531         * posix/spawn.h: Likewise.
63532         * posix/sys/wait.h: Likewise.
63533         * posix/unistd.h: Likewise.
63534         * posix/wordexp.h: Likewise.
63535         * pwd/pwd.h: Likewise.
63536         * resolv/netdb.h: Likewise.
63537         * resource/sys/resource.h: Likewise.
63538         * rt/aio.h: Likewise.
63539         * rt/bits/mqueue2.h: Likewise.
63540         * rt/mqueue.h: Likewise.
63541         * shadow/shadow.h: Likewise.
63542         * signal/signal.h: Likewise.
63543         * socket/send.c: Likewise.
63544         * socket/sendto.c: Likewise.
63545         * socket/sys/socket.h: Likewise.
63546         * stdio-common/printf.h: Likewise.
63547         * stdlib/bits/stdlib.h: Likewise.
63548         * stdlib/fmtmsg.h: Likewise.
63549         * stdlib/monetary.h: Likewise.
63550         * stdlib/stdlib.h: Likewise.
63551         * stdlib/ucontext.h: Likewise.
63552         * streams/stropts.h: Likewise.
63553         * string/argz.h: Likewise.
63554         * string/bits/string2.h: Likewise.
63555         * string/string.h: Likewise.
63556         * string/strings.h: Likewise.
63557         * sunrpc/rpc/auth.h: Likewise.
63558         * sunrpc/rpc/auth_des.h: Likewise.
63559         * sunrpc/rpc/clnt.h: Likewise.
63560         * sunrpc/rpc/netdb.h: Likewise.
63561         * sunrpc/rpc/pmap_clnt.h: Likewise.
63562         * sunrpc/rpc/xdr.h: Likewise.
63563         * sysdeps/generic/inttypes.h: Likewise.
63564         * sysdeps/generic/net/if.h: Likewise.
63565         * sysdeps/generic/sys/swap.h: Likewise.
63566         * sysdeps/gnu/net/if.h: Likewise.
63567         * sysdeps/gnu/utmpx.h: Likewise.
63568         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
63569         * sysdeps/i386/i486/bits/string.h: Likewise.
63570         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
63571         * sysdeps/s390/bits/string.h: Likewise.
63572         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
63573         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
63574         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
63575         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
63576         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
63577         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
63578         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
63579         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
63580         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
63581         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
63582         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
63583         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
63584         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
63585         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
63586         * sysdeps/unix/sysv/linux/readv.c: Likewise.
63587         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
63588         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
63589         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
63590         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
63591         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
63592         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
63593         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
63594         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
63595         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
63596         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
63597         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
63598         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
63599         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
63600         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
63601         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
63602         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
63603         * sysvipc/sys/ipc.h: Likewise.
63604         * sysvipc/sys/msg.h: Likewise.
63605         * sysvipc/sys/sem.h: Likewise.
63606         * sysvipc/sys/shm.h: Likewise.
63607         * termios/termios.h: Likewise.
63608         * time/sys/time.h: Likewise.
63609         * time/time.h: Likewise.
63610         * wcsmbs/bits/wchar2.h: Likewise.
63611         * wcsmbs/uchar.h: Likewise.
63612         * wcsmbs/wchar.h: Likewise.
63613         * wctype/wctype.h: Likewise.
63615         [BZ #13551]
63616         * Makeconfig: Remove all but ELF support including AIX support.
63617         * Makerules: Likewise.
63618         * config.h.in: Likewise.
63619         * config.make.in: Likewise.
63620         * configure: Likewise.
63621         * configure.in: Likewise.
63622         * csu/Makefile: Likewise.
63623         * csu/version.c: Likewise.
63624         * debug/Makefile: Likewise.
63625         * dlfcn/Makefile: Likewise.
63626         * elf/Makefile: Likewise.
63627         * extra-lib.mk: Likewise.
63628         * iconv/Makefile: Likewise.
63629         * include/libc-symbols.h: Likewise.
63630         * include/shlib-compat.h: Likewise.
63631         * resolv/Makefile: Likewise.
63632         * resolv/res_libc.c: Likewise.
63633         * rt/Makefile: Likewise.
63634         * sysdeps/i386/asm-syntax.h: Likewise.
63635         * sysdeps/i386/sysdep.h: Likewise.
63636         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
63637         * sysdeps/mach/sysdep.h: Likewise.
63638         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
63639         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
63640         * sysdeps/s390/asm-syntax.h: Likewise.
63641         * sysdeps/s390/s390-32/sysdep.h: Likewise.
63642         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63643         * sysdeps/sh/sysdep.h: Likewise.
63644         * sysdeps/unix/sparc/sysdep.h: Likewise.
63645         * sysdeps/wordsize-32/divdi3.c: Likewise.
63646         * sysdeps/x86_64/sysdep.h: Likewise.
63648         * argp/Versions: Remove _argp_unlock_xxx.
63650         [BZ #13559]
63651         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
63652         * abilist/libBrokenLocale.abilist: Likewise.
63653         * abilist/libanl.abilist: Likewise.
63654         * abilist/libc.abilist: Likewise.
63655         * abilist/libcrypt.abilist: Likewise.
63656         * abilist/libdl.abilist: Likewise.
63657         * abilist/libm.abilist: Likewise.
63658         * abilist/libnsl.abilist: Likewise.
63659         * abilist/libpthread.abilist: Likewise.
63660         * abilist/libresolv.abilist: Likewise.
63661         * abilist/librt.abilist: Likewise.
63662         * abilist/libthread_db.abilist: Likewise.
63663         * abilist/libutil.abilist: Likewise.
63664         * abilist/libnss_db.abilist: New file.
63666         * scripts/abilist.awk: Add support for indirect functions.
63668         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
63670         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
63672         * shlib-versions: Remove entries for ports architectures.
63674         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
63675         files in ports.
63676         * elf/stackguard-macros.h: Remove support for IA-64.
63677         * elf/tst-auditmod1.c: Likewise.
63678         * sysdeps/generic/ldsodefs.h: Likewise.
63680         * sysdeps/unix/sysv/linux/configure.in: Ports should define
63681         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
63682         configure files.
63684         [BZ #13552]
63685         * configure.in: Remove --enable-omitfp support.
63686         * FAQ.in: Adjust.
63687         * config.make.in: Likewise.
63688         * Makeconfig: Likewise.
63689         * manual/install.texi: Likewise.
63691         In case anyone cares, the IA-64 architecture could move to ports.
63692         * sysdeps/ia64/*: Removed.
63693         * sysdeps/unix/sysv/linux/ia64/*: Removed.
63694         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
63696         [BZ #13555]
63697         * configure.in: Remove entries for unsupported architectures.
63699         [BZ #13533]
63700         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
63701         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
63702         routines.
63703         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
63704         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
63705         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
63706         fall back to using wcrtomb.
63707         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
63708         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
63709         renaming.
63710         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
63711         * wcsmbs/tst-c16c32-1.c: New file.
63713         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
63714         local variable.
63716         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
63718         * elf/tst-unique3.cc: Add explicit declaration of gets.
63719         * elf/tst-unique3lib.cc: Likewise.
63720         * elf/tst-unique3lib2.cc: Likewise.
63721         * elf/tst-unique4.cc: Likewise.
63723         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
63725 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
63727         [BZ #13566]
63728         * assert/assert.h (static_assert): Don't define for C++.
63729         * libio/stdio.h (gets): Do declare for C++ <= C++11.
63730         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
63732 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
63734         * iconv/loop.c (single loop): Fix assertion in storing of
63735         remaining bytes.
63737         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
63739 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
63741         * posix/getconf.c: Update copyright year.
63742         * nss/getent.c: Likewise.
63743         * nss/makedb.c: Likewise.
63744         * iconv/iconvconfig.c: Likewise.
63745         * iconv/iconv_prog.c: Likewise.
63746         * elf/ldconfig.c: Likewise.
63747         * elf/pldd.c: Likewise.
63748         * elf/sotruss.ksh: Likewise.
63749         * catgets/gencat.c: Likewise.
63750         * csu/version.c: Likewise.
63751         * elf/ldd.bash.in: Likewise.
63752         * elf/sprof.c (print_version): Likewise.
63753         * locale/programs/locale.c: Likewise.
63754         * locale/programs/localedef.c: Likewise.
63755         * login/programs/pt_chown.c: Likewise.
63756         * nscd/nscd.c (print_version): Likewise.
63757         * debug/xtrace.sh: Likewise.
63758         * malloc/memusage.sh: Likewise.
63759         * malloc/mtrace.pl: Likewise.
63760         * debug/catchsegv.sh: Likewise.
63762 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
63764         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
63765         pure attribute.
63767 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
63769         [BZ #13533]
63770         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
63771         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
63772         transformations.
63773         * iconv/gconv_int.h: Likewise.
63774         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
63775         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
63776         from libc for GLIBC_2.16.
63777         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
63778         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
63779         * wcsmbs/uchar.h: Really define mbstate_t.
63780         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
63781         * wcsmbs/c16rtomb.c: New file.
63782         * wcsmbs/mbrtoc16.c: New file.
63783         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
63784         for C/POSIX locale.
63785         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
63786         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
63788         * wcsmbs/wchar.h: Add missing __restrict.
63790 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
63792         [BZ #13532]
63793         * time/Makefile (routines): Add timespec_get.
63794         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
63795         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
63796         timespec for ISO C11.
63797         * time/timespec_get.c: New file.
63798         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
63799         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
63801         [BZ #13531]
63802         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
63803         * stdlib/stdlib.h: Declare aligned_alloc.
63804         * Versions.def: Add GLIBC_2.16 for libc.
63805         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
63807         [BZ 13527]
63808         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
63809         ISO C11.
63811         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
63812         code.
63814         [BZ #13528]
63815         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
63817         [BZ #13529]
63818         * assert/assert.h (static_assert): Define.
63820         * version.h: Update for 2.16 development version.
63822         [BZ #13526]
63823         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
63824         _ISOC11_SOURCE.
63826         * version.h (RELEASE): Bump for 2.15 release.
63827         * include/features.h (__GLIBC_MINOR__): Bump to 15.
63829         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
63830         Patch by Marek Polacek <mpolacek@redhat.com>.
63832         * bits/byteswap.h: Protect long long constants with __extension__.
63833         * sysdeps/i386/bits/byteswap.h: Likewise.
63834         * sysdeps/ia64/bits/byteswap.h: Likewise.
63835         * sysdeps/s390/bits/byteswap.h: Likewise.
63836         * sysdeps/x86_64/bits/byteswap.h: Likewise.
63838 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63840         [BZ #13540]
63841         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
63842         destination buffer.
63843         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
63845 2011-12-23  Marek Polacek  <polacek@redhat.com>
63847         * elf/dl-addr.c (determine_info): Add inline keyword.
63848         * elf/tst-auditmod4b.c (check_avx): Likewise.
63849         * elf/tst-auditmod6b.c (check_avx): Likewise.
63850         * elf/tst-auditmod6c.c (check_avx): Likewise.
63851         * elf/tst-auditmod7b.c (check_avx): Likewise.
63853 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
63855         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
63856         !__SSE_MATH__.
63858 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63860         [BZ #13540]
63861         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
63862         processing for last bytes.
63864 2011-08-06  Bruno Haible  <bruno@clisp.org>
63866         [BZ #13061]
63867         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
63868         U+0385, not to U+1FEE.
63870         [BZ #13062]
63871         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
63872         entry for U+00A5 U+0301.
63874 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
63876         [BZ #13166]
63877         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
63878         buffer for the output is too small.
63880         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
63881         optimization.
63883         [BZ #13185]
63884         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
63885         SSE flags if possible.
63887 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63889         [BZ #13540]
63890         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
63891         processing for last bytes.
63893 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
63895         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
63896         (syscall-list-default-options, syscall-list-default-condition)
63897         (syscall-list-includes): Define.
63898         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
63899         list of ABIs and options and #if conditions for each ABI.  Do not
63900         handle common syscalls between ABIs specially.
63901         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
63902         Remove.
63903         (syscall-list-variants, syscall-list-32bit-options)
63904         (syscall-list-32bit-condition, syscall-list-64bit-options)
63905         (syscall-list-64bit-condition): Define.
63906         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
63907         (syscall-list-variants, syscall-list-32bit-options)
63908         (syscall-list-32bit-condition, syscall-list-64bit-options)
63909         (syscall-list-64bit-condition): Define.
63910         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
63911         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/x86_64/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.
63921 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
63923         * locale/iso-639.def: Add brx entry.
63925         [BZ #13328]
63926         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
63927         Proposed by Mariusz_Cukr <marcukr@op.pl>.
63929         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
63930         __feraiseexcept_renamed.
63932 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
63934         [BZ #13538]
63935         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
63936         EPOLLET with unsigned values.
63937         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
63938         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
63940         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
63941         to large cancellation.
63942         * math/s_cacoshf.c: Likewise.
63943         * math/s_cacoshl.c: Likewise.
63945 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
63947         [BZ #13305]
63948         [BZ #12786]
63949         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
63950         * math/s_cacoshf.c: Likewise.
63951         * math/s_cacoshl.c: Likewise.
63953 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
63955         [BZ #13439]
63956         * iconv/gconv.h: Define __GCONV_SWAP.
63957         * iconvdata/unicode.c: The swap bit must be stored in __flags.
63958         * iconvdata/utf-16.c: Likewise.
63959         * iconvdata/utf-32.c: Likewise.
63961 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
63963         [BZ #13524]
63964         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
63965         numerator after shifting it by one limb.
63967 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
63969         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
63970         under [__USE_EXTERN_INLINES].
63972 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
63974         [BZ #13446]
63975         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
63977 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63979         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
63980         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
63981         optimized code.
63982         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
63983         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
63984         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
63985         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
63986         for strncasecmp/strncasecmp_l compilation.
63987         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
63988         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
63990 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
63992         [BZ #13484]
63993         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
63994         of __asm__.
63996 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
63998         [BZ #13506]
63999         * time/tzfile.c (__tzfile_read): Check values from file header.
64001 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
64003         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
64004         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
64005         * powerpc/powerpc32/dl-start.S: Likewise.
64006         * powerpc/powerpc32/elf/start.S: Likewise.
64007         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
64008         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
64009         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
64010         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
64011         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
64012         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
64013         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
64014         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
64015         * powerpc/powerpc32/fpu/s_round.S: Likewise.
64016         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
64017         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
64018         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
64019         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
64020         * powerpc/powerpc32/memset.S: Likewise.
64021         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
64022         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
64023         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
64024         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
64025         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
64026         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
64027         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
64028         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
64029         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
64030         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
64031         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
64032         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
64033         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
64035 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64037         * math/libm-test.inc: Added more nearbyint tests.
64038         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
64039         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
64040         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
64041         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
64043 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
64045         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
64046         FD_CLOEXEC.
64048 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64050         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
64051         Add wcscpy-ssse3 wcscpy-c.
64052         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
64053         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
64054         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
64055         * sysdeps/x86_64/wcschr.S: New file.
64056         * sysdeps/x86_64/wcsrchr.S: New file.
64057         * string/test-strcmp.c: Remove checking of wcscmp function for
64058         wrong alignments.
64059         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
64060         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
64061         wcsrchr-sse2 wcsrchr-c.
64062         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
64063         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
64064         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
64065         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
64066         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
64067         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
64068         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
64069         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
64070         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
64071         * wcsmbc/wcschr.c (WCSCHR): New macro.
64073 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64075         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
64076         * wcsmbs/test-wcsrchr.c: New file.
64077         * string/test-strrchr.c: Add wcsrchr support.
64078         (WIDE): New macro.
64079         * wcsmbs/test-wcscpy.c: New file.
64080         * string/test-strcpy.c: Add wcscpy support.
64081         (WIDE): New macro.
64083 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
64085         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
64086         the inner loop.
64088 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
64090         [BZ #13472]
64091         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
64093 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
64095         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
64096         Minor optimizations.
64098         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
64099         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
64100         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
64102 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
64104         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
64105         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
64106         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
64107         for gcc to avoid warnings.
64108         * inet/Makefile (tests): Add tst-checks.
64109         * inet/tst-checks.c: New file.
64111         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
64112         warning.
64114         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
64115         __wmemcmp_sse2.
64117         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
64118         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
64120         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
64122 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
64124         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
64125         problem.
64127         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
64129 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
64131         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
64132         conditional on GCC version.
64133         (__arch_compare_and_exchange_val_8_acq)
64134         (__arch_compare_and_exchange_val_16_acq)
64135         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
64136         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
64137         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
64139 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
64141         * sysdeps/sh/backtrace.c: New file.
64143 2011-12-02  Andreas Schwab  <schwab@redhat.com>
64145         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
64146         parenthesis.
64148 2011-12-01  Andreas Schwab  <schwab@redhat.com>
64150         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
64151         falling back to utime.
64153 2011-11-30  Andreas Schwab  <schwab@redhat.com>
64155         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
64156         expectations for float.
64158 2011-11-29  Andreas Schwab  <schwab@redhat.com>
64160         * locale/weight.h (findidx): Add parameter len.
64161         * locale/weightwc.h (findidx): Likewise.
64162         * posix/fnmatch_loop.c (FCT): Adjust caller.
64163         * posix/regcomp.c (build_equiv_class): Likewise.
64164         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
64165         * posix/regexec.c (check_node_accept_bytes): Likewise.
64166         * string/strcoll_l.c (STRCOLL): Likewise.
64167         * string/strxfrm_l.c (STRXFRM): Likewise.
64169 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
64171         * Makefile.in: Remove CVSOPT handling.
64172         * configure.in: Remove use of AC_REVISION.
64173         * iconvdata/Makefile (distribute): No need to filter out CVS.
64174         * scripts/list-sources.sh: Remove CVS, subversion and monotone
64175         handling.
64177 2011-11-16  Andreas Schwab  <schwab@redhat.com>
64179         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
64180         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
64181         [USE_AS_STRNCASECMP_L]: Likewise.
64182         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
64183         NO_TLS_DIRECT_SEG_REFS.
64184         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
64185         Fix argument offsets for non-PIC.
64186         [USE_AS_STRNCASECMP_L]: Likewise.
64187         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
64188         NO_TLS_DIRECT_SEG_REFS.
64190 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
64192         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
64193         O_CLOEXEC.
64194         * locale/loadlocale.c (_nl_load_locale): Likewise.
64196 2011-11-15  Andreas Schwab  <schwab@redhat.com>
64198         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
64199         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
64200         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
64201         (SYSCALL_GETTIME): Set errno on error.
64203         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
64204         count references to noai6ai_cached.
64206 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
64208         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
64210         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
64211         FD_CLOEXEC for /proc/self/maps.
64213         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
64214         FD_CLOEXEC for /proc/meminfo.
64216         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
64217         gai.conf.
64219         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
64220         FD_CLOEXEC for given file.
64222         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
64224         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
64225         FD_CLOEXEC for /etc/hosts.
64226         (_gethtent): Likewise.
64228         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
64230         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
64231         cancellation and set FD_CLOEXEC for /etc/netgroup.
64233         * nss/nss_files/files-key.c (search): Don't allow cancellation when
64234         reading /etc/publickey.
64236         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
64237         allow cancellation when reading /etc/group.
64239         * nss/nss_files/files-alias.c (internal_setent): Don't allow
64240         cancellation.
64241         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
64243         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
64244         when using data file.
64246         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
64248         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
64249         (write_nis_obj): Use "c" and "e" in fopen.
64251         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
64253         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
64255         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
64257         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
64259         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
64260         locale.alias.
64262         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
64264         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
64266         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
64268         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
64269         file parsing and set FD_CLOEXEC.
64271 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
64273         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
64275 2011-11-14  Andreas Schwab  <schwab@redhat.com>
64277         * malloc/arena.c (arena_get2): Don't call reused_arena when
64278         _int_new_arena failed.
64280 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
64282         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
64283         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
64284         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
64285         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
64286         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
64287         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
64288         to compile strcasecmp and strncasecmp.
64289         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
64290         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
64292         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
64294 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
64296         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
64297         locale-defines.sym to gen-as-const-headers.
64298         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
64299         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
64300         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
64301         to compile strcasecmp and strncasecmp.
64302         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
64303         strcasecmp_l and strncasecmp_l.
64304         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
64305         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
64306         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
64307         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
64308         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
64309         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
64310         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
64311         * sysdeps/i386/i686/multiarch/strncase.S: New file.
64312         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
64313         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
64314         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
64316 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
64318         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
64319         result of SYSDEP_GETTIME_CPU to retval.
64320         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
64321         parameter list to macro.  Remove trailing semicolon.  Adjust users.
64323         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
64324         variable.
64326         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
64327         mantissa words.
64328         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
64330         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
64331         from unused variable.
64333         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
64334         DWARF definitions.
64335         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
64336         for assembling.
64338         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
64339         over namespaces.
64341         * sunrpc/rpc_prot.c (rejected): Fix case value.
64343         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
64344         unsigned long long int to avoid warnings in shift.
64346         * posix/regex_internal.c (re_string_reconstruct): Actually use result
64347         of use of trans.
64348         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
64349         variable tmp.
64351         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
64352         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
64353         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
64355         * nis/nis_table.c (nis_list): Use variable of correct type for
64356         result of __follow_path call.
64358 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64360         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
64361         of math functions ceil, trunc, floor, round, and sqrt, when
64362         avaliable on the platform.
64363         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
64364         name clash.
64365         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
64366         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
64367         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
64369 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
64371         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
64372         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
64374 2011-11-11  Roland McGrath  <roland@hack.frob.com>
64376         * include/unistd.h: Fix __readlink return type.
64377         Reported by Chris Metcalf <cmetcalf@tilera.com>.
64379 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
64381         * stdlib/ucontext.h: Undo last change for makecontext.
64383 2011-11-11  Andreas Schwab  <schwab@redhat.com>
64385         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
64387         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
64388         * setjmp/setjmp.h: Mark functions as non-leaf.
64389         * setjmp/bits/setjmp2.h: Likewise.
64390         * stdlib/ucontext.h: Likewise.
64392 2011-11-10  Andreas Schwab  <schwab@redhat.com>
64394         * malloc/arena.c (_int_new_arena): Don't increment narenas.
64395         (reused_arena): Don't check arena limit.
64396         (arena_get2): Atomically check arena limit.
64398 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
64400         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
64401         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
64403         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
64404         instructions.
64406 2011-11-07  Andreas Schwab  <schwab@redhat.com>
64408         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
64409         handler when locking.
64411         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
64412         Fix size of allocated buffer.
64414 2011-11-04  Andreas Schwab  <schwab@redhat.com>
64416         [BZ #10103]
64417         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
64418         declarations for long double functions.
64419         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
64421         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
64423 2011-11-03  Andreas Schwab  <schwab@redhat.com>
64425         * nscd/nscd.c (main): Don't start AVC thread until credentials are
64426         installed.
64428         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
64429         is disabled.
64431 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64433         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
64435 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
64437         * include/alloca.h (stackinfo_alloca_round): Define.
64438         (extend_alloca): Use it.
64439         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
64440         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
64441         here.
64443         * scripts/check-local-headers.sh: Ignore libaudit.h.
64445         * nscd/Makefile (extra-objs): Make recursively expanded.
64447 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
64449         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
64450         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
64452         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
64453         * posix/tst-rfc3484-2.c: Likewise.
64454         * posix/tst-rfc3484-3.c: Likewise.
64456         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
64457         process_vm_writev.
64458         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
64459         process_vm_writev.
64460         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
64461         process_vm_writev from libc using GLIBC_2.15 version.
64463         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
64465 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
64467         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
64468         stack usage.
64470 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
64472         [BZ #13367]
64473         * nss/getent.c (initgroups_keys): Show error message in case no group
64474         names are given.
64476         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
64477         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
64478         __bump_nl_timestamp.
64479         * nscd/connections (nscd_init): When host database is served open
64480         netlink socket and request notification about configuration changes.
64481         (main_loop_poll): Track netlink file descriptor and bump timestamp
64482         in case data becomes available.
64483         (main_loop_epoll): Likewise.
64484         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
64485         (database_pers_head): Add extra_data fileds.
64486         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
64487         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
64488         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
64489         Adjust caller.
64490         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
64491         in6ai data, call __free_in6ai.
64492         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
64493         Add -DHAVE_NETLINK.
64494         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
64495         interface information.  Reuse previous data if netlink timestamp
64496         is not changed.
64497         (__bump_nl_timestamp): New function.
64498         (__free_in6ai): New function.
64500 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
64502         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
64503         close_not_cancel_no_status here.
64504         (__check_pf): Reorganize code a bit to not call close twice if OOM.
64506 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
64508         [BZ #13276]
64509         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
64510         return value.
64512         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
64513         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
64514         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
64516 2011-07-03  Andreas Jaeger  <aj@suse.de>
64518         [BZ #10709]
64519         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
64520         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
64521         * math/libm-test.inc (sin_test): Add test case.
64523 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
64525         [BZ #13337]
64526         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
64527         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
64529         * elf/chroot_canon.c (chroot_canon): Cleanups.
64531         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
64533         [BZ #13335]
64534         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
64535         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
64537         * string/test-strchr.c: Make usable for strchrnul testing.
64538         * string/test-strchrnul.c: New file.
64539         * string/Makefile (strop-tests): Add strchrnul.
64541         * po/it.po: Update from translation team.
64542         * po/es.po: Likewise.
64544 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
64546         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
64547         the three constants needed as parameters.  Drop the others.
64548         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
64549         __m128i_strloadu_tolower.
64550         Create and initialize variable zero and use it in all the places
64551         where _mm_setzero_si128 was used.
64553         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
64554         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
64555         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
64556         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
64557         anymore.
64558         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
64559         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
64560         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
64561         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
64562         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
64563         __mpranred, __mptan.
64564         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
64565         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
64566         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
64567         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
64568         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
64569         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
64570         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
64571         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
64572         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
64574 2011-10-28  Andreas Schwab  <schwab@redhat.com>
64576         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
64577         redefine if SHARED.
64578         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
64580         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
64581         wide char related routines to wcsmbs subdir.
64583 2011-10-27  Andreas Schwab  <schwab@redhat.com>
64585         [BZ #13344]
64586         * misc/sys/cdefs.h (__THROWNL): Define.
64587         * posix/unistd.h: Use __THREADNL instead of __THREAD
64588         for memory synchronization functions.
64590 2011-10-26  Roland McGrath  <roland@hack.frob.com>
64592         [BZ #13349]
64593         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
64594         doesn't exist.
64595         * manual/stdio.texi (Obstack Streams): Node removed.
64597 2011-10-26  Andreas Schwab  <schwab@redhat.com>
64599         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
64600         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
64601         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
64603         * math/math_private.h (math_force_eval): Allow non-addressable
64604         arguments.
64605         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
64607 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
64609         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
64610         file is not needed.
64612         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
64613         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
64614         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
64615         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
64616         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
64617         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
64618         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
64619         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
64620         Add AVX variants.
64621         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
64622         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
64623         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
64624         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
64625         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
64626         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
64627         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
64628         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
64629         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
64630         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
64631         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
64632         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
64633         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
64634         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
64635         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
64636         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
64637         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
64638         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
64639         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
64641         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
64642         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
64644         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
64645         place.  Use VEX encoding when compiling for AVX.
64647 2011-10-25  Andreas Schwab  <schwab@redhat.com>
64649         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
64650         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
64652         * string/test-strchr.c (do_test): Don't generate NUL bytes.
64654 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
64656         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
64657         useless if() expression.
64658         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
64659         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
64660         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
64661         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
64662         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
64663         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
64664         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
64665         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
64666         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
64667         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
64668         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
64669         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
64670         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
64671         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
64672         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
64673         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
64674         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
64675         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
64676         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
64678         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
64680 2011-10-25  Andreas Schwab  <schwab@redhat.com>
64682         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
64683         condition.
64684         * elf/dl-fini.c (_dl_sort_fini): Likewise.
64686 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
64688         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
64689         .text section.  Avoid duplicate constants.
64690         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
64691         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64692         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
64693         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64694         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
64695         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64696         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64697         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64698         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
64699         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
64700         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
64701         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
64702         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
64703         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
64704         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
64705         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
64706         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
64707         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
64708         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
64709         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64710         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
64711         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
64712         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
64713         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
64714         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
64715         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
64716         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
64717         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
64718         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
64719         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
64720         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
64721         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
64722         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
64723         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
64724         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
64725         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
64726         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
64727         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
64728         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
64729         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
64730         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
64731         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
64732         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
64733         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
64734         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
64736 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
64738         * sysdeps/x86_64/dla.h: Move to ...
64739         * sysdeps/x86_64/fpu/dla.h: ...here.
64740         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
64741         situations.  Use __builtin_fma only for gcc 4.6 and up.
64743         * config.make.in: Add have-mfma4 entry.
64744         * configure.in: Substitute libc_cv_cc_fma4.
64745         * math/Makefile (dbl-only-routines): Add sincostab.
64746         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
64747         Use __sincostab not sincos.
64748         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
64749         name is a macro.
64750         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
64751         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64752         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64753         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
64754         using __copysign.
64755         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
64756         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
64757         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
64758         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
64759         and __inv.
64760         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
64761         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
64762         __copysign.
64763         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
64764         define aliases when function name is a macro.
64765         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
64766         sysdeps/ieee754/dbl-64/sincos.tbl.
64767         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
64768         fma4-enabled routines.
64769         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
64770         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
64771         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
64772         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
64773         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
64774         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
64775         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
64776         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
64777         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
64778         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
64779         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
64780         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
64781         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
64782         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
64783         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
64784         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
64785         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
64786         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
64787         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
64788         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
64789         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
64790         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
64791         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
64792         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
64793         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
64794         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
64795         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
64796         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
64797         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
64798         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
64800         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
64801         rename.
64802         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64803         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64804         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64805         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64806         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64807         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64808         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
64809         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64811 2011-10-24  Andreas Schwab  <schwab@redhat.com>
64813         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
64815 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
64817         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
64819         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
64820         prediction.
64821         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
64823         * string/strnlen.c: Don't define STRNLEN, reverse logic.
64824         Remove unused variable magic_bits.
64825         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
64827         * string/strnlen.c: Define and use STRNLEN macro.
64828         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
64829         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
64830         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
64831         * wcsmbs/wcslen.c: Define and use WCSLEN.
64832         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
64833         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
64834         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
64835         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
64836         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
64837         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
64838         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
64840 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64842         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64843         strnlen-sse2-no-bsf.
64844         Rename strlen-no-bsf to strlen-sse2-no-bsf.
64845         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
64846         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
64847         Add strnlen support.
64848         (USE_AS_STRNLEN): New macro.
64849         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
64850         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
64851         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
64852         * sysdeps/x86_64/wcslen.S: New file.
64854 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
64856         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
64857         XMM-moves are used for copying on small sizes.
64859 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64861         * wcsmbs/Makefile (strop-tests): Add wcschr.
64862         * wcsmbs/test-wcschr.c: New file.
64863         * string/test-strchr.c: Update.
64864         Add wcschr support.
64865         (WIDE): New macro.
64867 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64869         * wcsmbs/Makefile (strop-tests): Add wcslen.
64870         * wcsmbs/test-wcslen.c: New file.
64871         * string/test-strlen.c: Update.
64872         Add wcslen support.
64873         (WIDE): New macro.
64875 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
64877         * po/it.po: Update from translation team.
64879 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64881         * sysdeps/x86_64/wcscmp.S: Update.
64882         Fix wrong comparison semantics.
64883         wcscmp shall use signed comparison not unsigned.
64884         Don't use substraction to avoid overflow bug.
64885         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
64886         * wcsmbc/wcscmp.c: Likewise.
64887         * string/test-strcmp.c: Likewise.
64888         Add new tests to check cases with negative values.
64890 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
64892         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
64893         * sysdeps/x86_64/dla.h: ...here.  New file.
64894         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
64895         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64896         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64897         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64898         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64899         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
64900         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64901         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
64902         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64904 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
64906         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
64907         __ynl_finite aliases.
64909 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
64911         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64913         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
64914         define DLA_FMA.
64915         [DLA_FMA] (EMULV): Use DLA_FMA.
64916         [DLA_FMA] (MUL12): Use EMULV.
64917         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
64918         that are not needed.
64919         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64920         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64921         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64922         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64923         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64924         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
64925         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64927 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
64929         * math/s_nan.c: Undef __nan.
64930         * math/s_nanf.c: Undef __nanf.
64931         * math/s_nanl.c: Undef __nanl.
64932         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
64933         "math_private.h".
64935 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
64937         * math/s_catan.c: Add branch predictions.
64938         * math/s_catanf.c: Likewise.
64939         * math/s_catanh.c: Likewise.
64940         * math/s_catanhf.c: Likewise.
64941         * math/s_catanhl.c: Likewise.
64942         * math/s_catanl.c: Likewise.
64943         * math/s_cexp.c: Likewise.
64944         * math/s_cexpf.c: Likewise.
64945         * math/s_cexpl.c: Likewise.
64946         * math/s_clog.c: Likewise.
64947         * math/s_clog10.c: Likewise.
64948         * math/s_clog10f.c: Likewise.
64949         * math/s_clog10l.c: Likewise.
64950         * math/s_clogf.c: Likewise.
64951         * math/s_clogl.c: Likewise.
64952         * math/s_csqrt.c: Likewise.
64953         * math/s_csqrtf.c: Likewise.
64954         * math/s_csqrtl.c: Likewise.
64955         * math/s_ctanf.c: Likewise.
64956         * math/s_ctanh.c: Likewise.
64957         * math/s_ctanhf.c: Likewise.
64958         * math/s_ctanhl.c: Likewise.
64959         * math/s_ctanl.c: Likewise.
64961         * math/math_private.h: Define __nan, __nanf, __nanl.
64962         * math/s_cacosh.c: Include <math_private.h>.
64963         * math/s_cacoshl.c: Likewise.
64964         * math/s_casinh.c: Likewise.
64965         * math/s_casinhf.c: Likewise.
64966         * math/s_casinhl.c: Likewise.
64967         * math/s_ccos.c: Rely entire on ccosh.
64968         * math/s_ccosf.c: Rely entire on ccoshf.
64969         * math/s_ccosl.c: Rely entirely on ccoshl.
64970         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
64971         Remove tests for FE_INVALID.
64972         * math/s_ccoshf.c: Likewise.
64973         * math/s_ccoshl.c: Likewise.
64974         * math/s_csin.c: Likewise.
64975         * math/s_csinf.c: Likewise.
64976         * math/s_csinh.c Likewise.
64977         * math/s_csinhf.c: Likewise.
64978         * math/s_csinhl.c: Likewise.
64979         * math/s_csinl.c: Likewise.
64980         * math/s_ctan.c: Likewise.
64981         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
64982         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
64983         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
64985 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
64987         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
64988         compilation problems.
64990         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
64991         __builtin_expect.
64993 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
64995         * sysdeps/i386/configure.in: Test for -mfma4 option.
64996         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
64997         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
64998         COMMON_CPUID_INDEX_80000001.
64999         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
65000         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
65001         use it if FMA3 is not supported.
65002         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
65004         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
65005         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
65007 2011-10-20  Andreas Schwab  <schwab@redhat.com>
65009         [BZ #12892]
65010         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
65011         it would create a cycle with a link time dependency.
65013 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
65015         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
65016         instruction.
65017         * string/Makefile (strop-tests): Add rawmemchr.
65018         * string/test-rawmemchr.c: New file.
65020         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
65021         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
65022         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
65023         when compiling str{,n}casecmp and when AVX is available.  Hook up
65024         new optimized code in initializers.
65026 2011-10-19  Andreas Schwab  <schwab@redhat.com>
65028         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
65029         __feraiseexcept instead of feraiseexcept.
65031 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
65033         * math/math_private.h: Define defaults for libc_fetestexcept and
65034         libc_feupdateenv.
65035         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
65036         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
65037         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
65038         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
65039         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
65040         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
65041         libc_fetestexcept and libc_feupdateenv.
65043         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
65044         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
65045         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
65046         * sysdeps/x86_64/fpu/math_private.h: Define special version of
65047         libc_feholdexcept_setround.
65049         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
65050         Add s_nearbyint-c and s_nearbyintf-c.
65051         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
65052         nearbyintf inlines.
65053         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
65054         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
65055         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
65056         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
65058         * math/math_private.h: Define defaults for libc_fegetround,
65059         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
65060         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
65061         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
65062         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
65063         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
65064         standard functions.
65065         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
65066         Remove comments and hacks for old compiler versions.
65067         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
65068         libc_fegetround, libc_fesetround, libc_feholdexcept, and
65069         libc_feholdexceptl.
65071 2011-10-18  Andreas Schwab  <schwab@redhat.com>
65073         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
65074         (__feraiseexcept_renamed): Add __NTH.
65075         (feraiseexcept): Add __NTH.  Rename local variables to fix
65076         namespace violations.
65078 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
65080         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
65082         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
65084         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
65085         recently added interfaces.
65086         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
65088         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
65089         about macro parameter expansion.
65091         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
65092         __NO_MATH_INLINES is defined.  Cleanups.
65094         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
65095         and __floorf is target has SSE4.1.
65096         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
65097         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
65098         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
65099         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
65101         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
65102         name.
65103         (floorf): Likewise.
65105         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
65107 2011-10-17  Andreas Schwab  <schwab@redhat.com>
65109         * misc/sys/cdefs.h: Fix last change.
65111         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
65112         database lookup.
65114 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
65116         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
65118         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
65119         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
65120         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
65121         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
65122         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
65123         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
65124         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
65125         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
65126         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
65127         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
65128         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
65129         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
65130         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
65131         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
65132         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
65133         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
65134         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
65135         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
65136         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
65137         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
65138         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
65139         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
65141         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
65142         ceil, ceilf, floor, floorf.
65144         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
65145         Perform IRELATIVE relocations last.
65147         * elf/do-rel.h: Add another parameter nrelative, replacing the
65148         local variable with the same name.  Change name of the function
65149         to end in Rel or Rela (uppercase).
65150         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
65151         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
65152         elf_dynamic_do_##reloc function.
65154 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
65156         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
65157         is sufficient, at least on modern CPUs.
65159         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
65161         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
65162         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
65164         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
65165         __expl_finite.
65166         * math/bits/math-finite.h: Add entries for exp.
65167         * math/e_expl.c: Add __*_finite alias.
65168         * sysdeps/i386/fpu/e_exp.S: Likewise.
65169         * sysdeps/i386/fpu/e_expf.S: Likewise.
65170         * sysdeps/i386/fpu/e_expl.c: Likewise.
65171         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65172         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
65173         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
65174         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
65175         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
65176         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
65177         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
65179         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
65180         is sufficient, at least on modern CPUs.
65182         * ctype/ctype-info.c (__ctype_init): Define.
65183         * include/ctype.h (__ctype_init): Declare.
65184         (__ctype_b_loc): The variable is always initialized.
65185         (__ctype_toupper_loc): Likewise.
65186         (__ctype_tolower_loc): Likewise.
65187         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
65188         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
65190 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
65192         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
65194         * configure.in: Also look in $cxxmachine/include for C++ system
65195         headers.
65197 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65199         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
65200         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
65201         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
65202         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
65203         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
65204         (USE_AS_WMEMCMP): New macro.
65205         Fixing indents.
65206         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
65207         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
65208         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
65209         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
65210         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65211         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
65212         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
65213         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
65214         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
65215         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
65216         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
65217         (USE_AS_WMEMCMP): New macro.
65218         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
65219         * sysdeps/string/test-memcmp.c: Update.
65220         Fix simple_wmemcmp.
65221         Add new tests.
65222         * wcsmbs/wmemcmp.c: Update.
65223         (WMEMCMP): New macro.
65224         Fix overflow bug.
65226 2011-10-12  Andreas Jaeger  <aj@suse.de>
65228         [BZ #13268]
65229         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
65231 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
65233         * libio/iofwide.c (do_length): Avoid warning.
65235         * ctype/ctype.h (__isctype_f): Add missing __THROW.
65237 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
65239         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
65241         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
65242         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
65243         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
65244         * sysdeps/i386/i686/fpu/e_log.S: New file.
65245         * sysdeps/i386/i686/fpu/e_logf.S: New file.
65246         * sysdeps/i386/i686/fpu/e_logl.S: New file.
65248         * ctype/ctype.h: Add support for inlined isXXX functions when
65249         compiling C++ code.
65251 2011-10-14  Andreas Schwab  <schwab@redhat.com>
65253         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65255         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
65257 2011-10-13  Roland McGrath  <roland@hack.frob.com>
65259         [BZ #13291]
65260         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
65262 2011-10-13  Andreas Schwab  <schwab@redhat.com>
65264         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
65265         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
65266         feraiseexcept.
65268         * sysdeps/x86_64/memrchr.S: Check for zero size.
65270         * string/stratcliff.c: Add memrchr tests.
65272 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65274         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65275         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
65276         rawmemchr-sse2 rawmemchr-sse2-bsf.
65277         * sysdeps/i386/i686/multiarch/memchr.S: New file.
65278         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
65279         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
65280         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
65281         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
65282         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
65283         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
65284         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
65285         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
65286         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
65287         * string/memrchr.c (MEMRCHR): New macro.
65289 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
65291         Add integration with gcc's -ffinite-math-only and optimize wrapper
65292         functions in libm.
65293         * Versions.def: Define GLIBC_2.15 version for libm.
65294         * math/Makefile (headers): Add bits/math-finite.h.
65295         * math/bits/math-finite.h: New file.
65296         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
65297         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
65298         * math/e_acoshl.c: Add __*_finite alias.
65299         * math/e_acosl.c: Likewise.
65300         * math/e_asinl.c: Likewise.
65301         * math/e_atan2l.c: Likewise.
65302         * math/e_atanhl.c: Likewise.
65303         * math/e_coshl.c: Likewise.
65304         * math/e_exp10.c: Likewise.
65305         * math/e_exp10f.c: Likewise.
65306         * math/e_exp10l.c: Likewise.
65307         * math/e_exp2l.c: Likewise.
65308         * math/e_fmodl.c: Likewise.
65309         * math/e_gammal_r.c: Likewise.
65310         * math/e_hypotl.c: Likewise.
65311         * math/e_j0l.c: Likewise.
65312         * math/e_j1l.c: Likewise.
65313         * math/e_jnl.c: Likewise.
65314         * math/e_lgammal_r.c: Likewise.
65315         * math/e_log10l.c: Likewise.
65316         * math/e_log2l.c: Likewise.
65317         * math/e_logl.c: Likewise.
65318         * math/e_powl.c: Likewise.
65319         * math/e_sinhl.c: Likewise.
65320         * math/e_sqrtl.c: Likewise.
65321         * math/e_scalb.c: Completely rewritten and optimized.
65322         * math/e_scalbf.c: Likewise.
65323         * math/e_scalbl.c: Likewise.
65324         * math/w_acos.c: Likewise.
65325         * math/w_acosf.c: Likewise.
65326         * math/w_acosl.c: Likewise.
65327         * math/w_acosh.c: Likewise.
65328         * math/w_acoshf.c: Likewise.
65329         * math/w_acoshl.c: Likewise.
65330         * math/w_asin.c: Likewise.
65331         * math/w_asinf.c: Likewise.
65332         * math/w_asinl.c: Likewise.
65333         * math/w_atan2.c: Likewise.
65334         * math/w_atan2f.c: Likewise.
65335         * math/w_atan2l.c: Likewise.
65336         * math/w_atanh.c: Likewise.
65337         * math/w_atanhf.c: Likewise.
65338         * math/w_atanhl.c: Likewise.
65339         * math/w_exp10.c: Likewise.
65340         * math/w_exp10f.c: Likewise.
65341         * math/w_exp10l.c: Likewise.
65342         * math/w_fmod.c: Likewise.
65343         * math/w_fmodf.c: Likewise.
65344         * math/w_fmodl.c: Likewise.
65345         * math/w_j0.c: Likewise.
65346         * math/w_j0f.c: Likewise.
65347         * math/w_j0l.c: Likewise.
65348         * math/w_j1.c: Likewise.
65349         * math/w_j1f.c: Likewise.
65350         * math/w_j1l.c: Likewise.
65351         * math/w_jn.c: Likewise.
65352         * math/w_jnf.c: Likewise.
65353         * math/w_log.c: Likewise.
65354         * math/w_logf.c: Likewise.
65355         * math/w_logl.c: Likewise.
65356         * math/w_log10.c: Likewise.
65357         * math/w_log10f.c: Likewise.
65358         * math/w_log10l.c: Likewise.
65359         * math/w_log2.c: Likewise.
65360         * math/w_log2f.c: Likewise.
65361         * math/w_log2l.c: Likewise.
65362         * math/w_pow.c: Likewise.
65363         * math/w_powf.c: Likewise.
65364         * math/w_powl.c: Likewise.
65365         * math/w_remainder.c: Likewise.
65366         * math/w_remainderf.c: Likewise.
65367         * math/w_remainderl.c: Likewise.
65368         * math/w_scalb.c: Likewise.
65369         * math/w_scalbf.c: Likewise.
65370         * math/w_scalbl.c: Likewise.
65371         * math/w_sqrt.c: Likewise.
65372         * math/w_sqrtf.c: Likewise.
65373         * math/w_sqrtl.c: Likewise.
65374         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
65375         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
65376         used.
65377         * math/math_private.h: Declare __kernel_standard_f.
65378         * math/w_cosh.c: Remove cruft and optimize a bit.
65379         * math/w_coshf.c: Likewise.
65380         * math/w_coshl.c: Likewise.
65381         * math/w_exp2.c: Likewise.
65382         * math/w_exp2f.c: Likewise.
65383         * math/w_exp2l.c: Likewise.
65384         * math/w_hypot.c: Likewise.
65385         * math/w_hypotf.c: Likewise.
65386         * math/w_hypotl.c: Likewise.
65387         * math/w_lgamma.c: Likewise.
65388         * math/w_lgamma_r.c: Likewise.
65389         * math/w_lgammaf.c: Likewise.
65390         * math/w_lgammaf_r.c: Likewise.
65391         * math/w_lgammal.c: Likewise.
65392         * math/w_lgammal_r.c: Likewise.
65393         * math/w_sinh.c: Likewise.
65394         * math/w_sinhf.c: Likewise.
65395         * math/w_sinhl.c: Likewise.
65396         * math/w_tgamma.c: Likewise.
65397         * math/w_tgammaf.c: Likewise.
65398         * math/w_tgammal.c: Likewise.
65399         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
65400         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
65401         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
65402         Minor optimizations.  Pretty printing.  Remove cruft.
65403         * sysdeps/i386/fpu/e_acosf.S: Likewise.
65404         * sysdeps/i386/fpu/e_acosh.S: Likewise.
65405         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
65406         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
65407         * sysdeps/i386/fpu/e_acosl.c: Likewise.
65408         * sysdeps/i386/fpu/e_asin.S: Likewise.
65409         * sysdeps/i386/fpu/e_asinf.S: Likewise.
65410         * sysdeps/i386/fpu/e_atan2.S: Likewise.
65411         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
65412         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
65413         * sysdeps/i386/fpu/e_atanh.S: Likewise.
65414         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
65415         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
65416         * sysdeps/i386/fpu/e_exp10.S: Likewise.
65417         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
65418         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
65419         * sysdeps/i386/fpu/e_exp2.S: Likewise.
65420         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
65421         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
65422         * sysdeps/i386/fpu/e_fmod.S: Likewise.
65423         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
65424         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
65425         * sysdeps/i386/fpu/e_hypot.S: Likewise.
65426         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
65427         * sysdeps/i386/fpu/e_log.S: Likewise.
65428         * sysdeps/i386/fpu/e_log10.S: Likewise.
65429         * sysdeps/i386/fpu/e_log10f.S: Likewise.
65430         * sysdeps/i386/fpu/e_log10l.S: Likewise.
65431         * sysdeps/i386/fpu/e_log2.S: Likewise.
65432         * sysdeps/i386/fpu/e_log2f.S: Likewise.
65433         * sysdeps/i386/fpu/e_log2l.S: Likewise.
65434         * sysdeps/i386/fpu/e_logf.S: Likewise.
65435         * sysdeps/i386/fpu/e_logl.S: Likewise.
65436         * sysdeps/i386/fpu/e_pow.S: Likewise.
65437         * sysdeps/i386/fpu/e_powf.S: Likewise.
65438         * sysdeps/i386/fpu/e_powl.S: Likewise.
65439         * sysdeps/i386/fpu/e_remainder.S: Likewise.
65440         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
65441         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
65442         * sysdeps/i386/fpu/e_scalb.S: Likewise.
65443         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
65444         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
65445         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
65446         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
65447         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
65448         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
65449         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
65450         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65451         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
65452         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
65453         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
65454         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
65455         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
65456         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
65457         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
65458         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
65459         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
65460         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65461         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
65462         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
65463         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65464         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
65465         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
65466         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
65467         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65468         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
65469         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
65470         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
65471         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
65472         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
65473         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
65474         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
65475         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
65476         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
65477         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
65478         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
65479         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
65480         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
65481         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
65482         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
65483         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
65484         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
65485         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
65486         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
65487         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
65488         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
65489         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
65490         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
65491         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
65492         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
65493         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
65494         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
65495         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
65496         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
65497         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
65498         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
65499         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
65500         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
65501         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
65502         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
65503         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
65504         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
65505         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
65506         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
65507         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
65508         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
65509         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
65510         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
65511         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
65512         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
65513         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
65514         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
65515         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
65516         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
65517         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
65518         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
65519         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
65520         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
65521         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
65522         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
65523         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
65524         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
65525         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
65526         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
65527         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
65528         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
65529         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
65530         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
65531         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
65532         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
65533         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
65534         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
65535         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
65536         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
65537         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
65538         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
65539         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
65540         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
65541         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
65542         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
65543         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
65544         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
65545         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
65546         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
65547         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
65548         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
65549         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
65550         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
65551         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
65552         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
65553         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
65554         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
65555         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65556         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
65557         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
65558         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
65559         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
65560         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
65561         (__isnanf): Likewise.
65562         (__isinf_ns): Likewise.
65563         (__isinf_nsf): Likewise.
65564         (__finite): Likewise.
65565         (__finitef): Likewise.
65566         (__ieee754_sqrt): Define as macro.
65567         (__ieee754_sqrtf): Define as macro.
65568         (__ieee754_sqrtl): Define as macro.
65569         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
65570         inlined copy.
65571         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
65572         __FINITE_MATH_ONLY__ consistent.
65573         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
65575 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
65577         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
65578         of rawmemchr.
65580         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
65582 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
65584         * po/ja.po: Update from translation team.
65586 2011-10-08  Roland McGrath  <roland@hack.frob.com>
65588         * locale/programs/locarchive.c (prepare_address_space): New function.
65589         (create_archive, enlarge_archive, open_archive): Use it.
65591         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
65592         inside [SHARED], where it is used.
65594         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
65596         * nss/getent.c (netgroup_keys): Remove unused variable.
65597         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
65599 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
65601         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
65602         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
65603         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
65604         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
65605         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
65606         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
65607         * math/Makefile (libm-calls): Add s_isinf_ns.
65608         * math/divtc3.c: Use __isinf_nsl instead of isinf.
65609         * math/multc3.c: Likewise.
65610         * math/s_casin.c: Likewise.
65611         * math/s_casinf.c: Likewise.
65612         * math/s_casinl.c: Likewise.
65613         * math/s_ccos.c: Likewise.
65614         * math/s_ccosf.c: Likewise.
65615         * math/s_ccosl.c: Likewise.
65616         * math/s_ctan.c: Likewise.
65617         * math/s_ctanf.c: Likewise.
65618         * math/s_ctanh.c: Likewise.
65619         * math/s_ctanhf.c: Likewise.
65620         * math/s_ctanhl.c: Likewise.
65621         * math/s_ctanl.c: Likewise.
65622         * math/w_fmod.c: Likewise.
65623         * math/w_fmodf.c: Likewise.
65624         * math/w_fmodl.c: Likewise.
65625         * math/w_remainder.c: Likewise.
65626         * math/w_remainderf.c: Likewise.
65627         * math/w_remainderl.c: Likewise.
65628         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
65629         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
65630         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
65631         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
65632         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
65633         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
65634         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
65635         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
65637         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
65638         of the number.
65639         * stdio-common/printf_fphex.c: Likewise.
65640         * stdio-common/printf_size.c: Likewise.
65642         * math/e_exp10.c: Include math_private.h using <...> not "...".
65643         * math/e_exp10f.c: Likewise.
65644         * math/e_exp10l.c: Likewise.
65645         * math/e_exp2l.c: Likewise.
65646         * math/e_j0l.c: Likewise.
65647         * math/e_j1l.c: Likewise.
65648         * math/e_jnl.c: Likewise.
65649         * math/e_lgammal_r.c: Likewise.
65650         * math/e_rem_pio2l.c: Likewise.
65651         * math/e_scalb.c: Likewise.
65652         * math/e_scalbf.c: Likewise.
65653         * math/e_scalbl.c: Likewise.
65654         * math/k_cosl.c: Likewise.
65655         * math/k_sinl.c: Likewise.
65656         * math/k_tanl.c: Likewise.
65657         * math/s_cacoshf.c: Likewise.
65658         * math/s_catan.c: Likewise.
65659         * math/s_catanf.c: Likewise.
65660         * math/s_catanh.c: Likewise.
65661         * math/s_catanhf.c: Likewise.
65662         * math/s_catanhl.c: Likewise.
65663         * math/s_catanl.c: Likewise.
65664         * math/s_ccosh.c: Likewise.
65665         * math/s_ccoshf.c: Likewise.
65666         * math/s_ccoshl.c: Likewise.
65667         * math/s_cexp.c: Likewise.
65668         * math/s_cexpf.c: Likewise.
65669         * math/s_cexpl.c: Likewise.
65670         * math/s_clog.c: Likewise.
65671         * math/s_clog10.c: Likewise.
65672         * math/s_clog10f.c: Likewise.
65673         * math/s_clog10l.c: Likewise.
65674         * math/s_clogf.c: Likewise.
65675         * math/s_clogl.c: Likewise.
65676         * math/s_csin.c: Likewise.
65677         * math/s_csinf.c: Likewise.
65678         * math/s_csinh.c: Likewise.
65679         * math/s_csinhf.c: Likewise.
65680         * math/s_csinhl.c: Likewise.
65681         * math/s_csinl.c: Likewise.
65682         * math/s_csqrt.c: Likewise.
65683         * math/s_csqrtf.c: Likewise.
65684         * math/s_csqrtl.c: Likewise.
65685         * math/s_ctan.c: Likewise.
65686         * math/s_ctanf.c: Likewise.
65687         * math/s_ctanh.c: Likewise.
65688         * math/s_ctanhf.c: Likewise.
65689         * math/s_ctanhl.c: Likewise.
65690         * math/s_ctanl.c: Likewise.
65691         * math/s_ldexp.c: Likewise.
65692         * math/s_ldexpf.c: Likewise.
65693         * math/s_ldexpl.c: Likewise.
65694         * math/s_significand.c: Likewise.
65695         * math/s_significandf.c: Likewise.
65696         * math/s_significandl.c: Likewise.
65697         * math/w_acos.c: Likewise.
65698         * math/w_acosf.c: Likewise.
65699         * math/w_acosh.c: Likewise.
65700         * math/w_acoshf.c: Likewise.
65701         * math/w_acoshl.c: Likewise.
65702         * math/w_acosl.c: Likewise.
65703         * math/w_asin.c: Likewise.
65704         * math/w_asinf.c: Likewise.
65705         * math/w_asinl.c: Likewise.
65706         * math/w_atan2.c: Likewise.
65707         * math/w_atan2f.c: Likewise.
65708         * math/w_atan2l.c: Likewise.
65709         * math/w_atanh.c: Likewise.
65710         * math/w_atanhf.c: Likewise.
65711         * math/w_atanhl.c: Likewise.
65712         * math/w_cosh.c: Likewise.
65713         * math/w_coshf.c: Likewise.
65714         * math/w_coshl.c: Likewise.
65715         * math/w_dremf.c: Likewise.
65716         * math/w_exp10.c: Likewise.
65717         * math/w_exp10f.c: Likewise.
65718         * math/w_exp10l.c: Likewise.
65719         * math/w_exp2.c: Likewise.
65720         * math/w_exp2f.c: Likewise.
65721         * math/w_fmod.c: Likewise.
65722         * math/w_fmodf.c: Likewise.
65723         * math/w_fmodl.c: Likewise.
65724         * math/w_hypot.c: Likewise.
65725         * math/w_hypotf.c: Likewise.
65726         * math/w_hypotl.c: Likewise.
65727         * math/w_j0.c: Likewise.
65728         * math/w_j0f.c: Likewise.
65729         * math/w_j0l.c: Likewise.
65730         * math/w_j1.c: Likewise.
65731         * math/w_j1f.c: Likewise.
65732         * math/w_j1l.c: Likewise.
65733         * math/w_jn.c: Likewise.
65734         * math/w_jnf.c: Likewise.
65735         * math/w_jnl.c: Likewise.
65736         * math/w_lgamma.c: Likewise.
65737         * math/w_lgamma_r.c: Likewise.
65738         * math/w_lgammaf.c: Likewise.
65739         * math/w_lgammaf_r.c: Likewise.
65740         * math/w_lgammal.c: Likewise.
65741         * math/w_lgammal_r.c: Likewise.
65742         * math/w_log.c: Likewise.
65743         * math/w_log10.c: Likewise.
65744         * math/w_log10f.c: Likewise.
65745         * math/w_log10l.c: Likewise.
65746         * math/w_log2.c: Likewise.
65747         * math/w_log2f.c: Likewise.
65748         * math/w_log2l.c: Likewise.
65749         * math/w_logf.c: Likewise.
65750         * math/w_logl.c: Likewise.
65751         * math/w_pow.c: Likewise.
65752         * math/w_powf.c: Likewise.
65753         * math/w_powl.c: Likewise.
65754         * math/w_remainder.c: Likewise.
65755         * math/w_remainderf.c: Likewise.
65756         * math/w_remainderl.c: Likewise.
65757         * math/w_scalb.c: Likewise.
65758         * math/w_scalbf.c: Likewise.
65759         * math/w_scalbl.c: Likewise.
65760         * math/w_sinh.c: Likewise.
65761         * math/w_sinhf.c: Likewise.
65762         * math/w_sinhl.c: Likewise.
65763         * math/w_sqrt.c: Likewise.
65764         * math/w_sqrtf.c: Likewise.
65765         * math/w_sqrtl.c: Likewise.
65766         * math/w_tgamma.c: Likewise.
65767         * math/w_tgammaf.c: Likewise.
65768         * math/w_tgammal.c: Likewise.
65770         * po/ja.po: Update from translation team.
65772 2011-09-29  Andreas Jaeger  <aj@suse.de>
65774         [BZ #13179]
65775         * sunrpc/netname.c (netname2host): Fix logic.
65777         [BZ #6779]
65778         [BZ #6783]
65779         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
65780         correctly.
65781         * math/w_remainder.c (__remainder): Likewise.
65782         * math/w_remainderf.c (__remainderf): Likewise.
65783         * math/libm-test.inc (remainder_test): Add test cases.
65785 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65787         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
65788         sdiv_qrnnd.
65790 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
65792         * string/test-memcmp.c: Avoid unncessary #defines.
65793         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
65795 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65797         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
65798         Use new sse2 version for core i3 - i7 as it's faster
65799         than sse42 version.
65800         (bit_Prefer_PMINUB_for_stringop): New.
65801         * sysdeps/x86_64/rawmemchr.S: Update.
65802         Replace with faster SSE2 version.
65803         * sysdeps/x86_64/memrchr.S: New file.
65804         * sysdeps/x86_64/memchr.S: Update.
65805         Replace with faster SSE2 version.
65807 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
65809         * elf/dl-load.c (lose): Add cast to avoid warning.
65811 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
65813         * po/ca.po: Update from translation team.
65815         * inet/getnetgrent_r.c: Hook up nscd.
65816         * nscd/Makefile (routines): Add nscd_netgroup.
65817         (nscd-modules): Add netgroupcache.
65818         (CFLAGS-netgroupcache.c): Define.
65819         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
65820         (cache_search): Add const to second parameter.
65821         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
65822         INNETGR.
65823         (dbs): Add netgrdb entry.
65824         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
65825         (verify_persistent_db): Handle netgrdb.
65826         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
65827         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
65828         GETFDNETGR.
65829         (netgroup_response_header): Define.
65830         (innetgroup_response_header): Define.
65831         (datahead): Add netgroup_response_header and innetgroup_response_header
65832         elements.
65833         * nscd/nscd.conf: Add entries for netgroup cache.
65834         * nscd/nscd.h (dbtype): Add netgrdb.
65835         (_PATH_NSCD_NETGROUP_DB): Define.
65836         (netgroup_iov_disabled): Declare.
65837         (xmalloc, xcalloc, xrealloc): Move declarations here.
65838         (cache_search): Adjust prototype.
65839         Add netgroup-related prototypes.
65840         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
65841         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
65842         (__nscd_innetgr): Declare.
65843         * nscd/selinux.c (perms): Use access_vector_t as element type and
65844         add netgroup-related initializers.
65845         * nscd/netgroupcache.c: New file.
65846         * nscd/nscd_netgroup.c: New file.
65847         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
65848         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
65849         For four parameters use innetgr.
65850         * nss/nss_files/files-init.c: Add definition and callback for netgr.
65851         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
65852         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
65853         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
65855         * nscd/connections.c (register_traced_file): Don't register file
65856         for disabled databases.
65858 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
65860         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
65862         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
65863         from tree and freeing node.
65865 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
65867         * nss/nsswitch.c (__nss_database_lookup): Handle
65868         nss_parse_service_list out of memory case.
65870 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
65872         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
65873         out of memory case.
65875 2011-10-04  Andreas Schwab  <schwab@redhat.com>
65877         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
65878         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
65879         pass it down.
65880         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
65881         elf_machine_rela, elf_machine_lazy_rel.
65882         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
65883         (ELF_DYNAMIC_DO_REL): Likewise.
65884         (ELF_DYNAMIC_DO_RELA): Likewise.
65885         (ELF_DYNAMIC_RELOCATE): Likewise.
65886         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
65887         to ELF_DYNAMIC_DO_REL.
65888         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
65889         (dl_main): In trace mode always set __RTLD_NOIFUNC.
65890         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
65891         elf_machine_rela.
65892         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
65893         skip_ifunc, don't call ifunc function if non-zero.
65894         (elf_machine_rela): Likewise.
65895         (elf_machine_lazy_rel): Likewise.
65896         (elf_machine_lazy_rela): Likewise.
65897         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
65898         (elf_machine_lazy_rel): Likewise.
65899         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
65900         Likewise.
65901         (elf_machine_lazy_rel): Likewise.
65902         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
65903         Likewise.
65904         (elf_machine_lazy_rel): Likewise.
65905         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
65906         (elf_machine_lazy_rel): Likewise.
65907         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
65908         (elf_machine_lazy_rel): Likewise.
65909         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
65910         (elf_machine_lazy_rel): Likewise.
65911         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
65912         (elf_machine_lazy_rel): Likewise.
65913         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
65914         (elf_machine_lazy_rel): Likewise.
65915         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
65916         (elf_machine_lazy_rel): Likewise.
65918 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
65920         * nss/nss_files/files-init.c (_nss_files_init): Use static
65921         initialization for all the *_traced_file variables.
65923 2011-09-28  Andreas Schwab  <schwab@redhat.com>
65925         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65927 2011-09-27  Roland McGrath  <roland@hack.frob.com>
65929         [BZ #13226]
65930         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
65932 2011-09-27  Andreas Schwab  <schwab@redhat.com>
65934         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
65935         Reread the line before reparsing it.
65937 2011-09-26  Andreas Schwab  <schwab@redhat.com>
65939         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
65941 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
65942             Maxim Kuvyrkov  <maxim@codesourcery.com>
65943             Joseph Myers  <joseph@codesourcery.com>
65945         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
65946         if needed for __stack_chk_guard.
65948 2011-09-19  Roland McGrath  <roland@hack.frob.com>
65950         * sysdeps/posix/spawni.c (script_execute): Always define it.
65951         It will be optimized away if unused.
65952         (maybe_script_execute): New function.
65953         (__spawni): Call it.
65955         * Makerules: Don't include tls.make.
65956         (config-tls): Always set to thread.
65957         * tls.make.c: File removed.
65959 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
65961         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
65962         * config.make.in (CPPFLAGS-config): New substituted variable.
65964 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
65966         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
65968         [BZ #13192]
65969         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
65970         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
65972 2011-09-15  Roland McGrath  <roland@hack.frob.com>
65974         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
65975         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
65976         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
65977         (CALL_FAIL): Likewise.
65978         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
65979         (CALL_FAIL): Macro removed.
65980         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
65982 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
65984         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
65985         for __FINITE_MATH_ONLY__ == 1.
65987 2011-09-15  Andreas Schwab  <schwab@redhat.com>
65989         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
65990         __ieee754_sqrt instead of sqrt.
65991         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
65992         __ieee754_sqrtf instead of sqrtf.
65993         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
65994         __floorf instead of floorf.
65995         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
65996         __floorf, __truncf instead of floorf, truncf.
65998 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
66000         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
66002         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
66003         __extern_always_inline.
66004         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
66005         32-bit.
66007 2011-09-14  Andreas Schwab  <schwab@redhat.com>
66009         * elf/rtld.c (dl_main): Also relocate in dependency order when
66010         doing symbol dependency testing.
66012 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
66014         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
66015         Always define `refsym'.
66017 2011-09-13  Andreas Schwab  <schwab@redhat.com>
66019         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
66020         (__FD_ELT): Renamed from __FDELT.
66021         * misc/bits/select2.h (__FD_ELT): Likewise.
66022         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
66023         __FD_MASK instead of __FDELT, __FDMASK.
66024         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
66025         Likewise.
66026         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
66027         Likewise.
66029         * elf/Makefile (gen-ldd): Fix pattern.
66031         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
66032         (init_tls): Likewise.
66034 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
66036         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
66038 2011-09-12  Andreas Schwab  <schwab@redhat.com>
66040         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
66041         `struct cmsghdr *' instead of `void *'.
66042         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
66043         Likewise.
66045 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
66047         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
66048         if non-absolute.
66049         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
66050         ldd_rewrite_script.
66052 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
66054         * configure.in: Remove --with-tls option.
66055         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
66056         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
66057         out in case it is missing.
66058         * sysdeps/ia64/elf/configure.in: Likewise.
66059         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
66060         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
66061         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
66062         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
66063         * sysdeps/sh/elf/configure.in: Likewise.
66064         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
66065         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
66066         * sysdeps/x86_64/elf/configure.in: Likewise.
66067         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
66068         * sysdeps/mach/hurd/tls.h: Likewise.
66070         [BZ #13067]
66071         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
66073         [BZ #13090]
66074         * configure.in: Fix use of AC_INIT.
66076         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
66078 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
66080         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
66081         __set_errno.
66082         * malloc/hooks.c: Likewise.
66084         [BZ #11929]
66085         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
66086         variables statically.
66087         (narenas): Initialize.
66088         (list_lock): Initialize.
66089         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
66090         initializtion of main_arena and list_lock.  Small cleanups.
66091         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
66092         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
66093         Add initializers to main_arena and mp_.
66094         (malloc_state): Remove pagesize member.  Change all users to use
66095         GLRO(dl_pagesize).
66097         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
66098         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
66099         is always initialized.
66101         * malloc/malloc.c: Removed unused configurations and dead code.
66102         * malloc/arena.c: Likewise.
66103         * malloc/hooks.c: Likewise.
66104         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
66106         * include/tls.h: Removed.  USE___THREAD must always be defined.
66107         * bits/libc-tsd.h: Don't handle !USE___THREAD.
66108         * elf/dl-libc.c: Likewise.
66109         * elf/dl-tsd.c: Likewise.
66110         * include/errno.h: Likewise.
66111         * include/netdb.h: Likewise.
66112         * include/resolv.h: Likewise.
66113         * inet/herrno-loc.c: Likewise.
66114         * inet/herrno.c: Likewise.
66115         * malloc/arena.c: Likewise.
66116         * malloc/hooks.c: Likewise.
66117         * malloc/malloc.c: Likewise.
66118         * resolv/res-state.c: Likewise.
66119         * resolv/res_libc.c: Likewise.
66120         * sysdeps/i386/dl-machine.h: Likewise.
66121         * sysdeps/ia64/dl-machine.h: Likewise.
66122         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
66123         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
66124         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
66125         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
66126         * sysdeps/sh/dl-machine.h: Likewise.
66127         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
66128         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
66129         * sysdeps/unix/i386/sysdep.S: Likewise.
66130         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
66131         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
66132         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
66133         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
66134         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
66135         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
66136         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
66137         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
66138         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
66139         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
66140         * sysdeps/unix/x86_64/sysdep.S: Likewise.
66141         * sysdeps/x86_64/dl-machine.h: Likewise.
66142         * tls.make.c: Likewise.
66144         * configure.in: Remove --with-__thread option.  Make tests for
66145         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
66146         tls_model attribute fail if no support is available.  Remove
66147         USE_IN_LIBIO.
66148         * Makeconfig: Adjust for dropped configure option.  All features are
66149         now mandatory.
66150         * Makerules: Likewise.
66151         * Versions.def: Likewise.
66152         * argp/argp-fmtstream.c: Likewise.
66153         * argp/argp-fmtstream.h: Likewise.
66154         * argp/argp-help.c: Likewise.
66155         * assert/assert.c: Likewise.
66156         * config.h.in: Likewise.
66157         * config.make.in: Likewise.
66158         * configure: Likewise.
66159         * configure.in: Likewise.
66160         * csu/Versions: Likewise.
66161         * csu/init.c: Likewise.
66162         * elf/tst-audit2.c: Likewise.
66163         * elf/tst-tls10.c: Likewise.
66164         * elf/tst-tls10.h: Likewise.
66165         * elf/tst-tls11.c: Likewise.
66166         * elf/tst-tls12.c: Likewise.
66167         * elf/tst-tls14.c: Likewise.
66168         * elf/tst-tlsmod11.c: Likewise.
66169         * elf/tst-tlsmod12.c: Likewise.
66170         * elf/tst-tlsmod13.c: Likewise.
66171         * elf/tst-tlsmod13a.c: Likewise.
66172         * elf/tst-tlsmod14a.c: Likewise.
66173         * elf/tst-tlsmod15b.c: Likewise.
66174         * elf/tst-tlsmod16a.c: Likewise.
66175         * elf/tst-tlsmod16b.c: Likewise.
66176         * elf/tst-tlsmod7.c: Likewise.
66177         * elf/tst-tlsmod8.c: Likewise.
66178         * elf/tst-tlsmod9.c: Likewise.
66179         * gmon/gmon.c: Likewise.
66180         * grp/fgetgrent_r.c: Likewise.
66181         * grp/putgrent.c: Likewise.
66182         * hurd/fopenport.c: Likewise.
66183         * include/libc-symbols.h: Likewise.
66184         * include/tls.h: Likewise.
66185         * intl/gettextP.h: Likewise.
66186         * intl/loadinfo.h: Likewise.
66187         * locale/global-locale.c: Likewise.
66188         * locale/localeinfo.h: Likewise.
66189         * mach/devstream.c: Likewise.
66190         * malloc/arena.c: Likewise.
66191         * malloc/set-freeres.c: Likewise.
66192         * misc/err.c: Likewise.
66193         * misc/getttyent.c: Likewise.
66194         * misc/mntent_r.c: Likewise.
66195         * posix/getopt.c: Likewise.
66196         * posix/wordexp.c: Likewise.
66197         * pwd/fgetpwent_r.c: Likewise.
66198         * resolv/Versions: Likewise.
66199         * resolv/res_hconf.c: Likewise.
66200         * shadow/fgetspent_r.c: Likewise.
66201         * shadow/putspent.c: Likewise.
66202         * stdio-common/printf_fphex.c: Likewise.
66203         * stdio-common/tmpfile.c: Likewise.
66204         * stdlib/abort.c: Likewise.
66205         * stdlib/fmtmsg.c: Likewise.
66206         * sunrpc/auth_unix.c: Likewise.
66207         * sunrpc/clnt_perr.c: Likewise.
66208         * sunrpc/clnt_tcp.c: Likewise.
66209         * sunrpc/clnt_udp.c: Likewise.
66210         * sunrpc/clnt_unix.c: Likewise.
66211         * sunrpc/openchild.c: Likewise.
66212         * sunrpc/svc_simple.c: Likewise.
66213         * sunrpc/svc_tcp.c: Likewise.
66214         * sunrpc/svc_udp.c: Likewise.
66215         * sunrpc/svc_unix.c: Likewise.
66216         * sunrpc/xdr.c: Likewise.
66217         * sunrpc/xdr_array.c: Likewise.
66218         * sunrpc/xdr_rec.c: Likewise.
66219         * sunrpc/xdr_ref.c: Likewise.
66220         * sunrpc/xdr_stdio.c: Likewise.
66222 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
66224         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66226 2011-07-03  Andreas Jaeger  <aj@suse.de>
66228         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
66229         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
66230         regenerate with gen-libm-tests.pl.
66232 2010-05-12  Petr Baudis  <pasky@suse.cz>
66234         [BZ #11589]
66235         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
66236         around j0() zero points by switching to j1().
66237         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
66238         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
66239         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
66240         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
66242 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
66244         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
66245         instead of 0.
66246         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
66247         instead of 0.
66248         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
66249         Patch in part by Pavel Roskin <proski@gnu.org>.
66251         [BZ #13138]
66252         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
66253         realloc.
66254         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
66255         Free memory block if necessary.
66257         [BZ #12847]
66258         * libio/genops.c (INTDEF): For string streams the _lock pointer can
66259         be NULL.  Don't lock in this case.
66261 2011-09-09  Roland McGrath  <roland@hack.frob.com>
66263         * elf/elf.h (ELFOSABI_GNU): New macro.
66264         (ELFOSABI_LINUX): Define to that.
66266 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
66268         * string/strncat.c (strncat): Undef the symbol in case it has been
66269         defined in bits/string.h.
66271 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
66273         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
66275         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
66276         link map.
66278 2011-08-17  Andreas Jaeger  <aj@suse.de>
66280         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
66282 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
66283             Ian Lance Taylor  <iant@google.com>
66285         * math/libm-test.inc (lround_test): New testcase.
66286         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
66288 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
66290         * Makefile: Remove support for automatic cvs check-ins.
66291         * Makerules: Likewise.
66292         * config.make.in: Likewise.
66293         * configure.in: Likewise.
66294         * intl/Makefile: Likewise.
66295         * locale/Makefile: Likewise.
66296         * po/Makefile: Likewise.
66297         * posix/Makefile: Likewise.
66298         * sysdeps/gnu/Makefile: Likewise.
66299         * sysdeps/mach/hurd/Makefile: Likewise.
66300         * sysdeps/sparc/sparc32/Makefile: Likewise.
66302         [BZ #13118]
66303         * posix/Makefile (bug-regex32-ENV): Define.
66304         Patch by John Stanley <jpsinthemix@verizon.net>.
66306         * misc/Makefile (headers): Add bits/select2.h.
66307         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
66308         * misc/bits/select2.h: New file.
66309         * include/bits/select2.h: New file.
66310         * debug/Makefile (routines): Add fdelt_chk.
66311         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
66312         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
66313         FD_ISSET.
66314         * debug/fdelt_chk.c: New file.
66316         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
66317         * wcsmbs/test-wmemcmp.c: Likewise.
66318         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
66319         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
66321 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66323         * string/Makefile (strop-tests): Add memcmp.
66324         * string/test-wmemcmp.c: New file.
66325         * string/test-memcmp.c: Add wmemcmp support.
66327 2011-09-08  Roland McGrath  <roland@hack.frob.com>
66329         [BZ #13153]
66330         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
66331         2011-07-19 change.
66333         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
66334         garbage value in a __mach_port_mod_refs call in the cases of the
66335         task-self and thread-self ports.
66337 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66339         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
66341 2011-09-08  Andreas Schwab  <schwab@redhat.com>
66343         * elf/dl-load.c (lose): Check for non-null L.
66345 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
66347         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
66349         * elf/dl-libc.c (dlerror_run): Pass back error code from
66350         dl_catch_error.
66352         [BZ #13123]
66353         * elf/dl-load.c (lose): Free l_origin if it is valid.
66355         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
66356         names.
66357         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
66358         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
66359         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
66360         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
66361         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
66362         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
66364 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66366         * sysdeps/powerpc/fpu/e_hypot.c: New file.
66367         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
66368         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
66369         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
66370         * sysdeps/powerpc/fpu/k_cosf.c: New file.
66371         * sysdeps/powerpc/fpu/k_sinf.c: New file.
66372         * sysdeps/powerpc/fpu/s_cosf.c: New file.
66373         * sysdeps/powerpc/fpu/s_sinf.c: New file.
66374         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
66375         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
66377 2011-08-15  Alan Modra  <amodra@gmail.com>
66379         [BZ #13092]
66380         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
66381         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
66382         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
66383         ppc_mcount to static-only-routines.
66384         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
66385         __mcount_internal.
66386         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
66387         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
66389 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
66391         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
66392         for finite and infinity parameters.
66394 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
66396         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
66397         and add nop instructions for throughput optimization.
66398         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
66400 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
66402         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
66403         aligned copy for power7 with vector-scalar instructions.
66404         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
66406 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
66408         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
66409         AVX check.
66411 2011-09-07  Andreas Schwab  <schwab@redhat.com>
66413         [BZ #13144]
66414         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
66415         last change.
66417 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
66419         * sysdeps/unix/sysv/linux/x86_64/init-first.c
66420         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
66421         syscall wrapper around clock_gettime in __vdso_clock_gettime.
66422         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
66423         clock_gettime.
66425 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
66427         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
66428         Forgot to demangle the pointer.
66430         * sysdeps/i386/sysdep.h: Define atom_text_section.
66431         * sysdeps/x86_64/sysdep.h: Likewise.
66432         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
66433         section with atom_text_section.
66434         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
66435         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
66436         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
66437         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
66438         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
66440         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
66441         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
66442         already be defined.  Change to take two parameters and don't assign
66443         result to variable.  Adjust all users.
66444         Define INTERNAL_GETTIME if not already defined.
66445         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
66446         call.
66447         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
66448         HAVE_CLOCK_GETTIME_VSYSCALL.
66449         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
66451         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
66452         gettimeofday vsyscall, just use time.
66454 2011-09-06  Andreas Schwab  <schwab@redhat.com>
66456         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
66457         <errno.h>.
66459 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
66461         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
66462         syscall on x86-64.
66463         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
66464         syscall.
66465         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
66466         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
66467         syscall if possible.
66469 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
66471         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
66472         e_ident.  Don't pass to find_mapsXX.
66473         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
66475 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
66477         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66478         strchr-sse2-no-bsf strrchr-sse2-no-bsf
66479         * sysdeps/x86_64/multiarch/strchr.S: Update.
66480         Check bit_slow_BSF bit.
66481         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
66482         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
66483         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
66485 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
66487         [BZ #13134]
66488         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
66489         before glibc 2.15.
66490         (tryshell): Define.
66491         (__spawni): Change last parameter to be flag.  Test
66492         SPAWN_XFLAGS_USE_PATH flag to use path or not.
66493         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
66494         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
66495         * posix/spawni.c: Likewise.
66496         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
66497         * posix/spawnp.c: Likewise.  Change normal version to use
66498         SPAWN_XFLAGS_USE_PATH.
66499         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
66500         SPAWN_XFLAGS_TRY_SHELL.
66502         [BZ #13150]
66503         * posix/glob.h: Remove gcc 1.x support.
66505         [BZ #13068]
66506         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
66508 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
66510         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66511         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
66512         strrchr-sse2-bsf
66513         * sysdeps/i386/i686/multiarch/strchr.S: New file.
66514         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
66515         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
66516         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
66517         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
66518         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
66520 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66522         * sysdeps/x86_64/wcscmp.S: New file.
66524         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
66525         wcscmp-c wcscmp-sse2
66526         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
66527         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
66528         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
66529         * wcsmbs/wcscmp.c: Allow renaming.
66531 2011-09-05  David S. Miller  <davem@davemloft.net>
66533         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
66534         stack slot, rather than the struct return pointer slot.
66535         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
66536         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
66537         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
66538         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
66540 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
66542         * po/ja.po: Update from translation team.
66544         [BZ #13144]
66545         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
66546         kernel in 64-bit binaries.
66548 2011-09-01  David S. Miller  <davem@davemloft.net>
66550         * elf/elf.h (HWCAP_SPARC_*): Move to..
66551         * sysdeps/sparc/sysdep.h: this new file and add new values.
66552         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
66553         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
66554         _DL_HWCAP_COUNT to 24.
66555         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
66556         entries.
66557         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
66558         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
66559         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
66560         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
66561         instead of magic constants.
66562         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
66564 2011-08-31  David S. Miller  <davem@davemloft.net>
66566         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
66567         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
66568         Reimplement to do errno handling inline.
66569         (SYSCALL_ERROR_HANDLER): New macro.
66570         (__SYSCALL_STRING): Do not do errno handling in asm.
66571         (__CLONE_SYSCALL_STRING): Delete.
66572         (__INTERNAL_SYSCALL_STRING): Delete.
66573         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
66574         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
66575         (PSEUDO): Reimplement to do errno handling inline.
66576         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
66577         (SYSCALL_ERROR_HANDLER): New macro.
66578         (__SYSCALL_STRING): Do not do errno handling in asm.
66579         (__CLONE_SYSCALL_STRING): Delete.
66580         (__INTERNAL_SYSCALL_STRING): Delete.
66581         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
66582         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
66583         i386.
66584         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
66585         (inline_syscall*): Add 'err' argument.
66586         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
66587         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
66588         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
66589         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
66591         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
66592         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
66594 2011-08-30  Andreas Schwab  <schwab@redhat.com>
66596         * elf/rtld.c (dl_main): Relocate objects in dependency order.
66598 2011-08-29  Jiri Olsa <jolsa@redhat.com>
66600         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
66601         directive.
66603 2011-08-24  David S. Miller  <davem@davemloft.net>
66605         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
66607 2011-08-24  Andreas Schwab  <schwab@redhat.com>
66609         * elf/Makefile: Add rules to build and run unload8 test.
66610         * elf/unload8.c: New file.
66611         * elf/unload8mod1.c: New file.
66612         * elf/unload8mod1x.c: New file.
66613         * elf/unload8mod2.c: New file.
66614         * elf/unload8mod3.c: New file.
66616         * elf/dl-close.c (_dl_close_worker): Reset private search list if
66617         it wasn't used.
66619 2011-08-23  David S. Miller  <davem@davemloft.net>
66621         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
66622         subtract stack bias.
66623         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
66624         %sp not %fp in calculations.
66625         (_JMPBUF_UNWINDS_ADJ): Likewise.
66627         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
66628         (aio_suspend): Call it to force an exception region around the
66629         AIO_MISC_WAIT() invocation.
66631 2011-08-23  Andreas Schwab  <schwab@redhat.com>
66633         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
66634         backslash.
66636 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
66638         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
66639         protection macro.
66640         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
66641         and <dl-machine.h>.
66642         (Elf64_FuncDesc): Remove.
66644 2011-08-22  David S. Miller  <davem@davemloft.net>
66646         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
66647         sigaltstack check, add missing cfi directives.
66648         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
66649         missing cfi directives, and sigaltstack handling.
66651 2011-08-16  Andreas Schwab  <schwab@redhat.com>
66653         [BZ #11724]
66654         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
66655         object is seen twice.
66656         * elf/dl-fini.c (_dl_sort_fini): Likewise.
66658         * elf/Makefile (distribute): Add tst-initorder2.c.
66659         (tests): Add tst-initorder2.
66660         (modules-names): Add tst-initorder2a tst-initorder2b
66661         tst-initorder2c tst-initorder2d.  Add rules to build them.
66662         ($(objpfx)tst-initorder2.out): New rule.
66663         * elf/tst-initorder2.c: New file.
66664         * elf/tst-initorder2.exp: New file.
66666 2011-08-22  Andreas Schwab  <schwab@redhat.com>
66668         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
66670         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
66671         dependencies back to end of function.
66673         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
66674         $(elfobjdir)/ld.so.
66676 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
66678         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
66679         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
66680         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
66681         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
66682         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
66683         of __vdso_gettimeofday.
66684         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
66685         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
66686         attribute_hidden.
66687         (_libc_vdso_platform_setup): Remove initialization of
66688         __vdso_gettimeofday and __vdso_time.
66690 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
66692         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
66693         and fgetc_unlocked.
66694         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
66695         getc_unlocked.
66697         * elf/dl-open.c (add_to_global): Report additions to the global scope
66698         for LD_DEBUG=scopes.
66699         (dl_open_worker): Also print scope of newly loaded dependencies.
66700         (_dl_show_scope): Indicate if there is no scope.
66702         [BZ #13114]
66703         * stdio-common/Makefile (tests): Add bug24.
66704         * stdio-common/bug24.c: New file.
66706 2011-08-19  Andreas Jaeger  <aj@suse.de>
66708         [BZ #13114]
66709         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
66710         non-existant file when using close-on-exec mode.
66712 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
66714         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
66715         the very first instruction.
66717         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
66718         the CFI state in the end.
66719         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
66720         inclusion of dl-trampoline.h.
66721         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
66723 2011-08-19  Andreas Schwab  <schwab@redhat.com>
66725         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
66726         expectations for long double.
66728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
66729         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
66731 2011-08-14  David S. Miller  <davem@davemloft.net>
66733         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
66734         artificual limit depends upon the system page size.
66736 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
66738         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
66739         * resolv/Makefile: Define CFLAGS-libresolv.
66741 2011-08-17  Andreas Schwab  <schwab@redhat.com>
66743         * nss/makedb.c (compute_tables): Make variables used in nested
66744         function static.
66746 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
66748         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
66749         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
66750         if buffer was too small.
66752         * elf/pldd.c (main): Attach to all threads in the process.
66753         Rewrite /proc handling to use *at functions.
66755 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
66757         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
66758         specifies first scope to show.
66759         (dl_open_worker): Update callers.  Move printing scope of new
66760         object to before the relocation.
66761         * elf/rtld.c (dl_main): Update _dl_show_scope call.
66762         * sysdeps/generic/ldsodefs.h: Update declaration.
66764         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
66765         string for the scope number.
66767 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
66769         * nscd/servicescache.c (cache_addserv): Make sure written is always
66770         initialized.
66772 2011-08-14  Roland McGrath  <roland@hack.frob.com>
66774         * sysdeps/i386/i486/bits/atomic.h
66775         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
66776         statement expression, so as to suppress "set but not used" warning.
66777         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
66779         * string/strncat.c (STRNCAT): Use prototype definition.
66781         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
66782         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
66783         -Iprograms here.
66784         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
66785         (localedef-modules): Add localedef.
66786         (locale-modules): Add locale.
66788         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
66789         * elf/rtld.c (dl_main): Invert order of assignment in last change,
66790         to avoid a warning.
66792 2011-08-14  David S. Miller  <davem@davemloft.net>
66794         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
66795         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
66797 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
66799         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
66800         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
66801         * elf/rtld.c (dl_main): Set l_name of vDSO.
66802         Call _dl_show_scope when DL_DEBUG_SCOPES.
66803         (process_dl_debug): Recognize scopes flag and also set it for all.
66804         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
66805         Declare _dl_show_scope.
66807         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
66808         (do_dlopen): Pass caller_dlopen to dl_open.
66809         (__libc_dlopen_mode): Initialize caller_dlopen.
66811         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
66812         of libc.  Make tolower call locale-independent.  Optimize a bit by
66813         using isdigit instead of isalnum.
66814         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
66816 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
66818         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
66819         was a dependency or dynamically loaded.
66821 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
66823         * intl/l10nflist.c: Allow architecture-specific pop function.
66824         * sysdeps/x86_64/l10nflist.c: New file.
66826         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
66827         classification.
66829 2011-08-10  Andreas Schwab  <schwab@redhat.com>
66831         * include/dirent.h: Add libc_hidden_proto for scandirat and
66832         scandirat64.  Don't declare __scandirat64.
66833         * dirent/scandirat.c: Add libc_hidden_def.
66834         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
66835         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
66837 2011-08-10  David S. Miller  <davem@davemloft.net>
66839         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
66840         enum.
66841         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
66842         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
66843         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
66845 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
66847         * Versions.def [libc]: Add GLIBC_2.15.
66848         * dirent/Makefile (routines): Add scandirat and scandirat64.
66849         * dirent/Versions [libc]: Export scandirat and scandirat64 for
66850         GLIBC_2.15.
66851         * dirent/dirent.h: Declare scandirat and scandirat64.
66852         * dirent/scandirat.c: New file.
66853         * dirent/scandirat64.c: New file.
66854         * sysdeps/wordsize-64/scandirat.c: New file.
66855         * sysdeps/wordsize-64/scandirat64.c: New file.
66856         * dirent/opendir.c: Define opendirat.
66857         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
66858         using scandirat.
66859         * dirent/scandir64.c: Adjust for scandir.c change.
66860         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
66861         __scandirat64, and __scandir_cancel_handler.
66862         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
66863         additional parameter and use openat instead of open (outside of ld.so).
66864         Add new __opendir as wrapper around __opendirat.
66865         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
66866         here without requiring old scandirat implementation.
66868 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
66870         * dirent/scandir.c (cancel_handler): Renamed to
66871         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
66872         defined.  Adjust users.
66873         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
66874         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
66876 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
66878         * string/test-string.h (IMPL): Use __STRING to expand name and then
66879         stringify it.
66881         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
66882         of cleanups.
66884 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66886         * string/Makefile: Update.
66887         (strop-tests): Append strncat.
66888         * string/test-wcscmp.c: New file.
66889         New comprehensive test for wcscmp.
66890         * string/test-strcmp.c: Update.
66891         (WIDE): New define.
66893 2011-07-22  Andreas Schwab  <schwab@redhat.com>
66895         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
66896         line.
66898 2011-07-26  Andreas Schwab  <schwab@redhat.com>
66900         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
66901         encoding to ACE if AI_IDN.
66903 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
66905         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
66906         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
66908 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
66910         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
66911         Fix overflow bug in strncat.
66912         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
66914         * string/test-strncat.c: Update.
66915         Add new tests for checking overflow bugs.
66917 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
66919         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66920         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
66921         * sysdeps/i386/i686/multiarch/strcat.S: New file.
66922         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
66923         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
66924         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
66925         * sysdeps/i386/i686/multiarch/strncat.S: New file.
66926         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
66927         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
66929         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
66930         (USE_AS_STRCAT): Define.
66931         Add strcat and strncat support.
66932         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
66934 2011-07-25  Andreas Schwab  <schwab@redhat.com>
66936         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
66937         __n bigger than INT_MAX+1.
66938         (__strncmp_g): Likewise.
66940 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
66942         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
66943         * libio/stido.h: Likewise.
66945         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
66946         (AF_NFC): Define.
66947         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
66948         (AF_NFC): Define.
66950         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
66951         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
66952         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
66953         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
66954         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
66956         [BZ #13021]
66957         * scripts/test-installation.pl: Don't expect libnss_test1 to be
66958         installed.
66960         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
66961         typo.
66962         (_dl_x86_64_save_sse): Likewise.
66964 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
66966         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
66967         OSXSAVE.
66968         (_dl_x86_64_save_sse): Likewise.
66970         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
66972         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
66974 2011-07-21  Andreas Schwab  <schwab@redhat.com>
66976         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
66977         change.
66978         (_dl_x86_64_save_sse): Use correct AVX check.
66980 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66982         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
66983         bug in strncpy/strncat.
66984         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
66986 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
66988         * string/tester.c (test_strcat): Add tests for different alignments
66989         of source and destination.
66990         (test_strncat): Likewise.
66992 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
66994         [BZ #12852]
66995         * posix/glob.c (glob): Check passed in values before using them in
66996         expressions to avoid some overflows.
66997         (glob_in_dir): Likewise.
66999         [BZ #13007]
67000         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
67001         check for AVX enablement so that we don't crash with old kernels and
67002         new hardware.
67003         * elf/tst-audit4.c: Add same checks here.
67004         * elf/tst-audit6.c: Likewise.
67006         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
67008 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
67010         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
67012 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
67014         * po/cs.po: Update from translation team.
67015         * po/bg.po: Likewise.
67017 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
67019         * misc/sys/cdefs.h: Add support for const attribute.
67020         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
67021         to gnu_dev_{major,minor,makedev} functions.
67023 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
67025         * intl/dcigettext.c (get_output_charset): Add missing bracket.
67027 2011-07-20  Andreas Schwab  <schwab@redhat.com>
67029         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
67030         strlen results.
67032 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67034         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
67035         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
67036         register in order to avoid conflicts with the soft frame pointer
67037         being held in r11 when necessary.
67038         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
67039         (INTERNAL_VSYSCALL_NCS): Likewise.
67041 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
67043         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
67044         * elf/dl-fini.c (_dl_fini): Adjust caller.
67045         * elf/dl-close.c (_dl_close_worker): Likewise.
67046         * sysdeps/generic/ldsodefs.h: Adjust declaration.
67048 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
67050         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
67051         "aux_cache->nlibs < 0".
67053         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
67054         in the reload-count case.
67056 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67058         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67059         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
67060         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
67061         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
67062         * sysdeps/x86_64/multiarch/strcat.S: New file.
67063         * sysdeps/x86_64/multiarch/strncat.S: New file.
67064         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
67065         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
67066         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
67067         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
67068         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
67069         (USE_AS_STRCAT): Define.
67070         Add strcat and strncat support.
67071         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
67072         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
67073         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
67074         * string/strncat.c: Update.
67075         (USE_AS_STRNCAT): Define.
67076         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67077         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
67078         and i7.
67079         * sysdeps/x86_64/multiarch/init-arch.h
67080         (bit_Prefer_PMINUB_for_stringop): New.
67081         (index_Prefer_PMINUB_for_stringop): Likewise.
67082         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
67083         bit_Prefer_PMINUB_for_stringop.
67085 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
67087         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
67088         buffer64.
67089         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
67090         of casting of buffer.
67091         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
67092         buffer32 and buffer64.
67093         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
67094         writes instead of casting of buffer.
67095         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
67096         buffer32.
67097         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
67098         casting of buffer.
67100 2011-07-19  Andreas Schwab  <schwab@redhat.com>
67102         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
67104 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
67106         * nscd/nscd.c (termination_handler): Don't do anything for a database
67107         if it has not yet been initialized.
67109 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
67111         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
67113 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
67115         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
67117 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
67119         * po/nl.po: Update from translation team.
67120         * po/sv.po: Likewise.
67122 2011-07-16  Roland McGrath  <roland@hack.frob.com>
67124         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
67125         now disallowed by GCC.
67127         * configure.in (use-default-link): Default to yes if a test -shared
67128         link meets our qualifications.
67129         * configure: Regenerated.
67131         * config.make.in (output-format): New variable.
67132         * configure.in: Check for ld --print-output-format support.
67133         * configure: Regenerated.
67134         * Makerules ($(common-objpfx)format.lds)
67135         [$(output-format) != unknown]: Just use $(output-format),
67136         instead of the linker-script munging.
67138 2011-07-14  Roland McGrath  <roland@hack.frob.com>
67140         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
67141         of $(common-objpfx)shlib.lds.
67142         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
67144         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
67145         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
67147         * configure.in (-z relro check): Adjust test code to add a large
67148         writable data section after it.
67149         * configure: Regenerated.
67151 2011-07-11  Roland McGrath  <roland@hack.frob.com>
67153         * configure.in (-z relro check): Fix test code to make the variable
67154         truly const.
67155         * configure: Regenerated.
67157 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
67159         * nscd/nscd.h (struct traced_file): Define.
67160         (struct database_dyn): Remove inotify_descr, reset_res, and filename
67161         elements.  Add traced_files.
67162         (inotify_fd): Declare.
67163         (register_traced_file): Declare.
67164         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
67165         (inotify_fd): Export.
67166         (resolv_conf_descr): Remove.
67167         (nscd_init): Move inotify descriptor creation to main.
67168         Don't register files for notification here.
67169         (register_traced_file): New function.
67170         (invalidate_cache): Don't use reset_res to determine whether to call
67171         res_init, go through the list of registered files.
67172         (main_loop_poll): The inotify descriptors are now stored in the
67173         structures for the traced files.
67174         (main_loop_epoll): Likewise
67175         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
67176         to __nss_disable_nscd.
67177         * nscd/cache.c (prune_cache): There is no single inotify descriptor
67178         for a database anymore.  Check the records for all the registered
67179         files instead.
67180         * nss/Makefile (libnss_files-routines): Add files-init.
67181         (libnss_db-routines): Add db-init.
67182         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
67183         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
67184         * nss/nss_db/db-init.c: New file.
67185         * nss/nss_files/files-init.c: New file.
67186         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
67187         __nss_lookup_function.
67188         (__nss_lookup_function): Call nss_load_library.
67189         (nss_load_all_libraries): New function.
67190         (__nss_disable_nscd): Take parameter with callback function for files
67191         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
67192         used for the cached services.
67193         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
67194         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
67195         options for features to all the files in nscd.
67197         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
67199 2011-07-10  Roland McGrath  <roland@hack.frob.com>
67201         * csu/elf-init.c (__libc_csu_init): Comment typo.
67203 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
67205         * po/pl.po: Update from translation team.
67206         * po/ja.po: Likewise.
67207         * po/ru.po: Likewise.
67208         * po/ko.po: Likewise.
67209         * po/fr.po: Likewise.
67211 2011-07-09  Roland McGrath  <roland@hack.frob.com>
67213         * configure.in (.ctors/.dtors header and trailer check):
67214         Use an empirical test on a built program.
67215         * configure: Regenerated.
67217         * configure.in (-z relro check): Use an empirical test on a built DSO.
67218         Detect, but do not require, on ia64.
67219         * configure: Regenerated.
67221         * configure.in (READELF): Find it with AC_CHECK_TOOL.
67222         Update tests that use readelf to use $READELF instead.
67223         * configure: Regenerated.
67225 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
67227         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
67228         if the result is not used.
67230 2011-07-05  Andreas Jaeger  <aj@suse.de>
67232         [BZ#9696]
67233         * stdlib/tst-strtod.c: Add testcase.
67235 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
67237         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
67238         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
67239         The latter has a higher limit.  Take additional parameter to pass to
67240         the new function.
67241         (__pathconf): Pass file to __statfs_link_max.
67242         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
67243         __statfs_link_max.
67244         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
67245         __statfs_link_max.
67247         [BZ #12868]
67248         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
67249         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
67250         Handle Lustre.
67251         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
67252         (__statfs_filesize_max): Likewise.
67253         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
67255 2011-07-05  Andreas Jaeger  <aj@suse.de>
67257         * resolv/res_comp.c (dn_skipname): Remove unused variable.
67259 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
67261         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
67262         `status' variable.
67263         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
67264         Likewise.
67266 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
67268         * Makefile (strop-tests): Add strncat.
67269         * string/test-strncat.c: New file.
67271 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
67273         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
67275 2011-06-21  Andreas Jaeger  <aj@suse.de>
67277         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
67278         Copy rule from iconvdata/Makefile.
67280 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
67282         [BZ #12922]
67283         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
67284         but no long options are defined, just return 'W'.
67286 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
67288         [BZ #9696]
67289         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
67291 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
67293         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
67294         netgroups to read.
67295         (innetgr): Likewise.
67297 2011-07-05  Roland McGrath  <roland@hack.frob.com>
67299         * config.make.in (install_root): Default to $(DESTDIR).
67301 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
67303         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
67305 2011-07-02  Roland McGrath  <roland@hack.frob.com>
67307         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
67309         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
67310         containing directory rather than embedding absolute directory names.
67312         * scripts/check-local-headers.sh: Rewritten using awk.
67313         Match by word, not by line.  Print error messages for matches.
67314         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
67316         * Makerules [shlib-lds-flags empty]:
67317         ($(common-objpfx)libc_pic.opts): New target.
67318         ($(common-objpfx)libc_pic.os.clean): New target.
67319         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
67321         * config.make.in (OBJCOPY): New variable.
67322         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
67323         * configure: Regenerated.
67325         * config.make.in (use-default-link): New variable.
67326         * configure.in (use_default_link): Grok --with-default-link to set it.
67327         * configure: Regenerated.
67328         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
67329         (shlib-lds, shlib-lds-flags): Define to empty.
67331         * Makerules (shlib-lds): New variable.
67332         (shlib-lds-flags): New variable.
67333         (build-shlib, build-moduile, build-module-asneeded): Use it.
67334         ($(common-objpfx)libc.so): Use $(shlib-lds).
67335         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
67336         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
67338         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
67339         DT_FLAGS/DT_FLAGS_1 with zero flags.
67341         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
67342         linker script munging.
67344 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
67346         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
67347         as 128-bit value.
67348         * crypt/sha512.c (sha512_process_block): Perform total addition using
67349         128-bit if possible.
67350         (__sha512_finish_ctx): Likewise.
67351         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
67352         as 64-bit value.
67353         * crypt/sha256.c (SWAP64): Define.
67354         (sha256_process_block): Perform total addition using 64-bit if
67355         possible.
67356         (__sha256_finish_ctx): Likewise.
67358 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
67360         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
67361         * nscd/initgrcache.c (addinitgroupsX): Likewise.
67362         * nscd/hstcache.c (cache_addhst): Likewise.
67363         * nscd/grpcache.c (cache_addgr): Likewise.
67364         * nscd/aicache.c (addhstaiX): Likewise
67365         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
67367 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
67369         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
67370         * nscd/initgrcache.c (addinitgroupsX): Likewise.
67371         * nscd/hstcache.c (cache_addhst): Likewise.
67372         * nscd/grpcache.c (cache_addgr): Likewise.
67373         * nscd/aicache.c (addhstaiX): Likewise
67375 2011-07-01  Andreas Schwab  <schwab@redhat.com>
67377         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
67378         domain only when needed.
67380 2011-06-30  Andreas Schwab  <schwab@redhat.com>
67382         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
67383         is always restored.
67385 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
67387         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
67388         are re-adding the entry.
67389         * nscd/servicescache.c (cache_addserv): Likewise.
67391 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
67393         * sysdeps/generic/dl-irel.h: fix protection against multiple
67394         inclusions.
67395         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
67397 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
67399         [BZ #12935]
67400         * malloc/memusage.sh: Fix quoting in message.
67401         * debug/xtrace.sh: Likewise.
67403         * configure.in: Remove support for --experimental-malloc option, make
67404         it the default.
67405         * config.make.in: Likewise.
67406         * malloc/Makefile: Likewise.
67408 2011-06-27  Andreas Schwab  <schwab@redhat.com>
67410         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
67411         two-byte characters.
67413 2011-06-27  Roland McGrath  <roland@hack.frob.com>
67415         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
67416         AC_CACHE_CHECK invocation.
67417         * configure: Regenerated.
67419         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
67421 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
67423         [BZ #12350]
67424         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
67425         bit from old_res_options.
67427         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
67429         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
67430         value type for setfct.
67432 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
67434         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
67435         __gettimeofday instead of gettimeofday.
67437 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
67439         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
67441 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
67443         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
67445         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
67446         info.
67448 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
67450         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67451         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
67452         strcpy-sse2-unaligned strncpy-sse2-unaligned
67453         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
67454         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
67455         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
67456         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
67457         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
67458         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
67459         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
67460         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
67461         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
67462         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
67463         (STRCPY): Support SSE2 and SSSE3 versions.
67465 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
67467         [BZ #12874]
67468         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
67469         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
67470         kernels which artificially limit size of requests.
67472 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
67474         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67475         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
67476         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
67477         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
67478         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
67479         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
67480         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
67481         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
67482         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
67483         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
67484         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
67485         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
67486         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
67487         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
67488         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
67489         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67490         Enable unaligned load optimization for Intel Core i3, i5 and i7
67491         processors.
67492         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
67493         Define.
67494         (index_Fast_Unaligned_Load): Define.
67495         (HAS_FAST_UNALIGNED_LOAD): Define.
67497 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
67499         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
67501 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
67503         [BZ #12907]
67504         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
67505         until it is clear that the information is realy needed.
67506         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
67508 2011-06-22  Andreas Schwab  <schwab@redhat.com>
67510         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
67512 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
67514         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
67515         /sys/devices/system/cpu/online if it is usable.
67517         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
67518         reading the information from the /proc filesystem to once a second.
67520 2011-06-21  Andreas Jaeger  <aj@suse.de>
67522         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
67523         NULL after inclusion of kernel headers.
67525 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
67527         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
67528         calls to internal_setent.
67530         [BZ #12885]
67531         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
67532         addresses using gethostbyname4_r ignore IPv4 addresses.
67534         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
67535         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
67537         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
67539 2011-06-20  David S. Miller  <davem@davemloft.net>
67541         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
67542         inclusions.
67543         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
67545         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
67546         (elf_irel): Use it.
67547         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
67548         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
67549         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
67550         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
67551         * sysdeps/x86_64/dl-irel.h: Likewise.
67553         * elf/dl-runtime.c: Use elf_ifunc_invoke.
67554         * elf/dl-sym.c: Likewise.
67556 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
67558         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
67559         need to dereference resplen2.
67561 2011-06-14  Andreas Schwab  <schwab@redhat.com>
67563         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
67565 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
67567         * Makeconfig: Define vardbdir and inst_vardbdir.
67568         * nss/Makefile: Add rules to install db-Makefile.
67570         * nss/nss_db/db-XXX.c: Cleanup.
67572         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
67573         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
67574         GLIBC_PRIVATE.
67575         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
67576         * nss/makedb.c: Implement -g option to specify that value strings
67577         are generated and should not be added to table iterated over for
67578         get*ent calls.
67579         * nss/nss_db/db-initgroups.c: New file.
67581         * nss/getent.c: Add support for initgroups lookups through getgrouplist
67582         interface.
67584         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
67585         (internal_getgrouplist): Adjust to name change.
67586         Update use_initgroups_entry if this is not the first call.
67587         * nss/databases.def: Add initgroups entry.
67589         * nss/makedb.c (compute_tables): Check result of multiple hash table
67590         sizes to minimize maximum chain length.
67592 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
67594         * Versions.def: Add entry for libnss_db.
67595         * shlib-versions: Likewise.
67596         * nss/Makefile: Add rules to build libnss_db.
67597         * nss/Versions: Add libnss_db information.  Organize libnss_files
67598         entries better.
67599         * nss/db-Makefile: Add gshadow support.  Change rules for the new
67600         makedb progra.  Some minor improvements to generate smaller files.
67601         * nss/nss_db/nss_db.h: Move NSS database header data structures to
67602         here from...
67603         * nss/makedb.c: ...here.
67604         Improve database format to be smaller and require less memory at
67605         runtime.
67606         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
67607         db anymore.
67608         * nss/nss_db/db-netgrp.c: Likewise.
67609         * nss/nss_db/db-open.c: Likewise.
67610         * nss/nss_files/flies-XXX.x: Adjust comments.
67611         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
67612         * nss/nss_files/files-grp.c: Likewise.
67613         * nss/nss_files/files-hosts.c: Likewise.
67614         * nss/nss_files/files-network.c: Likewise.
67615         * nss/nss_files/files-proto.c: Likewise.
67616         * nss/nss_files/files-pwd.c: Likewise.
67617         * nss/nss_files/files-rpc.c: Likewise.
67618         * nss/nss_files/files-service.c: Likewise.
67619         * nss/nss_files/files-sgrp.c: Likewise.
67620         * nss/nss_files/files-spwd.c: Likewise.
67621         * nss/nss_db/db-alias.c: Removed.
67622         * nss/nss_db/dummy-db.h: Removed.
67624 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
67626         * nss/makedb.c: Rewritten to not use database library.
67627         * nss/Makefile: Update to build new makedb program.
67629 2011-06-14  Andreas Jaeger  <aj@suse.de>
67631         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
67632         memset declaration.
67634 2011-06-10  Andreas Schwab  <schwab@redhat.com>
67636         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
67637         tmpbuf.
67639 2011-06-10  Roland McGrath  <roland@hack.frob.com>
67641         * Makerules (shlib.lds): Fail if the linker script comes out empty.
67642         * elf/Makefile ($(objpfx)ld.so): Likewise.
67644         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
67645         Don't list ld.so twice in dependencies.
67647         * posix/bug-regex31.c: Include <stdlib.h>.
67649         * nscd/hstcache.c (cache_addhst): Remove unused variable.
67651         * nis/nss_compat/compat-spwd.c
67652         (getspent_next_nss_netgr): Remove unused variable.
67653         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
67655         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
67656         nonmembers" output to use the right array.
67658         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
67660         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
67662         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
67663         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
67664         * catgets/gencat.c (read_input_file): Likewise.
67665         * locale/programs/locarchive.c (enlarge_archive): Likewise.
67667         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
67668         variable definition inside #if's controlling its use.
67670         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
67672         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
67674         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
67676         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
67677         unreachable code.
67679         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
67681         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
67682         * configure: Regenerated.
67684         * Makerules: Revert last change.
67685         * elf/Makefile: Likewise.
67687 2011-06-09  Roland McGrath  <roland@hack.frob.com>
67689         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
67690         * elf/Makefile ($(objpfx)librtld.os): Likewise.
67691         (reloc-link): Likewise.
67693 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
67695         * elf/Makefile: Add rules to build pldd.
67696         * elf/pldd.c: New file.
67697         * elf/pldd-xx.c: New file.
67699 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
67701         * version.h: Update for 2.15 development version.
67703 2011-06-07  David S. Miller  <davem@davemloft.net>
67705         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
67706         ifuncs.
67707         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
67708         elf_machine_lazy_rel): Likewise.
67709         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
67710         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
67711         elf_machine_lazy_rel): Likewise.
67712         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
67713         dl_hwcap via passed in argument.
67714         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
67715         Likewise.
67717 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67719         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
67721 2011-06-06  Roland McGrath  <roland@hack.frob.com>
67723         [BZ #12849]
67724         * manual/fdl-1.1.texi: New file, verbatim from:
67725         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
67726         * manual/lgpl-2.1.texi: New file, verbatim from:
67727         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
67728         * manual/Makefile (licenses): New variable, list those new file names.
67729         (texis): Use it.
67730         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
67732         * manual/fdl.texi: File removed.
67733         * manual/lesser.texi: File removed.
67734         * manual/libc.texinfo (Copying, Documentation License):
67735         Use new @include file names, put @appendix directive before @include.
67737 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
67739         [BZ #12841]
67740         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
67741         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
67742         (mq_open): Add __NTH.
67744 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
67746         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67747         Assume Intel Core i3/i5/i7 processor if AVX is available.
67749 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
67751         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
67752         typo.
67754 2011-05-31  Andreas Schwab  <schwab@redhat.com>
67756         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
67757         memory.  Use alloca_account.  Fix memory leak when retrying.
67759 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
67761         * version.h (RELEASE): Bump for 2.14 release.
67762         * include/features.h (__GLIBC_MINOR__): Bump to 14.
67764         * config.make.in (RANLIB): Remove entry.
67766 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
67768         * po/Makefile (po-sed-cmd): Add ksh to extensions.
67769         (libc.pot): Work around missing support for .ksh extension in xgettext.
67771         [BZ #12684]
67772         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
67773         if both request failed.
67774         (send_dg): In case of server errors clear resplen or *resplen2.
67776         [BZ #12454]
67777         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
67778         when there are multiple maps.
67779         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
67780         (_dl_fini): Remove test here.
67782         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
67784 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
67786         [BZ #12350]
67787         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
67788         bit from old_res_options.
67789         (gaih_inet): Likewise.
67791         [BZ #11099]
67792         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
67793         as signed.
67795         * resolv/res_init.c (res_setoptions): Make the code more compact.
67797         [BZ #11558]
67798         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
67799         set RES_USEVC.
67801         [BZ #11634]
67802         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
67804         * malloc/malloc.h: Mark malloc hook variables as deprecated.
67806         [BZ #11781]
67807         * malloc/malloc.h: Declare malloc hook variables as volatile.
67809         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
67810         in last patch.
67812         [BZ #11799]
67813         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
67814         raise in the comment.
67815         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
67816         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
67817         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
67819 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
67821         [BZ #12811]
67822         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
67823         grow the buffers more if it already has to be sufficient.
67824         (build_wcs_upper_buffer): Likewise.
67825         * posix/regexec.c (check_matching): Likewise.
67826         (clean_state_log_if_needed): Likewise.
67827         (extend_buffers): Don't enlarge buffers beyond size of the input
67828         buffer.
67829         Patches mostly by Emil Wojak <emil@wojak.eu>.
67830         * posix/bug-regex32.c: New file.
67831         * posix/Makefile (tests): Add bug-regex32.
67833         * locale/findlocale.c (_nl_find_locale): Return right away if
67834         _nl_explode_name failed.
67835         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
67837         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
67839         * debug/xtrace.sh: Unify messages.
67840         * malloc/memusage.sh: Likewise.
67842         [BZ #12813]
67843         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
67844         time symbol from vDSO.  Substitute with vsyscall if not available.
67845         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
67846         __vdso_time.
67848         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
67849         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
67850         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
67851         Add sendmmsg and internal_sendmmsg.
67852         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
67853         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
67854         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
67856         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
67857         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
67858         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
67860 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
67862         [BZ #12813]
67863         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
67864         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
67865         available.
67866         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
67867         __vdso_getcpu.
67869         [BZ #12814]
67870         * iconvdata/Makefile (tests): Add bug-iconv9.
67871         * iconvdata/bug-iconv9.c: New file.
67873 2011-05-27  Andreas Schwab  <schwab@redhat.com>
67875         [BZ #12814]
67876         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
67878 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
67880         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
67881         (struct user_regs_struct): Change intcs field back to cs.
67883 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
67885         * po/ja.po: Update from translation team.
67887 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
67889         [BZ #12795]
67890         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
67891         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
67893 2011-05-20  Andreas Schwab  <schwab@redhat.com>
67895         * stdlib/longlong.h: Update from GCC.
67897 2011-05-23  Andreas Schwab  <schwab@redhat.com>
67899         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
67900         parameter name.
67901         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
67902         Add parameter name.
67903         (__sysconf): Pass it down.
67905 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
67907         [BZ #12671]
67908         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
67909         some situations.
67910         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
67911         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
67912         add in in __libc_use_alloca calls.  Adjust callers.
67913         (glob): Use malloc in some situations.
67915         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
67916         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
67917         pltexit.
67919 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
67921         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
67922         and CLOCK_BOOTTIME_ALARM.
67924         [BZ #12782]
67925         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
67926         is returned.
67928         * string/_strerror.c (__strerror_r): Print negative errors as signed
67929         numbers.
67931         [BZ #12777]
67932         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
67933         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
67934         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
67936         * configure.in: Fix typo in redirection and correct removal of test
67937         files in two cases.
67939         [BZ #12788]
67940         * locale/setlocale.c (new_composite_name): Fix test to check for
67941         identical name of all categories.
67943         [BZ #12792]
67944         * libio/filedoalloc.c (local_isatty): New function.
67945         (_IO_file_doallocate): Use local_isatty.
67946         * stdio-common/perror.c (perror): In case a new stream is used
67947         forward the stream error.
67948         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
67949         error flag.
67951 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
67953         [BZ #11869]
67954         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
67955         alloca.
67956         * include/alloca.h (extend_alloca_account): Define.
67958         [BZ #11857]
67959         * posix/regex.h: Fix comments with documentation of user-accessible
67960         fields after compilation and describe correct free'ing of pattern
67961         after re_compile_pattern.
67962         Patch by Reuben Thomas <rrt@sc3d.org>.
67964 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
67966         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
67967         and -mno-altivec to prevent the compiler from using Altivec and/or
67968         VSX instructions when the corresponding registers are not available.
67970 2011-05-19  Andreas Schwab  <schwab@redhat.com>
67972         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
67974 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
67976         * libio/freopen.c (freopen): Use __dup2, not dup2.
67977         * libio/freopen64.c (freopen64): Likewise.
67979 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
67981         [BZ #12775]
67982         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
67983         * math/Makefile (tests): Add test-powl.
67984         (CFLAGS-test-powl.c): Define.
67985         * math/test-powl.c: New file.
67987 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67989         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
67991 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
67993         [BZ #11837]
67994         * iconvdata/gb18030.c: Update to GB18020-2005.
67996 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
67998         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
67999         RE_SYNTAX_POSIX_AWK): Update to match recent development.
68000         Patch by Aharon Robbins <arnold@skeeve.com>.
68002         [BZ #11892]
68003         * stdlib/putenv.c (putenv): Don't always create copy of the variable
68004         on the stack.
68006         [BZ #11895]
68007         * misc/pselect.c (__pselect): Handle timeout value errors hidden
68008         through underflows.
68010         [BZ #12766]
68011         * misc/error.c (error_at_line): Ensure file_name and old_file_name
68012         point to strings before performing equality test for error_one_per_line
68013         mode.
68015         [BZ #11697]
68016         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
68018         [BZ #11820]
68019         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
68020         (struct user_fpregs_struct): Avoid __uint*_t types.
68022         [BZ #6420]
68023         * malloc/mtrace.c (tr_where): Add additional parameter to point to
68024         symbol info.  Use it instead of calling _dl_addr locally.
68025         (lock_and_info): New function.
68026         (tr_freehook): Call lock_and_info and pass symbol info as additional
68027         parameter to tr_where.
68028         (tr_mallochook): Likewise.
68029         (tr_reallochook): Likewise.
68030         (tr_memalignhook): Likewise.
68032         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
68033         used and couldn't be at all thread-safe.
68035 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
68037         * libio/freopen.c (freopen): Don't close old file descriptor
68038         before the new one is opened.  Instead dup the new file descriptor
68039         to the old one after the new stream is created.
68040         * libio/freopen64.c (freopen64): Likewise.
68041         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
68042         * libio/fileops.c (_IO_new_file_close_it): Handle new
68043         _IO_FLAGS2_NOCLOSE flag.
68044         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
68045         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
68046         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
68047         _IO_FLAGS2_NOCLOSE flag.
68048         * include/unistd.h: Add hidden_proto for dup3.
68049         Define __have_dup3.
68050         * io/dup3.c: Define hidden symbol.
68051         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
68053         [BZ #7101]
68054         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
68055         when an incomplete long option is used.
68056         * posix/tst-getopt_long1.c: New file.
68057         * posix/Makefile (tests): Add tst-getopt_long1.
68059         [BZ #10138]
68060         * scripts/config.guess: Update from autoconf-2.68.
68061         * scripts/config.sub: Likewise.
68063         [BZ #10157]
68064         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
68065         tests into ...
68066         (has_cpuclock): ...this.  New function.
68067         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
68068         macro here based on has_cpuclock code.
68070         [BZ #10149]
68071         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68072         First byte (not low byte) is now always NUL.
68073         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
68075         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68076         Use non-cancelable interfaces.
68078         [BZ #9809]
68079         * locale/iso-639.def: Add entry for Sorani.
68081         [BZ #11901]
68082         * include/stdlib.h: Move include protection to the right place.
68083         Define abort_msg_s.  Declare __abort_msg with it.
68084         * stdlib/abort.c (__abort_msg): Adjust type.
68085         * assert/assert.c (__assert_fail_base): New function.  Majority
68086         of code from __assert_fail.  Allocate memory for __abort_msg with
68087         mmap.
68088         (__assert_fail): Now call __assert_fail_base.
68089         * assert/assert-perr.c: Remove bulk of implementation.  Use
68090         __assert_fail_base.
68091         * include/assert.hL Declare __assert_fail_base.
68092         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
68093         mmap.
68094         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
68096 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
68098         [BZ #11952]
68099         [BZ #12453]
68100         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
68101         until all modules are registered in the DTV.
68102         * elf/Makefile: Add rules to build and run tst-tls19.
68103         * elf/tst-tls19.c: New file.
68104         * elf/tst-tls19mod1.c: New file.
68105         * elf/tst-tls19mod2.c: New file.
68106         * elf/tst-tls19mod3.c: New file.
68107         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
68109         [BZ #12083]
68110         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
68111         correctly.
68113         [BZ #12601]
68114         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
68115         two-byte sequence errors.
68116         * iconvdata/Makefile (tests): Add bug-iconv8.
68117         * iconvdata/bug-iconv8.c: New file.
68119         [BZ #12626]
68120         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
68121         buf2 definition.
68123         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
68125         [BZ #12432]
68126         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
68127         (dummy_getcfa): New function.
68128         (init): Get _Unwind_GetCFA address, use dummy if not found.
68129         (backtrace_helper): In recursion check, also check whether CFA changes.
68130         (__backtrace): Completely initialize arg.
68132         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
68133         storing incomplete byte sequence in state object.  Avoid testing for
68134         guaranteed too small input if we know there is enough data available.
68136 2011-05-11  Andreas Schwab  <schwab@redhat.com>
68138         * Makeconfig (+link-pie): Indent.
68139         * Rules (binaries-pie): Define if $(have-fpie) and
68140         $(build-shared).
68141         (binaries-shared): Also filter out $(binaries-pie).
68142         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
68143         * nscd/Makefile (others-pie): Add nscd.
68144         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
68145         ($(objpfx)nscd): Remove command override.
68146         * login/Makefile (others-pie): Add pt_chown.
68147         ($(objpfx)pt_chown): Remove command override.
68148         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
68149         remove command overrides.
68151 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
68153         * libio/tst_putwc.c: Fix error messages.
68155         [BZ #12724]
68156         * libio/fileops.c (_IO_new_file_close_it): Always flush when
68157         currently writing and seek to current position when not.
68158         * libio/Makefile (tests): Add bug-fclose1.
68159         * libio/bug-fclose1.c: New file.
68161 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
68163         [BZ #12511]
68164         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
68165         don't set DF_1_NODELETE here.
68166         (do_lookup_x): When entering new entry test for copy relocation
68167         and if necessary set DF_1_NODELETE flag.
68168         * elf/tst-unique4.cc: New file.
68169         * elf/tst-unique4.h: New file.
68170         * elf/tst-unique4lib.cc: New file.
68171         * elf/Makefile: Add rules to build and run tst-unique4.
68172         Patch by Piotr Bury <pbury@goahead.com>.
68174 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
68176         [BZ #12052]
68177         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
68179         [BZ #12625]
68180         * misc/mntent_r.c (addmntent): Flush the stream after the output
68182         [BZ #12393]
68183         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
68184         (is_trusted_path_normalize): Skip initial colon.  Append slash
68185         to empty buffer.  Duplicate is_trusted_path code but allow
68186         constructed patch to be prefix.
68187         (is_dst): Allow $ORIGIN followed by /.
68188         (_dl_dst_substitute): Correct clearing of check_for_trusted.
68189         Correct testing of result of is_trusted_path_normalize
68190         (decompose_rpath): Fix warning.
68192 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
68194         [BZ #11257]
68195         * grp/initgroups.c (internal_getgrouplist): When we found the service
68196         list through the initgroups entry in nsswitch.conf do not always
68197         continue on a successful lookup.  Don't always use the
68198         __nss_group_database value if it is set.
68199         * nss/nsswitch.conf (initgroups): Change action for successful db
68200         lookup to continue for compatibility.
68202 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
68204         [BZ #11532]
68205         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
68206         and CP774 modules.
68207         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
68208         and CP774 modules.
68209         * iconvdata/tst-tables.sh: Likewise.
68210         * iconvdata/cp770.c: New file.
68211         * iconvdata/cp771.c: New file.
68212         * iconvdata/cp772.c: New file.
68213         * iconvdata/cp773.c: New file.
68214         * iconvdata/cp774.c: New file.
68215         * iconvdata/testdata/CP770: New file.
68216         * iconvdata/testdata/CP770..UTF8: New file.
68217         * iconvdata/testdata/CP771: New file.
68218         * iconvdata/testdata/CP771..UTF8: New file.
68219         * iconvdata/testdata/CP772: New file.
68220         * iconvdata/testdata/CP772..UTF8: New file.
68221         * iconvdata/testdata/CP773: New file.
68222         * iconvdata/testdata/CP773..UTF8: New file.
68223         * iconvdata/testdata/CP774: New file.
68224         * iconvdata/testdata/CP774..UTF8: New file.
68226         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
68227         END CHARMAP line.
68228         * iconvdata/gen-8bit-gap.sh: Likewise.
68229         * iconvdata/gen-8bit.sh: Likewise.
68231         * locale/iso-639.def: Add ary entry.
68233         [BZ #11258]
68234         * locale/C-translit.h.in: Add U20A1 transliteration.
68236         [BZ #12178]
68237         * locale/iso-639.def: Add wae entry.
68238         Patch by Kevin Bortis <bortis@translate-wae.ch>.
68240         [BZ #12545]
68241         * locale/programs/localedef.c (construct_output_path): Use ssize_t
68242         for n.
68244         [BZ #12711]
68245         * locale/C-translit.h.in: Add entry for U20B9.
68246         Patch by pravin.d.s@gmail.com.
68248 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
68250         [BZ #12713]
68251         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
68252         ENAMETOOLONG use generic getcwd.
68253         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
68254         in rtld.  Use *stat64.
68255         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
68256         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
68257         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
68258         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
68259         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
68260         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
68261         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
68262         __fstatat64 macros.
68263         * include/dirent.h: Add libc_hidden_proto for rewinddir.
68264         * dirent/rewinddir.c: Add libc_hidden_def.
68265         * sysdeps/mach/hurd/rewinddir.c: Likewise.
68266         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
68268         * include/dirent.h (__alloc_dir): Add flags parameter.
68269         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
68270         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
68271         __alloc_dir.
68272         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
68273         from fdopendir if O_CLOEXEC is already set.
68275 2011-03-15  Alan Modra  <amodra@gmail.com>
68277         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
68278         l_tls_firstbyte_offset non-zero.  Save padding offset in
68279         l_tls_firstbyte_offset for later use.
68280         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
68281         freeing static tls block.
68283 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
68285         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
68286         where #ifdef was intended.  The intent is to prevent ARG_MAX from
68287         being defined by the kernel headers.
68289 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
68291         [BZ #12734]
68292         * resolv/resolv.h: Define RES_NOTLDQUERY.
68293         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
68294         no-tld-query and set RES_NOTLDQUERY.
68295         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
68296         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
68297         modern BIND to search name as TLD unless forbidden.
68299 2011-05-07  Petr Baudis  <pasky@suse.cz>
68300             Ulrich Drepper  <drepper@gmail.com>
68302         [BZ #12393]
68303         * elf/dl-load.c (fillin_rpath): Move trusted path check...
68304         (is_trusted_path): ...to here.
68305         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
68306         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
68307         using is_trusted_path_normalize() in setuid scripts.
68309 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
68311         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
68312         __BEGIN/__END_DECLS.
68314 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
68316         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
68317         NSS_STATUS_NOTFOUND if no record was found.
68319 2011-05-05  Andreas Schwab  <schwab@redhat.com>
68321         * sunrpc/Makefile (headers): Add rpc/netdb.h.
68322         (headers-not-in-tirpc): Remove rpc/netdb.h
68323         * resolv/netdb.h: Revert last change.
68325 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
68327         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
68328         circular dependency between libgcc.a and libc.a.
68330 2011-05-05  Andreas Schwab  <schwab@redhat.com>
68332         * resolv/netdb.h: Don't include <rpc/netdb.h>.
68333         * nis/Makefile: Don't install rpcsvc/*.
68334         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
68335         instead of <rpc/types.h>.
68336         (MAXHOSTNAMELEN): Define.
68338 2011-05-03  Andreas Schwab  <schwab@redhat.com>
68340         * elf/ldconfig.c (add_dir): Don't crash on empty path.
68342 2011-04-28  Maciej Babinski  <mbabinski@google.com>
68344         [BZ #12714]
68345         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
68346         gethostbyname4_r when IPv6 results are possible.
68348 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
68350         [BZ #12723]
68351         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
68352         _PC_PIPE_BUF handling.
68354 2011-04-30  Bruno Haible  <bruno@clisp.org>
68356         [BZ #12717]
68357         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
68358         * resolv/netdb.h (getnameinfo): Change type of flags parameter
68359         to 'int'.
68360         * inet/getnameinfo.c (getnameinfo): Likewise.
68362 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
68364         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
68365         to groups setting in database lookup.
68366         * nss/nsswitch.conf: Add initgroups entry.
68368 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
68370         [BZ #12685]
68371         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
68372         mode string.
68373         Patch by Eric Blake <eblake@redhat.com>.
68375 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
68377         * sunrpc/Makefile (need-export-routines): Add svc_run.
68378         (routines): Remove svc_run.
68379         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
68380         * sunrpc/clnt_perr.c (clnt_perrno): Export.
68381         * sunrpc/svc_run.c (svc_run): Likewise.
68382         * sunrpc/svc_udp.c (svcudp_create): Likewise.
68384 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
68386         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
68387         problem in reallocation in last patch.
68389 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
68391         * sunrpc/Makefile: Move inclusion of Rules.
68393 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
68395         * nss/nss_files/files-initgroups.c: New file.
68396         * nss/Makefile (libnss_files-routines): Add files-initgroups.
68397         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
68398         _nss_files_initgroups_dyn.
68400 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
68402         * elf/elf.h (R_ARM_IRELATIVE): Define.
68404 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
68406         * po/ru.po: Update from translation team.
68408 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
68410         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
68411         dependencies.
68413 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
68415         [BZ #12653]
68416         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
68417         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
68418         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
68419         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
68420         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
68422 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
68424         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
68425         differing bytes.
68426         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
68427         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
68428         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
68430 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
68432         [BZ #12420]
68433         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
68434         storing it.
68435         * stdlib/bug-getcontext.c: New file.
68436         * stdlib/Makefile: Add rules to build and run bug-getcontext.
68438 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68440         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
68441         instructions into .machine "z9-109".
68442         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
68443         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
68445 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68447         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
68448         between environment variables and auxiliary vector.
68450 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
68452         * Makefile: Add rules to build linkobj/libc.so.
68453         * include/libc-symbols.h: Define libc_hidden_nolink.
68454         * include/rpc/auth.h: Mark functions which are to be hidden.
68455         * include/rpc/auth_des.h: Likewise.
68456         * include/rpc/auth_unix.h: Likewise.
68457         * include/rpc/clnt.h: Likewise.
68458         * include/rpc/des_crypt.h: Likewise.
68459         * include/rpc/key_prot.h: Likewise.
68460         * include/rpc/pmap_clnt.h: Likewise.
68461         * include/rpc/pmap_prot.h: Likewise.
68462         * include/rpc/pmap_rmt.h: Likewise.
68463         * include/rpc/rpc_msg.h: Likewise.
68464         * include/rpc/svc.h: Likewise.
68465         * include/rpc/svc_auth.h: Likewise.
68466         * include/rpc/xdr.h: Likewise.
68467         * nis/Makefile: Link all DSOs against linkobj/libc.so.
68468         * nss/Makefile: Likewise.
68469         * sunrpc/Makefile: Don't install headers.  Build library with normal
68470         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
68471         * sunrpc/auth_des.c: Hide exported symbols by default, export some
68472         for the compat linking library.  Remove use of INTDEF/INTUSE.
68473         * sunrpc/auth_none.c: Likewise.
68474         * sunrpc/auth_unix.c: Likewise.
68475         * sunrpc/authdes_prot.c: Likewise.
68476         * sunrpc/authuxprot.c: Likewise.
68477         * sunrpc/clnt_gen.c: Likewise.
68478         * sunrpc/clnt_perr.c: Likewise.
68479         * sunrpc/clnt_raw.c: Likewise.
68480         * sunrpc/clnt_simp.c: Likewise.
68481         * sunrpc/clnt_tcp.c: Likewise.
68482         * sunrpc/clnt_udp.c: Likewise.
68483         * sunrpc/clnt_unix.c: Likewise.
68484         * sunrpc/des_crypt.c: Likewise.
68485         * sunrpc/des_soft.c: Likewise.
68486         * sunrpc/get_myaddr.c: Likewise.
68487         * sunrpc/key_call.c: Likewise.
68488         * sunrpc/key_prot.c: Likewise.
68489         * sunrpc/netname.c: Likewise.
68490         * sunrpc/pm_getmaps.c: Likewise.
68491         * sunrpc/pm_getport.c: Likewise.
68492         * sunrpc/pmap_clnt.c: Likewise.
68493         * sunrpc/pmap_prot.c: Likewise.
68494         * sunrpc/pmap_prot2.c: Likewise.
68495         * sunrpc/pmap_rmt.c: Likewise.
68496         * sunrpc/publickey.c: Likewise.
68497         * sunrpc/rpc_cmsg.c: Likewise.
68498         * sunrpc/rpc_common.c: Likewise.
68499         * sunrpc/rpc_dtable.c: Likewise.
68500         * sunrpc/rpc_prot.c: Likewise.
68501         * sunrpc/rpc_thread.c: Likewise.
68502         * sunrpc/rtime.c: Likewise.
68503         * sunrpc/svc.c: Likewise.
68504         * sunrpc/svc_auth.c: Likewise.
68505         * sunrpc/svc_authux.c: Likewise.
68506         * sunrpc/svc_raw.c: Likewise.
68507         * sunrpc/svc_run.c: Likewise.
68508         * sunrpc/svc_simple.c: Likewise.
68509         * sunrpc/svc_tcp.c: Likewise.
68510         * sunrpc/svc_udp.c: Likewise.
68511         * sunrpc/svc_unix.c: Likewise.
68512         * sunrpc/svcauth_des.c: Likewise.
68513         * sunrpc/xcrypt.c: Likewise.
68514         * sunrpc/xdr.c: Likewise.
68515         * sunrpc/xdr_array.c: Likewise.
68516         * sunrpc/xdr_float.c: Likewise.
68517         * sunrpc/xdr_intXX_t.c: Likewise.
68518         * sunrpc/xdr_mem.c: Likewise.
68519         * sunrpc/xdr_rec.c: Likewise.
68520         * sunrpc/xdr_ref.c: Likewise.
68521         * sunrpc/xdr_sizeof.c: Likewise.
68522         * sunrpc/xdr_stdio.c: Likewise.
68524 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
68526         [BZ #12650]
68527         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
68528         * sysdeps/ia64/dl-tls.h: Likewise.
68529         * sysdeps/powerpc/dl-tls.h: Likewise.
68530         * sysdeps/s390/dl-tls.h: Likewise.
68531         * sysdeps/sh/dl-tls.h: Likewise.
68532         * sysdeps/sparc/dl-tls.h: Likewise.
68533         * sysdeps/x86_64/dl-tls.h: Likewise.
68534         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
68536 2011-03-14  Andreas Schwab  <schwab@redhat.com>
68538         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
68539         rpath element also skip the following colon.
68540         (expand_dynamic_string_token): Add is_path parameter and pass
68541         down to DL_DST_REQUIRED and _dl_dst_substitute.
68542         (decompose_rpath): Call expand_dynamic_string_token with
68543         non-zero is_path.  Ignore empty rpaths.
68544         (_dl_map_object_from_fd): Call expand_dynamic_string_token
68545         with zero is_path.
68547 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
68549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
68550         Make cancelable.
68552 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
68554         [BZ #12655]
68555         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
68556         Patch by Filipe David Manana <fdmanana@apache.org>.
68558 2011-04-07  Andreas Schwab  <schwab@redhat.com>
68560         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
68561         Maintain aligned stack.
68562         (CHECK_RSP): Remove unused macro.
68564 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
68566         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
68567         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
68569 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
68571         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
68573         * include/features.h: Mention __USE_XOPEN2K8 in comment.
68575 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
68577         [BZ #12518]
68578         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
68579         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
68580         * sysdeps/x86_64/memmove.c: New file.
68581         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
68582         (memcpy): Renamed to ...
68583         (__new_memcpy): This.
68584         (memcpy): Provide GLIBC_2_14 memcpy.
68585         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
68586         (memcpy): Provide GLIBC_2_2_5 memcpy.
68588 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
68590         [BZ #12631]
68591         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
68593 2011-03-30  Andreas Schwab  <schwab@redhat.com>
68595         * misc/syncfs.c: New file.
68596         * misc/Makefile (routines): Add syncfs.
68597         * posix/unistd.h: Declare syncfs.
68598         * sysdeps/unix/syscalls.list: Add syncfs.
68600 2011-04-01  Andreas Schwab  <schwab@redhat.com>
68602         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
68603         open_by_handle_at.
68604         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
68605         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
68606         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
68607         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
68608         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
68609         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
68610         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
68612 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
68614         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
68615         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
68616         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
68617         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
68618         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
68619         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
68620         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
68622         * io/Makefile: Compile fallocate.c, fallocate64.c, and
68623         sync_file_range.c with -fexceptions.
68624         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
68625         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
68626         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
68627         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
68628         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
68629         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
68630         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
68631         sync_file_range as cancellation point
68632         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
68633         now a wrapper around __call_sync_file_range with cancellation handling.
68634         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
68635         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
68636         function name to __call_sync_file_range.
68637         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
68638         Add call_sync_file_range.
68640 2011-04-01  Andreas Schwab  <schwab@redhat.com>
68642         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68643         bits/timex.h.
68645 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
68647         * iconv/iconv.h: Fix typo in comment.
68648         * io/fcntl.h: Likewise.
68649         * libio/stdio.h: Likewise.
68650         * posix/spawn.h: Likewise.
68651         * posix/unistd.h: Likewise.
68652         * stdlib/stdlib.h: Likewise.
68653         * time/time.h: Likewise.
68654         * wcsmbs/wchar.h: Likewise.
68656         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
68657         open_by_handle): Add.
68658         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
68659         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
68660         Augment a few comments.
68661         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
68662         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
68663         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
68664         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
68665         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
68666         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
68667         open_by_handle.
68669         * io/fcntl.h (AT_EMPTY_PATH): Define.
68671 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
68673         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
68674         * sysdeps/unix/sysv/linux/bits/time.h: New file.
68675         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
68676         to...
68677         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
68678         * Versions.def: Add GLIBC_2.14.
68679         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
68680         Export.
68682 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
68684         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
68685         round counter.
68686         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
68688 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
68690         [BZ #12597]
68691         * string/test-strncmp.c (do_page_test): New function.
68692         (check2): Likewise.
68693         (test_main): Call check2.
68694         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
68696 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
68698         [BZ #12587]
68699         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
68700         Handle cache information in CPU leaf 4.
68701         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
68703 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
68705         [BZ #12583]
68706         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
68707         character representation.
68708         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
68710 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
68712         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
68713         END(__isnan) to END(__isnanf) to match function entry point/label
68714         EALIGN(__isnanf,...).
68716 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
68718         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
68720 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
68722         [BZ #12510]
68723         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
68724         copy from the symbol referenced in the relocation to initialize the
68725         used variable.
68726         Patch by Piotr Bury <pbury@goahead.com>.
68727         * elf/Makefile: Add rules to build and tst-unique3.
68728         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
68729         * elf/tst-unique3.cc: New file.
68730         * elf/tst-unique3.h: New file.
68731         * elf/tst-unique3lib.cc: New file.
68732         * elf/tst-unique3lib2.cc: New file.
68734         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
68736 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
68738         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
68739         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
68740         to _start.
68742 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
68744         * elf/dl-load.c (_dl_map_object): If we are looking for the first
68745         to-be-loaded object along a path to loader is ld.so.
68747 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
68748             Ulrich Drepper  <drepper@gmail.com>
68750         * sysdeps/x86_64/memset.S: After aligning destination, code
68751         branches to different locations depending on the value of
68752         misalignment, when multiarch is enabled. Fix this.
68754 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
68756         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
68757         Set _x86_64_preferred_memory_instruction for AMD processsors.
68758         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68759         Set bit_Prefer_SSE_for_memop for AMD processors.
68761 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
68763         * libio/fmemopen.c (fmemopen): Optimize a bit.
68765 2011-03-03  Andreas Schwab  <schwab@redhat.com>
68767         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
68769 2011-03-03  Roland McGrath  <roland@redhat.com>
68771         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
68773 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
68775         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
68776         __bzero_ultra1 instead of __memset_ultra1.
68778 2011-02-23  Andreas Schwab  <schwab@redhat.com>
68779             Ulrich Drepper  <drepper@gmail.com>
68781         [BZ #12509]
68782         * include/link.h (struct link_map): Add l_orig_initfini.
68783         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
68784         returning unsuccessfully.
68785         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
68786         close of a file loaded at startup, restore the original l_initfini
68787         list.
68788         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
68789         list, store the pointer.
68790         * elf/Makefile ($(objpfx)noload-mem): New rule.
68791         (noload-ENV): Define.
68792         (tests): Add $(objpfx)noload-mem.
68793         * elf/noload.c: Include <memcheck.h>.
68794         (main): Call mtrace.  Close all opened handles.
68796 2011-02-17  Andreas Schwab  <schwab@redhat.com>
68798         [BZ #12454]
68799         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
68800         dependencies are missing.
68802 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68804         Fix __if_freereq crash: Unlike the generic version which uses free,
68805         Hurd needs munmap.
68806         * sysdeps/mach/hurd/ifreq.h: New file.
68808 2011-01-27  Petr Baudis  <pasky@suse.cz>
68809             Ulrich Drepper  <drepper@gmail.com>
68811         [BZ 12445]#
68812         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
68813         to extend_alloca().
68814         * stdio-common/bug23.c: New file.
68815         * stdio-common/Makefile (tests): Add bug23.
68817 2010-09-28  Andreas Schwab  <schwab@redhat.com>
68818             Ulrich Drepper  <drepper@gmail.com>
68820         [BZ #12489]
68821         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
68822         before performing relro protection.  At old place add assertion
68823         to make sure nothing changed.
68825 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
68826             Glauber de Oliveira Costa  <glommer@gmail.com>
68828         * elf/elf.h: Add new ARM TLS relocs.
68830 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
68832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
68833         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
68834         cast from r3.
68835         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
68836         'tests' variable.
68837         * sysdeps/wordsize-64/tst-writev.c: New file.
68839 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
68841         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
68842         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
68843         insns in _dl_start to prevent a TOC reference before relocs are
68844         resolved.
68846 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
68848         [BZ #12469]
68849         * Makeconfig: Remove RANLIB definition.
68850         * Makerules: Don't use RANLIB.
68851         * aclocal.m4: Remove ranlib test.
68852         * configure.in: No need to check for ranlib.
68853         * elf/rtld-Rules: Don't use RANLIB.
68855 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68857         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
68858         protection macro.
68859         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
68860         inclusion protection macro.
68862         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
68863         SIGRTMIN and SIGRTMAX and print information in that case only when
68864         SIGRTMIN is defined.
68866 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
68868         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
68869         arginfo fn returning -1.
68871         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
68872         and thousands string is zero terminated.
68874 2011-02-03  Andreas Schwab  <schwab@redhat.com>
68876         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
68877         sysdeps/unix/sysv/linux/bits/socket.h.
68879 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68881         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
68882         (__CPU_COUNT): Remove old macros.
68883         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
68884         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
68885         (__CPU_ALLOC, __CPU_FREE): Add macros.
68886         (__sched_cpualloc, __sched_cpufree): Add declarations.
68888 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
68890         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
68891         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
68892         * nscd/aicache.c (addhstaiX): Return timeout of added value.
68893         (readdhstai): Return value of addhstaiX call.
68894         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
68895         (addgrbyX): Return value returned by cache_addgr.
68896         (readdgrbyname): Return value returned by addgrbyX.
68897         (readdgrbygid): Likewise.
68898         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
68899         (addpwbyX): Return value returned by cache_addpw.
68900         (readdpwbyname): Return value returned by addhstbyX.
68901         (readdpwbyuid): Likewise.
68902         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
68903         (addservbyX): Return value returned by cache_addserv.
68904         (readdservbyname): Return value returned by addservbyX:
68905         (readdservbyport): Likewise.
68906         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
68907         (addhstbyX): Return value returned by cache_addhst.
68908         (readdhstbyname): Return value returned by addhstbyX.
68909         (readdhstbyaddr): Likewise.
68910         (readdhstbynamev6): Likewise.
68911         (readdhstbyaddrv6): Likewise.
68912         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
68913         (readdinitgroups): Return value returned by addinitgroupsX.
68914         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
68915         (prune_cache): Keep track of timeout value of re-added entries.
68916         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
68917         * nscd/nscd.h: Adjust prototypes of readd* functions.
68919 2011-02-04  Roland McGrath  <roland@redhat.com>
68921         * nis/nis_server.c (nis_servstate): Use the right name for 0.
68922         (nis_stats): Likewise.
68923         * nis/nis_modify.c (nis_modify): Likewise.
68924         * nis/nis_remove.c (nis_remove): Likewise.
68925         * nis/nis_add.c (nis_add): Likewise.
68927         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
68929         * posix/fnmatch_loop.c: Add some consts.
68931         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
68933 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
68935         [BZ #12460]
68936         * config.make.in (config-cflags-novzeroupper): Define.
68937         * configure.in: Substitute libc_cv_cc_novzeroupper.
68938         * elf/Makefile (AVX-CFLAGS): Define.
68939         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
68940         (CFLAGS-tst-auditmod4a.c): Likewise.
68941         (CFLAGS-tst-auditmod4b.c): Likewise.
68942         (CFLAGS-tst-auditmod6b.c): Likewise.
68943         (CFLAGS-tst-auditmod6c.c): Likewise.
68944         (CFLAGS-tst-auditmod7b.c): Likewise.
68945         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
68947 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
68949         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
68950         function to the callback.
68951         Patch partly by Jiri Olsa <jolsa@redhat.com>.
68953 2011-02-02  Andreas Schwab  <schwab@redhat.com>
68955         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
68956         of errno.
68958 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
68960         [BZ #11724]
68961         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
68962         of constructors.
68963         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
68964         of destructors.
68965         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
68967         [BZ #11724]
68968         * elf/Makefile: Add rules to build and run new test.
68969         * elf/tst-initorder.c: New file.
68970         * elf/tst-initorder.exp: New file.
68971         * elf/tst-initordera1.c: New file.
68972         * elf/tst-initordera2.c: New file.
68973         * elf/tst-initordera3.c: New file.
68974         * elf/tst-initordera4.c: New file.
68975         * elf/tst-initorderb1.c: New file.
68976         * elf/tst-initorderb2.c: New file.
68977         * elf/tst-order-a1.c: New file.
68978         * elf/tst-order-a2.c: New file.
68979         * elf/tst-order-a3.c: New file.
68980         * elf/tst-order-a4.c: New file.
68981         * elf/tst-order-b1.c: New file.
68982         * elf/tst-order-b2.c: New file.
68983         * elf/tst-order-main.c: New file.
68984         New test case by George Gensure <werkt0@gmail.com>.
68986 2010-10-01  Andreas Schwab  <schwab@redhat.com>
68988         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
68989         decoding ACE if AI_CANONIDN.
68991 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
68993         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
68995 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
68997         * version.h (RELEASE): Bump for 2.13 release.
68998         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
69000         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
69002         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
69003         MADV_NOHUGEPAGE.
69004         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
69005         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
69006         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
69007         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
69008         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
69009         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
69011         * posix/getconf.c: Update copyright year.
69012         * catgets/gencat.c: Likewise.
69013         * csu/version.c: Likewise.
69014         * debug/catchsegv.sh: Likewise.
69015         * debug/xtrace.sh: Likewise.
69016         * elf/ldconfig.c: Likewise.
69017         * elf/ldd.bash.in: Likewise.
69018         * elf/sprof.c (print_version): Likewise.
69019         * iconv/iconv_prog.c: Likewise.
69020         * iconv/iconvconfig.c: Likewise.
69021         * locale/programs/locale.c: Likewise.
69022         * locale/programs/localedef.c: Likewise.
69023         * malloc/memusage.sh: Likewise.
69024         * malloc/mtrace.pl: Likewise.
69025         * nscd/nscd.c (print_version): Likewise.
69026         * nss/getent.c: Likewise.
69028         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
69029         PF_CAIF, and PF_ALG.
69030         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
69032 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
69034         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
69035         (modules-names): Use them.
69036         (ifunc-test-modules, ifunc-pie-tests): Define.
69037         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
69038         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
69039         (test-extras): Likewise.
69040         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
69041         $(compile-command.c).
69042         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
69043         (all-built-dso): Define.
69044         (check-textrel.out, check-execstack.out): Depend on it.
69046         * configure.in: Don't override --enable-multi-arch.
69048 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
69050         [BZ #6812]
69051         * nscd/hstcache.c (tryagain): Define.
69052         (cache_addhst): Return tryagain not notfound for temporary errors.
69053         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
69054         failed.
69056 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
69058         [BZ #10563]
69059         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
69060         to make the syscall.
69061         * sysdeps/unix/sysv/linux/setgroups.c: New file.
69063         [BZ #12378]
69064         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
69065         and fall back to matching as normal character if the string ends before
69066         the matching ']' is found.  This is what POSIX requires.
69067         * posix/testfnm.c: Adjust test result.
69068         * posix/globtest.sh: Adjust test result.  Add new test.
69069         * posix/tst-fnmatch.input: Likewise.
69070         * posix/tst-fnmatch2.c: Add new test.
69072 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
69074         * elf/Makefile (check-execstack): Revert last change.  Depend on
69075         check-execstack.h.
69076         (check-execstack.h): New target.
69077         (generated): Add check-execstack.h.
69078         * elf/check-execstack.c: Include "check-execstack.h".
69079         (main): Revert last change.
69080         (handle_file): Return zero if GNU_STACK is absent and
69081         DEFAULT_STACK_PERMS doesn't include PF_X.
69083 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
69085         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
69086         in child fails because the descriptor is already closed.
69087         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
69088         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
69089         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
69091         [BZ #12397]
69092         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
69093         syscall.
69095         [BZ #10484]
69096         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
69097         temporary buffer used to handle multi lookups locally.
69098         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
69100 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
69102         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
69103         loader is ld.so.
69105 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
69107         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
69108         alignment for SSE2.
69110 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
69112         [BZ #12394]
69113         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
69114         characters.  When rounding increased number of integer digits recompute
69115         number of groups.
69116         * stdio-common/tst-grouping.c: New file.
69117         * stdio-common/Makefile: Add rules to build and run tst-grouping.
69119 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
69121         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
69122         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
69124         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
69125         void.
69126         * bits/select.h: Likewise.
69128 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
69130         * po/ja.po: Update from translation team.
69132 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
69134         [BZ #11155]
69135         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
69136         implementation just like for lxstat, fxstatat, et al.
69138 2010-12-27  Jim Meyering  <meyering@redhat.com>
69140         [BZ #12348]
69141         * posix/regexec.c (build_trtable): Return failure indication upon
69142         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
69144 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
69146         [BZ #12201]
69147         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
69148         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
69149         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
69150         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
69152         [BZ #12207]
69153         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
69155         [BZ #12204]
69156         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
69157         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
69159 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
69161         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
69162         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
69163         script has SORT_BY_INIT_PRIORITY.
69164         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
69165         NO_CTORS_DTORS_SECTIONS is defined.
69166         * elf/soinit.c: Likewise.
69167         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
69168         NO_CTORS_DTORS_SECTIONS is defined.
69169         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
69170         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
69171         * sysdeps/sh/init-first.c: Likewise.
69172         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
69174 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
69176         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
69177         always use the slow path.
69179 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
69181         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
69182         similar rule which adds the sysdep directories to the header search in
69183         order to pick up the correct platform stackinfo.h.
69184         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
69185         perform test if it is, otherwise return successfully without testing.
69186         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
69187         DEFAULT_STACK_PERMS define in stackinfo.h.
69188         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
69189         defined in stackinfo.h.
69190         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
69191         DEFAULT_STACK_PERMS defined in stackinfo.h.
69192         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
69193         * sysdeps/ia64/stackinfo.h: Likewise.
69194         * sysdeps/s390/stackinfo.h: Likewise.
69195         * sysdeps/sh/stackinfo.h: Likewise.
69196         * sysdeps/sparc/stackinfo.h: Likewise.
69197         * sysdeps/x86_64/stackinfo.h: Likewise.
69198         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
69199         PF_X for powerpc64.  Retain PF_X for powerpc32.
69201 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
69203         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
69204         accurately.
69205         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
69206         GETDENTS_64BIT_ALIGNED.
69208 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
69210         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
69212 2010-12-10  Andreas Schwab  <schwab@redhat.com>
69214         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
69215         _GNU_SOURCE.
69217         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
69218         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
69219         Remove __restrict.
69220         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
69221         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
69223 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
69225         [BZ #11655]
69226         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
69227         are initialized.
69229 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
69231         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
69233 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
69235         * po/it.po: Update from translation team.
69237 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
69239         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
69240         unused codes.
69242 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
69244         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
69246 2010-11-24  Andreas Schwab  <schwab@redhat.com>
69248         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
69249         specially.
69250         (gaih_getanswer_slice): Likewise.
69252 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
69254         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
69256 2010-05-31  Petr Baudis  <pasky@suse.cz>
69258         [BZ #11149]
69259         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
69260         silently even in the chroot mode.
69262 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
69264         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
69265         last patch a bit.  Pretty printing
69267 2010-05-31  Petr Baudis <pasky@suse.cz>
69269         [BZ #10085]
69270         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
69271         initialization of skip_initgroups_dyn.
69273 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
69275         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
69276         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
69278 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
69280         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
69282 2010-11-11  Andreas Schwab  <schwab@redhat.com>
69284         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
69285         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
69286         (tst-fnmatch-ENV): Set MALLOC_TRACE.
69287         ($(objpfx)tst-fnmatch-mem): New rule.
69288         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
69289         * posix/tst-fnmatch.c (main): Call mtrace.
69291 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
69293         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69294         Support Intel processor model 6 and model 0x2c.
69296 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
69298         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
69299           signed comparison.
69301 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
69303         [BZ #12205]
69304         * string/test-strncasecmp.c (check_result): New function.
69305         (do_one_test): Use it.
69306         (check1): New function.
69307         (test_main): Use it.
69308         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
69309         Support strcasecmp and strncasecmp.
69311 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
69313         [BZ #12194]
69314         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
69315         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69317 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
69319         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
69320         IFUNC support.
69321         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69322         memset-x86-64.
69323         * sysdeps/x86_64/multiarch/bzero.S: New file.
69324         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
69325         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
69326         * sysdeps/x86_64/multiarch/memset.S: New file.
69327         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
69328         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69329         Set bit_Prefer_SSE_for_memop for Intel processors.
69330         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
69331         Define.
69332         (index_Prefer_SSE_for_memop): Define.
69333         (HAS_PREFER_SSE_FOR_MEMOP): Define.
69335 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
69337         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
69338         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
69340 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
69342         [BZ #12191]
69343         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
69344         (__x86_64_raw_data_cache_size_half): Likewise.
69345         (__x86_64_raw_shared_cache_size): Likewise.
69346         (__x86_64_raw_shared_cache_size_half): Likewise.
69348         * sysdeps/x86_64/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.
69352         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
69353         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
69354         and __x86_64_raw_shared_cache_size_half.  Round
69355         __x86_64_data_cache_size_half, __x86_64_data_cache_size
69356         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
69357         to multiple of 256 bytes.
69359 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
69361         [BZ #12167]
69362         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
69363         of inacessible symlinks.  Verify result of symlink before returning it.
69364         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
69365         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
69367 2010-10-28  Erich Ritz  <erichritz@gmail.com>
69369         * math/math.h (isinf): Fix typo in comment.
69371 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
69373         * po/da.po: Update from translation team.
69375 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
69377         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
69378         is added to the list.
69380 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69381             Ulrich Drepper  <drepper@gmail.com>
69383         * elf/dl-object.c (_dl_new_object): Don't append the new object to
69384         the global list here.  Move code to...
69385         (_dl_add_to_namespace_list): ...here.  New function.
69386         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
69387         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
69388         * elf/dl-load.c (lose): Don't remove the element from the list.
69389         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
69390         (_dl_map_object): Likewise.
69392 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
69394         [BZ #12159]
69395         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
69396         into all bytes of SSE register.
69397         Patch by Richard Li <richardpku@gmail.com>.
69399 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
69401         [BZ #12140]
69402         * malloc/malloc.c (_int_free): Fill correct number of bytes when
69403         perturbing.
69405 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
69407         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
69408         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
69409         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
69410         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
69411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
69412         submachine.
69413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
69415 2010-10-22  Andreas Schwab  <schwab@redhat.com>
69417         * include/dlfcn.h (__RTLD_SECURE): Define.
69418         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
69419         mode & __RTLD_SECURE instead.
69420         (open_path): Rename preloaded parameter to secure.
69421         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
69422         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
69423         * elf/dl-deps.c (openaux): Likewise.
69424         * elf/rtld.c (struct map_args): Remove is_preloaded.
69425         (map_doit): Don't use it.
69426         (dl_main): Likewise.
69427         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
69428         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
69430 2010-09-09  Andreas Schwab  <schwab@redhat.com>
69432         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
69433         (sysd-rules-targets): Remove duplicates.
69434         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
69435         rtld-%.$o dependency.
69437 2010-10-18  Andreas Schwab  <schwab@redhat.com>
69439         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
69440         _dl_map_object do it.
69442 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
69444         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
69445         fast fma builtins, define the macros in the C99 standard.
69446         (FP_FAST_FMAF): Likewise.
69447         (FP_FAST_FMAL): Likewise.
69448         * sysdeps/x86_64/bits/mathdef.h: Likewise.
69450         * bits/mathdef.h: Update copyright year.
69451         * sysdeps/powerpc/bits/mathdef.h: Likewise.
69453 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
69455         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
69456         builtins, define the macros in the C99 standard.
69457         (FP_FAST_FMAF): Likewise.
69458         (FP_FAST_FMAL): Likewise.
69459         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
69460         multiply/add.
69461         (FP_FAST_FMAF): Likewise.
69463 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
69465         [BZ #3268]
69466         * math/libm-test.inc (fma_test): Some new testcases.
69467         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
69468         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
69469         y and infinite z.  Do multiplication by C already in long double.
69470         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
69471         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
69472         y and infinite z.  Do bitwise or of inexact bit into u.d.
69473         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
69474         * sysdeps/i386/fpu/s_fmaf.S: Removed.
69475         * sysdeps/i386/fpu/s_fma.S: Removed.
69476         * sysdeps/i386/fpu/s_fmal.S: Removed.
69478 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
69480         [BZ #3268]
69481         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
69482         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
69483         computation is not scheduled after fetestexcept.  Fix value
69484         of minimum denormal long double.
69486 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
69488         [BZ #3268]
69489         * math/libm-test.inc (fma_test): Add some more tests.
69490         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
69491         correctly.
69493 2010-10-15  Andreas Schwab  <schwab@redhat.com>
69495         * scripts/data/localplt-s390-linux-gnu.data: New file.
69496         * scripts/data/localplt-s390x-linux-gnu.data: New file.
69498 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
69500         [BZ #3268]
69501         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
69502         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
69503         instead of dbl-64.
69504         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
69505         inlines.
69506         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
69507         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
69508         if one of x and y is very large and the other is subnormal.
69509         * sysdeps/s390/fpu/s_fmaf.c: New file.
69510         * sysdeps/s390/fpu/s_fma.c: New file.
69511         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
69512         * sysdeps/powerpc/fpu/s_fma.S: New file.
69513         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
69514         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
69515         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
69517 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
69519         [BZ #3268]
69520         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
69521         fma tests.
69522         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
69523         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
69524         * sysdeps/i386/i686/multiarch/s_fma.c: Include
69525         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
69526         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
69527         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
69528         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
69530 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
69532         [BZ #12078]
69533         * posix/regcomp.c (parse_branch): One more memory leak plugged.
69534         * posix/bug-regex31.input: Add test case.
69536 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
69538         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
69539         * posix/bug-regex31.input: New file.
69541         [BZ #12078]
69542         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
69543         (parse_sub_exp): Fix last change, use postorder.
69545         * posix/bug-regex31.c: New file.
69546         * posix/Makefile: Add rules to build and run bug-regex31.
69548         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
69550         [BZ #12078]
69551         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
69553         [BZ #12108]
69554         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
69555         to have entries in sys_siglist.
69557         [BZ #12093]
69558         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
69559         be NULL.
69561 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
69563         [BZ #3268]
69564         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
69565         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
69566         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
69567         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
69568         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
69569         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
69570         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
69571         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
69572         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
69573         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
69574         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
69575         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
69576         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
69577         * math/ftestexcept.c (fetestexcept): Likewise.
69578         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
69579         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
69580         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
69581         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
69582         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
69583         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
69584         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
69586 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
69588         [BZ #12107]
69589         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
69590         newline.
69592 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
69594         * string/bug-strstr1.c: New file.
69595         * string/Makefile: Add rules to build and run bug-strstr1.
69597 2010-10-05  Eric Blake  <eblake@redhat.com>
69599         [BZ #12092]
69600         * string/str-two-way.h (two_way_long_needle): Always clear memory
69601         when skipping input due to the shift table.
69603 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
69605         [BZ #12005]
69606         * malloc/mcheck.c: Handle large requests.
69608         [BZ #12077]
69609         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
69610         for strncmp and strncasecmp.
69611         * string/stratcliff.c: Add tests for strcmp and strncmp.
69612         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
69614 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69616         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
69617         __set_fpscr.
69619 2010-09-30  Andreas Jaeger  <aj@suse.de>
69621         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
69622         (CGROUP_SUPER_MAGIC): Define.
69623         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
69624         Handle btrfs and cgroup file systems.
69625         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
69626         Likewise.
69628 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
69630         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
69631         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
69633 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69635         [BZ #12067]
69636         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
69637         trying to locate the ELF header.
69639 2010-09-27  Andreas Schwab  <schwab@redhat.com>
69641         [BZ #11611]
69642         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
69643         Mask out sign-bit copies when constructing f_fsid.
69645 2010-09-24  Petr Baudis <pasky@suse.cz>
69647         * debug/stack_chk_fail_local.c: Add missing licence exception.
69648         * debug/warning-nop.c: Likewise.
69650 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
69652         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
69653         implementing getdents64 using getdents syscall, set d_type if
69654         __ASSUME_GETDENTS32_D_TYPE.
69656 2010-09-16  Andreas Schwab  <schwab@redhat.com>
69658         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
69659         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
69661 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
69663         [BZ #12037]
69664         * posix/unistd.h: Undo change of feature selection for ftruncate from
69665         2010-01-11.
69667 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
69669         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
69670         detection.
69672 2010-09-20  Andreas Schwab  <schwab@redhat.com>
69674         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
69675         fanotify_mark.
69676         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
69678 2010-09-14  Andreas Schwab  <schwab@redhat.com>
69680         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
69681         variables after CHECK_SP call.
69682         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
69684 2010-09-13  Andreas Schwab  <schwab@redhat.com>
69685             Ulrich Drepper  <drepper@redhat.com>
69687         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
69688         re-relocationg ld.so.
69689         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
69690         _dl_init_paths call.
69691         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
69692         here anymore.
69694 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
69696         * resolv/res_init.c (__res_vinit): Count the default server we added.
69698 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
69699             Ulrich Drepper  <drepper@redhat.com>
69701         [BZ #11968]
69702         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
69703         (____longjmp_chk): Use %ebx for saving value across system call.
69704         Add unwind info.
69706 2010-09-06  Andreas Schwab  <schwab@redhat.com>
69708         * manual/Makefile: Don't mix pattern rules with normal rules.
69710 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
69712         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
69713         operation.
69714         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
69715         * libio/iofopncook.c (_IO_cookie_init): Likewise.
69716         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
69717         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
69718         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
69719         Likewise.
69721 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
69723         [BZ #11979]
69724         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
69725         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
69727 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
69729         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
69730         * sysdeps/x86_64/addmul_1.S: Likewise.
69731         * sysdeps/x86_64/lshift.S: Likewise.
69732         * sysdeps/x86_64/mul_1.S: Likewise.
69733         * sysdeps/x86_64/rshift.S: Likewise.
69734         * sysdeps/x86_64/sub_n.S: Likewise.
69735         * sysdeps/x86_64/submul_1.S: Likewise.
69737 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69739         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
69740         Define __sched_param instead of SCHED_* and sched_param when
69741         <bits/sched.h> is included with __need_schedparam defined.
69742         * bits/sched.h [__need_schedparam]
69743         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
69744         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
69745         (__defined_schedparam): Define to 1.
69746         (__sched_param): New structure, identical to sched_param.
69747         (__need_schedparam): Undefine.
69749 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
69751         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
69752         (epoll_create1): Declare.
69754         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
69756 2010-08-31  Andreas Schwab  <schwab@redhat.com>
69758         [BZ #7066]
69759         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
69760         shifting retval into place.
69762 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
69764         * nis/rpcsvc/nis.h: Update copyright notice.
69765         * nis/rpcsvc/nis.x: Likewise.
69766         * nis/rpcsvc/nis_callback.h: Likewise.
69767         * nis/rpcsvc/nis_callback.x: Likewise.
69768         * nis/rpcsvc/nis_object.x: Likewise.
69769         * nis/rpcsvc/nis_tags.h: Likewise.
69770         * nis/rpcsvc/yp.h: Likewise.
69771         * nis/rpcsvc/yp.x: Likewise.
69772         * nis/rpcsvc/ypupd.h: Likewise.
69773         * nis/yp_xdr.c: Likewise.
69774         * nis/ypupdate_xdr.c: Likewise.
69776         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
69777         mainly the body of pmap_getport.  Add parameters to specify timeouts.
69778         (pmap_getport): Use __libc_rpc_getport.
69779         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
69780         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
69781         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
69783 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
69785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
69786         fanotify_mark.
69788 2010-08-27  Roland McGrath  <roland@redhat.com>
69790         * sysdeps/i386/i686/multiarch/Makefile
69791         (CFLAGS-varshift.c): New variable.
69793 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
69795         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
69796         * sysdeps/i386/i686/multiarch/varshift.c: New file.
69798         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
69800         * sysdeps/x86_64/strlen.S: Minimal code improvement.
69802 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
69804         * sysdeps/x86_64/strlen.S: Unroll the loop.
69805         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69806         strlen-sse2 strlen-sse2-bsf.
69807         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
69808         __strlen_no_bsf if bit_Slow_BSF is set.
69809         (__strlen_sse42): Removed.
69810         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
69811         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
69813 2010-08-25  Roland McGrath  <roland@redhat.com>
69815         * sysdeps/x86_64/multiarch/varshift.S: File removed.
69816         * sysdeps/x86_64/multiarch/varshift.c: New file.
69817         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
69818         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
69819         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
69820         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
69822 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
69824         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69825         strlen-sse2 strlen-sse2-bsf.
69826         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
69827         __strlen_sse2_bsf if bit_Slow_BSF is unset.
69828         (__strlen_sse2): Removed.
69829         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
69830         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
69831         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
69832         bit_Slow_BSF for Atom.
69833         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
69834         (index_Slow_BSF): Define.
69835         (HAS_SLOW_BSF): Define.
69837 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
69839         [BZ #10851]
69840         * resolv/res_init.c (__res_vinit): When no server address at all
69841         is given default to loopback.
69843 2010-08-24  Roland McGrath  <roland@redhat.com>
69845         * configure.in: Remove config-name.h generation.
69846         * configure: Regenerated.
69847         * config-name.in: File removed.
69848         * scripts/config-uname.sh: New file.
69849         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
69850         ($(objdir)config-name.h): New target.
69852         * sunrpc/rpc_parse.h: Avoid nested comment.
69854 2010-08-24  Richard Henderson  <rth@redhat.com>
69855             Ulrich Drepper  <drepper@redhat.com>
69856             H.J. Lu  <hongjiu.lu@intel.com>
69858         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
69859         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
69860         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
69861         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
69862         _mm_alignr_epi8 with _mm_loadu_si128.
69863         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
69864         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
69865         (__m128i_shift_right): Removed.
69866         * sysdeps/i386/i686/multiarch/varshift.h: New file.
69867         * sysdeps/i386/i686/multiarch/varshift.S: New file.
69868         * sysdeps/x86_64/multiarch/varshift.h: New file.
69869         * sysdeps/x86_64/multiarch/varshift.S: New file.
69871 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
69873         * configure.in: Move assembler checks to before sysdep dir checking.
69875 2010-08-20  Petr Baudis  <pasky@suse.cz>
69877         * LICENSES: Sync the sunrpc license.
69879 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
69881         * sunrpc/auth_des.c: Update copyright notice once again.
69882         * sunrpc/auth_none.c: Likewise.
69883         * sunrpc/auth_unix.c: Likewise.
69884         * sunrpc/authdes_prot.c: Likewise.
69885         * sunrpc/authuxprot.c: Likewise.
69886         * sunrpc/bindrsvprt.c: Likewise.
69887         * sunrpc/clnt_gen.c: Likewise.
69888         * sunrpc/clnt_perr.c: Likewise.
69889         * sunrpc/clnt_raw.c: Likewise.
69890         * sunrpc/clnt_simp.c: Likewise.
69891         * sunrpc/clnt_tcp.c: Likewise.
69892         * sunrpc/clnt_udp.c: Likewise.
69893         * sunrpc/clnt_unix.c: Likewise.
69894         * sunrpc/des_crypt.c: Likewise.
69895         * sunrpc/des_soft.c: Likewise.
69896         * sunrpc/get_myaddr.c: Likewise.
69897         * sunrpc/getrpcport.c: Likewise.
69898         * sunrpc/key_call.c: Likewise.
69899         * sunrpc/key_prot.c: Likewise.
69900         * sunrpc/openchild.c: Likewise.
69901         * sunrpc/pm_getmaps.c: Likewise.
69902         * sunrpc/pm_getport.c: Likewise.
69903         * sunrpc/pmap_clnt.c: Likewise.
69904         * sunrpc/pmap_prot.c: Likewise.
69905         * sunrpc/pmap_prot2.c: Likewise.
69906         * sunrpc/pmap_rmt.c: Likewise.
69907         * sunrpc/rpc/auth.h: Likewise.
69908         * sunrpc/rpc/auth_unix.h: Likewise.
69909         * sunrpc/rpc/clnt.h: Likewise.
69910         * sunrpc/rpc/des_crypt.h: Likewise.
69911         * sunrpc/rpc/key_prot.h: Likewise.
69912         * sunrpc/rpc/netdb.h: Likewise.
69913         * sunrpc/rpc/pmap_clnt.h: Likewise.
69914         * sunrpc/rpc/pmap_prot.h: Likewise.
69915         * sunrpc/rpc/pmap_rmt.h: Likewise.
69916         * sunrpc/rpc/rpc.h: Likewise.
69917         * sunrpc/rpc/rpc_des.h: Likewise.
69918         * sunrpc/rpc/rpc_msg.h: Likewise.
69919         * sunrpc/rpc/svc.h: Likewise.
69920         * sunrpc/rpc/svc_auth.h: Likewise.
69921         * sunrpc/rpc/types.h: Likewise.
69922         * sunrpc/rpc/xdr.h: Likewise.
69923         * sunrpc/rpc_clntout.c: Likewise.
69924         * sunrpc/rpc_cmsg.c: Likewise.
69925         * sunrpc/rpc_common.c: Likewise.
69926         * sunrpc/rpc_cout.c: Likewise.
69927         * sunrpc/rpc_dtable.c: Likewise.
69928         * sunrpc/rpc_hout.c: Likewise.
69929         * sunrpc/rpc_main.c: Likewise.
69930         * sunrpc/rpc_parse.c: Likewise.
69931         * sunrpc/rpc_parse.h: Likewise.
69932         * sunrpc/rpc_prot.c: Likewise.
69933         * sunrpc/rpc_sample.c: Likewise.
69934         * sunrpc/rpc_scan.c: Likewise.
69935         * sunrpc/rpc_scan.h: Likewise.
69936         * sunrpc/rpc_svcout.c: Likewise.
69937         * sunrpc/rpc_tblout.c: Likewise.
69938         * sunrpc/rpc_util.c: Likewise.
69939         * sunrpc/rpc_util.h: Likewise.
69940         * sunrpc/rpcinfo.c: Likewise.
69941         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
69942         * sunrpc/rpcsvc/key_prot.x: Likewise.
69943         * sunrpc/rpcsvc/klm_prot.x: Likewise.
69944         * sunrpc/rpcsvc/mount.x: Likewise.
69945         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
69946         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
69947         * sunrpc/rpcsvc/rex.x: Likewise.
69948         * sunrpc/rpcsvc/rstat.x: Likewise.
69949         * sunrpc/rpcsvc/rusers.x: Likewise.
69950         * sunrpc/rpcsvc/sm_inter.x: Likewise.
69951         * sunrpc/rpcsvc/spray.x: Likewise.
69952         * sunrpc/rpcsvc/yppasswd.x: Likewise.
69953         * sunrpc/rtime.c: Likewise.
69954         * sunrpc/svc.c: Likewise.
69955         * sunrpc/svc_auth.c: Likewise.
69956         * sunrpc/svc_authux.c: Likewise.
69957         * sunrpc/svc_raw.c: Likewise.
69958         * sunrpc/svc_run.c: Likewise.
69959         * sunrpc/svc_simple.c: Likewise.
69960         * sunrpc/svc_tcp.c: Likewise.
69961         * sunrpc/svc_udp.c: Likewise.
69962         * sunrpc/svc_unix.c: Likewise.
69963         * sunrpc/svcauth_des.c: Likewise.
69964         * sunrpc/xcrypt.c: Likewise.
69965         * sunrpc/xdr.c: Likewise.
69966         * sunrpc/xdr_array.c: Likewise.
69967         * sunrpc/xdr_float.c: Likewise.
69968         * sunrpc/xdr_mem.c: Likewise.
69969         * sunrpc/xdr_rec.c: Likewise.
69970         * sunrpc/xdr_ref.c: Likewise.
69971         * sunrpc/xdr_sizeof.c: Likewise.
69972         * sunrpc/xdr_stdio.c: Likewise.
69974         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
69975         handling.
69977 2010-08-19  Andreas Schwab  <schwab@redhat.com>
69979         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
69981 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
69983         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
69984         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
69985         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
69986         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
69987         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
69988         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
69989         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
69990         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
69991         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
69992         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
69993         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
69994         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
69995         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
69996         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
69998 2010-07-26  Anton Blanchard  <anton@samba.org>
70000         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
70001         * malloc/arena.c (heap_trim): Likewise.
70003 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
70005         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
70006         here.  Not...
70007         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
70008         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
70010 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
70012         * sysdeps/i386/elf/Makefile: New file.
70014 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
70016         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
70017         from fanotify_init.
70018         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
70019         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
70021 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
70023         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
70024         of strncasecmp_l.
70025         * sysdeps/multiarch/strcmp.S: Likewise.
70027 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
70029         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
70030         strncase_l-nonascii.
70031         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
70032         Add strncase_l-ssse3.
70033         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
70034         * sysdeps/x86_64/strcmp.S: Likewise.
70035         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
70036         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
70037         * sysdeps/x86_64/strncase.S: New file.
70038         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
70039         * sysdeps/x86_64/strncase_l.S: New file.
70040         * string/Makefile (strop-tests): Add strncasecmp.
70041         * string/test-strncasecmp.c: New file.
70043         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
70044         warning.
70046         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
70047         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
70049 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
70051         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
70053 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
70055         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
70056         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
70057         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
70059 2010-05-01  Alan Modra  <amodra@gmail.com>
70061         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
70062         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
70063         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
70064         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
70065         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
70066         tidying.  Don't tail-call __sigjmp_save for static lib.
70067         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
70068         save location.
70069         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
70070         (CALL_MCOUNT): Add eh info, and nop after bl.
70071         (TAIL_CALL_SYSCALL_ERROR): New macro.
70072         (PSEUDO_RET): Use it.
70073         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
70074         Correct save location of integer regs and cr.
70075         (_dl_profile_resolve): Correct cr save location.  Delete nops
70076         after bl when SHARED.  Reduce cfi size a little by better
70077         placement of cfi directives.
70078         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
70079         make a stack frame.  Instead use parm save area as a temp.
70080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
70081         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
70082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
70083         Don't make a stack frame for parent, use parm save area.
70084         Increase child stack frame to 112 bytes.  Don't save unused reg,
70085         and adjust reg usage.  Set up cfi on error recovery and
70086         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
70087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
70088         (__makecontext): Add dummy nop after jump to exit.
70089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
70090         Use correct parm save area and cr save, reduce stack frame.
70091         Correct cfi for possible PSEUDO_RET frame setup.
70092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
70093         Branch to local label emitted by PSEUDO_RET rather than
70094         __syscall_error.
70096 2010-08-12  Andreas Schwab  <schwab@redhat.com>
70098         [BZ #11904]
70099         * locale/programs/locale.c (print_assignment): New function.
70100         (show_locale_vars): Use it.
70102 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
70104         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
70105         field.
70106         (struct statfs64): Likewise.
70107         (_STATFS_F_FLAGS): Define.
70108         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
70109         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
70110         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
70111         (ST_VALID): Define locally.
70112         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
70113         __statvfs_getflags, use the provided value.
70114         * sysdeps/unix/sysv/linux/kernel-features.h: Define
70115         __ASSUME_STATFS_F_FLAGS.
70117         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
70119         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
70120         Add sys/fanotify.h.
70121         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
70122         fanotify_mask for GLIBC_2.13.
70123         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
70124         fanotify_init and fanotify_mark.
70125         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
70126         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
70128         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
70129         Add prlimit.
70130         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
70131         prlimit64 for GLIBC_2.13.
70132         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
70133         prlimit64.
70134         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
70135         syscall.
70136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
70137         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
70138         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
70139         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
70140         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
70141         add prlimit alias.
70142         * sysdeps/unix/sysv/linux/prlimit.c: New file.
70144         [BZ #11903]
70145         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
70146         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
70148         * nss/Makefile: Add rules to build and run tst-nss-test1.
70149         * shlib-versions: Add entry for libnss_test1.
70150         * nss/nss_test1.c: New file.
70151         * nss/tst-nss-test1.c: New file.
70153         * nss/nsswitch.c (__nss_database_custom): Define new variable.
70154         (__nss_configure_lookup): Set appropriate entry in
70155         __nss_configure_lookup to true.
70156         * nss/nsswitch.h: Define enum with indeces of databases in
70157         databases and __nss_database_custom arrays.  Declare
70158         __nss_database_custom.
70159         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
70160         to avoid using nscd when custom rules are installed.
70161         * nss/getXXbyYY_r.c: Likewise.
70162         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
70164         * nss/nss_files/files-parse.c: Whitespace fixes.
70166 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
70168         [BZ #11883]
70169         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
70170         * posix/fnmatch_loop.c: Likewise.
70172 2010-07-17  Andi Kleen  <ak@linux.intel.com>
70174         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
70175         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
70176         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
70177         * Versions.def [GLIBC_2.13]: Add.
70179 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
70181         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
70182         Also fail if tpwd after pwuid call is NULL.
70184 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70186         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
70187         when converting to ms.
70189 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70191         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
70192         EOPNOTSUPP errors with ENOTTY.
70193         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
70194         EOPNOTSUPP errors with ENOTTY.
70196 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
70198         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
70199         Add strcasecmp_l-ssse3.
70200         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
70201         strcasecmp.
70202         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
70203         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
70204         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
70206 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
70208         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
70210         * string/Makefile (strop-tests): Add strcasecmp.
70211         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
70212         strcasecmp_l-nonascii.
70213         (gen-as-const-headers): Add locale-defines.sym.
70214         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
70215         * sysdeps/x86_64/strcasecmp.S: New file.
70216         * sysdeps/x86_64/strcasecmp_l.S: New file.
70217         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
70218         * sysdeps/x86_64/locale-defines.sym: New file.
70219         * string/test-strcasecmp.c: New file.
70221         * string/test-strcasestr.c: Test both ends of the range of characters.
70222         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
70224 2010-07-29  Roland McGrath  <roland@redhat.com>
70226         [BZ #11856]
70227         * manual/locale.texi (Yes-or-No Questions): Fix example code.
70229 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
70231         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
70232         for ld.so.
70234 2010-07-27  Andreas Schwab  <schwab@redhat.com>
70236         * manual/memory.texi (Malloc Tunable Parameters): Document
70237         M_PERTURB.
70239 2010-07-26  Roland McGrath  <roland@redhat.com>
70241         [BZ #11840]
70242         * configure.in (-fgnu89-inline check): Set and substitute
70243         gnu89_inline, not libc_cv_gnu89_inline.
70244         * configure: Regenerated.
70245         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
70247 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
70249         * string/test-strnlen.c: New file.
70250         * string/Makefile (strop-tests): Add strnlen.
70251         * string/tester.c (test_strnlen): Add a few more test cases.
70252         * string/tst-strlen.c: Better error reporting.
70254         * sysdeps/x86_64/strnlen.S: New file.
70256 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
70258         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
70259         lower-latency instructions.
70261 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
70263         * string/test-strcasestr.c: New file.
70264         * string/test-strstr.c: New file.
70265         * string/Makefile (strop-tests): Add strstr and strcasestr.
70266         * string/str-two-way.h: Don't undefine MAX.
70267         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
70269 2010-07-21  Andreas Schwab  <schwab@redhat.com>
70271         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70272         strcasestr-nonascii.
70273         (CFLAGS-strcasestr-nonascii.c): Define.
70274         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
70275         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
70276         Remove unused attribute.
70278 2010-07-20  Roland McGrath  <roland@redhat.com>
70280         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
70281         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
70282         ld.so.cache was broken.  With it, there is no way to disable dsocaps
70283         like LD_HWCAP_MASK can disable hwcaps.
70285 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
70287         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
70289 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
70291         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
70292         call in strcasestr.
70293         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
70294         __strcasestr_sse42_nonascii.
70295         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
70296         strcasestr-nonascii.c.
70297         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
70299 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
70301         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
70302         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
70303         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
70304         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
70306 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
70308         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
70309         fcntl.
70311 2010-07-06  Andreas Schwab  <schwab@redhat.com>
70313         [BZ #11577]
70314         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
70315         dl_signal_cerror.
70317 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
70319         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
70320         _PC_PIPE_BUF using F_GETPIPE_SZ.
70322 2010-07-05  Roland McGrath  <roland@redhat.com>
70324         * manual/arith.texi (Rounding Functions): Fix rint description
70325         implicit in round description.
70327 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
70329         * elf/Makefile: Fix linking for a few tests to make recent linker
70330         happy.
70332 2010-06-30  Andreas Schwab  <schwab@redhat.com>
70334         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
70335         $(common-objpfx)libc_nonshared.a.
70337 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
70339         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
70340         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
70341         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
70342         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
70343         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
70344         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
70345         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
70346         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
70347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
70348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
70349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
70350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
70351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
70352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
70353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
70354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
70355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
70356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
70357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
70358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
70359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
70360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
70361         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
70362         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
70363         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
70364         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
70365         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
70366         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
70367         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
70368         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
70369         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
70370         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
70371         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
70372         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
70373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
70374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
70375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
70376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
70377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
70378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
70379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
70380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
70381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
70382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
70383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
70384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
70385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
70386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
70388 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
70390         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
70391         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
70392         * string/memmove.c (memmove): Renamed to ...
70393         (MEMMOVE): ...this.  Default to memmove.
70394         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
70395         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
70396         (END_CHK): Define.
70397         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70398         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
70399         mempcpy-ssse3-back memmove-ssse3-back.
70400         * sysdeps/x86_64/multiarch/bcopy.S: New file .
70401         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
70402         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
70403         * sysdeps/x86_64/multiarch/memcpy.S: New file.
70404         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
70405         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
70406         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
70407         * sysdeps/x86_64/multiarch/memmove.c: New file.
70408         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
70409         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
70410         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
70411         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
70412         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
70413         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
70414         Define.
70415         (index_Fast_Copy_Backward): Define.
70416         (HAS_ARCH_FEATURE): Define.
70417         (HAS_FAST_REP_STRING): Define.
70418         (HAS_FAST_COPY_BACKWARD): Define.
70420 2010-06-21  Andreas Schwab  <schwab@redhat.com>
70422         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
70423         Restore proper fallback handling.
70425 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
70427         [BZ #11701]
70428         * posix/group_member.c (__group_member): Correct checking loop.
70430         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
70431         OOM in getpwuid_r correctly.  Return error number when the caller
70432         should return, otherwise -1.
70433         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
70434         call returning > 0 value.
70435         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
70437 2010-06-07  Andreas Schwab  <schwab@redhat.com>
70439         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
70440         libc_nonshared.a from targets in modules-names.
70442 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
70444         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
70445         requires it.
70447 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
70449         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
70450         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
70451         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
70452         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
70454 2010-06-02  Andreas Schwab  <schwab@redhat.com>
70456         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
70458 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
70460         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
70461         and F_GETPIPE_SZ.
70462         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
70463         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70464         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70465         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70466         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70467         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
70469 2010-06-14  Roland McGrath  <roland@redhat.com>
70471         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
70473 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
70475         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
70476         __REDIRECT followed by __THROW.
70477         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
70478         * posix/getopt.h (getopt): Likewise.
70480 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
70482         * hurd/lookup-at.c (__file_name_lookup_at): Accept
70483         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
70484         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
70485         in AT_FLAGS.
70486         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
70487         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
70489 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
70491         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
70493 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
70495         [BZ #11640]
70496         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70497         Properly check family and model.
70499 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
70501         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
70503 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
70505         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
70507 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
70509         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
70510         symbol reference.
70512 2010-05-19  Andreas Schwab  <schwab@redhat.com>
70514         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
70515         symbol reference.
70517 2010-05-21  Andreas Schwab  <schwab@redhat.com>
70519         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
70520         and internal_recvmmsg.
70521         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
70522         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
70523         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
70524         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
70526         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
70527         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
70528         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
70530 2010-05-20  Andreas Schwab  <schwab@redhat.com>
70532         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
70534 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
70536         POWER7 optimizations.
70537         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
70538         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
70540 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
70542         * version.h: Update for 2.13 development version.
70544 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
70546         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
70547         exceptions.  Return 0.
70549 2010-05-07  Roland McGrath  <roland@redhat.com>
70551         * elf/ldconfig.c (main): Add a const.
70553 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
70555         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
70556         (args_options): Add no-idn option.
70557         (ahosts_keys_int): Add idn_flags to ai_flags.
70558         (parse_option): Handle 'i' option to clear idn_flags.
70560         * malloc/malloc.c (_int_free): Possible race in the most recently
70561         added check.  Only act on the data if no current modification
70562         happened.
70564 See ChangeLog.17 for earlier changes.