hurd: Make mmap64 use vm_offset_t for overflow check
[glibc.git] / ChangeLog
blobb769a0e05edc245eaa6d5808ab407ab5ba488ec4
1 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
4         signed off_t, so 32bit bigger than 2GiB values are fine actually.
6         * sysdeps/mach/hurd/mmap64.c: New file.
8 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
10         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
11         rights for its main user thread in NEWTASK.
13 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
15         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
16         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
18 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
20         [BZ #14259]
21         * Makeconfig: Rename localedir to complocaledir.
22         Rename inst_localedir to inst_complocaledir.
23         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
24         * config.make.in: Use complocaledir and libc_cv_complocaledir.
25         * configure.ac: Use libc_cv_complocaledir.
26         * configure: Regenerate.
27         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
28         -DCOMPLOCALEDIR.
29         * locale/findlocale.c: Use COMPLOCALEDIR.
30         * locale/loadarchive.c: Likewise.
31         * locale/programs/locale.c: Likewise.
32         * locale/programs/localedef.c: Likewise.
33         * locale/programs/locarchive.c: Likewise.
34         * localedata/Makefile: Use inst_complocaledir.
35         * sysdeps/gnu/configure: Regenerate.
36         * sysdeps/hppa/configure: Regenerate.
37         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
38         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
39         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
40         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
41         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
42         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
43         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
45 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
47         [BZ #19058]
48         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
49         AS_NEEDED.
50         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
51         workaround.
52         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
53         libmvec-static-only-routines): Added new file.
54         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
56 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
59         of interrupted RPC instead of restoring it.
61         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
62         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
63         libc_hidden_def.
64         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
65         into initialized data instead of common. Define rtld_hidden_data_def.
66         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
67         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
68         libc_hidden_def.
69         (if_freenameindex): Add libc_hidden_weak.
70         (if_nameindex): Add libc_hidden_weak.
71         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
72         __open64.
73         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
74         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
75         * sysdeps/mach/nanosleep.c: Include <time.h>
76         (__nanosleep): Rename to __libc_nanosleep.
77         (__nanosleep): Add weak_alias.
78         (nanosleep): Update alias.
80 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
82         * stdlib/strtod_nan.c: New file.
83         * stdlib/strtod_nan_double.h: Likewise.
84         * stdlib/strtod_nan_float.h: Likewise.
85         * stdlib/strtod_nan_main.c: Likewise.
86         * stdlib/strtod_nan_narrow.h: Likewise.
87         * stdlib/strtod_nan_wide.h: Likewise.
88         * stdlib/strtof_nan.c: Likewise.
89         * stdlib/strtold_nan.c: Likewise.
90         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
91         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
92         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
93         * wcsmbs/wcstod_nan.c: Likewise.
94         * wcsmbs/wcstof_nan.c: Likewise.
95         * wcsmbs/wcstold_nan.c: Likewise.
96         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
97         strtold_nan.
98         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
99         wcstof_nan.
100         * include/stdlib.h (__strtof_nan): Declare and use
101         libc_hidden_proto.
102         (__strtod_nan): Likewise.
103         (__strtold_nan): Likewise.
104         (__wcstof_nan): Likewise.
105         (__wcstod_nan): Likewise.
106         (__wcstold_nan): Likewise.
107         * include/wchar.h (____wcstoull_l_internal): Declare.
108         * stdlib/strtod_l.c: Do not include <ieee754.h>.
109         (____strtoull_l_internal): Remove declaration.
110         (STRTOF_NAN): Define macro.
111         (SET_MANTISSA): Remove macro.
112         (STRTOULL): Likewise.
113         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
114         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
115         (STRTOF_NAN): Define macro.
116         (SET_MANTISSA): Remove macro.
117         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
118         (SET_MANTISSA): Remove macro.
119         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
120         macro.
121         (SET_MANTISSA): Remove macro.
122         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
123         macro.
124         (SET_MANTISSA): Remove macro.
125         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
126         (SET_MANTISSA): Remove macro.
127         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
128         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
129         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
131         [BZ #19266]
132         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
133         upper case and lower case letters inside NAN(), not using TOLOWER.
134         * stdlib/tst-strtod-nan-locale-main.c: New file.
135         * stdlib/tst-strtod-nan-locale.c: Likewise.
136         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
137         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
138         Depend on $(gen-locales).
139         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
140         * wcsmbs/tst-wcstod-nan-locale.c: New file.
141         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
142         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
143         Depend on $(gen-locales).
144         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
146 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
148         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
150         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
151         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
152         __finitel, __isinfl, and __isnanl.
153         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
154         Likewise.
155         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
156         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
157         __finitel.
158         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
159         Likewise.
160         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
162 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
164         * malloc/memusage.c (me): Remove redundant getenv call.
166 2015-10-24  Florian Weimer  <fweimer@redhat.com>
168         [BZ #19143]
169         [BZ #19164]
170         * nptl/check-cpuset.h: Remove.
171         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
172         Remove CPU set size check.
173         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
174         Likewise.
175         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
176         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
177         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
178         (__pthread_setaffinity_new): Remove CPU set size check.
179         * sysdeps/unix/sysv/linux/sched_setaffinity.c
180         (__kernel_cpumask_size): Remove.
181         (__sched_setaffinity_new): Remove CPU set size check.
182         * manual/threads.texi (Default Thread Attributes): Remove stale
183         reference to check_cpuset_attr, determine_cpumask_size in comment.
184         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
185         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
186         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
187         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
188         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
189         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
190         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
191         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
192         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
193         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
194         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
195         skeleton test file.
196         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
197         tst-affinity-pid.
199 2015-11-24  Florian Weimer  <fweimer@redhat.com>
201         * scripts/update-abilist.sh: New file.
202         * Makefile (+subdir_targets): Add subdir_update-all-abi.
203         * Makerules (update-all-abi-%, update-all-abi)
204         (subdir_update-all-abi): New targets.
205         * elf/Makefile (update-all-abi): New target.
207 2015-11-24  Florian Weimer  <fweimer@redhat.com>
209         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
210         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
211         (__libc_lock_define_initialized): Use it.
212         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
213         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
214         * malloc/malloc.c (main_arena): Likewise.
215         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
216         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
218 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
220         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
221         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
222         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
223         (PTRACE_O_MASK): Update value.
224         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
225         New value in enum __ptrace_setoptions.
226         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
227         (PTRACE_O_MASK): Update value.
228         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
229         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
230         (PTRACE_O_MASK): Update value.
231         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
232         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
233         (PTRACE_O_MASK): Update value.
234         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
235         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
236         (PTRACE_O_MASK): Update value.
237         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
238         New value in enum __ptrace_setoptions.
239         (PTRACE_O_MASK): Update value.
240         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
241         New value in enum __ptrace_setoptions.
242         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
243         (PTRACE_O_MASK): Update value.
245         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
246         New macro.
247         (PACKET_AUXDATA): Likewise.
248         (PACKET_ORIGDEV): Likewise.
249         (PACKET_VERSION): Likewise.
250         (PACKET_HDRLEN): Likewise.
251         (PACKET_RESERVE): Likewise.
252         (PACKET_TX_RING): Likewise.
253         (PACKET_LOSS): Likewise.
254         (PACKET_VNET_HDR): Likewise.
255         (PACKET_TX_TIMESTAMP): Likewise.
256         (PACKET_TIMESTAMP): Likewise.
257         (PACKET_FANOUT): Likewise.
258         (PACKET_TX_HAS_OFF): Likewise.
259         (PACKET_QDISC_BYPASS): Likewise.
260         (PACKET_ROLLOVER_STATS): Likewise.
261         (PACKET_FANOUT_DATA): Likewise.
262         (PACKET_MR_UNICAST): Likewise.
264         [BZ #19242]
265         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
266         (TOUPPER): Likewise.
267         * stdlib/tst-strtol-locale-main.c: New file.
268         * stdlib/tst-strtol-locale.c: Likewise.
269         * stdlib/Makefile (tests): Add tst-strtol-locale.
270         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
271         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
272         Depend on $(gen-locales).
273         * wcsmbs/tst-wcstol-locale.c: New file.
274         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
275         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
276         tr_TR.ISO-8859-9.
277         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
278         Depend on $(gen-locales).
280 2015-11-20  Roland McGrath  <roland@hack.frob.com>
282         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
283         __glibc_likely instead of __builtin_expect.  After falling back to
284         dyncode_create in a non-ET_DYN case, use the allocate_code_data
285         system interface to register the code pages as occupied.
287 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
289         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
290         [!ARM_MATH_PRIVATE_H].
291         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
292         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
293         [!HPPA_MATH_PRIVATE_H].
294         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
295         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
296         to [!I386_MATH_PRIVATE_H].
297         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
298         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
299         Change guard to [!M68K_MATH_PRIVATE_H].
300         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
301         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
302         guard to [!MICROBLAZE_MATH_PRIVATE_H].
303         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
304         macro.
305         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
306         [!MIPS_MATH_PRIVATE_H].
307         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
308         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
309         [!NIO2_MATH_PRIVATE_H].
310         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
311         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
312         [!TILE_MATH_PRIVATE_H].
313         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
315         [BZ #15421]
316         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
317         initialize with 0 and define as weak alias of __signgam.
318         * include/math.h [!_ISOMAC] (__signgam): Declare.
319         * math/Makefile (libm-calls): Add w_lgamma_compat.
320         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
321         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
322         test-signgam-ullong-init.
323         (tests-static): Add test-signgam-uchar-static,
324         test-signgam-uchar-init-static, test-signgam-uint-static,
325         test-signgam-uint-init-static, test-signgam-ullong-static and
326         test-signgam-ullong-init-static.
327         (CFLAGS-test-signgam-uchar.c): New variable.
328         (CFLAGS-test-signgam-uchar-init.c): Likewise.
329         (CFLAGS-test-signgam-uchar-static.c): Likewise.
330         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
331         (CFLAGS-test-signgam-uint.c): Likewise.
332         (CFLAGS-test-signgam-uint-init.c): Likewise.
333         (CFLAGS-test-signgam-uint-static.c): Likewise.
334         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
335         (CFLAGS-test-signgam-ullong.c): Likewise.
336         (CFLAGS-test-signgam-ullong-init.c): Likewise.
337         (CFLAGS-test-signgam-ullong-static.c): Likewise.
338         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
339         * math/Versions (libm): Add GLIBC_2.23.
340         * math/lgamma-compat.h: New file.
341         * math/test-signgam-main.c: Likewise.
342         * math/test-signgam-uchar-init-static.c: Likewise.
343         * math/test-signgam-uchar-init.c: Likewise.
344         * math/test-signgam-uchar-static.c: Likewise.
345         * math/test-signgam-uchar.c: Likewise.
346         * math/test-signgam-uint-init-static.c: Likewise.
347         * math/test-signgam-uint-init.c: Likewise.
348         * math/test-signgam-uint-static.c: Likewise.
349         * math/test-signgam-uint.c: Likewise.
350         * math/test-signgam-ullong-init-static.c: Likewise.
351         * math/test-signgam-ullong-init.c: Likewise.
352         * math/test-signgam-ullong-static.c: Likewise.
353         * math/test-signgam-ullong.c: Likewise.
354         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
355         wrapper of w_lgamma_main.c.
356         * math/w_lgamma_compat.c: New file.
357         * math/w_lgamma_compatf.c: Likewise.
358         * math/w_lgamma_compatl.c: Likewise.
359         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
360         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
361         defining compatibility symbols.
362         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
363         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
364         wrapper of w_lgammaf_main.c.
365         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
366         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
367         defining compatibility symbols.
368         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
369         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
370         wrapper of w_lgammal_main.c.
371         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
372         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
373         defining compatibility symbols.
374         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
375         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
376         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
377         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
378         <lgamma-compat.h>.
379         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
380         (__ieee754_gamma): Define as alias.
381         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
382         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
383         <lgamma-compat.h>.
384         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
385         (__ieee754_gammaf): Define as alias.
386         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
387         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
388         <lgamma-compat.h>.
389         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
390         (__ieee754_gammal): Define as alias.
391         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
392         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
393         <math/w_lgamma_compat.c>.
394         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
395         Define as alias of __lgamma_compat and use in defining lgammal.
396         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
397         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
398         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
399         (USE_AS_COMPAT): New macro.
400         (LGAMMA_OLD_VER): Undefine and redefine.
401         (lgammal): Do not define here.
402         (gammal): Only define here if [GAMMA_ALIAS].
403         * conform/linknamespace.pl (@whitelist): Remove signgam.
404         * sysdeps/nacl/libm.abilist: Update.
405         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
406         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
407         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
408         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
409         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
410         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
411         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
412         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
413         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
414         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
415         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
416         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
418         Likewise.
419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
420         Likewise.
421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
422         Likewise.
423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
424         Likewise.
425         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
426         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
427         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
428         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
429         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
430         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
431         Likewise.
432         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
433         Likewise.
434         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
435         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
436         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
438 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
440         [BZ #16364]
441         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
442         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
444 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
446         * sysdeps/s390/fpu/bits/mathinline.h:
447         Use __asm__ [__volatile__] instead of asm [volatile].
448         * sysdeps/s390/abort-instr.h: Likewise.
449         * sysdeps/s390/atomic-machine.h: Likewise.
450         * sysdeps/s390/bits/string.h: Likewise.
451         * sysdeps/s390/dl-tls.h: Likewise.
452         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
453         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
454         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
455         * sysdeps/s390/fpu/fesetround.c: Likewise.
456         * sysdeps/s390/fpu/fpu_control.h: Likewise.
457         * sysdeps/s390/fpu/s_fma.c: Likewise.
458         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
459         * sysdeps/s390/memusage.h: Likewise.
460         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
461         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
462         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
463         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
464         * sysdeps/s390/nptl/tls.h: Likewise.
465         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
466         * sysdeps/s390/s390-32/backtrace.c: Likewise.
467         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
468         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
469         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
470         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
471         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
472         * sysdeps/s390/s390-64/backtrace.c: Likewise.
473         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
474         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
475         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
476         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
477         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
478         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
479         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
480         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
481         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
482         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
483         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
484         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
485         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
486         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
487         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
489 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
490             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
492         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
493         Add lwarx hint, and use macro for acquire instruction.
494         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
495         Likewise.
496         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
497         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
498         update to use new atomic macros.
500 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
502         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
503         (__lll_trylock_elision): Fix setting of adapt_count.
504         * sysdeps/unix/sysv/linux/powerpc/htm.h
505         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
506         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
507         (_ABORT_SYSCALL): Renumber, and clarify definition.
508         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
510 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
512         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
513         after system headers to prevent MIN/MAX redefinition.  Define
514         HAVE_ALLOCA to preserve builtin alloca usage.
516 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
518         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
519         static and don't set or restore rounding.
520         (__cos)[IN_SINCOS]: Likewise.
521         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
522         (__sincos): Set and restore rounding mode.  Remove check for infinite
523         or NaN input.
525         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
527         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
528         as used.
530 2015-11-16  Florian Weimer  <fweimer@redhat.com>
532         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
534 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
536         * config.make.in (have-glob-dat-reloc): New.
537         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
538         target supports GLOB_DAT relocaton. AC_SUBST.
539         * configure: Regenerated.
540         * elf/Makefile (tests): Add tst-prelink.
541         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
542         (tst-prelink-ENV): New.
543         ($(objpfx)tst-prelink-conflict.out): Likewise.
544         ($(objpfx)tst-prelink-cmp.out): Likewise.
545         * sysdeps/x86/tst-prelink.c: Moved to ...
546         * elf/tst-prelink.c: Here.
547         * sysdeps/x86/tst-prelink.exp: Moved to ...
548         * elf/tst-prelink.exp: Here.
549         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
550         (tst-prelink-ENV): Removed.
551         ($(objpfx)tst-prelink-conflict.out): Likewise.
552         ($(objpfx)tst-prelink-cmp.out): Likewise.
553         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
555 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
557         [BZ #14551]
558         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
559         (__mpn_construct_long_double): If high part overflows to infinity,
560         set errno and recompute overflowed result of the correct sign.
561         * sysdeps/ieee754/ldbl-128ibm/Makefile
562         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
563         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
564         $(libm).
565         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
567 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
569         [BZ #15479]
570         [BZ #19238]
571         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
572         floating-point state after first operation on input.  Restore full
573         state rather than just rounding mode.
574         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
575         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
576         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
578         [BZ #19235]
579         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
580         add 0.5 to integer arguments.
581         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
582         Likewise.
583         (.LC2): New object.
585 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
587         * scripts/pylintrc (reports): Set to no.
589 2015-11-10  Roland McGrath  <roland@hack.frob.com>
591         * elf/dl-load.c (open_verify): Take new argument FD.
592         Skip __open call if passed FD is not -1.
593         (_dl_map_object, open_path): Update callers.
594         * elf/dl-sysdep-open.h: New file.
595         * elf/dl-load.c: Include it.
596         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
597         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
598         * sysdeps/nacl/dl-sysdep-open.h: New file.
599         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
600         from libc to rtld.
602 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
604         [BZ #19228]
605         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
606         and restore full floating-point state.
607         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
608         Likewise.
609         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
610         Likewise.
611         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
612         Likewise.
613         * math/test-nearbyint-except-2.c: New file.
614         * math/Makefile (tests): Add test-nearbyint-except-2.
616 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
618         [BZ #19178]
619         * sysdeps/x86/Makefile (tests): Add tst-prelink.
620         (tst-prelink-ENV): New.
621         ($(objpfx)tst-prelink-conflict.out): Likewise.
622         ($(objpfx)tst-prelink-cmp.out): Likewise.
623         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
624         * sysdeps/x86/tst-prelink.c: New file.
625         * sysdeps/x86/tst-prelink.exp: Likewise.
627 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
629         * math/auto-libm-test-in: Add another test of pow.
630         * math/auto-libm-test-out: Regenerated.
631         * math/libm-test.inc (pow_test_data): Add another test.
633 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
635         [BZ #19219]
636         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
637         weak_alias to nearbyintl.
639 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
641         * sysdeps/aarch64/bits/string.h: New file.
642         (_STRING_ARCH_unaligned): Define.
644 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
646         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
647         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
648         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
649         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
652 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
654         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
655         for original name of the DSO.  Add it to the name list of the DSO
656         if it is actually given.
657         (_dl_map_object): Keep track of whether an audit module rewrote
658         the file name.  If yes, pass the original name to
659         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
660         debugging is enabled, log the change of the file name.
661         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
662         _dl_map_object_from_fd.
663         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
664         * elf/tst-audit11.c: New file
665         * elf/tst-auditmod11.c: New file.
666         * elf/tst-audit11mod1.c: New file.
667         * elf/tst-audit11mod2.c: New file.
668         * elf/tst-audit11mod2.map: New file.
669         * elf/tst-audit12.c: New file
670         * elf/tst-auditmod12.c: New file.
671         * elf/tst-audit12mod1.c: New file.
672         * elf/tst-audit12mod2.c: New file.
673         * elf/tst-audit12mod2.map: New file.
674         * elf/tst-audit12mod3.c: New file.
676 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
678         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
679         Don't create weak aliases,
680         because versioned symbols are created later.
681         * sysdeps/s390/s390-32/setjmp.S
682         (setjmp, _setjmp): Remove weak and rename to an unique name
683         in SHARED case due to existing versioned symbols.
684         * sysdeps/s390/s390-64/setjmp.S: Likewise.
685         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
686         (getcontext): Create weak alias only in non SHARED case.
687         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
689 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
691         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
692         (__ASSUME_*_SYSCALL) Define new macros.
693         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
694         Remove socketcall syscalls.
695         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
696         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
697         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
698         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
699         * sysdeps/unix/sysv/linux/send.c (__libc_send):
700         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
702 2015-11-09  Florian Weimer  <fweimer@redhat.com>
704         [BZ #12926]
705         Terminate process on invalid netlink response.
706         * sysdeps/unix/sysv/linux/netlinkaccess.h
707         (__netlink_assert_response): Declare.
708         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
709         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
710         (sysdep_routines): Add netlink_assert_response.
711         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
712         __netlink_assert_response.
713         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
714         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
715         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
716         __netlink_assert_response.
718 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
720         [BZ #19178]
721         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
722         (RTYPE_CLASS_PLT): Likewise.
723         (RTYPE_CLASS_COPY): Likewise.
724         (RTYPE_CLASS_TLS): Likewise.
725         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
726         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
727         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
728         DL_DEBUG_PRELINK.
730 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
732         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
733         calls with argument -0.5.
734         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
736         * configure.ac (libc_cv_z_nodelete): Remove configure test.
737         (libc_cv_z_nodlopen): Likewise.
738         (libc_cv_z_initfirst): Likewise.
739         * configure: Regenerated.
741 2015-11-06  Florian Weimer  <fweimer@redhat.com>
743         Simplify abilist format to be line-based.
744         * scripts/abilist.awk: Collect descriptors in the descs variable.
745         (emit): Write descs variable and sort it
746         externally, with sort.
747         * sysdeps/**/*.abilist: Convert to new format.
749 2015-11-06  Mark Wielaard  <mjw@redhat.com>
751         [BZ #11460]
752         * io/Makefile (routines): Add fts64.
753         (tests): Add tst-fts and tst-fts-lfs.
754         (CFLAGS-fts64.c): New.
755         * io/Versions (GLIBC_2.23): New.
756         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
757         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
758         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
759         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
760         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
761         (FTSENT64): Likewise.
762         (fts64_children): Likewise.
763         (fts64_close): Likewise.
764         (fts64_open): Likewise.
765         (fts64_read): Likewise.
766         (fts64_set): Likewise.
767         * io/fts64.c: New file.
768         * io/tst-fts.c: New test.
769         * io/tst-fts-lfs.c: Likewise.
770         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
771         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
772         fts64_set.
773         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
774         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
775         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
776         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
777         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
778         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
779         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
780         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
781         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
782         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
783         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
784         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
785         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
787         Likewise.
788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
789         Likewise.
790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
792         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
793         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
794         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
795         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
796         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
797         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
798         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
799         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
800         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
801         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
802         * sysdeps/wordsize-64/fts.c: New file.
803         * sysdeps/wordsize-64/fts64.c: Likewise.
804         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
805         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
806         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
807         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
809 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
811         * math/libm-test.inc (NON_FINITE): New macro.
812         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
813         * math/gen-libm-test.pl (show_exceptions): Add argument
814         $non_finite.
815         (parse_args): Update call to show_exceptions.
816         * math/test-math-finite.h: New file.
817         * math/test-math-no-finite.h: Likewise.
818         * math/test-double-finite.c: Likewise.
819         * math/test-float-finite.c: Likewise.
820         * math/test-ldouble-finite.c: Likewise.
821         * math/test-double.c: Include "test-math-no-finite.h".
822         * math/test-float.c: Include "test-math-no-finite.h".
823         * math/test-ldouble.c: Include "test-math-no-finite.h".
824         * math/test-math-inline.h (TEST_FINITE): New macro.
825         * math/test-math-vector.h (TEST_FINITE): Likewise.
826         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
827         (libm-tests): Add test-float-finite and test-double-finite.
828         ($(objpfx)test-float-finite.o): New dependency on
829         $(objpfx)libm-test.stmp.
830         ($(objpfx)test-double-finite.o): Likewise.
831         ($(objpfx)test-ldouble-finite.o): Likewise.
832         (libm-test-no-inline-cflags): New variable.
833         (libm-test-finite-cflags): Likewise.
834         (CFLAGS-test-float-finite.c): Likewise.
835         (CFLAGS-test-double-finite.c): Likewise.
836         (CFLAGS-test-ldouble-finite.c): Likewise.
837         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
838         (CFLAGS-test-double.c): Likewise.
839         (CFLAGS-test-ldouble.c): Likewise.
841 2015-11-05  Roland McGrath  <roland@hack.frob.com>
843         * io/fcntl.c (__fcntl): Add ... to prototype.
844         * misc/ioctl.c (__ioctl): Likewise.
845         * misc/syscall.c (syscall): Likewise.
847 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
849         * scripts/list-fixed-bugs.py: New file.
851         [BZ #19213]
852         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
853         returned for argument 1.
854         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
855         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
856         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
857         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
858         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
859         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
861         [BZ #19211]
862         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
863         __USE_XOPEN], not if [!__USE_ISOC99].
864         (lgammaf): Likewise.
865         (lgammal): Likewise.
866         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
867         (gammaf): Likewise.
868         (gammal): Likewise.
869         * math/test-signgam-finite-c11.c: New file.
870         * math/test-signgam-finite-c99.c: Likewise.
871         * math/test-signgam-finite.c: Likewise.
872         * math/Makefile (tests): Add test-signgam-finite,
873         test-signgam-finite-c99 and test-signgam-finite-c11.
874         (CFLAGS-test-signgam-finite.c): New variable.
875         (CFLAGS-test-signgam-finite-c99.c): Likewise.
876         (CFLAGS-test-signgam-finite-c11.c): Likewise.
878         [BZ #19212]
879         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
880         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
881         500].
882         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
883         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
884         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
885         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
886         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
887         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
888         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
889         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
890         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
891         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
893         [BZ #19209]
894         * math/bits/math-finite.h (ldexp): Remove declaration.
895         (ldexpf): Likewise.
896         (ldexpl): Likewise.
898         [BZ #19205]
899         * math/bits/math-finite.h (acosf): Condition declaration on
900         [__USE_ISOC99].
901         (acosl): Likewise.
902         (acoshf): Likewise.
903         (acoshl): Likewise.
904         (asinf): Likewise.
905         (asinl): Likewise.
906         (atan2f): Likewise.
907         (atan2l): Likewise.
908         (atanhf): Likewise.
909         (atanhl): Likewise.
910         (coshf): Likewise.
911         (coshl): Likewise.
912         (expf): Likewise.
913         (expl): Likewise.
914         (fmodf): Likewise.
915         (fmodl): Likewise.
916         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
917         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
918         (j0l): Likewise.
919         (y0f): Likewise.
920         (y0l): Likewise.
921         (j1f): Likewise.
922         (j1l): Likewise.
923         (y1f): Likewise.
924         (y1l): Likewise.
925         (jnf): Likewise.
926         (jnl): Likewise.
927         (ynf): Likewise.
928         (ynl): Likewise.
929         (lgammaf_r): Condition declaration on [__USE_ISOC99].
930         (lgammal_r): Likewise.
931         (__lgamma_r_finite): New declaration.
932         (__lgammaf_r_finite): Likewise.
933         (__lgammal_r_finite): Likewise.
934         (lgamma): Use __lgamma_r_finite.
935         (lgammaf): Condition definition on [__USE_ISOC99].  Use
936         __lgammaf_r_finite.
937         (lgammal): Condition definition on [__USE_ISOC99].  Use
938         __lgammal_r_finite.
939         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
940         __lgamma_r_finite.
941         (gammaf): Condition definition on [__USE_ISOC99].  Use
942         __lgammaf_r_finite.
943         (gammal): Condition definition on [__USE_ISOC99].  Use
944         __lgammal_r_finite.
945         (logf): Condition declaration on [__USE_ISOC99].
946         (logl): Likewise.
947         (log10f): Likewise.
948         (log10l): Likewise.
949         (ldexpf): Likewise.
950         (ldexpl): Likewise.
951         (powf): Likewise.
952         (powl): Likewise.
953         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
954         __USE_ISOC99].
955         (remainderf): Condition declaration on [__USE_ISOC99].
956         (remainderl): Likewise.
957         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
958         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
959         (scalbl): Likewise.
960         (sinhf): Condition declaration on [__USE_ISOC99].
961         (sinhl): Likewise.
962         (sqrtf): Likewise.
963         (sqrtl): Likewise.
965 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
967         * sysdeps/arm/atomic-machine.h
968         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
969         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
970         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
971         Remove conditional code.
972         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
973         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
974         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
975         Change conditional to [__ASSEMBLER__].
976         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
977         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
978         [!__ASSEMBLER__].
979         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
980         code.
981         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
982         conditional macro definitions.
983         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
984         (__arch_compare_and_exchange_val_16_acq): Likewise.
985         (__arch_compare_and_exchange_val_32_acq): Likewise.
986         (atomic_exchange_and_add): Likewise.
987         (atomic_add): Likewise.
988         (atomic_add_negative): Likewise.
989         (atomic_add_zero): Likewise.
990         (atomic_bit_set): Likewise.
991         (atomic_bit_test_set): Likewise.
992         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
993         code unconditional.
994         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
996         * math/test-math-errno.h: New file.
997         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
998         empty.
999         (TEST_ERRNO): New macro.
1000         (TEST_EXCEPTIONS): Likewise.
1001         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
1002         (TEST_EXCEPTIONS): Likewise.
1003         * math/test-math-vector.h (TEST_ERRNO): Likewise.
1004         * math/test-double.c: Include "test-math-errno.h".
1005         * math/test-float.c: Likewise.
1006         * math/test-ldouble.c: Likewise.
1007         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
1008         code unconditional.
1009         (test_exceptions): Only run code if TEST_EXCEPTIONS.
1010         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
1011         unconditional.
1012         (test_errno): Only run code if TEST_ERRNO.
1013         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
1015 2015-11-04  Florian Weimer  <fweimer@redhat.com>
1017         * nptl/tst-once5.cc: Remove attribution.
1019 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
1021         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
1022         sqrt, tan, tanh, y0, y1 and yn.
1023         * math/auto-libm-test-out: Regenerated.
1024         * math/libm-test.inc (scalb_test_data): Add more tests.
1025         (scalbn_test_data): Likewise.
1026         (scalbln_test_data): Likewise.
1027         (signbit_test_data): Likewise.
1028         (sin_test_data): Likewise.
1029         (sincos_test_data): Likewise.
1030         (sinh_test_data): Likewise.
1031         (sqrt_test_data): Likewise.
1032         (tan_test_data): Likewise.
1033         (tanh_test_data): Likewise.
1034         (tgamma_test_data): Likewise.
1035         (y0_test_data): Likewise.
1036         (y1_test_data): Likewise.
1037         (yn_test_data): Likewise.
1038         (significand_test_data): Likewise.
1039         * sysdeps/i386/fpu/libm-test-ulps: Update.
1041 2015-11-03  David Kastrup  <dak@gnu.org>
1043         [BZ #18604]
1044         * assert/assert.h (assert): Don't macro-expand failed assertion
1045         expression in error message.
1046         * malloc/malloc.c (assert): Likewise.
1048 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
1050         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
1051         test.
1052         * configure: Regenerated.
1054 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
1056         * math/libm-test.inc (modf_test_data): Add more tests.
1057         (nearbyint_test_data): Likewise.
1058         (nextafter_test_data): Likewise.
1059         (nexttoward_test_data): Likewise.
1060         (pow_test_data): Likewise.
1061         (remainder_test_data): Likewise.
1062         (remquo_test_data): Likewise.
1063         (rint_test_data): Likewise.
1065         [BZ #19201]
1066         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
1067         Check for zero remainder in case of large exponents and ensure
1068         correct sign of result in that case.
1069         * math/libm-test.inc (remainder_test_data): Add more tests.
1071         [BZ #6799]
1072         * math/s_nextafter.c: Include <errno.h>.
1073         (__nextafter): Set errno on overflow and underflow.
1074         * math/s_nexttowardf.c: Include <errno.h>.
1075         (__nexttowardf): Set errno on overflow and underflow.
1076         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
1077         (__nextafterl): Set errno on overflow and underflow.
1078         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
1079         (__nexttoward): Set errno on overflow and underflow.
1080         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
1081         (__nexttowardf): Set errno on overflow and underflow.
1082         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
1083         (__nextafterf): Set errno on overflow and underflow.
1084         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
1085         (__nextafterl): Set errno on overflow and underflow.
1086         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
1087         (__nexttoward): Set errno on overflow and underflow.
1088         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
1089         (__nexttowardf): Set errno on overflow and underflow.
1090         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
1091         (__nextafterl): Set errno on overflow and underflow.
1092         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
1093         (__nexttoward): Set errno on overflow and underflow.
1094         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
1095         (__nexttowardf): Set errno on overflow and underflow.
1096         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
1097         (__nexttoward): Set errno on overflow and underflow.
1098         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
1099         (__nexttowardf): Set errno on overflow and underflow.
1100         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
1101         (__nldbl_nexttowardf): Set errno on overflow and underflow.
1102         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
1103         (__nextafterl): Set errno on overflow and underflow.
1104         * math/libm-test.inc (nextafter_test_data): Do not allow errno
1105         setting to be missing on overflow.  Add more tests.
1106         (nexttoward_test_data): Likewise.
1108         * configure.ac (libc_cv_initfini_array): Remove configure test.
1109         * configure: Regenerated.
1111 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
1113         [BZ #19189]
1114         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
1115         non-finite argument handle arguments with negative sign.
1117         * math/libm-test.inc (j0_test_data): Do not test sign of zero
1118         result from infinite argument.
1119         (j1_test_data): Likewise.
1120         (jn_test_data): Likewise.
1121         (y0_test_data): Likewise.
1122         (y1_test_data): Likewise.
1123         (yn_test_data): Likewise.
1125         [BZ #16171]
1126         * math/w_remainder.c (drem): Define as weak alias of __remainder.
1127         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
1128         * math/w_remainderf.c (dremf): Define as weak alias of
1129         __remainderf.
1130         * math/w_remainderl.c (dreml): Define as weak alias of
1131         __remainderl.
1132         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
1133         __remainder.
1134         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
1135         __remainderf.
1136         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
1137         __remainderl.
1138         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
1139         weak alias of remainderl.
1140         * sysdeps/ieee754/ldbl-opt/w_remainder.c
1141         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
1142         alias of __remainder.
1143         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
1144         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
1145         strong alias of __remainderl.
1146         (dreml): Use long_double_symbol.
1147         * math/Makefile (libm-calls): Remove w_drem.
1148         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
1149         (CFLAGS-nldbl-drem.c): Remove variable.
1150         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
1151         * math/w_drem.c: Remove file.
1152         * math/w_dremf.c: Likewise.
1153         * math/w_dreml.c: Likewise.
1154         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
1155         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
1156         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
1158         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
1159         * sysdeps/i386/configure: Regenerated.
1160         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
1161         * sysdeps/x86_64/configure: Regenerated.
1163         * configure.ac (libc_cv_asm_protected_directive): Remove configure
1164         test.
1165         (libc_cv_visibility_attribute): Likewise.
1166         (libc_cv_protected_data): Test unconditionally.
1167         (libc_cv_broken_visibility_attribute): Remove configure test.
1168         (libc_cv_have_sdata_section): Test unconditionally.
1169         * configure: Regenerated.
1171         * include/libc-internal.h (libc_max_align_t): Remove typedef.
1172         * include/scratch_buffer.h: Include <stddef.h> instead of
1173         <libc-internal.h>.
1174         (struct scratch_buffer): Use max_align_t instead of
1175         libc_max_align_t.
1177 2015-10-29  Florian Weimer  <fweimer@redhat.com>
1179         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
1180         instead of extend_alloca.  Change control flow to avoid a goto.
1181         Remove assert which is trivially always true.
1183 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
1185         [BZ #16068]
1186         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
1187         (FE_ALL_EXCEPT_X86): New macro.
1188         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
1189         FE_ALL_EXCEPT.  Ensure precision control is included in
1190         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
1191         handle "denormal operand exception" and clear FZ and DAZ bits.
1192         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
1193         (FE_ALL_EXCEPT_X86): New macro.
1194         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
1195         FE_ALL_EXCEPT.  Ensure precision control is included in
1196         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
1197         handle "denormal operand exception" and clear FZ and DAZ bits.
1198         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
1199         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
1200         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1201         test-fenv-x87 and test-fenv-sse-2.
1202         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
1204         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
1205         * math/test-double.h (BUILD_COMPLEX): New macro.
1206         * math/test-float.h (BUILD_COMPLEX): Likewise.
1207         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
1209         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
1210         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
1211         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
1212         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
1213         instead of DBL_DENORM_MIN in comment.
1214         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
1215         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
1216         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
1217         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
1218         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
1219         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
1221 2015-10-28  Florian Weimer  <fweimer@redhat.com>
1223         [BZ# 19048]
1224         * malloc/malloc.c (struct malloc_state): Update comment.  Add
1225         attached_threads member.
1226         (main_arena): Initialize attached_threads.
1227         * malloc/arena.c (list_lock): Update comment.
1228         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
1229         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
1230         (deattach_arena): New function.
1231         (_int_new_arena): Initialize arena reference count and deattach
1232         replaced arena.
1233         (get_free_list, reused_arena): Update reference count and deattach
1234         replaced arena.
1235         (arena_thread_freeres): Update arena reference count and only put
1236         unreferenced arenas on the free list.
1238 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
1240         [BZ #19181]
1241         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
1242         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
1243         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
1244         * math/test-fenv-clear-main.c: New file.
1245         * math/test-fenv-clear.c: Likewise.
1246         * math/Makefile (tests): Add test-fenv-clear.
1247         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
1248         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1249         test-fenv-clear-sse.
1250         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
1252         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
1253         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
1254         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
1256 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1258         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
1259         static libc.
1261 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
1263         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
1264         test.
1265         * sysdeps/i386/configure: Regenerated.
1266         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
1267         test.
1268         * sysdeps/x86_64/configure: Regenerated.
1269         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
1270         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1271         memset-avx2 unconditionally instead of conditionally on
1272         [$(config-cflags-avx2) = yes].
1273         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1274         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
1275         unconditional.
1276         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
1277         * sysdeps/x86_64/multiarch/memset_chk.S
1278         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
1279         to [IS_IN (libc) && SHARED].
1281 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
1283         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
1284         configure test.
1285         * sysdeps/arm/configure: Regenerated.
1286         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
1287         Define variable if not already defined.
1289         [BZ #17404]
1290         * sysdeps/mips/atomic-machine.h
1291         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
1292         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
1293         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
1295         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
1296         unconditional.
1297         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
1298         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1299         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
1300         unconditional.
1301         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1302         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
1303         unconditional.
1304         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1305         * stdlib/setenv.c
1306         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
1307         code unconditional.
1308         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
1309         Remove conditional code.
1310         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
1311         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
1312         unconditional.
1313         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
1314         code.
1315         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
1316         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
1317         unconditional.
1318         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
1319         code.
1320         * sysdeps/ieee754/ldbl-128/k_tanl.c
1321         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
1322         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1323         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
1324         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
1325         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1326         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
1327         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
1328         unconditional.
1329         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
1330         code.
1331         * sysdeps/ieee754/ldbl-96/k_tanl.c
1332         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
1333         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1335         * nptl/tst-initializers1-c11.c: New file.
1336         * nptl/tst-initializers1-gnu11.c: Likewise.
1337         * nptl/Makefile (tests): Add these new tests.
1338         (CFLAGS-tst-initializers1-c11.c): New variable.
1339         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
1341         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
1342         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
1343         instead of -std=gnu99.
1344         * configure.ac (systemtap): Test with -std=gnu11 instead of
1345         -std=gnu99.
1346         * configure: Regenerated.
1347         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
1348         in compilation command in comment.
1350         * sysdeps/nptl/configure.ac: Remove file.
1351         * sysdeps/nptl/configure: Remove generated file.
1352         * configure.ac (libc_cv_forced_unwind): Do not substitute.
1353         * configure: Regenerated.
1354         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
1355         * config.make.in (have-forced-unwind): Remove variable.
1356         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
1357         unconditional.
1358         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
1359         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
1360         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
1361         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
1362         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
1363         unconditional.
1365 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1367         [BZ #19174]
1368         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
1369         .skip_lock_out_of_tbegin_retries.
1370         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1371         (__lll_lock_elision): Likewise, and respect a value of
1372         try_tbegin <= 0.
1374 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1376         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
1377         statement.
1379 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
1381         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
1382         variable.
1383         (test-xfail-ISO11/stdalign.h/conform): Likewise.
1384         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1386         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
1387         of -std=c1x -D_ISOC11_SOURCE.
1389         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
1390         * configure: Regenerated.
1391         * manual/install.texi (Tools for Compilation): Document
1392         requirement for GCC 4.7 or later.
1393         * INSTALL: Regenerated.
1395 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
1397         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
1398         on CNT to a conditional jump to 'puntdata'.
1400 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
1402         * configure.ac (libc_cv_gcc___thread): Remove configure test.
1403         (libc_cv_gcc_tls_model_attr): Likewise.
1404         * configure: Regenerated.
1406         * configure.ac (libc_cv_need_minus_P): Remove configure test.
1407         * configure: Regenerated.
1408         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
1410 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
1412         * configure.ac (old_glibc_headers): Remove configure test.
1413         * configure: Regenerated.
1414         * config.make.in (old-glibc-headers): Remove variable.
1415         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
1416         (install): Remove dependency on remove-old-headers.
1417         (headers2_0): Remove variable.
1418         (remove-old-headers): Remove rule.
1420         * configure.ac (libc_cv_dot_text): Remove configure test.
1421         (libc_cv_asm_set_directive): Use .text instead of
1422         ${libc_cv_dot_text} in configure test.
1423         * configure: Regenerated.
1425 2015-10-26  Florian Weimer  <fweimer@redhat.com>
1427         [BZ #19168]
1428         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1430 2015-10-26  Florian Weimer  <fweimer@redhat.com>
1432         * configure.ac (CXX): Clear the variable if the C++ toolchain does
1433         not support static linking.
1434         * configure: Regenerate.
1436 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
1438         * math/libm-test.inc (check_float_internal): Do not special-case
1439         errors up to 0.5 ulp.
1441         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1442         log2.
1443         * math/auto-libm-test-out: Regenerated.
1444         * math/libm-test.inc (MAX_EXP): New macro.
1445         (ilogb_test_data): Add more tests.
1446         (isfinite_test_data): Likewise.
1447         (isgreater_test_data): Likewise.
1448         (isgreaterequal_test_data): Likewise.
1449         (isinf_test_data): Likewise.
1450         (isless_test_data): Likewise.
1451         (islessequal_test_data): Likewise.
1452         (islessgreater_test_data): Likewise.
1453         (isnan_test_data): Likewise.
1454         (isnormal_test_data): Likewise.
1455         (issignaling_test_data): Likewise.
1456         (isunordered_test_data): Likewise.
1457         (j0_test_data): Likewise.
1458         (j1_test_data): Likewise.
1459         (jn_test_data): Likewise.
1460         (lgamma_test_data): Likewise.
1461         (log_test_data): Likewise.
1462         (log10_test_data): Likewise.
1463         (log1p_test_data): Likewise.
1464         (log2_test_data): Likewise.
1465         (logb_test_data): Likewise.
1466         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1468         [BZ #18611]
1469         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
1470         avoid excess range and precision on underflow.
1471         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
1472         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
1473         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1474         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
1475         underflow.
1476         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1477         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1478         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
1479         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1480         * math/auto-libm-test-in: Do not allow missing errno setting for
1481         tests of j1 and jn.
1482         * math/auto-libm-test-out: Regenerated.
1484 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
1486         [BZ #15491]
1487         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
1488         floating-point environment instead of clearing all exceptions.
1489         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
1490         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
1491         merging in "invalid" exceptions from frndint.
1492         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
1493         * math/test-nearbyint-except.c: New file.
1494         * math/Makefile (tests): Add test-nearbyint-except.
1496 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
1498         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
1500         * sysdeps/tile/libm-test-ulps: Regenerated.
1502 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
1505         (__NR_sync_file_range2): Assume it is always defined.
1506         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
1507         (__NR_sync_file_range): Assume it is always defined.
1509 2015-10-22  Andreas Schwab  <schwab@suse.de>
1511         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
1512         INTERNAL_SYSCALL_ERRNO.
1513         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1514         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
1515         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1516         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
1517         Likewise.
1518         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1520 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
1522         * io/tst-fcntl.c (fd): New static variable.
1523         (do_prepare): Open temporary file here....
1524         (do_test): ...not here.
1526         * io/ftwtest-sh: Also trap on exit to remove temporary files.
1528 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
1530         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
1531         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
1532         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
1533         Moved before "#ifdef __ASSEMBLER__".
1535 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
1537         [BZ #19156]
1538         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
1539         arguments very close to 0.
1541 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
1543         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
1544         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
1546 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
1548         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
1549         New.  Defined for GCC 5 and above when not compiling for
1550         profiling.
1551         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
1553         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
1554         Renamed to ...
1555         (CFLAGS-epoll_pwait.o): This.
1556         (CFLAGS-mmap.c): Renamed to ...
1557         (CFLAGS-mmap.o): This.
1558         (CFLAGS-mmap64.c): Renamed to ...
1559         (CFLAGS-mmap64.o): This.
1560         (CFLAGS-epoll_pwait.os): New.
1561         (CFLAGS-mmap.os): Likewise.
1562         (CFLAGS-mmap64.os): Likewise.
1563         (CFLAGS-semtimedop.os): Likewise.
1564         (CFLAGS-semtimedop.c): Renamed to ...
1565         (CFLAGS-semtimedop.o): This.
1567 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1569         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
1570         warning message.
1572 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
1574         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
1575         * Makefile ($(objpfx)c++-types-check.out): Filter out
1576         $(+gccwarn-c) instead of -Wstrict-prototypes.
1578         * io/fts.c (fts_open): Convert to prototype-style function
1579         definition.
1580         * malloc/mcheck.c (mcheck): Likewise.
1581         (mcheck_pedantic): Likewise.
1582         * posix/regexec.c (re_search_2_stub): Likewise.  Use
1583         internal_function.
1584         (re_search_internal): Likewise.
1585         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
1586         prototype-style function definition.
1587         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
1588         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
1589         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
1590         (xdr_utmpptr): Likewise.
1591         (xdr_utmparr): Likewise.
1592         (xdr_utmpidle): Likewise.
1593         (xdr_utmpidleptr): Likewise.
1594         (xdr_utmpidlearr): Likewise.
1596         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
1597         log, log10 and log2.
1598         * math/auto-libm-test-out: Regenerated.
1599         * math/libm-test.inc (fmod_test_data): Add more tests.
1600         (fpclassify_test_data): Likewise.
1601         (frexp_test_data): Likewise.
1602         (hypot_test_data): Likewise.
1603         (ilogb_test_data): Likewise.
1605 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
1607         * debug/fortify_fail.c (__fortify_fail): Convert to
1608         prototype-style function definition.  Use internal_function.
1609         * libio/genops.c (save_for_backup): Convert to prototype-style
1610         function definition.
1611         * libio/wgenops.c (save_for_wbackup): Likewise.
1612         * login/grantpt.c (grantpt): Likewise.
1613         * login/ptsname.c (ptsname): Likewise.
1614         (__ptsname_r): Likewise.
1615         * login/unlockpt.c (unlockpt): Likewise.
1616         * mach/msgserver.c (__mach_msg_server): Likewise.
1617         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
1618         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
1619         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
1620         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
1621         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
1622         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
1623         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
1624         Likewise.
1625         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
1626         internal_function.
1627         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
1628         prototype-style function definition.
1629         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
1630         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
1631         (__pthread_create_2_0): Likewise.
1632         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
1633         * nptl/register-atfork.c (__register_atfork): Likewise.
1634         * posix/glob.c (glob): Likewise.
1635         * posix/regcomp.c (re_comp): Likewise.
1636         * posix/regexec.c (re_exec): Likewise.
1637         * stdlib/add_n.c [__STDC__]: Make code unconditional.
1638         [!__STDC__]: Remove conditional code.
1639         * stdlib/cmp.c [__STDC__]: Make code unconditional.
1640         [!__STDC__]: Remove conditional code.
1641         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
1642         [!__STDC__]: Remove conditional code.
1643         * stdlib/divrem.c [__STDC__]: Make code unconditional.
1644         [!__STDC__]: Remove conditional code.
1645         * stdlib/lshift.c [__STDC__]: Make code unconditional.
1646         [!__STDC__]: Remove conditional code.
1647         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
1648         [!__STDC__]: Remove conditional code.
1649         * stdlib/mul.c [__STDC__]: Make code unconditional.
1650         [!__STDC__]: Remove conditional code.
1651         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
1652         [!__STDC__]: Remove conditional code.
1653         * stdlib/rshift.c [__STDC__]: Make code unconditional.
1654         [!__STDC__]: Remove conditional code.
1655         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
1656         function definition.
1657         (STRTOF): Likewise.
1658         * stdlib/strtod_l.c (__STRTOF): Likewise.
1659         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
1660         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
1661         (__strtol_l): Likewise.
1662         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
1663         [!__STDC__]: Remove conditional code.
1664         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
1665         definition.
1666         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
1667         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
1668         type.
1669         (__strcasecmp): Convert to prototype-style function definition.
1670         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
1671         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
1672         type.
1673         (__strncasecmp): Convert to prototype-style function definition.
1674         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
1675         * sunrpc/xdr.c (xdr_union): Likewise.
1676         * sunrpc/xdr_array.c (xdr_array): Likewise.
1677         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
1678         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
1679         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
1680         Likewise.
1681         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
1682         Likewise.
1683         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
1684         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
1685         Likewise.
1686         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
1687         (LOCALE_PARAM_PROTO): Likewise.
1688         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
1689         argument type.
1690         (ut_argument_spec): Remove macro.
1691         (ut_argument_spec_iso): Rename to ut_argument_spec.
1692         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
1693         prototype-style function definition.
1694         (memcpy_uppcase): Likewise.
1695         (__strftime_internal): Likewise.
1696         (my_strftime): Likewise.
1697         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
1698         (LOCALE_PARAM_DECL): Likewise.
1699         [_LIBC] (LOCALE_PARAM): Include argument type.
1700         (__strptime_internal): Convert to prototype-style function
1701         definition.
1702         (strptime): Likewise.
1703         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
1704         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
1705         type.
1706         (__wcscasecmp): Convert to prototype-style function definition.
1707         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
1708         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
1709         type.
1710         (__wcsncasecmp): Convert to prototype-style function definition.
1712         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
1713         function definition.
1714         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1715         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1716         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
1717         * elf/dl-minimal.c (_itoa): Likewise.
1718         * hurd/hurdmalloc.c (malloc): Likewise.
1719         (free): Likewise.
1720         (realloc): Likewise.
1721         * inet/inet6_option.c (inet6_option_space): Likewise.
1722         (inet6_option_init): Likewise.
1723         (inet6_option_append): Likewise.
1724         (inet6_option_alloc): Likewise.
1725         (inet6_option_next): Likewise.
1726         (inet6_option_find): Likewise.
1727         * io/ftw.c (FTW_NAME): Likewise.
1728         (NFTW_NAME): Likewise.
1729         (NFTW_NEW_NAME): Likewise.
1730         (NFTW_OLD_NAME): Likewise.
1731         * libio/iofwide.c (_IO_fwide): Likewise.
1732         * libio/strops.c (_IO_str_init_static_internal): Likewise.
1733         (_IO_str_init_static): Likewise.
1734         (_IO_str_init_readonly): Likewise.
1735         (_IO_str_overflow): Likewise.
1736         (_IO_str_underflow): Likewise.
1737         (_IO_str_count): Likewise.
1738         (_IO_str_seekoff): Likewise.
1739         (_IO_str_pbackfail): Likewise.
1740         (_IO_str_finish): Likewise.
1741         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
1742         (_IO_wstr_overflow): Likewise.
1743         (_IO_wstr_underflow): Likewise.
1744         (_IO_wstr_count): Likewise.
1745         (_IO_wstr_seekoff): Likewise.
1746         (_IO_wstr_pbackfail): Likewise.
1747         (_IO_wstr_finish): Likewise.
1748         * locale/programs/localedef.c (normalize_codeset): Likewise.
1749         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
1750         (add_locales_to_archive): Likewise.
1751         (delete_locales_from_archive): Likewise.
1752         * malloc/malloc.c (__libc_mallinfo): Likewise.
1753         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
1754         * misc/tsearch.c (__tfind): Likewise.
1755         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
1756         * nptl/pthread_attr_getdetachstate.c
1757         (__pthread_attr_getdetachstate): Likewise.
1758         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
1759         Likewise.
1760         * nptl/pthread_attr_getinheritsched.c
1761         (__pthread_attr_getinheritsched): Likewise.
1762         * nptl/pthread_attr_getschedparam.c
1763         (__pthread_attr_getschedparam): Likewise.
1764         * nptl/pthread_attr_getschedpolicy.c
1765         (__pthread_attr_getschedpolicy): Likewise.
1766         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
1767         Likewise.
1768         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
1769         Likewise.
1770         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
1771         Likewise.
1772         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
1773         Likewise.
1774         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
1775         (__pthread_attr_init_2_0): Likewise.
1776         * nptl/pthread_attr_setdetachstate.c
1777         (__pthread_attr_setdetachstate): Likewise.
1778         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
1779         Likewise.
1780         * nptl/pthread_attr_setinheritsched.c
1781         (__pthread_attr_setinheritsched): Likewise.
1782         * nptl/pthread_attr_setschedparam.c
1783         (__pthread_attr_setschedparam): Likewise.
1784         * nptl/pthread_attr_setschedpolicy.c
1785         (__pthread_attr_setschedpolicy): Likewise.
1786         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
1787         Likewise.
1788         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
1789         Likewise.
1790         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
1791         Likewise.
1792         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
1793         Likewise.
1794         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
1795         Likewise.
1796         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
1797         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
1798         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
1799         use internal_function.
1800         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
1801         prototype-style function definition.
1802         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
1803         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
1804         internal_function.
1805         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
1806         Convert to prototype-style function definition.
1807         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1808         Likewise.
1809         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
1810         Likewise.
1811         (__pthread_mutex_unlock): Likewise.
1812         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
1813         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
1814         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
1815         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
1816         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
1817         * nss/makedb.c (process_input): Likewise.
1818         * posix/fnmatch.c (__strchrnul): Likewise.
1819         (__wcschrnul): Likewise.
1820         (fnmatch): Likewise.
1821         * posix/fnmatch_loop.c (FCT): Likewise.
1822         * posix/glob.c (globfree): Likewise.
1823         (__glob_pattern_type): Likewise.
1824         (__glob_pattern_p): Likewise.
1825         * posix/regcomp.c (re_compile_pattern): Likewise.
1826         (re_set_syntax): Likewise.
1827         (re_compile_fastmap): Likewise.
1828         (regcomp): Likewise.
1829         (regerror): Likewise.
1830         (regfree): Likewise.
1831         * posix/regexec.c (regexec): Likewise.
1832         (re_match): Likewise.
1833         (re_search): Likewise.
1834         (re_match_2): Likewise.
1835         (re_search_2): Likewise.
1836         (re_search_stub): Likewise.  Use internal_function
1837         (re_copy_regs): Likewise.
1838         (re_set_registers): Convert to prototype-style function
1839         definition.
1840         (prune_impossible_nodes): Likewise.  Use internal_function.
1841         * resolv/inet_net_pton.c (inet_net_pton): Convert to
1842         prototype-style function definition.
1843         (inet_net_pton_ipv4): Likewise.
1844         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1845         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
1846         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
1847         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
1848         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
1849         Make variadic.
1850         * time/strptime_l.c (localtime_r): Convert to prototype-style
1851         function definition.
1852         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
1853         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
1854         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
1855         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
1857         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
1858         definition.
1859         (_ufc_doit_r): Likewise.
1860         * crypt/crypt_util.c (_ufc_copymem): Likewise.
1861         (_ufc_output_conversion_r): Likewise.
1862         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
1863         * inet/rcmd.c (rcmd_af): Likewise.
1864         (rcmd): Likewise.
1865         (ruserok_af): Likewise.
1866         (ruserok): Likewise.
1867         (ruserok2_sa): Likewise.
1868         (ruserok_sa): Likewise.
1869         (iruserok_af): Likewise.
1870         (iruserok): Likewise.
1871         (__ivaliduser): Likewise.
1872         (__validuser2_sa): Likewise.
1873         * inet/rexec.c (rexec_af): Likewise.
1874         (rexec): Likewise.
1875         * inet/ruserpass.c (ruserpass): Likewise.
1876         * locale/programs/xmalloc.c (xcalloc): Likewise.
1877         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
1878         * math/w_drem.c (__drem): Likewise.
1879         * math/w_dremf.c (__dremf): Likewise.
1880         * math/w_dreml.c (__dreml): Likewise.
1881         * misc/daemon.c (daemon): Likewise.
1882         * resolv/res_debug.c (p_fqnname): Likewise.
1883         * stdlib/div.c (div): Likewise.
1884         * string/memcmp.c (memcmp_bytes): Likewise.
1885         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
1886         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
1888         * crypt/cert.c (main): Convert to prototype-style function
1889         definition.
1890         * io/pipe.c (__pipe): Likewise.
1891         * io/pipe2.c (__pipe2): Likewise.
1892         * misc/futimesat.c (futimesat): Likewise.
1893         * misc/utimes.c (__utimes): Likewise.
1894         * posix/execve.c (__execve): Likewise.
1895         * posix/execvp.c (execvp): Likewise.
1896         * posix/execvpe.c (__execvpe): Likewise.
1897         * posix/fexecve.c (fexecve): Likewise.
1898         * socket/socketpair.c (socketpair): Likewise.
1899         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
1900         * stdlib/erand48.c (erand48): Likewise.
1901         * stdlib/erand48_r.c (__erand48_r): Likewise.
1902         * stdlib/jrand48.c (jrand48): Likewise.
1903         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
1904         * stdlib/lcong48.c (lcong48): Likewise.
1905         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
1906         * stdlib/nrand48.c (nrand48): Likewise.
1907         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
1908         * stdlib/seed48.c (seed48): Likewise.
1909         * stdlib/seed48_r.c (__seed48_r): Likewise.
1910         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
1911         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
1912         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
1914 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
1916         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
1917         * configure: Regenerated.
1918         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
1919         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
1920         unconditional.
1921         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
1922         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
1923         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
1924         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
1925         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
1926         unconditional.
1927         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
1929         * posix/Makefile (CFLAGS-regex.c): Remove variable.
1930         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
1932         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
1933         function definition.
1934         * crypt/crypt_util.c (__encrypt_r): Likewise.
1935         * libio/genops.c (_IO_no_init): Likewise.
1936         * libio/iofopncook.c (_IO_fopencookie): Likewise.
1937         (_IO_old_fopencookie): Likewise.
1938         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
1939         * libio/iogetline.c (_IO_getline): Likewise.
1940         (_IO_getline_info): Likewise.
1941         * libio/iogetwline.c (_IO_getwline): Likewise.
1942         (_IO_getwline_info): Likewise.
1943         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
1944         * libio/vswprintf.c (_IO_vswprintf): Likewise.
1945         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
1946         (find_entry): Likewise.
1947         (iterate_table): Likewise.
1948         (lookup): Likewise.
1949         * login/forkpty.c (forkpty): Likewise.
1950         * misc/hsearch_r.c (__hsearch_r): Likewise.
1951         * misc/select.c (__select): Likewise.
1952         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
1953         Likewise.
1954         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
1955         Likewise.
1956         * nptl/old_pthread_cond_timedwait.c
1957         (__pthread_cond_timedwait_2_0): Likewise.
1958         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
1959         * nptl/pthread_barrierattr_getpshared.c
1960         (pthread_barrierattr_getpshared): Likewise.
1961         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
1962         Likewise.
1963         * nptl/pthread_mutex_setprioceiling.c
1964         (pthread_mutex_setprioceiling): Likewise.
1965         * nptl/pthread_mutexattr_getprioceiling.c
1966         (pthread_mutexattr_getprioceiling): Likewise.
1967         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
1968         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1969         Likewise.
1970         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1971         Likewise.
1972         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
1973         Likewise.
1974         * socket/recvfrom.c (__recvfrom): Likewise.
1975         * socket/sendto.c (__sendto): Likewise.
1976         * socket/setsockopt.c (__setsockopt): Likewise.
1977         * stdio-common/_itoa.c (_itoa): Likewise.
1978         * stdio-common/_itowa.c (_itowa): Likewise.
1979         * stdio-common/reg-printf.c (__register_printf_specifier):
1980         Likewise.
1981         (__register_printf_function): Likewise.
1982         * stdio-common/tempname.c (__path_search): Likewise.
1983         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
1984         * stdlib/mul_1.c (mpn_mul_1): Likewise.
1985         * stdlib/random_r.c (__initstate_r): Likewise.
1986         * stdlib/setenv.c (__add_to_environ): Likewise.
1987         * stdlib/submul_1.c (mpn_submul_1): Likewise.
1988         * streams/getpmsg.c (getpmsg): Likewise.
1989         * streams/putmsg.c (putmsg): Likewise.
1990         * streams/putpmsg.c (putpmsg): Likewise.
1991         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
1992         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
1993         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
1994         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
1995         * sunrpc/pm_getport.c (pmap_getport): Likewise.
1996         * sunrpc/svc_udp.c (cache_get): Likewise.
1997         * sunrpc/xdr_array.c (xdr_vector): Likewise.
1998         * sysdeps/mach/hurd/getcwd.c
1999         (__canonicalize_directory_name_internal): Likewise.
2000         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
2001         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
2002         * sysdeps/mach/hurd/select.c (__select): Likewise.
2003         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
2004         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
2005         * sysdeps/sparc/nptl/pthread_barrier_init.c
2006         (__pthread_barrier_init): Likewise.
2007         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
2008         (__pthread_cond_timedwait): Likewise.
2009         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
2010         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
2011         Likewise.
2012         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
2013         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
2014         Likewise.
2015         * sysvipc/semtimedop.c (semtimedop): Likewise.
2016         * time/setitimer.c (__setitimer): Likewise.
2017         * time/strftime_l.c (emacs_strftime): Likewise.
2019 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
2021         * config.make.in (have-ssp): Delete.
2022         (stack-protector): New variable.
2023         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
2024         cache test for -fstack-protector-strong.  Export stack_protector to
2025         the best ssp flag.
2026         * configure: Regenerated.
2027         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
2028         * nscd/Makefile (CFLAGS-nscd): Likewise.
2029         * resolv/Makefile (CFLAGS-libresolv): Likewise.
2031 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
2033         [BZ #19122]
2034         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
2035         attribute_hidden.
2037 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2039         [BZ #18743]
2040         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
2041         code to...
2042         (ELIDE_LOCK): ...here.
2043         (__get_new_count): New function with part of the code from
2044         __elide_lock that updates the value of adapt_count after a
2045         transaction abort.
2046         (__elided_trylock): Moved this code to...
2047         (ELIDE_TRYLOCK): ...here.
2049 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
2051         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
2052         * configure: Regenerate.
2053         * INSTALL: Regenerate.
2054         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
2055         and tweak grammar.
2057 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
2059         * login/programs/pt_chown.c: Include signal.h
2060         (main): Clear any signal mask from the parent process.
2062 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
2064         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
2065         * configure: Regenerated.
2066         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
2067         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
2068         $(gnu89-inline-CFLAGS).
2070         * configure.ac (libc_cv_asm_weak_directive): Remove configure
2071         test.
2072         (libc_cv_asm_weakext_directive): Likewise.
2073         * configure: Regenerated.
2074         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
2075         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
2076         * include/libc-symbols.h
2077         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
2078         #error.
2079         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
2080         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
2082         * sysdeps/arm/backtrace.c (__backtrace): Convert to
2083         prototype-style function definition.
2084         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
2085         * sysdeps/i386/ffs.c (__ffs): Likewise.
2086         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
2087         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
2088         Likewise.
2089         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
2090         Likewise.
2091         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
2092         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2093         Likewise.
2094         * sysdeps/m68k/ffs.c (__ffs): Likewise.
2095         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
2096         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
2097         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
2098         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
2099         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
2100         * sysdeps/mach/hurd/access.c (__access): Likewise.
2101         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
2102         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
2103         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
2104         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
2105         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
2106         (cthread_getspecific): Likewise.
2107         (cthread_setspecific): Likewise.
2108         (__libc_getspecific): Likewise.
2109         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
2110         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
2111         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
2112         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
2113         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
2114         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
2115         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
2116         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
2117         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
2118         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
2119         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
2120         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
2121         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
2122         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
2123         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
2124         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
2125         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
2126         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
2127         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
2128         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
2129         * sysdeps/mach/hurd/link.c (__link): Likewise.
2130         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
2131         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
2132         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
2133         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
2134         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
2135         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
2136         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
2137         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
2138         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
2139         * sysdeps/mach/hurd/rename.c (rename): Likewise.
2140         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
2141         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
2142         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
2143         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
2144         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
2145         * sysdeps/mach/hurd/send.c (__send): Likewise.
2146         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
2147         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
2148         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
2149         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
2150         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
2151         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
2152         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
2153         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
2154         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
2155         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
2156         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
2157         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
2158         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
2159         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
2160         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
2161         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
2162         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
2163         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
2164         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
2165         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
2166         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
2167         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
2168         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
2169         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
2170         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
2171         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
2172         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
2173         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
2174         * sysdeps/posix/alarm.c (alarm): Likewise.
2175         * sysdeps/posix/cuserid.c (cuserid): Likewise.
2176         * sysdeps/posix/dirfd.c (dirfd): Likewise.
2177         * sysdeps/posix/dup.c (__dup): Likewise.
2178         * sysdeps/posix/dup2.c (__dup2): Likewise.
2179         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
2180         (main): Likewise.
2181         * sysdeps/posix/flock.c (__flock): Likewise.
2182         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
2183         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
2184         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
2185         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
2186         * sysdeps/posix/isatty.c (__isatty): Likewise.
2187         * sysdeps/posix/killpg.c (killpg): Likewise.
2188         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
2189         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
2190         * sysdeps/posix/raise.c (raise): Likewise.
2191         * sysdeps/posix/remove.c (remove): Likewise.
2192         * sysdeps/posix/rename.c (rename): Likewise.
2193         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
2194         * sysdeps/posix/seekdir.c (seekdir): Likewise.
2195         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
2196         * sysdeps/posix/sigignore.c (sigignore): Likewise.
2197         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
2198         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
2199         * sysdeps/posix/sigset.c (sigset): Likewise.
2200         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
2201         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
2202         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
2203         * sysdeps/posix/time.c (time): Likewise.
2204         * sysdeps/posix/ttyname.c (getttyname): Likewise.
2205         (ttyname): Likewise.
2206         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
2207         * sysdeps/posix/utime.c (utime): Likewise.
2208         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
2209         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
2210         Likewise.
2211         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
2212         (pthread_spin_trylock): Likewise.
2213         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
2214         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
2215         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
2216         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
2217         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
2218         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
2219         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
2220         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
2221         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
2222         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
2223         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
2224         * sysdeps/s390/ffs.c (__ffs): Likewise.
2225         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
2226         Likewise.
2227         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
2228         Likewise.
2229         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
2230         Likewise.
2231         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
2232         (pthread_barrier_destroy): Likewise.
2233         * sysdeps/sparc/nptl/pthread_barrier_wait.c
2234         (__pthread_barrier_wait): Likewise.
2235         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
2236         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
2237         (__pthread_barrier_wait): Likewise.
2238         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
2239         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
2240         (memcmp_not_common_alignment): Likewise.
2241         (MEMCMP): Likewise.
2242         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
2243         (_wordcopy_fwd_dest_aligned): Likewise.
2244         (_wordcopy_bwd_aligned): Likewise.
2245         (_wordcopy_bwd_dest_aligned): Likewise.
2246         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
2247         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
2248         * sysdeps/unix/bsd/stty.c (stty): Likewise.
2249         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
2250         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
2251         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
2252         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
2253         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
2254         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
2255         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
2256         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
2257         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
2258         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
2259         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
2260         * sysdeps/unix/stime.c (stime): Likewise.
2261         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
2262         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
2263         Likewise.  Use internal_function.
2264         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
2265         Convert to prototype-style function definition.
2266         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
2267         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
2268         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
2269         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2270         Likewise.  Use internal_function.
2271         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
2272         prototype-style function definition
2273         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
2274         Likewise.
2275         (__getlogin_r): Likewise.
2276         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
2277         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
2278         (__pthread_cond_broadcast): Likewise.
2279         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
2280         (__pthread_cond_destroy): Likewise.
2281         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
2282         (__pthread_cond_init): Likewise.
2283         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
2284         (__pthread_cond_signal): Likewise.
2285         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
2286         (__pthread_cond_wait): Likewise.
2287         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
2288         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
2289         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
2290         Likewise.
2291         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
2292         Likewise.
2293         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
2294         Likewise.
2295         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
2296         Likewise.
2297         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
2298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
2299         (__ftruncate64): Likewise.
2300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
2301         (truncate64): Likewise.
2302         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
2303         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
2304         (pthread_getcpuclockid): Likewise.
2305         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
2306         Likewise.
2307         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
2308         Likewise.
2309         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
2310         Likewise.
2311         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
2312         Likewise.
2313         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
2314         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
2315         (__libc_sigaction): Likewise.
2316         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
2317         Likewise.
2318         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
2319         (__sigprocmask): Likewise.
2320         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
2321         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
2322         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
2323         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
2324         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2325         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
2326         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2327         Likewise.
2328         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
2329         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
2330         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2331         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
2332         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
2333         Likewise.
2334         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
2335         (__sigprocmask): Likewise.
2336         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
2337         (cfgetispeed): Likewise.
2338         (cfsetospeed): Likewise.
2339         (cfsetispeed): Likewise.
2340         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
2341         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
2342         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
2343         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
2344         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
2345         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
2346         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
2347         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
2348         Likewise.
2349         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
2350         Likewise.
2351         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
2352         Likewise.
2353         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
2354         Likewise.
2355         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
2357 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2359         sunrpc: Rewrite with explicit TLS access using __thread.
2360         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
2361         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
2362         directly.
2363         (__rpc_thread_variables): Access thread_rpc_vars directly.
2364         Eliminate redundant assignment of the tvp variable.
2366 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2368         malloc: Rewrite with explicit TLS access using __thread.
2369         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
2370         (tsd_setspecific, tsd_getspecific): Remove.
2371         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
2372         (tsd_setspecific, tsd_getspecific): Likewise.
2373         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
2374         (tsd_setspecific, tsd_getspecific): Likewise.
2375         * malloc/arena.c (thread_arena): New TLS variable.
2376         (arena_key): Remove variable.
2377         (arena_get): Use thread_arena.
2378         (arena_lookup): Remove macro.
2379         (malloc_atfork, free_atfork, ptmalloc_lock_all)
2380         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
2381         (_int_new_arena, get_free_list, reused_arena)
2382         (arena_thread_freeres): Use thread_arena.
2383         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
2384         tsd_getspecific, tsd_setspecific from safety annotations.
2385         (Allocating Cleared Space): Remove arena_lookup from safety
2386         annotations.
2388 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2390         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
2391         struct scratch_buffer instead of extend_alloca.
2393 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2395         * sysdeps/unix/sysv/linux/kernel-features.h
2396         (__ASSUME_SOCK_CLOEXEC): Remove.
2397         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
2398         (__have_paccept): Remove unused macro.
2399         * include/unistd.h (__have_sock_cloexec): Remove declaration.
2400         * misc/syslog.c (openlog_internal): Remove fallback code for
2401         !__ASSUME_SOCK_CLOEXEC.
2402         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
2403         missing SOCK_CLOEXEC.
2404         * nscd/connections.c (have_sock_cloexec): Remove definition.
2405         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
2406         * nscd/nscd_helper.c (open_socket): Remove fallback code for
2407         !__ASSUME_SOCK_CLOEXEC.
2408         * resolv/res_send.c (__have_o_nonblock): Remove definition.
2409         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
2410         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
2411         definition.
2412         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
2413         code for !__ASSUME_SOCK_CLOEXEC.
2415 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2417         [BZ #18982]
2418         * manual/stdio.texi (Variable Arguments Output): Add portability
2419         note, explaining that vfprintf clobbers the va_list pointer.
2421 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
2423         * math/libm-test.inc (fabs_test_data): Add more tests.
2424         (fdim_test_data): Likewise.
2425         (fma_test_data): Likewise.
2426         (fmax_test_data): Likewise.
2427         (fmin_test_data): Likewise.
2428         (fmod_test_data): Likewise.
2430 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
2432         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
2433         data.
2435 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
2437         * math/libm-test.inc (ceil_test_data): Add more tests and more
2438         expectations for "inexact".
2439         (floor_test_data): Add more tests.
2440         (round_test_data): Likewise.
2441         (trunc_test_data): Likewise.
2443         * crypt/cert.c (good_bye): Convert to prototype-style function
2444         definition.
2445         (get8): Likewise.
2446         (put8): Likewise.
2447         * crypt/crypt-entry.c (crypt): Likewise.
2448         (__fcrypt): Likewise.
2449         * crypt/crypt_util.c (_ufc_prbits): Likewise.
2450         (_ufc_set_bits): Likewise.
2451         (_ufc_clearmem): Likewise.
2452         (__init_des_r): Likewise.
2453         (shuffle_sb): Likewise.
2454         (shuffle_sb): Likewise.
2455         (_ufc_setup_salt_r): Likewise.
2456         (_ufc_mk_keytab_r): Likewise.
2457         (_ufc_dofinalperm_r): Likewise.
2458         (encrypt): Likewise.
2459         (__setkey_r): Likewise.
2460         (setkey): Likewise.
2461         * crypt/md5.c (md5_init_ctx): Likewise.
2462         (md5_read_ctx): Likewise.
2463         (md5_finish_ctx): Likewise.
2464         (md5_stream): Likewise.
2465         (md5_buffer): Likewise.
2466         (md5_process_bytes): Likewise.
2467         * crypt/sha256.c (__sha256_init_ctx): Likewise.
2468         (__sha256_finish_ctx): Likewise.
2469         (__sha256_process_bytes): Likewise.
2470         * crypt/sha512.c (__sha512_init_ctx): Likewise.
2471         (__sha512_finish_ctx): Likewise.
2472         (__sha512_process_bytes): Likewise.
2473         * ctype/isctype.c (__isctype): Likewise.
2474         * debug/backtrace.c (__backtrace): Likewise.
2475         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
2476         * debug/fgets_chk.c (__fgets_chk): Likewise.
2477         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
2478         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
2479         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2480         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2481         * debug/memset_chk.c (__memset_chk): Likewise.
2482         * debug/strcat_chk.c (__strcat_chk): Likewise.
2483         * debug/strncat_chk.c (__strncat_chk): Likewise.
2484         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
2485         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
2486         * dirent/dirfd.c (dirfd): Likewise.
2487         * dirent/getdents.c (__getdirentries): Likewise.
2488         * dirent/getdents64.c (getdirentries64): Likewise.
2489         * dirent/rewinddir.c (__rewinddir): Likewise.
2490         * dirent/seekdir.c (seekdir): Likewise.
2491         * dirent/telldir.c (telldir): Likewise.
2492         * elf/sln.c (makesymlinks): Likewise.
2493         (makesymlink): Likewise.
2494         * gmon/gmon.c (__moncontrol): Likewise.
2495         (__monstartup): Likewise.
2496         (write_hist): Likewise.
2497         (write_call_graph): Likewise.
2498         (write_bb_counts): Likewise.
2499         * grp/setgroups.c (setgroups): Likewise.
2500         * inet/inet_lnaof.c (inet_lnaof): Likewise.
2501         * inet/inet_net.c (inet_network): Likewise.
2502         * inet/inet_netof.c (inet_netof): Likewise.
2503         * inet/rcmd.c (rresvport_af): Likewise.
2504         (rresvport): Likewise.
2505         * io/access.c (__access): Likewise.
2506         * io/chdir.c (__chdir): Likewise.
2507         * io/chmod.c (__chmod): Likewise.
2508         * io/chown.c (__chown): Likewise.
2509         * io/close.c (__close): Likewise.
2510         * io/creat.c (creat): Likewise.
2511         * io/creat64.c (creat64): Likewise.
2512         * io/dup.c (__dup): Likewise.
2513         * io/dup2.c (__dup2): Likewise.
2514         * io/dup3.c (__dup3): Likewise.
2515         * io/euidaccess.c (__euidaccess): Likewise.
2516         * io/faccessat.c (faccessat): Likewise.
2517         * io/fchmod.c (__fchmod): Likewise.
2518         * io/fchmodat.c (fchmodat): Likewise.
2519         * io/fchown.c (__fchown): Likewise.
2520         * io/fchownat.c (fchownat): Likewise.
2521         * io/fcntl.c (__fcntl): Likewise.
2522         * io/flock.c (__flock): Likewise.
2523         * io/fts.c (fts_load): Likewise.
2524         (fts_close): Likewise.
2525         (fts_read): Likewise.
2526         (fts_set): Likewise.
2527         (fts_children): Likewise.
2528         (fts_build): Likewise.
2529         (fts_stat): Likewise.
2530         (fts_sort): Likewise.
2531         (fts_alloc): Likewise.
2532         (fts_lfree): Likewise.
2533         (fts_palloc): Likewise.
2534         (fts_padjust): Likewise.
2535         (fts_maxarglen): Likewise.
2536         (fts_safe_changedir): Likewise.
2537         * io/getwd.c (getwd): Likewise.
2538         * io/isatty.c (__isatty): Likewise.
2539         * io/lchown.c (__lchown): Likewise.
2540         * io/link.c (__link): Likewise.
2541         * io/linkat.c (linkat): Likewise.
2542         * io/lseek.c (__libc_lseek): Likewise.
2543         * io/mkdir.c (__mkdir): Likewise.
2544         * io/mkdirat.c (mkdirat): Likewise.
2545         * io/mkfifo.c (mkfifo): Likewise.
2546         * io/mkfifoat.c (mkfifoat): Likewise.
2547         * io/open.c (__libc_open): Likewise.
2548         * io/open64.c (__libc_open64): Likewise.
2549         * io/readlink.c (__readlink): Likewise.
2550         * io/readlinkat.c (readlinkat): Likewise.
2551         * io/rmdir.c (__rmdir): Likewise.
2552         * io/symlink.c (__symlink): Likewise.
2553         * io/symlinkat.c (symlinkat): Likewise.
2554         * io/ttyname.c (ttyname): Likewise.
2555         * io/ttyname_r.c (__ttyname_r): Likewise.
2556         * io/umask.c (__umask): Likewise.
2557         * io/unlink.c (__unlink): Likewise.
2558         * io/unlinkat.c (unlinkat): Likewise.
2559         * io/utime.c (utime): Likewise.
2560         * libio/clearerr.c (clearerr): Likewise.
2561         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
2562         * libio/feof.c (_IO_feof): Likewise.
2563         * libio/feof_u.c (feof_unlocked): Likewise.
2564         * libio/ferror.c (_IO_ferror): Likewise.
2565         * libio/ferror_u.c (ferror_unlocked): Likewise.
2566         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
2567         * libio/fileno.c (__fileno): Likewise.
2568         * libio/fputc.c (fputc): Likewise.
2569         * libio/fputc_u.c (fputc_unlocked): Likewise.
2570         * libio/fputwc.c (fputwc): Likewise.
2571         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
2572         * libio/freopen.c (freopen): Likewise.
2573         * libio/freopen64.c (freopen64): Likewise.
2574         * libio/fseek.c (fseek): Likewise.
2575         * libio/fseeko.c (fseeko): Likewise.
2576         * libio/fseeko64.c (fseeko64): Likewise.
2577         * libio/ftello.c (__ftello): Likewise.
2578         * libio/ftello64.c (ftello64): Likewise.
2579         * libio/fwide.c (fwide): Likewise.
2580         * libio/genops.c (_IO_un_link): Likewise.
2581         (_IO_link_in): Likewise.
2582         (_IO_least_marker): Likewise.
2583         (_IO_switch_to_main_get_area): Likewise.
2584         (_IO_switch_to_backup_area): Likewise.
2585         (_IO_switch_to_get_mode): Likewise.
2586         (_IO_free_backup_area): Likewise.
2587         (_IO_switch_to_put_mode): Likewise.
2588         (__overflow): Likewise.
2589         (__underflow): Likewise.
2590         (__uflow): Likewise.
2591         (_IO_setb): Likewise.
2592         (_IO_doallocbuf): Likewise.
2593         (_IO_default_underflow): Likewise.
2594         (_IO_default_uflow): Likewise.
2595         (_IO_default_xsputn): Likewise.
2596         (_IO_sgetn): Likewise.
2597         (_IO_default_xsgetn): Likewise.
2598         (_IO_sync): Likewise.
2599         (_IO_default_setbuf): Likewise.
2600         (_IO_default_seekpos): Likewise.
2601         (_IO_default_doallocate): Likewise.
2602         (_IO_init): Likewise.
2603         (_IO_old_init): Likewise.
2604         (_IO_default_sync): Likewise.
2605         (_IO_default_finish): Likewise.
2606         (_IO_default_seekoff): Likewise.
2607         (_IO_sputbackc): Likewise.
2608         (_IO_sungetc): Likewise.
2609         (_IO_set_column): Likewise.
2610         (_IO_set_column): Likewise.
2611         (_IO_adjust_column): Likewise.
2612         (_IO_get_column): Likewise.
2613         (_IO_init_marker): Likewise.
2614         (_IO_remove_marker): Likewise.
2615         (_IO_marker_difference): Likewise.
2616         (_IO_marker_delta): Likewise.
2617         (_IO_seekmark): Likewise.
2618         (_IO_unsave_markers): Likewise.
2619         (_IO_nobackup_pbackfail): Likewise.
2620         (_IO_default_pbackfail): Likewise.
2621         (_IO_default_seek): Likewise.
2622         (_IO_default_stat): Likewise.
2623         (_IO_default_read): Likewise.
2624         (_IO_default_write): Likewise.
2625         (_IO_default_showmanyc): Likewise.
2626         (_IO_default_imbue): Likewise.
2627         (_IO_iter_next): Likewise.
2628         (_IO_iter_file): Likewise.
2629         * libio/getc.c (_IO_getc): Likewise.
2630         * libio/getwc.c (_IO_getwc): Likewise.
2631         * libio/iofclose.c (_IO_new_fclose): Likewise.
2632         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
2633         * libio/iofflush.c (_IO_fflush): Likewise.
2634         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
2635         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
2636         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
2637         * libio/iofgets.c (_IO_fgets): Likewise.
2638         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
2639         * libio/iofgetws.c (fgetws): Likewise.
2640         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
2641         * libio/iofopen64.c (_IO_fopen64): Likewise.
2642         * libio/iofopncook.c (_IO_cookie_read): Likewise.
2643         (_IO_cookie_write): Likewise.
2644         (_IO_cookie_seek): Likewise.
2645         (_IO_cookie_close): Likewise.
2646         (_IO_cookie_seekoff): Likewise.
2647         (_IO_old_cookie_seek): Likewise.
2648         * libio/iofputs.c (_IO_fputs): Likewise.
2649         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
2650         * libio/iofputws.c (fputws): Likewise.
2651         * libio/iofputws_u.c (fputws_unlocked): Likewise.
2652         * libio/iofread.c (_IO_fread): Likewise.
2653         * libio/iofread_u.c (__fread_unlocked): Likewise.
2654         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
2655         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
2656         * libio/ioftell.c (_IO_ftell): Likewise.
2657         * libio/iofwrite.c (_IO_fwrite): Likewise.
2658         * libio/iogetdelim.c (_IO_getdelim): Likewise.
2659         * libio/iogets.c (_IO_gets): Likewise.
2660         * libio/iopadn.c (_IO_padn): Likewise.
2661         * libio/iopopen.c (_IO_new_proc_open): Likewise.
2662         (_IO_new_popen): Likewise.
2663         (_IO_new_proc_close): Likewise.
2664         * libio/ioputs.c (_IO_puts): Likewise.
2665         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
2666         (_IO_seekoff): Likewise.
2667         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
2668         (_IO_seekpos): Likewise.
2669         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
2670         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
2671         * libio/ioungetc.c (_IO_ungetc): Likewise.
2672         * libio/ioungetwc.c (ungetwc): Likewise.
2673         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
2674         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
2675         * libio/iowpadn.c (_IO_wpadn): Likewise.
2676         * libio/libc_fatal.c (__libc_fatal): Likewise.
2677         * libio/memstream.c (__open_memstream): Likewise.
2678         (_IO_mem_sync): Likewise.
2679         (_IO_mem_finish): Likewise.
2680         * libio/oldfileops.c (_IO_old_file_init): Likewise.
2681         (_IO_old_file_close_it): Likewise.
2682         (_IO_old_file_finish): Likewise.
2683         (_IO_old_file_fopen): Likewise.
2684         (_IO_old_file_attach): Likewise.
2685         (_IO_old_file_setbuf): Likewise.
2686         (_IO_old_do_write): Likewise.
2687         (old_do_write): Likewise.
2688         (_IO_old_file_underflow): Likewise.
2689         (_IO_old_file_overflow): Likewise.
2690         (_IO_old_file_sync): Likewise.
2691         (_IO_old_file_seekoff): Likewise.
2692         (_IO_old_file_write): Likewise.
2693         (_IO_old_file_xsputn): Likewise.
2694         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
2695         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
2696         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
2697         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
2698         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2699         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
2700         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
2701         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
2702         (_IO_old_popen): Likewise.
2703         (_IO_old_proc_close): Likewise.
2704         * libio/oldpclose.c (__old_pclose): Likewise.
2705         * libio/pclose.c (__new_pclose): Likewise.
2706         * libio/peekc.c (_IO_peekc_locked): Likewise.
2707         * libio/putc.c (_IO_putc): Likewise.
2708         * libio/putc_u.c (putc_unlocked): Likewise.
2709         * libio/putchar.c (putchar): Likewise.
2710         * libio/putchar_u.c (putchar_unlocked): Likewise.
2711         * libio/putwc.c (putwc): Likewise.
2712         * libio/putwc_u.c (putwc_unlocked): Likewise.
2713         * libio/putwchar.c (putwchar): Likewise.
2714         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
2715         * libio/rewind.c (rewind): Likewise.
2716         * libio/setbuf.c (setbuf): Likewise.
2717         * libio/setlinebuf.c (setlinebuf): Likewise.
2718         * libio/vasprintf.c (_IO_vasprintf): Likewise.
2719         * libio/vscanf.c (_IO_vscanf): Likewise.
2720         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
2721         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
2722         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
2723         * libio/wgenops.c (_IO_least_wmarker): Likewise.
2724         (_IO_switch_to_main_wget_area): Likewise.
2725         (_IO_switch_to_wbackup_area): Likewise.
2726         (_IO_wsetb): Likewise.
2727         (_IO_wdefault_pbackfail): Likewise.
2728         (_IO_wdefault_finish): Likewise.
2729         (_IO_wdefault_uflow): Likewise.
2730         (__woverflow): Likewise.
2731         (__wuflow): Likewise.
2732         (__wunderflow): Likewise.
2733         (_IO_wdefault_xsputn): Likewise.
2734         (_IO_wdefault_xsgetn): Likewise.
2735         (_IO_wdoallocbuf): Likewise.
2736         (_IO_wdefault_doallocate): Likewise.
2737         (_IO_switch_to_wget_mode): Likewise.
2738         (_IO_free_wbackup_area): Likewise.
2739         (_IO_switch_to_wput_mode): Likewise.
2740         (_IO_sputbackwc): Likewise.
2741         (_IO_sungetwc): Likewise.
2742         (_IO_adjust_wcolumn): Likewise.
2743         (_IO_init_wmarker): Likewise.
2744         (_IO_wmarker_delta): Likewise.
2745         (_IO_seekwmark): Likewise.
2746         (_IO_unsave_wmarkers): Likewise.
2747         * libio/wmemstream.c (open_wmemstream): Likewise.
2748         (_IO_wmem_sync): Likewise.
2749         (_IO_wmem_finish): Likewise.
2750         * locale/nl_langinfo.c (nl_langinfo): Likewise.
2751         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
2752         * locale/programs/simple-hash.c (init_hash): Likewise.
2753         (delete_hash): Likewise.
2754         (insert_entry): Likewise.
2755         (set_entry): Likewise.
2756         (next_prime): Likewise.
2757         (is_prime): Likewise.
2758         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
2759         (xmalloc): Likewise.
2760         (xrealloc): Likewise.
2761         * locale/programs/xstrdup.c (xstrdup): Likewise.
2762         * localedata/collate-test.c (xstrcoll): Likewise.
2763         * localedata/xfrm-test.c (xstrcmp): Likewise.
2764         * login/getlogin_r.c (__getlogin_r): Likewise.
2765         * login/getpt.c (__posix_openpt): Likewise.
2766         * login/login_tty.c (login_tty): Likewise.
2767         * login/setlogin.c (setlogin): Likewise.
2768         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
2769         (mach_msg_destroy_port): Likewise.
2770         (mach_msg_destroy_memory): Likewise.
2771         * malloc/mcheck.c (flood): Likewise.
2772         * misc/acct.c (acct): Likewise.
2773         * misc/brk.c (__brk): Likewise.
2774         * misc/chflags.c (chflags): Likewise.
2775         * misc/chroot.c (chroot): Likewise.
2776         * misc/fchflags.c (fchflags): Likewise.
2777         * misc/fstab.c (getfsspec): Likewise.
2778         (getfsfile): Likewise.
2779         * misc/fsync.c (fsync): Likewise.
2780         * misc/ftruncate.c (__ftruncate): Likewise.
2781         * misc/ftruncate64.c (__ftruncate64): Likewise.
2782         * misc/getdomain.c (getdomainname): Likewise.
2783         (getdomainname): Likewise.
2784         * misc/gethostname.c (__gethostname): Likewise.
2785         * misc/getpass.c (getpass): Likewise.
2786         * misc/getttyent.c (skip): Likewise.
2787         (value): Likewise.
2788         * misc/gtty.c (gtty): Likewise.
2789         * misc/hsearch.c (hsearch): Likewise.
2790         (hcreate): Likewise.
2791         * misc/hsearch_r.c (__hcreate_r): Likewise.
2792         (__hdestroy_r): Likewise.
2793         * misc/ioctl.c (__ioctl): Likewise.
2794         * misc/mkdtemp.c (mkdtemp): Likewise.
2795         * misc/mkostemp.c (mkostemp): Likewise.
2796         * misc/mkostemp64.c (mkostemp64): Likewise.
2797         * misc/mkostemps.c (mkostemps): Likewise.
2798         * misc/mkostemps64.c (mkostemps64): Likewise.
2799         * misc/mkstemp.c (mkstemp): Likewise.
2800         * misc/mkstemp64.c (mkstemp64): Likewise.
2801         * misc/mkstemps.c (mkstemps): Likewise.
2802         * misc/mkstemps64.c (mkstemps64): Likewise.
2803         * misc/mktemp.c (__mktemp): Likewise.
2804         * misc/preadv.c (preadv): Likewise.
2805         * misc/preadv64.c (preadv64): Likewise.
2806         * misc/pwritev.c (pwritev): Likewise.
2807         * misc/pwritev64.c (pwritev64): Likewise.
2808         * misc/readv.c (__readv): Likewise.
2809         * misc/revoke.c (revoke): Likewise.
2810         * misc/setdomain.c (setdomainname): Likewise.
2811         * misc/setegid.c (setegid): Likewise.
2812         * misc/seteuid.c (seteuid): Likewise.
2813         * misc/sethostid.c (sethostid): Likewise.
2814         * misc/sethostname.c (sethostname): Likewise.
2815         * misc/setregid.c (__setregid): Likewise.
2816         * misc/setreuid.c (__setreuid): Likewise.
2817         * misc/sstk.c (sstk): Likewise.
2818         * misc/stty.c (stty): Likewise.
2819         * misc/syscall.c (syscall): Likewise.
2820         * misc/syslog.c (setlogmask): Likewise.
2821         * misc/truncate.c (__truncate): Likewise.
2822         * misc/truncate64.c (truncate64): Likewise.
2823         * misc/ualarm.c (ualarm): Likewise.
2824         * misc/usleep.c (usleep): Likewise.
2825         * misc/ustat.c (ustat): Likewise.
2826         * misc/writev.c (__writev): Likewise.
2827         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
2828         * nptl/old_pthread_cond_broadcast.c
2829         (__pthread_cond_broadcast_2_0): Likewise.
2830         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
2831         Likewise.
2832         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
2833         Likewise.
2834         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
2835         Likewise.
2836         * nptl/pt-raise.c (raise): Likewise.
2837         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
2838         Likewise.
2839         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
2840         * nptl/pthread_barrierattr_destroy.c
2841         (pthread_barrierattr_destroy): Likewise.
2842         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
2843         Likewise.
2844         * nptl/pthread_barrierattr_setpshared.c
2845         (pthread_barrierattr_setpshared): Likewise.
2846         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
2847         Likewise.
2848         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
2849         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
2850         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
2851         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
2852         Likewise.
2853         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
2854         Likewise.
2855         * nptl/pthread_condattr_getpshared.c
2856         (pthread_condattr_getpshared): Likewise.
2857         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
2858         Likewise.
2859         * nptl/pthread_condattr_setpshared.c
2860         (pthread_condattr_setpshared): Likewise.
2861         * nptl/pthread_detach.c (pthread_detach): Likewise.
2862         * nptl/pthread_equal.c (__pthread_equal): Likewise.
2863         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
2864         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
2865         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
2866         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
2867         Likewise.
2868         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
2869         Likewise.
2870         * nptl/pthread_mutex_getprioceiling.c
2871         (pthread_mutex_getprioceiling): Likewise.
2872         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
2873         Likewise.
2874         * nptl/pthread_mutexattr_getprotocol.c
2875         (pthread_mutexattr_getprotocol): Likewise.
2876         * nptl/pthread_mutexattr_getpshared.c
2877         (pthread_mutexattr_getpshared): Likewise.
2878         * nptl/pthread_mutexattr_getrobust.c
2879         (pthread_mutexattr_getrobust): Likewise.
2880         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
2881         Likewise.
2882         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
2883         Likewise.
2884         * nptl/pthread_mutexattr_setprioceiling.c
2885         (pthread_mutexattr_setprioceiling): Likewise.
2886         * nptl/pthread_mutexattr_setprotocol.c
2887         (pthread_mutexattr_setprotocol): Likewise.
2888         * nptl/pthread_mutexattr_setpshared.c
2889         (pthread_mutexattr_setpshared): Likewise.
2890         * nptl/pthread_mutexattr_setrobust.c
2891         (pthread_mutexattr_setrobust): Likewise.
2892         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
2893         Likewise.
2894         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
2895         Likewise.
2896         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
2897         Likewise.
2898         * nptl/pthread_rwlockattr_getkind_np.c
2899         (pthread_rwlockattr_getkind_np): Likewise.
2900         * nptl/pthread_rwlockattr_getpshared.c
2901         (pthread_rwlockattr_getpshared): Likewise.
2902         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
2903         Likewise.
2904         * nptl/pthread_rwlockattr_setkind_np.c
2905         (pthread_rwlockattr_setkind_np): Likewise.
2906         * nptl/pthread_rwlockattr_setpshared.c
2907         (pthread_rwlockattr_setpshared): Likewise.
2908         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
2909         Likewise.
2910         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
2911         Likewise.
2912         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
2913         Likewise.
2914         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
2915         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
2916         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
2917         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
2918         * nptl/sem_close.c (sem_close): Likewise.
2919         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
2920         * nptl/sem_init.c (__old_sem_init): Likewise.
2921         * nptl/sigaction.c (__sigaction): Likewise.
2922         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
2923         * posix/_exit.c (_exit): Likewise.
2924         * posix/alarm.c (alarm): Likewise.
2925         * posix/confstr.c (confstr): Likewise.
2926         * posix/fpathconf.c (__fpathconf): Likewise.
2927         * posix/getgroups.c (__getgroups): Likewise.
2928         * posix/getpgid.c (__getpgid): Likewise.
2929         * posix/group_member.c (__group_member): Likewise.
2930         * posix/pathconf.c (__pathconf): Likewise.
2931         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
2932         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
2933         * posix/setgid.c (__setgid): Likewise.
2934         * posix/setpgid.c (__setpgid): Likewise.
2935         * posix/setuid.c (__setuid): Likewise.
2936         * posix/sleep.c (__sleep): Likewise.
2937         * posix/sysconf.c (__sysconf): Likewise.
2938         * posix/times.c (__times): Likewise.
2939         * posix/uname.c (__uname): Likewise.
2940         * posix/waitid.c (__waitid): Likewise.
2941         * pwd/getpw.c (__getpw): Likewise.
2942         * resolv/base64.c (b64_pton): Likewise.
2943         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
2944         * resolv/gethnamaddr.c (Dprintf): Likewise.
2945         (gethostbyname): Likewise.
2946         (gethostbyname2): Likewise.
2947         (gethostbyaddr): Likewise.
2948         (_sethtent): Likewise.
2949         (_gethtbyname): Likewise.
2950         (_gethtbyname2): Likewise.
2951         (_gethtbyaddr): Likewise.
2952         (map_v4v6_address): Likewise.
2953         (map_v4v6_hostent): Likewise.
2954         (addrsort): Likewise.
2955         (ht_sethostent): Likewise.
2956         (ht_gethostbyname): Likewise.
2957         (ht_gethostbyaddr): Likewise.
2958         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
2959         (inet_net_ntop_ipv4): Likewise.
2960         * resolv/inet_neta.c (inet_neta): Likewise.
2961         * resolv/inet_ntop.c (inet_ntop): Likewise.
2962         (inet_ntop4): Likewise.
2963         (inet_ntop6): Likewise.
2964         * resolv/inet_pton.c (__inet_pton): Likewise.
2965         (inet_pton4): Likewise.
2966         (inet_pton6): Likewise.
2967         * resolv/res_debug.c (loc_aton): Likewise.
2968         (loc_ntoa): Likewise.
2969         * resource/getpriority.c (__getpriority): Likewise.
2970         * resource/getrusage.c (__getrusage): Likewise.
2971         * resource/nice.c (nice): Likewise.
2972         * resource/setpriority.c (__setpriority): Likewise.
2973         * resource/setrlimit64.c (setrlimit64): Likewise.
2974         * resource/vlimit.c (vlimit): Likewise.
2975         * resource/vtimes.c (vtimes): Likewise.
2976         * rt/aio_error.c (aio_error): Likewise.
2977         * rt/aio_return.c (aio_return): Likewise.
2978         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
2979         * signal/kill.c (__kill): Likewise.
2980         * signal/killpg.c (killpg): Likewise.
2981         * signal/raise.c (raise): Likewise.
2982         * signal/sigaction.c (__sigaction): Likewise.
2983         * signal/sigaddset.c (sigaddset): Likewise.
2984         * signal/sigaltstack.c (sigaltstack): Likewise.
2985         * signal/sigandset.c (sigandset): Likewise.
2986         * signal/sigblock.c (__sigblock): Likewise.
2987         * signal/sigdelset.c (sigdelset): Likewise.
2988         * signal/sigempty.c (sigemptyset): Likewise.
2989         * signal/sigfillset.c (sigfillset): Likewise.
2990         * signal/sighold.c (sighold): Likewise.
2991         * signal/sigignore.c (sigignore): Likewise.
2992         * signal/sigintr.c (siginterrupt): Likewise.
2993         * signal/sigisempty.c (sigisemptyset): Likewise.
2994         * signal/sigismem.c (sigismember): Likewise.
2995         * signal/signal.c (signal): Likewise.
2996         * signal/sigorset.c (sigorset): Likewise.
2997         * signal/sigpause.c (__sigpause): Likewise.
2998         * signal/sigpending.c (sigpending): Likewise.
2999         * signal/sigprocmask.c (__sigprocmask): Likewise.
3000         * signal/sigrelse.c (sigrelse): Likewise.
3001         * signal/sigreturn.c (__sigreturn): Likewise.
3002         * signal/sigset.c (sigset): Likewise.
3003         * signal/sigsetmask.c (__sigsetmask): Likewise.
3004         * signal/sigstack.c (sigstack): Likewise.
3005         * signal/sigsuspend.c (__sigsuspend): Likewise.
3006         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
3007         * signal/sysv_signal.c (__sysv_signal): Likewise.
3008         * socket/accept.c (accept): Likewise.
3009         * socket/accept4.c (__libc_accept4): Likewise.
3010         * socket/bind.c (__bind): Likewise.
3011         * socket/connect.c (__connect): Likewise.
3012         * socket/getpeername.c (getpeername): Likewise.
3013         * socket/getsockname.c (__getsockname): Likewise.
3014         * socket/getsockopt.c (getsockopt): Likewise.
3015         * socket/listen.c (__listen): Likewise.
3016         * socket/recv.c (__recv): Likewise.
3017         * socket/recvmsg.c (__recvmsg): Likewise.
3018         * socket/send.c (__send): Likewise.
3019         * socket/sendmsg.c (__sendmsg): Likewise.
3020         * socket/shutdown.c (shutdown): Likewise.
3021         * socket/sockatmark.c (sockatmark): Likewise.
3022         * socket/socket.c (__socket): Likewise.
3023         * stdio-common/ctermid.c (ctermid): Likewise.
3024         * stdio-common/cuserid.c (cuserid): Likewise.
3025         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
3026         * stdio-common/remove.c (remove): Likewise.
3027         * stdio-common/rename.c (rename): Likewise.
3028         * stdio-common/renameat.c (renameat): Likewise.
3029         * stdio-common/tempname.c (__gen_tempname): Likewise.
3030         * stdio-common/xbug.c (InitBuffer): Likewise.
3031         (AppendToBuffer): Likewise.
3032         (ReadFile): Likewise.
3033         * stdlib/a64l.c (a64l): Likewise.
3034         * stdlib/drand48_r.c (drand48_r): Likewise.
3035         * stdlib/getcontext.c (getcontext): Likewise.
3036         * stdlib/getenv.c (getenv): Likewise.
3037         * stdlib/l64a.c (l64a): Likewise.
3038         * stdlib/llabs.c (llabs): Likewise.
3039         * stdlib/lldiv.c (lldiv): Likewise.
3040         * stdlib/lrand48_r.c (lrand48_r): Likewise.
3041         * stdlib/mrand48_r.c (mrand48_r): Likewise.
3042         * stdlib/putenv.c (putenv): Likewise.
3043         * stdlib/random.c (__srandom): Likewise.
3044         (__initstate): Likewise.
3045         (__setstate): Likewise.
3046         * stdlib/random_r.c (__srandom_r): Likewise.
3047         (__setstate_r): Likewise.
3048         (__random_r): Likewise.
3049         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
3050         * stdlib/setcontext.c (setcontext): Likewise.
3051         * stdlib/setenv.c (setenv): Likewise.
3052         (unsetenv): Likewise.
3053         * stdlib/srand48.c (srand48): Likewise.
3054         * stdlib/srand48_r.c (__srand48_r): Likewise.
3055         * stdlib/swapcontext.c (swapcontext): Likewise.
3056         * stdlib/system.c (__libc_system): Likewise.
3057         * stdlib/tst-strtod.c (expand): Likewise.
3058         * stdlib/tst-strtol.c (expand): Likewise.
3059         * stdlib/tst-strtoll.c (expand): Likewise.
3060         * streams/fattach.c (fattach): Likewise.
3061         * streams/fdetach.c (fdetach): Likewise.
3062         * streams/getmsg.c (getmsg): Likewise.
3063         * streams/isastream.c (isastream): Likewise.
3064         * string/ffs.c (__ffs): Likewise.
3065         * string/ffsll.c (ffsll): Likewise.
3066         * string/memcmp.c (memcmp_common_alignment): Likewise.
3067         (memcmp_not_common_alignment): Likewise.
3068         (MEMCMP): Likewise.
3069         * string/memcpy.c (memcpy): Likewise.
3070         * string/memmove.c (MEMMOVE): Likewise.
3071         * string/memset.c (memset): Likewise.
3072         * string/rawmemchr.c (RAWMEMCHR): Likewise.
3073         * string/strchrnul.c (STRCHRNUL): Likewise.
3074         * string/strerror.c (strerror): Likewise.
3075         * string/strndup.c (__strndup): Likewise.
3076         * string/strverscmp.c (__strverscmp): Likewise.
3077         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
3078         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
3079         (clnttcp_freeres): Likewise.
3080         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
3081         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
3082         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
3083         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
3084         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
3085         (xdr_callhdr): Likewise.
3086         * sunrpc/rpcinfo.c (udpping): Likewise.
3087         (tcpping): Likewise.
3088         (pstatus): Likewise.
3089         (pmapdump): Likewise.
3090         (brdcst): Likewise.
3091         (deletereg): Likewise.
3092         (getprognum): Likewise.
3093         (getvers): Likewise.
3094         (get_inet_address): Likewise.
3095         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
3096         * sunrpc/svc_udp.c (svcudp_create): Likewise.
3097         (svcudp_stat): Likewise.
3098         (svcudp_recv): Likewise.
3099         (svcudp_reply): Likewise.
3100         (svcudp_getargs): Likewise.
3101         (svcudp_freeargs): Likewise.
3102         (svcudp_destroy): Likewise.
3103         * sunrpc/xdr.c (xdr_bytes): Likewise.
3104         (xdr_netobj): Likewise.
3105         (xdr_string): Likewise.
3106         (xdr_wrapstring): Likewise.
3107         * sunrpc/xdr_float.c (xdr_float): Likewise.
3108         (xdr_double): Likewise.
3109         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
3110         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
3111         * sysvipc/ftok.c (ftok): Likewise.
3112         * sysvipc/msgctl.c (msgctl): Likewise.
3113         * sysvipc/msgget.c (msgget): Likewise.
3114         * sysvipc/msgrcv.c (msgrcv): Likewise.
3115         * sysvipc/msgsnd.c (msgsnd): Likewise.
3116         * sysvipc/semget.c (semget): Likewise.
3117         * sysvipc/semop.c (semop): Likewise.
3118         * sysvipc/shmat.c (shmat): Likewise.
3119         * sysvipc/shmctl.c (shmctl): Likewise.
3120         * sysvipc/shmdt.c (shmdt): Likewise.
3121         * sysvipc/shmget.c (shmget): Likewise.
3122         * termios/cfmakeraw.c (cfmakeraw): Likewise.
3123         * termios/speed.c (cfgetospeed): Likewise.
3124         (cfgetispeed): Likewise.
3125         (cfsetospeed): Likewise.
3126         (cfsetispeed): Likewise.
3127         * termios/tcflow.c (tcflow): Likewise.
3128         * termios/tcflush.c (tcflush): Likewise.
3129         * termios/tcgetattr.c (__tcgetattr): Likewise.
3130         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
3131         * termios/tcgetsid.c (tcgetsid): Likewise.
3132         * termios/tcsendbrk.c (tcsendbreak): Likewise.
3133         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
3134         * time/adjtime.c (__adjtime): Likewise.
3135         * time/dysize.c (dysize): Likewise.
3136         * time/ftime.c (ftime): Likewise.
3137         * time/getitimer.c (__getitimer): Likewise.
3138         * time/gettimeofday.c (__gettimeofday): Likewise.
3139         * time/gmtime.c (__gmtime_r): Likewise.
3140         (gmtime): Likewise.
3141         * time/localtime.c (__localtime_r): Likewise.
3142         (localtime): Likewise.
3143         * time/offtime.c (__offtime): Likewise.
3144         * time/settimeofday.c (__settimeofday): Likewise.
3145         * time/stime.c (stime): Likewise.
3146         * time/strftime_l.c (tm_diff): Likewise.
3147         (iso_week_days): Likewise.
3148         * time/strptime.c (strptime): Likewise.
3149         * time/time.c (time): Likewise.
3150         * time/timespec_get.c (timespec_get): Likewise.
3151         * time/tzset.c (tzset_internal): Likewise.
3152         (compute_change): Likewise.
3153         (__tz_compute): Likewise.
3154         * wcsmbs/btowc.c (__btowc): Likewise.
3155         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
3156         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
3157         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
3158         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
3159         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
3160         * wcsmbs/wcscat.c (__wcscat): Likewise.
3161         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
3162         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
3163         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
3164         * wcsmbs/wcscspn.c (wcscspn): Likewise.
3165         * wcsmbs/wcsdup.c (wcsdup): Likewise.
3166         * wcsmbs/wcslen.c (__wcslen): Likewise.
3167         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
3168         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
3169         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
3170         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
3171         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
3172         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
3173         * wcsmbs/wcsspn.c (wcsspn): Likewise.
3174         * wcsmbs/wcsstr.c (wcsstr): Likewise.
3175         * wcsmbs/wcstok.c (wcstok): Likewise.
3176         * wcsmbs/wctob.c (wctob): Likewise.
3177         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
3178         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3179         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
3180         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
3181         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
3182         * wcsmbs/wmemset.c (__wmemset): Likewise.
3183         * wctype/wcfuncs.c (__towlower): Likewise.
3184         (__towupper): Likewise.
3186         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
3187         (lll_unlock_elision): Add adapt_count parameter.
3189 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
3191         * sysdeps/nptl/configure.ac: Do not give errors based on the
3192         results of top-level configure tests.
3193         * sysdeps/nptl/configure: Regenerated.
3195         * configure.ac (libc_cv_Bgroup): Remove configure test.
3196         * configure: Regenerated.
3197         * config.make.in (have-Bgroup): Remove variable.
3199         * configure.ac (sizeof_long_double): Remove configure test.
3200         * configure: Regenerated.
3201         * config.make.in (sizeof-long-double): Remove variable.
3203         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
3204         * configure: Regenerated.
3205         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
3206         variable.
3207         (exceptions): Likewise.
3208         * sysdeps/arm/configure: Regenerated.
3209         * config.make.in (exceptions): Remove variable.
3210         * Makeconfig (uses-callbacks): Use -fexceptions instead of
3211         $(exceptions).
3212         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
3213         (CFLAGS-vdprintf_chk.c): Likewise.
3214         (CFLAGS-printf_chk.c): Likewise.
3215         (CFLAGS-fprintf_chk.c): Likewise.
3216         (CFLAGS-vprintf_chk.c): Likewise.
3217         (CFLAGS-vfprintf_chk.c): Likewise.
3218         (CFLAGS-gets_chk.c): Likewise.
3219         (CFLAGS-fgets_chk.c): Likewise.
3220         (CFLAGS-fgets_u_chk.c): Likewise.
3221         (CFLAGS-fread_chk.c): Likewise.
3222         (CFLAGS-fread_u_chk.c): Likewise.
3223         (CFLAGS-wprintf_chk.c): Likewise.
3224         (CFLAGS-fwprintf_chk.c): Likewise.
3225         (CFLAGS-vwprintf_chk.c): Likewise.
3226         (CFLAGS-vfwprintf_chk.c): Likewise.
3227         (CFLAGS-fgetws_chk.c): Likewise.
3228         (CFLAGS-fgetws_u_chk.c): Likewise.
3229         * libio/Makefile (CFLAGS-fileops.c): Likewise.
3230         (CFLAGS-fputc.c): Likewise.
3231         (CFLAGS-fputwc.c): Likewise.
3232         (CFLAGS-freopen64.c): Likewise.
3233         (CFLAGS-freopen.c): Likewise.
3234         (CFLAGS-fseek.c): Likewise.
3235         (CFLAGS-fseeko64.c): Likewise.
3236         (CFLAGS-fseeko.c): Likewise.
3237         (CFLAGS-ftello64.c): Likewise.
3238         (CFLAGS-ftello.c): Likewise.
3239         (CFLAGS-fwide.c): Likewise.
3240         (CFLAGS-genops.c): Likewise.
3241         (CFLAGS-getc.c): Likewise.
3242         (CFLAGS-getchar.c): Likewise.
3243         (CFLAGS-getwc.c): Likewise.
3244         (CFLAGS-getwchar.c): Likewise.
3245         (CFLAGS-iofclose.c): Likewise.
3246         (CFLAGS-iofflush.c): Likewise.
3247         (CFLAGS-iofgetpos64.c): Likewise.
3248         (CFLAGS-iofgetpos.c): Likewise.
3249         (CFLAGS-iofgets.c): Likewise.
3250         (CFLAGS-iofgetws.c): Likewise.
3251         (CFLAGS-iofputs.c): Likewise.
3252         (CFLAGS-iofputws.c): Likewise.
3253         (CFLAGS-iofread.c): Likewise.
3254         (CFLAGS-iofsetpos64.c): Likewise.
3255         (CFLAGS-iofsetpos.c): Likewise.
3256         (CFLAGS-ioftell.c): Likewise.
3257         (CFLAGS-iofwrite.c): Likewise.
3258         (CFLAGS-iogetdelim.c): Likewise.
3259         (CFLAGS-iogetline.c): Likewise.
3260         (CFLAGS-iogets.c): Likewise.
3261         (CFLAGS-iogetwline.c): Likewise.
3262         (CFLAGS-ioputs.c): Likewise.
3263         (CFLAGS-ioseekoff.c): Likewise.
3264         (CFLAGS-ioseekpos.c): Likewise.
3265         (CFLAGS-iosetbuffer.c): Likewise.
3266         (CFLAGS-iosetvbuf.c): Likewise.
3267         (CFLAGS-ioungetc.c): Likewise.
3268         (CFLAGS-ioungetwc.c): Likewise.
3269         (CFLAGS-oldfileops.c): Likewise.
3270         (CFLAGS-oldiofclose.c): Likewise.
3271         (CFLAGS-oldiofgetpos64.c): Likewise.
3272         (CFLAGS-oldiofgetpos.c): Likewise.
3273         (CFLAGS-oldiofsetpos64.c): Likewise.
3274         (CFLAGS-oldiofsetpos.c): Likewise.
3275         (CFLAGS-peekc.c): Likewise.
3276         (CFLAGS-putc.c): Likewise.
3277         (CFLAGS-putchar.c): Likewise.
3278         (CFLAGS-putwc.c): Likewise.
3279         (CFLAGS-putwchar.c): Likewise.
3280         (CFLAGS-rewind.c): Likewise.
3281         (CFLAGS-wfileops.c): Likewise.
3282         (CFLAGS-wgenops.c): Likewise.
3283         (CFLAGS-oldiofopen.c): Likewise.
3284         (CFLAGS-iofopen.c): Likewise.
3285         (CFLAGS-iofopen64.c): Likewise.
3286         (CFLAGS-oldtmpfile.c): Likewise.
3287         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
3288         (CFLAGS-fprintf.c): Likewise.
3289         (CFLAGS-printf.c): Likewise.
3290         (CFLAGS-vfwprintf.c): Likewise.
3291         (CFLAGS-vfscanf.c): Likewise.
3292         (CFLAGS-vfwscanf.c): Likewise.
3293         (CFLAGS-fscanf.c): Likewise.
3294         (CFLAGS-scanf.c): Likewise.
3295         (CFLAGS-isoc99_vfscanf.c): Likewise.
3296         (CFLAGS-isoc99_vscanf.c): Likewise.
3297         (CFLAGS-isoc99_fscanf.c): Likewise.
3298         (CFLAGS-isoc99_scanf.c): Likewise.
3299         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
3300         (CFLAGS-isoc99_fwscanf.c): Likewise.
3301         (CFLAGS-isoc99_vwscanf.c): Likewise.
3302         (CFLAGS-isoc99_vfwscanf.c): Likewise.
3304         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
3305         after mkstemp64.
3306         * login/tst-utmp.c (do_prepare): Likewise.
3307         * rt/tst-aio.c (do_prepare): Likewise.
3308         * rt/tst-aio64.c (do_prepare): Likewise.
3310 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3312         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3313         (__lll_lock_elision): Remove adapt_count decrement...
3314         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3315         (__lll_trylock_elision): Likewise.
3316         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
3317         (__lll_unlock_elision): ... to here. And utilize
3318         new adapt_count parameter.
3319         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
3320         (__lll_unlock_elision): Update to include adapt_count
3321         parameter.
3322         (lll_unlock_elision): Pass pointer to adapt_count
3323         variable.
3325 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3327         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
3328         Add elision adapt_count parameter to list of arguments.
3329         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
3330         (lll_unlock_elision): Update with new parameter list
3331         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
3332         (lll_unlock_elision): Likewise
3333         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
3334         (lll_unlock_elision): Likewise
3336 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
3338         [BZ #19122]
3339         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
3340         attribute_hidden.
3342         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
3343         attribute_hidden.
3344         [IS_IN (rtld)] (__strdup): Likewise.
3345         [IS_IN (rtld)] (__strerror_r): Likewise.
3346         [IS_IN (rtld)] (__strsep_g): Likewise.
3347         [IS_IN (rtld)] (memchr): Likewise.
3348         [IS_IN (rtld)] (memcmp): Likewise.
3349         [IS_IN (rtld)] (memcpy): Likewise.
3350         [IS_IN (rtld)] (memmove): Likewise.
3351         [IS_IN (rtld)] (memset): Likewise.
3352         [IS_IN (rtld)] (rawmemchr): Likewise.
3353         [IS_IN (rtld)] (stpcpy): Likewise.
3354         [IS_IN (rtld)] (strchr): Likewise.
3355         [IS_IN (rtld)] (strcmp): Likewise.
3356         [IS_IN (rtld)] (strlen): Likewise.
3357         [IS_IN (rtld)] (strnlen): Likewise.
3358         [IS_IN (rtld)] (strsep): Likewise.
3360         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
3361         attribute_hidden.
3362         [IS_IN (rtld)] (__strtoul_internal): Likewise.
3364         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
3365         attribute_hidden.
3366         [IS_IN (rtld)] (__libc_sigaction): Likewise.
3368         * include/setjmp.h (__longjmp): Add attribute_hidden.
3369         [IS_IN (rtld)] (__sigsetjmp): Likewise.
3371         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
3372         Add attribute_hidden.
3374         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
3375         [IS_IN (rtld)] (__open): Likewise.
3376         [IS_IN (rtld)] (__fcntl): Likewise.
3378         * include/dirent.h (__opendirat): Add attribute_hidden.
3379         (__getdents): Likewise.
3380         (__getdents64): Likewise.
3381         (__alloc_dir): Likewise.
3382         [IS_IN (rtld)] (__closedir): Likewise.
3383         [IS_IN (rtld)] (__fdopendir): Likewise.
3384         [IS_IN (rtld)] (__readdir): Likewise.
3385         [IS_IN (rtld)] (__readdir64): Likewise.
3386         [IS_IN (rtld)] (__rewinddir): Likewise.
3388         * include/dlfcn.h (_dl_catch_error): Moved to ...
3389         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
3390         attribute_hidden.
3392         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
3393         (_itoa_word): Likewise.
3395         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
3396         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
3397         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
3398         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
3399         (_dl_higher_prime_number): Likewise.
3400         (_dl_debug_printf_c): Likewise.
3401         (_dl_signal_cerror): Likewise.
3402         (_dl_receive_error): Likewise.
3403         (_dl_reloc_bad_type): Likewise.
3404         (_dl_resolve_conflicts): Likewise.
3405         (_dl_check_all_versions): Likewise.
3406         (_dl_check_map_versions): Likewise.
3407         (_dl_sort_fini): Likewise.
3408         (_dl_debug_initialize): Likewise.
3409         (_dl_init_paths): Likewise.
3410         (_dl_show_auxv): Likewise.
3411         (_dl_next_ld_env_entry): Likewise.
3412         (_dl_important_hwcaps): Likewise.
3413         (_dl_load_cache_lookup): Likewise.
3414         (_dl_update_slotinfo): Likewise.
3415         (_dl_show_scope): Likewise.
3417         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
3418         attribute_hidden.
3419         (_wordcopy_fwd_dest_aligned): Likewise.
3420         (_wordcopy_bwd_aligned): Likewise.
3421         (_wordcopy_bwd_dest_aligned): Likewise.
3423         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
3424         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
3425         Likewise.
3426         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
3427         Likewise.
3428         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
3430 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
3432         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
3433         GCC 5 requirement.
3435 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
3437         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
3438         test.
3439         * sysdeps/i386/configure: Regenerated.
3440         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
3441         code unconditional.
3443         * configure.ac (libc_cv_asm_previous_directive): Remove configure
3444         test.
3445         (libc_cv_asm_popsection_directive): Likewise.
3446         * configure: Regenerated.
3447         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
3448         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
3449         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
3450         (__make_section_unallocated): Make definition unconditional.
3451         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
3452         Remove conditional definition.
3453         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
3454         (__make_section_unallocated): Likewise.
3456         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
3457         * configure: Regenerated.
3458         * config.make.in (static-libgcc): Remove variable.
3459         * Makerules (build-shlib-helper): Use -static-libgcc instead of
3460         $(static-libgcc).
3461         (build-module-helper): Likewise.
3463         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
3464         * configure: Regenerated.
3466 2015-10-15  Florian Weimer  <fweimer@redhat.com>
3468         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
3469         (struct char_buffer): New type.
3470         (char_buffer_start, char_buffer_size, char_buffer_error)
3471         (char_buffer_rewind, char_buffer_add): New functions.
3472         (ADDW): Remove macro, replaced by the char_buffer_add function.
3473         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
3474         of extend_alloca.  Make control flow more explicit.
3476 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
3478         [BZ #19137]
3479         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
3480         Add -fomit-frame-pointer.
3481         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
3483 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
3485         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
3486         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
3487         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
3488         only if !__GNUC_PREREQ (5,0).
3489         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
3490         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
3491         (INTERNAL_SYSCALL_NCS): Likewise.
3492         (LOADREGS_0): New macro for GCC 5.
3493         (ASMARGS_0): Likewise.
3494         (LOADREGS_1): Likewise.
3495         (ASMARGS_1): Likewise.
3496         (LOADREGS_2): Likewise.
3497         (ASMARGS_2): Likewise.
3498         (LOADREGS_3): Likewise.
3499         (ASMARGS_3): Likewise.
3500         (LOADREGS_4): Likewise.
3501         (ASMARGS_4): Likewise.
3502         (LOADREGS_5): Likewise.
3503         (ASMARGS_5): Likewise.
3504         (LOADREGS_6): Likewise.
3505         (ASMARGS_6): Likewise.
3507 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
3509         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
3510         -fomit-frame-pointer.
3511         (CFLAGS-mmap64.c): Likewise.
3512         (CFLAGS-semtimedop.c): Likewise.
3513         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
3514         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
3515         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3516         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
3518 2015-10-15  Florian Weimer  <fweimer@redhat.com>
3520         [BZ #18928]
3521         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
3522         _dl_pointer_guard member.
3523         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
3524         initializer.
3525         (security_init): Always set up pointer guard.
3526         (process_envvars): Do not process LD_POINTER_GUARD.
3528 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
3530         [BZ #19134]
3531         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
3532         (.LC2): Likewise.
3533         (.LC3): Likewise.
3534         (__lround): Do not add 0.5 to integer or out-of-range arguments.
3536 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3538         [BZ #19129]
3539         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
3540         r0 and r1.
3542 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
3544         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
3546 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
3548         * include/stap-probe.h: Fix macro definition formatting.
3550 2015-10-14  Florian Weimer  <fweimer@redhat.com>
3552         [BZ #19074]
3553         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
3554         load and store num_ifs.
3556 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
3558         [BZ #18822]
3559         * sysdeps/unix/sysv/linux/sched_getaffinity.c
3560         (__sched_getaffinity_new): Add libc_hidden_proto and
3561         libc_hidden_def.
3563 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
3565         [BZ #19007]
3566         * scripts/localplt.awk: Also allow GOT references.
3567         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
3568         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
3569         with "+ REL R_386_GLOB_DAT".
3570         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
3571         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
3573 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
3575         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
3576         INLINE_SYSCALL_ERROR_RETURN_VALUE.
3577         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
3578         Likewise.
3579         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
3580         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
3581         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
3582         INTERNAL_SYSCALLINTERNAL_SYSCALL and
3583         INLINE_SYSCALL_ERROR_RETURN_VALUE.
3584         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
3585         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3586         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
3587         Likewise.
3588         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3590 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
3592         [BZ #19125]
3593         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
3594         <math_private.h> and <stdint.h>.
3595         (__llround): Avoid conversions to and from long long int, and
3596         subtractions, where those might raise spurious exceptions.
3597         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
3598         <math_private.h> and <stdint.h>.
3599         (__llroundf): Avoid conversions to and from long long int, and
3600         subtractions, where those might raise spurious exceptions.
3602 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
3604         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
3605         INLINE_SYSCALL_ERROR_RETURN_VALUE.
3606         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
3607         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
3608         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3609         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3610         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
3611         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
3612         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
3613         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3614         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3615         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3616         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
3617         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3618         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3619         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
3620         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
3621         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
3622         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
3623         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
3624         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
3625         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
3626         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
3627         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
3628         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
3629         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
3630         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
3631         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
3632         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3633         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
3634         (__xstat64_conv): Likewise.
3635         (__xstat32_conv): Likewise.
3637 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
3639         * sysdeps/unix/sysv/linux/sysdep.h: New file.
3640         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
3641         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
3642         <sysdeps/unix/sysv/linux/sysdep.h>.
3643         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3644         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
3645         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
3646         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3647         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3648         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
3649         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
3650         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
3651         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
3652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3654         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3655         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3656         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3657         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
3658         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3659         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
3660         (sysdep-dl-routines): Add sysdep.
3661         [$(subdir) == nptl] (libpthread-routines): Likewise.
3662         [$(subdir) == rt] (librt-routines): Likewise.
3663         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
3664         PIC when branching to SYSCALL_ERROR_LABEL.
3665         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
3666         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
3667         <sysdeps/unix/sysv/linux/sysdep.h>.
3668         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
3669         (SYSCALL_ERROR_ERRNO): Removed.
3670         (SYSCALL_ERROR_HANDLER): Changed to empty.
3671         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
3672         (__syscall_error): New prototype.
3673         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
3674         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
3676 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
3678         [BZ #19124]
3679         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
3680         (_dl_runtime_resolve_avx512): Make it a hidden alias of
3681         _dl_runtime_resolve_avx.
3682         (_dl_runtime_profile_avx512): Make it a hidden alias of
3683         _dl_runtime_profile_avx.
3685 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
3687         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
3688         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
3689         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
3690         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
3692         [BZ #16422]
3693         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
3694         New configure test.
3695         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
3696         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
3697         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
3698         <math_private.h> and <stdint.h>.
3699         (__llrint): Avoid conversions to long long int where those might
3700         raise spurious exceptions.
3701         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
3702         <math_private.h> and <stdint.h>.
3703         (__llrintf): Avoid conversions to long long int where those might
3704         raise spurious exceptions.
3706 2015-10-12  Andreas Schwab  <schwab@suse.de>
3708         [BZ #18969]
3709         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
3710         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
3711         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
3712         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
3713         $(gen-locales).
3714         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
3715         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
3716         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
3717         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
3718         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
3719         $(gen-locales).
3720         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
3721         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
3722         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
3723         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
3724         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
3725         ($(objpfx)tst-ftell-active-handler.out)
3726         ($(objpfx)tst-ftell-append.out)
3727         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
3728         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
3729         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
3730         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
3731         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
3732         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
3733         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
3734         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
3735         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
3736         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
3737         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
3738         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
3739         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
3740         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
3741         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
3742         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
3743         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
3744         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
3745         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
3746         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
3747         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
3748         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
3749         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
3750         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
3751         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
3752         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
3753         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
3754         $(gen-locales).
3755         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
3756         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
3757         $(gen-locales).
3758         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
3759         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
3760         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
3761         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
3762         $(gen-locales).
3763         * libio/tst_wprintf2.c (main): Use explicit locale.
3764         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
3766 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3768         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
3769         __msg_sig_post.
3770         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
3772 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
3774         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3775         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3777         * sysdeps/arm/libm-test-ulps: Regenerated.
3779         [BZ #15470]
3780         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
3782         [BZ #16399]
3783         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
3784         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
3785         and <fix-fp-int-convert-overflow.h>.
3786         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
3787         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3788         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
3789         and <fix-fp-int-convert-overflow.h>.
3790         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
3791         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3792         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
3793         <fix-fp-int-convert-overflow.h>.
3794         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
3795         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3796         * sysdeps/ieee754/dbl-64/s_lround.c: Include
3797         <fix-fp-int-convert-overflow.h>.
3798         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
3799         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3800         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
3801         and <fix-fp-int-convert-overflow.h>.
3802         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
3803         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3804         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
3805         <limits.h> and <fix-fp-int-convert-overflow.h>.
3806         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
3807         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3808         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
3809         and <fix-fp-int-convert-overflow.h>.
3810         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
3811         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3812         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
3813         and <fix-fp-int-convert-overflow.h>.
3814         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
3815         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3816         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
3818 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
3820         [BZ #18589]
3821         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
3822         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
3823         $(gen-locales).
3825 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3826             Phil Blundell <pb@pbcl.net>
3828         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
3829         * nptl/tst-cancel26.c: New file.
3830         * nptl/tst-cancel27.c: Likewise.
3832 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
3834         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
3835         __ILP32__ isn't defined.
3836         (lrint): Likewise.
3837         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
3838         (lrintf): Likewise.
3839         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
3840         (lrintl): Likewise.
3841         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
3842         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
3843         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
3845 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3847         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
3848         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
3850         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
3851         file.
3852         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
3853         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
3855 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
3857         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
3858         configure test.
3859         * sysdeps/i386/configure: Regenerated.
3860         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
3861         configure test.
3862         * sysdeps/x86_64/configure: Regenerated.
3863         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
3864         Make code unconditional.
3866         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
3867         test.
3868         * sysdeps/i386/configure: Regenerated.
3869         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
3870         test.
3871         * sysdeps/x86_64/configure: Regenerated.
3872         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
3873         Make code unconditional.
3874         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
3875         Likewise.
3876         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
3877         Likewise.
3878         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3879         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
3880         code unconditional.
3881         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3882         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
3883         code unconditional.
3884         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3885         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
3886         code unconditional.
3887         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
3888         code unconditional.
3889         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3890         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
3891         code unconditional.
3892         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3893         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
3894         code unconditional.
3895         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3896         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
3897         code unconditional.
3898         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3899         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
3900         code unconditional.
3901         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3902         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
3904         [BZ #19095]
3905         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
3906         mantissa to long int before shifting left.
3908 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
3910         [BZ #19094]
3911         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
3912         <limits.h>.
3913         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3914         when result overflows but exception would not result from cast.
3915         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
3916         <limits.h>.
3917         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3918         when result overflows but exception would not result from cast.
3919         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
3920         <limits.h>.
3921         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3922         when result overflows but exception would not result from cast.
3923         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
3924         <limits.h>.
3925         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3926         when result overflows but exception would not result from cast.
3927         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
3928         <limits.h>.
3929         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3930         when result overflows but exception would not result from cast.
3931         * math/libm-test.inc (lrint_test_data): Add more tests.
3932         (llrint_test_data): Likewise.
3934 2015-10-08  Roland McGrath  <roland@hack.frob.com>
3936         [BZ #18872]
3937         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
3938         Move out from under [$(run-built-tests) = yes] conditional.
3939         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
3940         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
3942 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
3944         [BZ #18589]
3945         * string/Makefile (tests): Add bug-strcoll2.
3946         (LOCALES): Add cs_CZ.UTF-8.
3947         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
3949         [BZ #18589]
3950         * string/bug-strcoll2.c: New file.
3951         * locale/categories.def: Revert commit
3952         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
3953         * locale/langinfo.h: Likewise.
3954         * locale/localeinfo.h: Likewise.
3955         * locale/C-collate.c: Likewise.
3956         * locale/programs/ld-collate.c (collate_output): Likewise.
3957         * string/strcoll_l.c (STRDIFF): Likewise.
3958         (STRCOLL): Likewise.
3959         * wcsmbs/wcscoll_l.c: Likewise.
3961 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
3963         * math/libm-test.inc (lround_test_data): Do not expect the absence
3964         of "inexact" for some tests with non-integer arguments.
3965         (llround_test_data): Likewise.
3967         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
3968         test.
3969         (libc_cv_cc_sse2avx): Likewise.
3970         * sysdeps/i386/configure: Regenerated.
3971         * sysdeps/i386/i686/multiarch/Makefile
3972         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
3973         [$(subdir) = math].
3974         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
3975         code unconditional.
3976         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
3977         Likewise.
3978         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
3979         Likewise.
3980         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
3981         Likewise.
3982         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
3983         test.
3984         (libc_cv_cc_sse2avx): Likewise.
3985         * sysdeps/x86_64/configure: Regenerated.
3986         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
3987         unconditional.
3988         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
3989         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
3990         unconditional.
3991         (_dl_runtime_profile)
3992         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
3993         conditional code.
3994         * sysdeps/x86_64/fpu/multiarch/Makefile
3995         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
3996         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
3997         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3998         * sysdeps/x86_64/fpu/multiarch/e_exp.c
3999         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4000         * sysdeps/x86_64/fpu/multiarch/e_log.c
4001         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4002         * sysdeps/x86_64/fpu/multiarch/s_atan.c
4003         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4004         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
4005         Likewise.
4006         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
4007         Likewise.
4008         * sysdeps/x86_64/fpu/multiarch/s_sin.c
4009         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4010         * sysdeps/x86_64/fpu/multiarch/s_tan.c
4011         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4012         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
4013         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
4014         (HAVE_SSE2AVX_SUPPORT): Likewise.
4016 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
4018         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
4019         instead of #pragma optimize.
4021 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
4023         [BZ #17195]
4024         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
4025         as is similarly done in systrim and _int_free already.
4027 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4029         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
4031 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
4033         [BZ #19088]
4034         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
4035         <limits.h>.
4036         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
4037         overflows but exception would not result from cast.
4038         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
4039         and <limits.h>.
4040         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
4041         overflows but exception would not result from cast.
4042         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
4043         <limits.h>.
4044         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
4045         overflows but exception would not result from cast.
4046         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
4047         <limits.h>.
4048         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
4049         overflows but exception would not result from cast.
4050         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
4051         <limits.h>.
4052         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
4053         overflows but exception would not result from cast.
4054         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
4055         <limits.h>.
4056         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
4057         overflows but exception would not result from cast.
4058         * math/libm-test.inc (lround_test_data): Add more tests.
4059         (llround_test_data): Likewise.
4061 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
4063         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
4064         (CFLAGS-ialloc.c): Ditto.
4065         (CFLAGS-scheck.c): Ditto.
4067 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
4069         [BZ #19086]
4070         * manual/filesys.texi (Storage Allocation): Fix argument order for
4071         posix_fallocate64.
4073 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
4075         [BZ #19085]
4076         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
4077         exponent below 48 inside case for non-overflowing exponent.
4078         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
4080 2015-10-07  Florian Weimer  <fweimer@redhat.com>
4082         * iconvdata/cp737.h (from_idx): Add const.
4083         * iconvdata/cp775.h (from_idx): Likewise.
4085 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
4087         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
4088         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
4089         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
4091         [BZ #19079]
4092         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
4093         file, conditioned on [!_LP64].
4094         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
4095         [!_LP64] (__lround): Do not define as function or alias.
4096         [!_LP64] (lround): Likewise.
4097         [!_LP64] (__lroundl): Likewise.
4098         [!_LP64] (lroundl): Likewise.
4099         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
4100         macro.
4101         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
4102         Likewise.
4104 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
4106         * math/libm-test.inc (lrint_test_data): Add more tests.
4107         (llrint_test_data): Likewise.
4108         (lround_test_data): Likewise.
4109         (llround_test_data): Likewise.
4111         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
4112         (llrint_test_data): Add tests used for lrint.
4114         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
4115         test.
4116         * sysdeps/i386/configure: Regenerated.
4117         * sysdeps/i386/i686/multiarch/Makefile
4118         [$(config-cflags-sse4) = yes]: Make code unconditional.
4119         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
4120         Likewise.
4121         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
4122         Likewise.
4123         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
4124         test.
4125         * sysdeps/x86_64/configure: Regenerated.
4126         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
4127         Make code unconditional.
4128         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
4129         Likewise.
4130         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
4131         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
4133         * scripts/rpm2dynsym.sh: Remove file.
4135 2015-10-06  Florian Weimer  <fweimer@redhat.com>
4137         * configure.ac (libc_cv_cxx_thread_local): Define.
4138         * configure: Regenerate.
4139         * config.make.in (have-cxx-thread_local): Define.
4140         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
4141         (LDLIBS-tst-thread_local1): Define.
4142         (tests): Add tst-thread_local1.
4143         [have-cxx-thread_local != yes] (tests-unsupported): Add
4144         tst-thread_local1.
4145         * nptl/tst-thread_local1.cc: New file.
4147 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
4149         [BZ #19078]
4150         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
4151         (u_thres): Likewise.
4152         (__expl): Determine whether to call __kernel_standard_l based on
4153         value of result, not argument.
4155         * math/libm-test.inc (scalb_test_data): Add more expectations for
4156         the "inexact" exception.
4158         [BZ #19077]
4159         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
4160         0.0L for argument 1.0L.
4162         [BZ #19076]
4163         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
4164         constant 0.0L when computing infinite result.
4166 2015-10-06  Florian Weimer  <fweimer@redhat.com>
4168         [BZ #10432]
4169         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
4170         malloc_usable_size.
4172 2015-10-06  Florian Weimer  <fweimer@redhat.com>
4174         [BZ #19018]
4175         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
4176         Mangle function pointer before storing it.
4177         (__call_tls_dtors): Demangle function pointer before calling it.
4179 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4181         [BZ #19012]
4182         * iconv/gconv_db.c (gen_steps): Check for additional errors.
4183         Clean up on failure.
4185 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
4187         [BZ #19071]
4188         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
4189         long int variable to store possibly incremented high part of
4190         mantissa.
4191         * math/libm-test.inc (lround_test_data): Add tests used for
4192         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
4193         for tests requiring 64-bit long.  Do not condition tests on
4194         [TEST_FLOAT] unnecessarily.
4195         (llround_test_data): Add tests used for lround.  Add another
4196         expectation for the "inexact" exception.  Do not condition tests
4197         on [TEST_FLOAT] unnecessarily.
4199         [BZ #887]
4200         [BZ #19049]
4201         [BZ #19050]
4202         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
4203         * sysdeps/ieee754/dbl-64/e_log10.c: Include
4204         <fix-int-fp-convert-zero.h>.
4205         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4206         * sysdeps/ieee754/dbl-64/e_log2.c: Include
4207         <fix-int-fp-convert-zero.h>.
4208         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4209         * sysdeps/ieee754/dbl-64/s_erf.c: Include
4210         <fix-int-fp-convert-zero.h>.
4211         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4212         * sysdeps/ieee754/dbl-64/s_logb.c: Include
4213         <fix-int-fp-convert-zero.h>.
4214         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4215         * sysdeps/ieee754/flt-32/e_log10f.c: Include
4216         <fix-int-fp-convert-zero.h>.
4217         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4218         * sysdeps/ieee754/flt-32/e_log2f.c: Include
4219         <fix-int-fp-convert-zero.h>.
4220         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4221         * sysdeps/ieee754/flt-32/s_erff.c: Include
4222         <fix-int-fp-convert-zero.h>.
4223         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4224         * sysdeps/ieee754/flt-32/s_logbf.c: Include
4225         <fix-int-fp-convert-zero.h>.
4226         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4227         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
4228         <fix-int-fp-convert-zero.h>.
4229         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4230         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
4231         <fix-int-fp-convert-zero.h>.
4232         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4233         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
4234         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
4235         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
4236         file.
4237         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
4239 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
4241         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4243 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
4245         [BZ #19059]
4246         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
4247         overflowing computation.
4248         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4249         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
4250         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4251         Likewise.
4252         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4253         Likewise.
4254         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
4255         Likewise.
4256         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4257         Likewise.
4258         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4259         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4260         Likewise.
4261         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4262         Likewise.
4263         * math/libm-test.inc (nexttoward_test_data): Add more tests.
4265         * nss/rewrite_field.c (__nss_rewrite_field): Use
4266         internal_function.
4267         * nss/valid_field.c (__nss_valid_field): Likewise.
4268         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
4270 2015-10-02  Florian Weimer  <fweimer@redhat.com>
4272         [BZ #18724]
4273         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
4274         (__nss_invalid_field_characters, __nss_valid_field)
4275         (__nss_valid_list_field, __nss_rewrite_field): Declare.
4276         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
4277         tst-field.c: New file.
4278         * nss/Makefile (routines): Add valid_field, rewrite_field.
4279         (tests-static): Define unconditionally.
4280         (tests): Include tests-static.
4281         [build-static-nss] (tests-static): Use append.
4282         [build-static-nss] (tests): Remove modification.
4283         * nss/getent.c (print_group): Call putgrent.  Report error.
4284         (print_gshadow): Call putsgent.  Report error.
4285         (print_passwd): Call putpwent.  Report error.
4286         (print_shadow): Call putspent.  Report error.
4287         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
4288         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
4289         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
4290         name, password, directory, shell fields for valid syntax.  Rewrite
4291         GECOS field to match syntax.
4292         * pwd/Makefile (tests): Add tst-putpwent.
4293         * pwd/tst-putpwent.c: New file.
4294         * grp/putgrent.c (putgrent): Convert to ISO function definition.
4295         Check grName, grpasswd, gr_mem fields for valid syntax.
4296         Change loop variable i to size_t.
4297         * grp/Makefile (tests): Add tst-putgrent.
4298         * grp/tst-putgrent.c: New file.
4299         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
4300         valid syntax.
4301         * shadow/Makefile (tests): Add tst-putspent.
4302         * shadow/tst-putspent.c: New file.
4303         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
4304         sg_mem fields for valid syntax.
4305         * gshadow/Makefile (tests): Add tst-putsgent.
4306         * gshadow/tst-putsgent.c: New file.
4308 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4310         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
4311         assembly instructions.
4313 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4315         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
4316         prefix from operands.
4318 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
4320         [BZ #16347]
4321         [BZ #19046]
4322         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
4323         <libc-internal.h>.
4324         (MAXLGM): Do not use diagnostic control macros.
4325         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
4326         threshold for ldbl-128ibm.
4327         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
4328         instead of multiplying by log then subtracting.
4329         * math/auto-libm-test-in: Add more tests of lgamma.
4330         * math/auto-libm-test-out: Regenerated.
4332         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
4333         (TYPE_HEX_DIG): Likewise.
4334         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
4335         precisions when printing floating-point numbers.
4336         (check_float_internal): Likewise.
4338 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
4340         [BZ #16620]
4341         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
4342         of log (10) rounded downward to 48 bits.
4343         (log10_low): Use corresponding low part of log (10).
4345         [BZ #19032]
4346         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
4347         compute result as (x - x) / (x - x) not as 0 / 0.
4348         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4349         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
4351         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4352         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
4353         and expm1.
4354         * math/auto-libm-test-out: Regenerated.
4355         * math/libm-test.inc (acos_test_data): Add more tests.
4356         (asin_test_data): Likewise.
4357         (asinh_test_data): Likewise.
4358         (atan_test_data): Likewise.
4359         (atanh_test_data): Likewise.
4360         (atan2_test_data): Likewise.
4361         (cbrt_test_data): Likewise.
4362         (ceil_test_data): Likewise.
4363         (copysign_test_data): Likewise.
4364         (cos_test_data): Likewise.
4365         (cosh_test_data): Likewise.
4366         (erf_test_data): Likewise.
4367         (erfc_test_data): Likewise.
4368         (exp_test_data): Likewise.
4369         (exp10_test_data): Likewise.
4370         (exp2_test_data): Likewise.
4371         (expm1_test_data): Likewise.
4372         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4374 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
4376         [BZ #19006]
4377         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
4378         to ...
4379         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
4380         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
4381         to ...
4382         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
4383         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
4384         to ...
4385         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
4386         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
4387         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
4388         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
4389         to ...
4390         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
4391         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4392         Moved to ...
4393         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
4394         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4395         Moved to ...
4396         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
4397         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
4398         to ...
4399         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
4400         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4401         Moved to ...
4402         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
4403         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
4404         to ...
4405         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
4406         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
4407         Removed.
4408         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
4409         Likewise.
4410         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
4411         Likewise.
4412         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
4413         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
4414         Likewise.
4415         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4416         Likewise.
4417         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4418         Likewise.
4419         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4420         Likewise.
4421         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4422         Likewise.
4423         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
4424         Likewise.
4425         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
4426         Likewise.
4427         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
4428         Likewise.
4429         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
4430         Likewise.
4431         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
4432         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
4433         Likewise.
4434         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4435         Likewise.
4436         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4437         Likewise.
4438         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4439         Likewise.
4440         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
4441         Likewise.
4442         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4443         Replace ../i486/pthread_cond_timedwait.S with
4444         ../pthread_cond_timedwait.S.
4446 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
4448         * math/libm-test.inc (acos_test_data): Refine expectations for
4449         errno and "inexact" exceptions.
4450         (acosh_test_data): Likewise.
4451         (asin_test_data): Likewise.
4452         (asinh_test_data): Likewise.
4453         (atan_test_data): Likewise.
4454         (atanh_test_data): Likewise.
4455         (atan2_test_data): Likewise.
4456         (cbrt_test_data): Likewise.
4457         (ceil_test_data): Likewise.
4458         (copysign_test_data): Likewise.
4459         (cosh_test_data): Likewise.
4460         (erf_test_data): Likewise.
4461         (erfc_test_data): Likewise.
4462         (exp_test_data): Likewise.
4463         (exp10_test_data): Likewise.
4464         (exp2_test_data): Likewise.
4465         (expm1_test_data): Likewise.
4466         (fabs_test_data): Likewise.
4467         (floor_test_data): Likewise.
4468         (fma_test_data): Likewise.
4469         (fmax_test_data): Likewise.
4470         (fmin_test_data): Likewise.
4471         (fmod_test_data): Likewise.
4472         (fpclassify_test_data): Likewise.
4473         (frexp_test_data): Likewise.
4474         (hypot_test_data): Likewise.
4475         (ilogb_test_data): Likewise.
4476         (isgreater_test_data): Likewise.
4477         (isgreaterequal_test_data): Likewise.
4478         (isinf_test_data): Likewise.
4479         (isless_test_data): Likewise.
4480         (islessequal_test_data): Likewise.
4481         (islessgreater_test_data): Likewise.
4482         (isnan_test_data): Likewise.
4483         (isnormal_test_data): Likewise.
4484         (issignaling_test_data): Likewise.
4485         (isunordered_test_data): Likewise.
4486         (j0_test_data): Likewise.
4487         (j1_test_data): Likewise.
4488         (jn_test_data): Likewise.
4489         (lgamma_test_data): Likewise.
4490         (lrint_test_data): Likewise.
4491         (llrint_test_data): Likewise.
4492         (log_test_data): Likewise.
4493         (log10_test_data): Likewise.
4494         (log1p_test_data): Likewise.
4495         (log2_test_data): Likewise.
4496         (logb_test_data): Likewise.
4497         (lround_test_data): Likewise.
4498         (llround_test_data): Likewise.
4499         (modf_test_data): Likewise.
4500         (nearbyint_test_data): Likewise.
4501         (nextafter_test_data): Likewise.
4502         (nexttoward_test_data): Likewise.
4503         (pow_test_data): Likewise.
4504         (remainder_test_data): Likewise.
4505         (remquo_test_data): Likewise.
4506         (rint_test_data): Likewise.
4507         (round_test_data): Likewise.
4508         (signbit_test_data): Likewise.
4509         (sinh_test_data): Likewise.
4510         (sqrt_test_data): Likewise.
4511         (tanh_test_data): Likewise.
4512         (tgamma_test_data): Likewise.
4513         (trunc_test_data): Likewise.
4514         (y0_test_data): Likewise.
4515         (y1_test_data): Likewise.
4516         (yn_test_data): Likewise.
4517         (significand_test_data): Likewise.
4519 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
4521         * manual/filesys.texi (Storage Allocation): Document that
4522         posix_fallocate emulation fails when fd is open with O_WRONLY.
4524 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
4526         [BZ #19016]
4527         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
4528         allow more cases with X^2 + Y^2 >= 0.5.
4529         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
4530         normal element in sum instead of special-casing based on values of
4531         arguments.
4532         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
4533         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
4534         -1 as normal element in sum instead of special-casing based on
4535         values of arguments.
4536         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
4537         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
4538         (__x2y2m1): Update comment.
4539         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
4540         as normal element in sum instead of special-casing based on values
4541         of arguments.
4542         * math/s_clog.c (__clog): Handle more cases using log1p without
4543         hypot.
4544         * math/s_clog10.c (__clog10): Likewise.
4545         * math/s_clog10f.c (__clog10f): Likewise.
4546         * math/s_clog10l.c (__clog10l): Likewise.
4547         * math/s_clogf.c (__clogf): Likewise.
4548         * math/s_clogl.c (__clogl): Likewise.
4549         * math/auto-libm-test-in: Add more tests of clog and clog10.
4550         * math/auto-libm-test-out: Regenerated.
4551         * sysdeps/i386/fpu/libm-test-ulps: Update.
4552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4554 2015-09-28  Martin Sebor  <msebor@redhat.com>
4556         [BZ #18969]
4557         * string/Makefile (LOCALES): Define.
4558         (gen-locales.mk): Include.
4559         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
4560         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
4561         * string/tst-strxfrm2.c (do_test): Print the name of the locale
4562         on setlocale failure.
4564 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
4566         [BZ #18985]
4567         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
4568         (__strftime_internal): Likewise.
4569         * time/tst-strftime.c (do_bz18985): New test.
4570         (do_test): Call it.
4572 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
4574         [BZ #18956]
4575         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
4576         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
4577         extracting high part.
4578         * math/auto-libm-test-in: Add another test of pow.
4579         * math/auto-libm-test-out: Regenerated.
4580         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4582 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
4584         [BZ #18825]
4585         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
4586         New macro.
4587         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
4588         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
4589         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
4590         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
4591         DBL_NARROW_EVAL, reloading the PIC register as needed.
4592         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
4593         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
4594         FLT_NARROW_EVAL.  Use separate return path for case when first
4595         argument is NaN.
4596         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
4597         DEFINE_LDBL_MIN.
4598         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
4599         PIC register.
4600         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
4601         math_check_force_underflow_nonneg.
4602         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
4603         underflow for subnormal result.
4604         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
4605         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
4606         math_check_force_underflow_nonneg.
4607         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
4608         math_check_force_underflow.
4609         * sysdeps/x86_64/fpu/x86_64-math-asm.h
4610         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
4611         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
4612         DEFINE_LDBL_MIN.
4613         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
4614         * math/auto-libm-test-in: Add more tests of pow.
4615         * math/auto-libm-test-out: Regenerated.
4617 2015-09-25  Florian Weimer  <fweimer@redhat.com>
4619         * nss/bug17079.c (init_test_items): Add diagnostic for
4620         inconsistent entries.
4621         (test_buffer_size): Skip inconsistent entries.
4623 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
4625         [BZ #13304]
4626         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
4627         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
4628         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
4630         [BZ #13304]
4631         * sysdeps/microblaze/s_fma.c: New file.
4632         * sysdeps/microblaze/s_fmaf.c: Likewise.
4633         * sysdeps/microblaze/sfp-machine.h: Likewise.
4635 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
4637         [BZ #17250]
4638         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
4639         member.
4641 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
4643         [BZ #18803]
4644         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
4645         (MO): New macro.
4646         (__ieee754_hypot) [PIC]: Load PIC register.
4647         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
4648         DBL_NARROW_EVAL.
4649         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
4650         math_check_force_underflow_nonneg in case where result might be
4651         tiny.
4652         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
4653         Likewise.
4654         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4655         Likewise.
4656         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
4657         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
4658         * math/auto-libm-test-in: Add more tests of hypot.
4659         * math/auto-libm-test-out: Regenerated.
4661 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
4663         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
4665 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
4667         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
4668         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
4669         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
4670         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
4671         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
4672         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
4673         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
4675         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
4676         LOAD_PIC_REG.
4678         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
4679         (FLT_CHECK_FORCE_UFLOW): Likewise.
4680         (DBL_CHECK_FORCE_UFLOW): Likewise.
4681         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
4682         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
4683         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
4684         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
4685         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
4686         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
4687         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
4688         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
4689         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
4690         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4691         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
4692         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
4693         (flt_min): Replace with use of DEFINE_FLT_MIN.
4694         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
4695         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
4696         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4697         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
4698         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
4699         (flt_min): Replace with use of DEFINE_FLT_MIN.
4700         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
4701         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
4702         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4703         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
4704         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
4705         (flt_min): Replace with use of DEFINE_FLT_MIN.
4706         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
4707         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
4708         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
4709         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
4710         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
4711         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
4712         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
4713         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
4714         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4715         (__atan): Use DBL_CHECK_FORCE_UFLOW.
4716         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
4717         (flt_min): Replace with use of DEFINE_FLT_MIN.
4718         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
4719         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
4720         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4721         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
4722         main computation.
4723         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
4724         (flt_min): Replace with use of DEFINE_FLT_MIN.
4725         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
4726         main computation.
4727         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
4728         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4729         (MO): New macro.
4730         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
4731         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
4732         (flt_min): Replace with use of DEFINE_FLT_MIN.
4733         (MO): New macro.
4734         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
4735         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
4736         (__log1pl): Use MO.
4738         [BZ #19003]
4739         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
4740         $(config-cflags-nofma).
4742 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4744         * sysdeps/aarch64/libm-test-ulps: Regenerated.
4746 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
4748         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
4749         (TWO127): Likewise.
4751         * sysdeps/generic/math_private.h (fabs_tg): New macro.
4752         (min_of_type): Likewise.
4753         (math_check_force_underflow): Likewise.
4754         (math_check_force_underflow_nonneg): Likewise.
4755         (math_check_force_underflow_complex): Likewise.
4756         * math/e_exp2l.c (__ieee754_exp2l): Use
4757         math_check_force_underflow_nonneg.
4758         * math/k_casinh.c (__kernel_casinh): Likewise.
4759         * math/k_casinhf.c (__kernel_casinhf): Likewise.
4760         * math/k_casinhl.c (__kernel_casinhl): Likewise.
4761         * math/s_catan.c (__catan): Use
4762         math_check_force_underflow_complex.
4763         * math/s_catanf.c (__catanf): Likewise.
4764         * math/s_catanh.c (__catanh): Likewise.
4765         * math/s_catanhf.c (__catanhf): Likewise.
4766         * math/s_catanhl.c (__catanhl): Likewise.
4767         * math/s_catanl.c (__catanl): Likewise.
4768         * math/s_ccosh.c (__ccosh): Likewise.
4769         * math/s_ccoshf.c (__ccoshf): Likewise.
4770         * math/s_ccoshl.c (__ccoshl): Likewise.
4771         * math/s_cexp.c (__cexp): Likewise.
4772         * math/s_cexpf.c (__cexpf): Likewise.
4773         * math/s_cexpl.c (__cexpl): Likewise.
4774         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
4775         * math/s_clog10.c (__clog10): Likewise.
4776         * math/s_clog10f.c (__clog10f): Likewise.
4777         * math/s_clog10l.c (__clog10l): Likewise.
4778         * math/s_clogf.c (__clogf): Likewise.
4779         * math/s_clogl.c (__clogl): Likewise.
4780         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
4781         * math/s_csinf.c (__csinf): Likewise.
4782         * math/s_csinh.c (__csinh): Likewise.
4783         * math/s_csinhf.c (__csinhf): Likewise.
4784         * math/s_csinhl.c (__csinhl): Likewise.
4785         * math/s_csinl.c (__csinl): Likewise.
4786         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
4787         * math/s_csqrtf.c (__csqrtf): Likewise.
4788         * math/s_csqrtl.c (__csqrtl): Likewise.
4789         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
4790         * math/s_ctanf.c (__ctanf): Likewise.
4791         * math/s_ctanh.c (__ctanh): Likewise.
4792         * math/s_ctanhf.c (__ctanhf): Likewise.
4793         * math/s_ctanhl.c (__ctanhl): Likewise.
4794         * math/s_ctanl.c (__ctanl): Likewise.
4795         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
4796         instead of volatile.
4797         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
4798         math_check_force_underflow.
4799         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4800         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
4801         volatile when forcing underflow.
4802         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4803         math_check_force_underflow_nonneg.
4804         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
4805         Likewise.
4806         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
4807         math_check_force_underflow.
4808         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
4809         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4810         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4811         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
4812         math_check_force_underflow_nonneg.
4813         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
4814         math_check_force_underflow.
4815         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
4816         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
4817         instead of volatile.
4818         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
4819         math_check_force_underflow.
4820         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4821         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4822         math_check_force_underflow_nonneg.
4823         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
4824         math_check_force_underflow.
4825         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
4826         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4827         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
4828         math_check_force_underflow_nonneg.
4829         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
4830         Likewise.
4831         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
4832         math_check_force_underflow.
4833         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4834         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
4835         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
4836         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
4837         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
4838         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
4839         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
4840         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
4841         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4842         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
4843         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
4844         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
4845         Likewise.
4846         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
4847         math_check_force_underflow_nonneg.
4848         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
4849         Likewise.
4850         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
4851         math_check_force_underflow.
4852         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4853         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
4854         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
4855         Likewise.
4856         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
4857         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
4858         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
4859         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
4860         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
4861         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
4862         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
4863         instead of volatile.
4864         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
4865         math_check_force_underflow.
4866         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
4867         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
4868         math_check_force_underflow.
4869         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
4870         Likewise.
4871         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4872         Use math_check_force_underflow_nonneg.
4873         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
4874         math_check_force_underflow.
4875         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
4876         Likewise.
4877         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
4878         Likewise.
4879         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4880         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4881         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4882         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4883         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
4884         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4885         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
4886         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
4887         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
4888         math_check_force_underflow_nonneg.
4889         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
4890         math_check_force_underflow.
4891         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4892         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
4893         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
4894         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
4895         math_check_force_underflow_nonneg.
4896         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
4897         math_check_force_underflow.
4898         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
4899         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
4900         instead of volatile.
4901         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
4902         math_check_force_underflow.
4904         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
4905         * stdlib/strtod_l.c: Include <math_private.h>.
4906         (overflow_value): Use math_narrow_eval.
4907         (underflow_value): Likewise.
4908         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4909         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
4910         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
4911         (__ieee754_gamma_r): Likewise.
4912         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
4913         Likewise.
4914         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
4915         Likewise.
4916         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
4917         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
4918         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
4919         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
4920         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
4921         (__ieee754_gammaf_r): Likewise.
4922         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
4923         Likewise.
4924         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
4925         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
4926         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
4927         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
4928         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
4929         volatile.
4930         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
4931         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
4932         math_narrow_eval.
4933         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
4934         Likewise.
4935         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4936         Likewise.
4937         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
4938         Likewise.
4939         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
4940         volatile.
4941         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
4942         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
4943         math_narrow_eval.
4944         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4945         Likewise.
4946         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4947         Likewise.
4949 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
4951         * nptl/Versions: Remove ignored symbols.
4953 2015-09-22  Florian Weimer  <fweimer@redhat.com>
4955         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
4956         * nss/Makefile (tests): Update.
4958 2015-09-22  Florian Weimer  <fweimer@redhat.com>
4960         * nss/bug18287.c: New file.
4961         * nss/Makefile (tests): Add bug18287.
4963 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4965         * mach/Versions (__mach_host_self_): Add symbol.
4967 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4969         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
4970         vm_page_size.
4972 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4974         Really fix sysdeps/i386/fpu/s_scalbn.S build
4976         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
4977         (libc: GLIBC_2_22): Remove unused version set.
4979 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
4981         * config.make.in (enable-timezone-tools): New variable.
4982         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
4983         (enable_timezone_tools): Export to generated files.
4984         * configure: Regenerate.
4985         * INSTALL: Regenerate.
4986         * manual/install.texi (--disable-timezone-tools): Document new flag.
4987         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
4988         ifeq ($(enable-timezone-tools),yes) check.
4990 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
4992         * timezone/Makefile: Revert previous change.
4994         [BZ #18980]
4995         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
4996         (DEFINE_DBL_MIN): Likewise.
4997         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
4998         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
4999         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
5000         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
5001         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
5002         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5003         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
5004         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
5005         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
5006         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5007         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
5008         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
5009         (flt_min): Replace with use of DEFINE_FLT_MIN.
5010         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
5011         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
5012         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5013         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
5014         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
5015         (flt_min): Replace with use of DEFINE_FLT_MIN.
5016         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
5017         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
5018         (flt_min): Replace with use of DEFINE_FLT_MIN.
5019         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
5020         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
5021         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
5022         (__ieee754_hypot): Use DBL_NARROW_EVAL.
5023         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
5024         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
5025         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
5026         (__ieee754_pow): Use DBL_NARROW_EVAL.
5027         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
5028         (__ieee754_powf): Use FLT_NARROW_EVAL.
5029         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
5030         (__ieee754_expf_sse2): Convert double-precision result to single
5031         precision.
5032         * sysdeps/i386/fpu/libm-test-ulps: Update.
5034 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5036         * timezone/Makefile: Ignore unused variable errors due to private.h
5037         (time_t_min) and (time_t_max).
5038         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
5039         Likewise.
5041 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
5043         [BZ #18981]
5044         * sysdeps/i386/fpu/i386-math-asm.h: New file.
5045         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
5046         (__ieee754_scalb): Use DBL_NARROW_EVAL.
5047         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
5048         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
5049         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
5050         (__scalbn): Use DBL_NARROW_EVAL.
5051         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
5052         (__scalbnf): Use FLT_NARROW_EVAL.
5054 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5056         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
5057         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
5058         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
5059         * stdio-common/printf_fp.c (___printf_fp):
5060         Use signbit to get the sign. Use isinf macro to allow inlining.
5061         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
5062         * stdio-common/printf_size.c (__printf_size): Likewise.
5064 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
5066         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
5068 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
5070         [BZ #18980]
5071         * sysdeps/generic/math_private.h: Include <float.h>.
5072         (math_narrow_eval): New macro.
5073         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
5074         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
5075         math_narrow_eval on overflowing return value.
5076         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
5077         Likewise.
5078         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5079         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
5080         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
5081         Likewise.
5082         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
5084 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5086         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
5087         * math/Makefile: Remove isinf_ns.c.
5088         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
5089         * math/multc3.c (__multc3): Likewise.
5090         * math/s_casin.c (__casin): Likewise.
5091         * math/s_casinf.c (__casinf): Likewise.
5092         * math/s_casinl.c (__casinl): Likewise.
5093         * math/s_cproj.c (__cproj): Likewise.
5094         * math/s_cprojf.c (__cprojf): Likewise.
5095         * math/s_cprojl.c (__cprofl): Likewise.
5096         * math/s_ctan.c (__ctan): Likewise.
5097         * math/s_ctanf.c (__ctanf): Likewise.
5098         * math/s_ctanh.c (__ctanh): Likewise.
5099         * math/s_ctanhf.c (__ctanhf): Likewise.
5100         * math/s_ctanhl.c (__ctanhl): Likewise.
5101         * math/s_ctanl.c (__ctanl): Likewise.
5102         * math/w_fmod.c (__fmod): Likewise.
5103         * math/w_fmodf.c (__fmodf): Likewise.
5104         * math/w_fmodl.c (_fmodl): Likewise.
5105         * math/w_remainder.c (__remainder): Likewise.
5106         * math/w_remainderf.c (__remainderf): Likewise.
5107         * math/w_remainderl.c (__remainderl): Likewise.
5108         * math/w_scalb.c (__scalb): Likewise.
5109         * math/w_scalbf.c (__scalbf): Likewise.
5110         * math/w_scalbl.c (__scalbl): Likewise.
5111         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
5112         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
5113         with isinf.
5114         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
5115         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
5116         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
5117         __isinf_nsf with isinf.
5118         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
5119         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
5120         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
5121         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
5122         with isinf.
5123         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
5124         __isinf_nsl with isinf.
5125         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
5126         with isinf.
5127         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
5128         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
5129         __isinf_nsl with isinf.
5130         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
5131         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
5132         with isinf.
5134 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5136         * resolv/base64.c (rcsid): Remove unused static.
5137         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
5138         static.  (tqpi1): Likewise.
5139         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
5140         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
5141         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
5142         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
5143         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
5144         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
5145         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
5146         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
5147         Likewise.
5149 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
5151         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
5152         <nptl/pthreadP.h>.
5153         (_longjmp_unwind): Use __libc_ptf_call.
5154         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
5156 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
5158         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
5159         * sysdeps/arm/__longjmp.S: Likewise
5161 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5163         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
5164         Use __builtin_signbit.
5165         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
5166         Use __builtin_signbitf.
5167         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
5168         Use __builtin_signbitl.
5169         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5170         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
5172 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5174         [BZ #15367]
5175         [BZ #17441]
5177         * math/Makefile: Build test-snan.c with -fsignaling-nans.
5178         * math/math.h (fpclassify): Use __builtin_fpclassify when
5179         available.  (signbit): Use __builtin_signbit(f/l).
5180         (isfinite): Use__builtin_isfinite.  (isnormal): Use
5181         __builtin_isnormal.  (isnan): Use __builtin_isnan.
5182         (isinf): Use __builtin_isinf_sign.
5184 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5186         * benchtests/Makefile: Add bench-math-inlines, link with libm.
5187         * benchtests/bench-math-inlines.c: New benchmark.
5188         * benchtests/bench-util.h: New file.
5189         * benchtests/bench-util.c: New file.
5190         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
5192 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
5194         * elf/tst-dlmopen1.c: Define TEST_SO.
5195         (do_test): Use TEST_SO.
5197         * elf/dl-load.c: Include libc-internal.h.
5198         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
5200 2015-09-18  Vincent Bernat  <vincent@bernat.im>
5202         [BZ #17887]
5203         * time/strptime_l.c (__strptime_internal): Make %z accept
5204         [+-]HH:MM time zones.
5206 2015-09-18  Vincent Bernat  <vincent@bernat.im>
5208         [BZ #17886]
5209         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
5210         valid time zone.
5212 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
5214         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
5215         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
5216         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5217         (__ASSUME_FDATASYNC): Delete.
5219 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
5221         * conform/linknamespace.pl: Require weak undefined symbols to be
5222         in the standard namespace.
5223         (%strong_syms): Rename to %seen_syms.
5224         (%strong_seen): Rename to %seen_where.
5226 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
5228         [BZ #18970]
5229         * misc/error.c (error): Replace pthread_setcancelstate with
5230         __pthread_setcancelstate.
5231         (error_at_line): Likewise.
5232         * posix/wordexp.c (parse_comm): Likewise.
5233         * stdlib/fmtmsg.c (fmtmsg): Likewise.
5234         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
5235         (__pthread_setcancelstate): This.
5236         (pthread_setcancelstate): Add an alias.
5237         * nptl/nptl-init.c (pthread_functions): Replace
5238         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
5239         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
5240         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
5241         hidden_proto.
5242         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
5243         it with hidden_def.
5244         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
5245         (pthread_setcancelstate): Renamed to ...
5246         (__pthread_setcancelstate): This.
5247         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
5248         __libc_ptf_call with __pthread_setcancelstate.
5250 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
5251             Andreas Schwab  <schwab@suse.de>
5253         [BZ #17118]
5254         * math/s_ctan.c (__ctan): Determine sign of zero real part of
5255         result when imaginary part of argument is infinite using sine and
5256         cosine.
5257         * math/s_ctanf.c (__ctanf): Likewise.
5258         * math/s_ctanl.c (__ctanl): Likewise.
5259         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
5260         of result when real part of argument is infinite using sine and
5261         cosine.
5262         * math/s_ctanhf.c (__ctanhf): Likewise.
5263         * math/s_ctanhl.c (__ctanhl): Likewise.
5264         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
5265         (ctanh_test_data): Add more tests of ctanh.
5267 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
5269         [BZ #15384]
5270         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
5271         bit-mask as in subtraction.
5272         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
5273         Likewise.
5274         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
5275         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
5276         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
5278         [BZ #18951]
5279         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
5280         underflow exception for small results.
5281         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5282         Likewise.
5283         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5284         Likewise.
5285         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5286         Likewise.
5287         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5288         Likewise.
5289         * math/auto-libm-test-in: Add more tests of tgamma.
5290         * math/auto-libm-test-out: Regenerated.
5292 2015-09-17  Andreas Schwab  <schwab@suse.de>
5294         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
5296 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
5298         [BZ #18977]
5299         * math/bits/mathcalls.h
5300         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
5301         not declare.
5302         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
5303         Likewise.
5304         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
5305         Likewise.
5306         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
5307         Likewise.
5308         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
5309         Likewise.
5310         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
5311         Likewise.
5312         * conform/data/math.h-data
5313         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
5314         function.
5315         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
5316         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
5317         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
5318         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
5319         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
5320         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
5321         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
5322         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
5323         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
5324         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
5325         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
5327         [BZ #6803]
5328         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
5329         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
5330         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
5331         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
5332         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
5333         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
5334         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
5335         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
5336         [NO_LONG_DOUBLE] (scalbnl): Likewise.
5337         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
5338         Likewise.
5339         [NO_LONG_DOUBLE] (scalbnl): Likewise.
5340         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
5341         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
5342         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
5343         long_double_symbol calls.
5344         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
5345         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
5346         strong alias of __ldexpl.
5347         (scalbnl): Define using long_double_symbol.
5348         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
5349         Remove alias.
5350         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
5351         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
5352         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
5353         (scalbln_test_data): Add more errno expectations.
5355 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
5357         Cache the host port like we cache the task port.  This way we do not
5358         need to call the kernel just to get the port.  Furthermore, we no
5359         longer increase the reference count on every invocation of
5360         `mach_host_self'.
5362         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
5363         Protect declarations against the macro expansion.
5364         * mach/mach_init.c (__mach_host_self_): New variable.
5365         (mach_init): Initialize `__mach_host_self_'.
5366         * mach/mach_init.h (__mach_host_self_): New declaration.
5367         (__mach_host_self, mach_host_self): New macros.
5368         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
5369         Release reference.
5371 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
5373         [BZ #4404]
5374         * po/de.po: Update from Translation Project.
5376         [BZ #16415]
5377         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
5378         (__expm1l): Remove code to handle positive infinity and overflow.
5379         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
5380         variable.
5381         (__expm1l): Remove code to handle positive infinity and overflow.
5383 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
5384             Paul Pluzhnikov  <ppluzhnikov@google.com>
5386         [BZ #18872]
5387         * stdio-common/Makefile (tst-printf-bz18872): New test.
5388         (tst-printf-bz18872-mem.out): Likewise.
5389         * stdio-common/tst-printf-bz18872.sh: Generate new test.
5390         * stdio-common/vfprintf.c: Fix memory leaks.
5392 2015-09-16  Andreas Schwab  <schwab@suse.de>
5394         [BZ #17244]
5395         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
5396         Remove extra va_start/va_end calls.
5398         [BZ #17243]
5399         * posix/execl.c (execl): Add missing va_end.
5400         * posix/execle.c (execle): Likewise.
5401         * posix/execlp.c (execlp): Likewise.
5403 2015-09-15  Roland McGrath  <roland@hack.frob.com>
5405         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
5406         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
5408 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
5410         [BZ #18967]
5411         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
5412         undefine around includes of <bits/mathcalls.h>.
5413         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
5414         not declare function.
5415         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
5416         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
5417         (scalb): Likewise.
5418         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
5419         not define macro.
5420         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
5421         variable.
5422         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5423         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5424         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5426         [BZ #18857]
5427         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
5428         return non-finite argument without doing ordered comparisons on
5429         it.
5431         [BZ #16296]
5432         * math/fenv.h (fegetround): Use __attribute_pure__.
5433         * include/fenv.h (__fegetround): Likewise.
5435         [BZ #18595]
5436         * math/s_ctan.c (__ctan): Force underflow exception for results
5437         whose real or imaginary part has small absolute value.
5438         * math/s_ctanf.c (__ctanf): Likewise.
5439         * math/s_ctanh.c (__ctanh): Likewise.
5440         * math/s_ctanhf.c (__ctanhf): Likewise.
5441         * math/s_ctanhl.c (__ctanhl): Likewise.
5442         * math/s_ctanl.c (__ctanl): Likewise.
5443         * math/auto-libm-test-in: Do not allow missing underflow for ctan
5444         and ctanh.  Add more tests of ctan and ctanh.
5446         [BZ #15918]
5447         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
5448         handling of cases where one argument is an infinity.
5450         [BZ #18875]
5451         [BZ #18966]
5452         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
5453         (MO): New macro.
5454         (__ieee754_exp10): For small results, force underflow exception
5455         and remove excess range and precision from return value.
5456         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
5457         (MO): New macro.
5458         (__ieee754_exp10f): For small results, force underflow exception
5459         and remove excess range and precision from return value.
5460         * math/auto-libm-test-in: Add more tests of exp10.
5461         * math/auto-libm-test-out: Regenerated.
5463 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
5465         [BZ #18875]
5466         [BZ #18961]
5467         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
5468         (MO): New macro.
5469         (__ieee754_exp): For small results, force underflow exception and
5470         remove excess range and precision from return value.
5471         (__exp_finite): Likewise.
5472         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
5473         (MO): New macro.
5474         (__ieee754_expf): For small results, force underflow exception and
5475         remove excess range and precision from return value.
5476         (__expf_finite): Likewise.
5477         * math/auto-libm-test-in: Add more tests of exp.
5478         * math/auto-libm-test-out: Regenerated.
5480         [BZ #16521]
5481         [BZ #18875]
5482         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
5483         small results.
5484         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
5485         (MO): New macro.
5486         (__ieee754_exp2): For small results, force underflow exception and
5487         remove excess range and precision from return value.
5488         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
5489         (MO): New macro.
5490         (__ieee754_exp2f): For small results, force underflow exception
5491         and remove excess range and precision from return value.
5492         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
5493         (MO): New macro.
5494         (__ieee754_exp2l): Force underflow exception for small results.
5495         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5496         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5497         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
5498         (MO): New macro.
5499         (__ieee754_exp2l): Force underflow exception for small results.
5500         * math/auto-libm-test-in: Add more tests or exp2.
5501         * math/auto-libm-test-out: Regenerated.
5503 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
5505         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
5507         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
5508         /dev/null.
5510 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5512         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
5513         io fs process)): Drop spurious backslash.
5515 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
5517         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
5518         Use sysinfo system call instead of parsing /proc/meminfo.
5519         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
5520         Likewise.
5522 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
5524         [BZ #16985]
5525         * programs/localedef.c (main): Display argv[remaining] when
5526         output_path is NULL.
5528 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
5530         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5531         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
5532         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
5533         tanh.
5534         * math/auto-libm-test-out: Regenerated.
5535         * sysdeps/i386/fpu/libm-test-ulps: Update.
5536         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5537         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5540 2015-09-11  Roland McGrath  <roland@hack.frob.com>
5542         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
5543         Use 'override' keyword to freeze the value here, preventing
5544         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
5546 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
5548         [BZ #14912]
5549         * sysdeps/aarch64/bits/atomic.h: Move to ...
5550         * sysdeps/aarch64/atomic-machine.h: ...here.
5551         (_AARCH64_BITS_ATOMIC_H): Rename macro to
5552         _AARCH64_ATOMIC_MACHINE_H.
5553         * sysdeps/alpha/bits/atomic.h: Move to ...
5554         * sysdeps/alpha/atomic-machine.h: ...here.
5555         * sysdeps/arm/bits/atomic.h: Move to ...
5556         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
5557         * bits/atomic.h: Move to ...
5558         * sysdeps/generic/atomic-machine.h: ...here.
5559         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5560         * sysdeps/i386/bits/atomic.h: Move to ...
5561         * sysdeps/i386/atomic-machine.h: ...here.
5562         * sysdeps/ia64/bits/atomic.h: Move to ...
5563         * sysdeps/ia64/atomic-machine.h: ...here.
5564         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
5565         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
5566         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5567         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
5568         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
5569         * sysdeps/microblaze/bits/atomic.h: Move to ...
5570         * sysdeps/microblaze/atomic-machine.h: ...here.
5571         * sysdeps/mips/bits/atomic.h: Move to ...
5572         * sysdeps/mips/atomic-machine.h: ...here.
5573         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
5574         * sysdeps/powerpc/bits/atomic.h: Move to ...
5575         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
5576         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
5577         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
5578         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
5579         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
5580         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
5581         <atomic-machine.h> instead of <bits/atomic.h>.
5582         * sysdeps/s390/bits/atomic.h: Move to ...
5583         * sysdeps/s390/atomic-machine.h: ...here.
5584         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
5585         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
5586         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5587         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
5588         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
5589         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
5590         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
5591         * sysdeps/tile/bits/atomic.h: Move to ...
5592         * sysdeps/tile/atomic-machine.h: ...here.
5593         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
5594         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
5595         <sysdeps/tile/atomic-machine.h> instead of
5596         <sysdeps/tile/bits/atomic.h>.
5597         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5598         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
5599         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
5600         <sysdeps/tile/atomic-machine.h> instead of
5601         <sysdeps/tile/bits/atomic.h>.
5602         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5603         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
5604         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
5605         <sysdeps/arm/atomic-machine.h> instead of
5606         <sysdeps/arm/bits/atomic.h>.
5607         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
5608         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
5609         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5610         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
5611         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
5612         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5613         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
5614         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
5615         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
5616         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
5617         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
5618         * sysdeps/x86_64/bits/atomic.h: Move to ...
5619         * sysdeps/x86_64/atomic-machine.h: ...here.
5620         * include/atomic.h: Include <atomic-machine.h> instead of
5621         <bits/atomic.h>.
5623         * sysdeps/mips/mips32/libm-test-ulps: Update.
5624         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5626         [BZ #18952]
5627         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
5628         not convert non-integer negative arguments to int to determine the
5629         value of signgam.
5630         * math/auto-libm-test-in: Add more tests of lgamma.
5631         * math/auto-libm-test-out: Regenerated.
5633         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
5634         cosh, csqrt, erfc, expm1 and lgamma.
5635         * math/auto-libm-test-out: Regenerated.
5636         * sysdeps/i386/fpu/libm-test-ulps: Update.
5637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5639 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
5641         [BZ #2542]
5642         [BZ #2543]
5643         [BZ #2558]
5644         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
5645         __lgamma_neg for arguments from -28.0 to -2.0.
5646         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
5647         __lgamma_negf for arguments from -15.0 to -2.0.
5648         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5649         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
5650         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
5651         Call __lgamma_negl for arguments from -33.0 to -2.0.
5652         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
5653         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
5654         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
5655         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
5656         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
5657         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
5658         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
5659         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
5660         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
5661         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
5662         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
5663         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
5664         (__lgamma_neg): Likewise.
5665         (__lgamma_negl): Likewise.
5666         (__lgamma_product): Likewise.
5667         (__lgamma_productl): Likewise.
5668         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
5669         * math/auto-libm-test-in: Add more tests of lgamma.
5670         * math/auto-libm-test-out: Regenerated.
5671         * sysdeps/i386/fpu/libm-test-ulps: Update.
5672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5674 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
5676         [BZ #18675]
5677         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
5679 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
5681         [BZ #14912]
5682         * bits/libc-lock.h: Move to ...
5683         * sysdeps/generic/libc-lock.h: ...here.
5684         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
5685         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
5686         * sysdeps/mach/hurd/libc-lock.h: ...here.
5687         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
5688         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
5689         * sysdeps/mach/bits/libc-lock.h: Move to ...
5690         * sysdeps/mach/libc-lock.h: ...here.
5691         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
5692         * sysdeps/nptl/bits/libc-lock.h: Move to ...
5693         * sysdeps/nptl/libc-lock.h: ...here.
5694         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
5695         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
5696         * sysdeps/nptl/libc-lockP.h: ...here.
5697         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
5698         * crypt/crypt_util.c: Include <libc-lock.h> instead of
5699         <bits/libc-lock.h>.
5700         * dirent/scandir-tail.c: Likewise.
5701         * dlfcn/dlerror.c: Likewise.
5702         * elf/dl-close.c: Likewise.
5703         * elf/dl-iteratephdr.c: Likewise.
5704         * elf/dl-lookup.c: Likewise.
5705         * elf/dl-open.c: Likewise.
5706         * elf/dl-support.c: Likewise.
5707         * elf/dl-writev.h: Likewise.
5708         * elf/rtld.c: Likewise.
5709         * grp/fgetgrent.c: Likewise.
5710         * gshadow/fgetsgent.c: Likewise.
5711         * gshadow/sgetsgent.c: Likewise.
5712         * iconv/gconv_conf.c: Likewise.
5713         * iconv/gconv_db.c: Likewise.
5714         * iconv/gconv_dl.c: Likewise.
5715         * iconv/gconv_int.h: Likewise.
5716         * iconv/gconv_trans.c: Likewise.
5717         * include/link.h: Likewise.
5718         * inet/getnameinfo.c: Likewise.
5719         * inet/getnetgrent.c: Likewise.
5720         * inet/getnetgrent_r.c: Likewise.
5721         * intl/bindtextdom.c: Likewise.
5722         * intl/dcigettext.c: Likewise.
5723         * intl/finddomain.c: Likewise.
5724         * intl/gettextP.h: Likewise.
5725         * intl/loadmsgcat.c: Likewise.
5726         * intl/localealias.c: Likewise.
5727         * intl/textdomain.c: Likewise.
5728         * libidn/idn-stub.c: Likewise.
5729         * libio/libioP.h: Likewise.
5730         * locale/duplocale.c: Likewise.
5731         * locale/freelocale.c: Likewise.
5732         * locale/newlocale.c: Likewise.
5733         * locale/setlocale.c: Likewise.
5734         * login/getutent_r.c: Likewise.
5735         * login/getutid_r.c: Likewise.
5736         * login/getutline_r.c: Likewise.
5737         * login/utmp-private.h: Likewise.
5738         * login/utmpname.c: Likewise.
5739         * malloc/mtrace.c: Likewise.
5740         * misc/efgcvt.c: Likewise.
5741         * misc/error.c: Likewise.
5742         * misc/fstab.c: Likewise.
5743         * misc/getpass.c: Likewise.
5744         * misc/mntent.c: Likewise.
5745         * misc/syslog.c: Likewise.
5746         * nis/nis_call.c: Likewise.
5747         * nis/nis_callback.c: Likewise.
5748         * nis/nss-default.c: Likewise.
5749         * nis/nss_compat/compat-grp.c: Likewise.
5750         * nis/nss_compat/compat-initgroups.c: Likewise.
5751         * nis/nss_compat/compat-pwd.c: Likewise.
5752         * nis/nss_compat/compat-spwd.c: Likewise.
5753         * nis/nss_nis/nis-alias.c: Likewise.
5754         * nis/nss_nis/nis-ethers.c: Likewise.
5755         * nis/nss_nis/nis-grp.c: Likewise.
5756         * nis/nss_nis/nis-hosts.c: Likewise.
5757         * nis/nss_nis/nis-network.c: Likewise.
5758         * nis/nss_nis/nis-proto.c: Likewise.
5759         * nis/nss_nis/nis-pwd.c: Likewise.
5760         * nis/nss_nis/nis-rpc.c: Likewise.
5761         * nis/nss_nis/nis-service.c: Likewise.
5762         * nis/nss_nis/nis-spwd.c: Likewise.
5763         * nis/nss_nisplus/nisplus-alias.c: Likewise.
5764         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
5765         * nis/nss_nisplus/nisplus-grp.c: Likewise.
5766         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
5767         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
5768         * nis/nss_nisplus/nisplus-network.c: Likewise.
5769         * nis/nss_nisplus/nisplus-proto.c: Likewise.
5770         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
5771         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
5772         * nis/nss_nisplus/nisplus-service.c: Likewise.
5773         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
5774         * nis/ypclnt.c: Likewise.
5775         * nptl/libc_pthread_init.c: Likewise.
5776         * nss/getXXbyYY.c: Likewise.
5777         * nss/getXXent.c: Likewise.
5778         * nss/getXXent_r.c: Likewise.
5779         * nss/nss_db/db-XXX.c: Likewise.
5780         * nss/nss_db/db-netgrp.c: Likewise.
5781         * nss/nss_db/nss_db.h: Likewise.
5782         * nss/nss_files/files-XXX.c: Likewise.
5783         * nss/nss_files/files-alias.c: Likewise.
5784         * nss/nsswitch.c: Likewise.
5785         * posix/regex_internal.h: Likewise.
5786         * posix/wordexp.c: Likewise.
5787         * pwd/fgetpwent.c: Likewise.
5788         * resolv/res_hconf.c: Likewise.
5789         * resolv/res_libc.c: Likewise.
5790         * shadow/fgetspent.c: Likewise.
5791         * shadow/lckpwdf.c: Likewise.
5792         * shadow/sgetspent.c: Likewise.
5793         * socket/opensock.c: Likewise.
5794         * stdio-common/reg-modifier.c: Likewise.
5795         * stdio-common/reg-printf.c: Likewise.
5796         * stdio-common/reg-type.c: Likewise.
5797         * stdio-common/vfprintf.c: Likewise.
5798         * stdio-common/vfscanf.c: Likewise.
5799         * stdlib/abort.c: Likewise.
5800         * stdlib/cxa_atexit.c: Likewise.
5801         * stdlib/fmtmsg.c: Likewise.
5802         * stdlib/random.c: Likewise.
5803         * stdlib/setenv.c: Likewise.
5804         * string/strsignal.c: Likewise.
5805         * sunrpc/auth_none.c: Likewise.
5806         * sunrpc/bindrsvprt.c: Likewise.
5807         * sunrpc/create_xid.c: Likewise.
5808         * sunrpc/key_call.c: Likewise.
5809         * sunrpc/rpc_thread.c: Likewise.
5810         * sysdeps/arm/backtrace.c: Likewise.
5811         * sysdeps/generic/ldsodefs.h: Likewise.
5812         * sysdeps/generic/stdio-lock.h: Likewise.
5813         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
5814         * sysdeps/i386/backtrace.c: Likewise.
5815         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
5816         * sysdeps/m68k/backtrace.c: Likewise.
5817         * sysdeps/mach/hurd/cthreads.c: Likewise.
5818         * sysdeps/mach/hurd/dirstream.h: Likewise.
5819         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
5820         * sysdeps/nptl/malloc-machine.h: Likewise.
5821         * sysdeps/nptl/stdio-lock.h: Likewise.
5822         * sysdeps/posix/dirstream.h: Likewise.
5823         * sysdeps/posix/getaddrinfo.c: Likewise.
5824         * sysdeps/posix/system.c: Likewise.
5825         * sysdeps/pthread/aio_suspend.c: Likewise.
5826         * sysdeps/s390/s390-32/backtrace.c: Likewise.
5827         * sysdeps/s390/s390-64/backtrace.c: Likewise.
5828         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5829         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
5830         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
5831         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
5832         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
5833         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
5834         * sysdeps/unix/sysv/linux/system.c: Likewise.
5835         * sysdeps/x86_64/backtrace.c: Likewise.
5836         * time/alt_digit.c: Likewise.
5837         * time/era.c: Likewise.
5838         * time/tzset.c: Likewise.
5839         * wcsmbs/wcsmbsload.c: Likewise.
5840         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
5841         instead of <bits/libc-lock.h> in comment.
5843 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
5845         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
5846         Only use .set mips2 if the current ISA is below mips2.
5847         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
5848         Likewise.
5849         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
5850         mips32r2 if the current ISA is below mips32r2.
5851         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
5852         (TLS_IE): Updated to use the TLD_RDHWR macro.
5853         (TLS_LE): Likewise.
5854         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
5855         __ASSEMBLER__ condition.
5857 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5859         Fix parallel build of before-compile targets.
5861         * sysdeps/mach/Makefile ($(patsubst
5862         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
5863         mach-before-compile target.
5864         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
5865         io fs process)): Move rule to dedicated hurd-before-compile target.
5867 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5869         Fix rules generating headers in hurd/ and mach/ when initial make call
5870         has subdir= explicitly set.
5872         * sysdeps/mach/Makefile ($(patsubst
5873         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
5874         calling $(MAKE).
5875         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
5876         io fs process)): Force subdir to hurd when calling $(MAKE).
5877         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
5878         subdir to mach when calling $(MAKE).
5880 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
5882         Check sysheaders when looking for Mach and Hurd headers
5884         * sysdeps/mach/configure.ac: Add sysheaders check.
5885         * sysdeps/mach/configure: Regenerate.
5886         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
5887         * sysdeps/mach/hurd/configure: Regenerate.
5889 2015-09-04  Roland McGrath  <roland@hack.frob.com>
5891         [BZ #18921]
5892         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
5893         Fix inverted sense of test of 'o_directory_works' value.
5894         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
5895         Bernhard Voelker <mail@bernhard-voelker.de>.
5897 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
5899         [BZ #14912]
5900         * bits/linkmap.h: Move to ...
5901         * sysdeps/generic/linkmap.h: ...here.
5902         * sysdeps/aarch64/bits/linkmap.h: Move to ...
5903         * sysdeps/aarch64/linkmap.h: ...here.
5904         * sysdeps/arm/bits/linkmap.h: Move to ...
5905         * sysdeps/arm/linkmap.h: ...here.
5906         * sysdeps/hppa/bits/linkmap.h: Move to ...
5907         * sysdeps/hppa/linkmap.h: ...here.
5908         * sysdeps/ia64/bits/linkmap.h: Move to ...
5909         * sysdeps/ia64/linkmap.h: ...here.
5910         * sysdeps/mips/bits/linkmap.h: Move to ...
5911         * sysdeps/mips/linkmap.h: ...here.
5912         * sysdeps/s390/bits/linkmap.h: Move to ...
5913         * sysdeps/s390/linkmap.h: ...here.
5914         * sysdeps/sh/bits/linkmap.h: Move to ...
5915         * sysdeps/sh/linkmap.h: ...here.
5916         * sysdeps/x86/bits/linkmap.h: Move to ...
5917         * sysdeps/x86/linkmap.h: ...here.
5918         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
5920 2015-09-04  Andreas Schwab  <schwab@suse.de>
5922         [BZ #18635]
5923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
5924         (__makecontext): Terminate FDE before return label.
5925         (__novec_makecontext): Likewise.
5927 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5929         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
5930         first member of struct sv in syscall macro.
5932 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
5934         [BZ #14912]
5935         * bits/stdio-lock.h: Move to ...
5936         * sysdeps/generic/stdio-lock.h: ...here.
5937         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
5938         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
5939         * sysdeps/nptl/stdio-lock.h: ...here.
5940         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
5941         * include/libio.h: Include <stdio-lock.h> instead of
5942         <bits/stdio-lock.h>.
5943         * sysdeps/nptl/fork.c: Likewise.
5944         * sysdeps/pthread/flockfile.c: Likewise.
5945         * sysdeps/pthread/ftrylockfile.c: Likewise.
5946         * sysdeps/pthread/funlockfile.c: Likewise.
5948         [BZ #14912]
5949         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
5950         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
5951         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
5952         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
5953         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
5954         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
5955         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
5957 2015-09-03  Roland McGrath  <roland@hack.frob.com>
5959         * elf/Makefile (test-xfail-tst-protected1a): New variable.
5960         (test-xfail-tst-protected1b): New variable.
5962 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
5964         [BZ #14912]
5965         * bits/libc-tsd.h: Move to ...
5966         * sysdeps/generic/libc-tsd.h: ...here.
5967         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
5968         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
5969         * sysdeps/mach/hurd/libc-tsd.h: ...here.
5970         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
5971         * include/ctype.h: Include <libc-tsd.h> instead of
5972         <bits/libc-tsd.h>.
5973         * include/rpc/rpc.h: Likewise.
5974         * locale/localeinfo.h: Likewise.
5975         * sunrpc/rpc_thread.c: Likewise.
5976         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
5977         * sysdeps/nptl/malloc-machine.h: Likewise.
5979         * Makefile (headers): Remove bits/libc-lock.h.
5980         * libio/Makefile (headers): Remove bits/stdio-lock.h.
5982         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
5983         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
5984         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
5985         <bits/stdio-lock.h>.
5986         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
5987         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
5989 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
5991         [BZ #18757]
5992         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
5993         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
5994         BZ #18757.
5996 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
5998         * malloc/mtrace.pl: Filter out NULL entries.
6000 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
6002         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
6003         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
6004         macro.
6006         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
6007         (TCP_CC_INFO): Likewise.
6008         (TCP_SAVE_SYN): Likewise.
6009         (TCP_SAVED_SYN): Likewise.
6011 2015-08-31  Brett Neumeier <brett@neumeier.us>
6013         [BZ #18870]
6014         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
6016 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
6018         [BZ #18873]
6019         Fix broken overflow check in posix_fallocate
6020         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
6021         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
6022         Fix parenthesization typo.
6024 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
6026         [BZ #18887]
6027         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
6028         tst-mntent-blank-passno.
6029         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
6030         * misc/tst-mntent-blank-corrupt.c: New test.
6031         * misc/tst-mntent-blank-passno.c: New test ripped from ...
6032         * misc/tst-mntent.c (do_test): ... here.
6034 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
6036         [BZ #4404]
6037         * po/de.po: Fix SIGALRM typo.
6039 2015-08-28  James Perkins  <james@loowit.net>
6041         * time/tst-strptime2.c (tests): Replace short list of test
6042         strings for strptime %z specifier with code which exhaustively
6043         tests every combination of sign and 0 to 5 digits. Tests for
6044         rejection of invalid strings.
6046 2015-08-28  James Perkins  <james@loowit.net>
6048         [BZ #16141]
6049         * time/strptime_l.c (__strptime_internal): Fix %z minutes
6050         calculation, removing incorrect decimal time rounding, so that
6051         all minute values result in a valid seconds value.
6052         * time/strptime_l.c (__strptime_internal): Extend %z time zone
6053         offset range limits to UTC-99:59 through UTC+99:59 to parse
6054         current and historical use cases.
6055         * time/tst-strptime2.c (tests): Modify and add tests for the
6056         strptime %z input field descriptor, specifically conversion of
6057         minutes to seconds and validating an offset range of -9959 to
6058         +9959.
6060 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6061             Dmitry V. Levin  <ldv@altlinux.org>
6063         [BZ #18877]
6064         * posix/Makefile (tests): Add tst-mmap-offset.
6065         * posix/tst-mmap.c: New file.
6066         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
6067         offset calculation for negative values.
6069 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6071         * sysdeps/i386/init-arch.h: New file.
6072         * sysdeps/i386/i586/init-arch.h: Likewise.
6073         * sysdeps/i386/i686/init-arch.h: Likewise.
6074         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
6075         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
6076         * sysdeps/x86/cpu-features.h (bit_I586): New.
6077         (bit_I686): Likewise.
6078         (bit_CX8): Likewise.
6079         (bit_CMOV): Likewise.
6080         (index_CX8): Likewise.
6081         (index_CMOV): Likewise.
6082         (index_I586): Likewise.
6083         (index_I686): Likewise.
6084         (reg_CX8): Likewise.
6085         (reg_CMOV): Likewise.
6086         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
6087         available at compile-time.
6088         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
6089         available at compile-time.
6090         * sysdeps/x86/init-arch.h (USE_I586): New macro.
6091         (USE_I686): Likewise.
6093 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6095         * sysdeps/i386/bcopy.S: New file.
6096         * sysdeps/i386/bzero.S: Likewise.
6097         * sysdeps/i386/memcpy.S: Likewise.
6098         * sysdeps/i386/memmove.S: Likewise.
6099         * sysdeps/i386/mempcpy.S: Likewise.
6100         * sysdeps/i386/memset.S: Likewise.
6101         * sysdeps/i386/bzero.c: Removed.
6102         * sysdeps/i386/memset.c: Likewise.
6103         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
6104         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
6105         * sysdeps/i386/i586/memset_chk.S: Likewise.
6106         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
6107         * sysdeps/i386/memcpy_chk.S: Here.
6108         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
6109         * sysdeps/i386/memmove_chk.S: Here.
6110         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
6111         * sysdeps/i386/mempcpy_chk.S: Likewise.
6112         * sysdeps/i386/i686/memset_chk.S: Moved to ...
6113         * sysdeps/i386/memset_chk.S: Likewise.
6115 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
6117         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
6118         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
6119         file, move DIAG_POP_NEEDS_COMMENT to end of file.
6120         * soft-fp/fmadf4.c: Ditto.
6121         * soft-fp/fmatf4.c: Ditto.
6123 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6125         * sysdeps/i386/i586/Implies: Removed.
6126         * sysdeps/i386/i686/Implies: Likewise.
6128 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6130         * sysdeps/i386/i486/strlen.S: Moved to ...
6131         * sysdeps/i386/strlen.S: Here.
6133 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6135         * sysdeps/i386/i486/strcat.S: Moved to ...
6136         * sysdeps/i386/strcat.S: Here.
6138 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6140         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
6141         * sysdeps/i386/pthread_spin_trylock.S: Here.
6142         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
6143         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
6145 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6147         * sysdeps/i386/i486/string-inlines.c: Moved to ...
6148         * sysdeps/i386/string-inlines.c: Here.
6150 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6152         * sysdeps/i386/i486/htonl.S: Moved ...
6153         * sysdeps/i386/htonl.S: here.
6155 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6157         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
6158         * sysdeps/i386/bits/atomic.h: Here.
6160 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6162         * sysdeps/i386/i486/Versions: Removed.
6164 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
6166         [BZ #2898]
6167         * misc/mktemp.c: Add mkdtemp to the link_warning message.
6168         Based on patch by Aurelien Jarno.
6170 2015-08-26  Stan Shebs  <stanshebs@google.com>
6172         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
6173         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
6175 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6177         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
6178         * sysdeps/powerpc/dl-procinfo.c:
6179         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
6180         feature so it shows when LD_SHOW_AUXV=1.
6182 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6184         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
6185         (__arch_compare_and_exchange_val_32_acq): Remove and use common
6186         definition.  ISA 2.07B no longer requires full sync.
6188 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
6190         [BZ #18863]
6191         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
6192         (si_call_addr): Define.
6193         (si_syscall): Define.
6194         (si_arch): Define.
6196 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
6198         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
6199         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
6200         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
6201         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
6202         (__memset_zero_constant_len_parameter): New.
6203         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
6204         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
6205         (__memset_zero_constant_len_parameter): Don't define if
6206         __memset_chk or USE_AS_BZERO are defined.
6208         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
6209         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
6210         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
6212         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
6213         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
6214         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
6215         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
6216         comments.
6217         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
6218         -mno-mmx for $(all-rtld-routines).
6219         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
6220         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
6221         i386.
6223 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
6225         * sysdeps/generic/unwind.h
6226         (_Unwind_Word): Use __mode__(__unwind_word__)
6227         instead of __mode__(__word__).
6228         (_Unwind_Sword): Likewise.
6230         * sysdeps/s390/s390-64/utf8-utf16-z9.c
6231         (MAX_NEEDED_INPUT): New define.
6232         (MAX_NEEDED_OUTPUT): New define.
6234         * NEWS: New item for IBM z13 string optimizations.
6236         * sysdeps/s390/multiarch/memrchr-c.c: New File.
6237         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
6238         * sysdeps/s390/multiarch/memrchr.c: Likewise.
6239         * sysdeps/s390/multiarch/Makefile
6240         (sysdep_routines): Add memrchr functions.
6241         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6242         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
6244         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
6245         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
6246         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
6247         * sysdeps/s390/multiarch/Makefile
6248         (sysdep_routines): Add wmemcmp functions.
6249         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6250         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
6251         * benchtests/bench-wmemcmp.c: New File.
6252         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
6254         * sysdeps/s390/multiarch/wmemset-c.c: New File.
6255         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
6256         * sysdeps/s390/multiarch/wmemset.c: Likewise.
6257         * sysdeps/s390/multiarch/Makefile
6258         (sysdep_routines): Add wmemset functions.
6259         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6260         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
6261         * wcsmbs/wmemset.c: Use WMEMSET if defined.
6262         * string/test-memset.c: Add wmemset support.
6263         * wcsmbs/test-wmemset.c: New File.
6264         * wcsmbs/Makefile (strop-tests): Add wmemset.
6265         * benchtests/bench-memset.c: Add wmemset support.
6266         * benchtests/bench-wmemset.c: New File.
6267         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
6269         * sysdeps/s390/multiarch/memccpy-c.c: New File.
6270         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
6271         * sysdeps/s390/multiarch/memccpy.c: Likewise.
6272         * sysdeps/s390/multiarch/Makefile
6273         (sysdep_routines): Add memccpy functions.
6274         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6275         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
6276         * string/memccpy.c: Use MEMCCPY if defined.
6278         * sysdeps/s390/multiarch/memchr-vx.S: New File.
6279         * sysdeps/s390/multiarch/memchr.c: Likewise.
6280         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
6281         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
6282         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
6283         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
6284         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
6285         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
6286         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
6287         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
6288         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
6289         and rawmemchr functions.
6290         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6291         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
6292         and wmemchr.
6293         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
6294         * string/test-memchr.c: Add wmemchr support.
6295         * wcsmbs/test-wmemchr.c: New File.
6296         * wcsmbs/Makefile (strop-tests): Add wmemchr.
6297         * benchtests/bench-memchr.c: Add wmemchr support.
6298         * benchtests/bench-wmemchr.c: New File.
6299         * benchtests/Makefile (wcsmbs-bench): wmemchr.
6301         * sysdeps/s390/multiarch/strcspn-c.c: New File.
6302         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
6303         * sysdeps/s390/multiarch/strcspn.c: Likewise.
6304         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
6305         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
6306         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
6307         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
6308         wcscspn functions.
6309         * sysdeps/s390/multiarch/ifunc-impl-list.c
6310         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
6311         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
6312         * string/test-strcspn.c: Add wcscspn support.
6313         * wcsmbs/test-wcscspn.c: New File.
6314         * wcsmbs/Makefile (strop-tests): Add wcscspn.
6315         * benchtests/bench-strcspn.c: Add wcscspn support.
6316         * benchtests/bench-wcscspn.c: New File.
6317         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
6319         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
6320         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
6321         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
6322         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
6323         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
6324         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
6325         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
6326         wcspbrk functions.
6327         * sysdeps/s390/multiarch/ifunc-impl-list.c
6328         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
6329         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
6330         * string/test-strpbrk.c: Add wcspbrk support.
6331         * wcsmbs/test-wcspbrk.c: New File.
6332         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
6333         * benchtests/bench-strpbrk.c: Add wcspbrk support.
6334         * benchtests/bench-wcspbrk.c: New File.
6335         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
6337         * sysdeps/s390/multiarch/strspn-c.c: New File.
6338         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
6339         * sysdeps/s390/multiarch/strspn.c: Likewise.
6340         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
6341         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
6342         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
6343         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
6344         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
6345         wcsspn functions.
6346         * sysdeps/s390/multiarch/ifunc-impl-list.c
6347         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
6348         * string/test-strspn.c: Add wcsspn support.
6349         * wcsmbs/test-wcsspn.c: New File.
6350         * wcsmbs/Makefile (strop-tests): Add wcsspn.
6351         * benchtests/bench-strspn.c: Add wcsspn support.
6352         * benchtests/bench-wcsspn.c: New File.
6353         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
6355         * sysdeps/s390/multiarch/strrchr-c.c: New File.
6356         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
6357         * sysdeps/s390/multiarch/strrchr.c: Likewise.
6358         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
6359         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
6360         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
6361         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
6362         wcsrchr functions.
6363         * sysdeps/s390/multiarch/ifunc-impl-list.c
6364         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
6365         * benchtests/bench-wcsrchr.c: New File.
6366         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
6368         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
6369         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
6370         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
6371         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
6372         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
6373         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
6374         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
6375         wcschrnul functions.
6376         * sysdeps/s390/multiarch/ifunc-impl-list.c
6377         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
6378         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
6379         * string/test-strchr.c: Add wcschrnul support.
6380         * wcsmbs/test-wcschrnul.c: New File.
6381         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
6382         * benchtests/bench-strchr.c: Add wcschrnul support.
6383         * benchtests/bench-wcschrnul.c: New File.
6384         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
6386         * sysdeps/s390/multiarch/strchr-c.c: New File.
6387         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
6388         * sysdeps/s390/multiarch/strchr.c: Likewise.
6389         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
6390         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
6391         * sysdeps/s390/multiarch/wcschr.c: Likewise.
6392         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
6393         wcschr functions.
6394         * sysdeps/s390/multiarch/ifunc-impl-list.c
6395         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
6396         * string/strchr.c (STRCHR): Define and use macro.
6397         * benchtests/bench-wcschr.c: New File.
6398         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
6400         * sysdeps/s390/multiarch/strncmp-c.c: New File.
6401         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
6402         * sysdeps/s390/multiarch/strncmp.c: Likewise.
6403         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
6404         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
6405         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
6406         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
6407         wcsncmp functions.
6408         * sysdeps/s390/multiarch/ifunc-impl-list.c
6409         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
6410         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
6411         * benchtests/bench-strncmp.c: Add wcsncmp support.
6412         * benchtests/bench-wcsncmp.c: New File.
6413         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
6415         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
6416         * sysdeps/s390/multiarch/strcmp.c: Likewise.
6417         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
6418         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
6419         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
6420         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
6421         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
6422         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
6423         wcscmp functions.
6424         * sysdeps/s390/multiarch/ifunc-impl-list.c
6425         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
6426         * string/strcmp.c (STRCMP): Define and use macro.
6427         * benchtests/bench-wcscmp.c: New File.
6428         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
6429         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
6430         instead of _HAVE_STRING_ARCH_memchr.
6432         * sysdeps/s390/multiarch/strncat-c.c: New File.
6433         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
6434         * sysdeps/s390/multiarch/strncat.c: Likewise.
6435         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
6436         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
6437         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
6438         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
6439         wcsncat functions.
6440         * sysdeps/s390/multiarch/ifunc-impl-list.c
6441         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
6442         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
6443         * string/test-strncat.c: Add wcsncat support.
6444         * wcsmbs/test-wcsncat.c: New File.
6445         * wcsmbs/Makefile (strop-tests): Add wcsncat.
6446         * benchtests/bench-strncat.c: Add wcsncat support.
6447         * benchtests/bench-wcsncat.c: New File.
6448         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
6450         * sysdeps/s390/multiarch/strcat-c.c: New File.
6451         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
6452         * sysdeps/s390/multiarch/strcat.c: Likewise.
6453         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
6454         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
6455         * sysdeps/s390/multiarch/wcscat.c: Likewise.
6456         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
6457         wcscat functions.
6458         * sysdeps/s390/multiarch/ifunc-impl-list.c
6459         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
6460         * string/strcat.c (STRCAT): Define and use macro.
6461         * wcsmbs/wcscat.c: Use WCSCAT if defined.
6462         * string/test-strcat.c: Add wcscat support.
6463         * wcsmbs/test-wcscat.c: New File.
6464         * wcsmbs/Makefile (strop-tests): Add wcscat.
6465         * benchtests/bench-strcat.c: Add wcscat support.
6466         * benchtests/bench-wcscat.c: New File.
6467         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
6469         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
6470         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
6471         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
6472         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
6473         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
6474         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
6475         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
6476         wcpncpy functions.
6477         * sysdeps/s390/multiarch/ifunc-impl-list.c
6478         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
6479         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
6480         * string/test-stpncpy.c: Add wcpncpy support.
6481         * wcsmbs/test-wcpncpy.c: New File.
6482         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
6483         * benchtests/bench-stpncpy.c: Add wcpncpy support.
6484         * benchtests/bench-wcpncpy.c: New File.
6485         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
6487         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
6488         * sysdeps/s390/multiarch/strncpy.c: Likewise.
6489         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
6490         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
6491         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
6492         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
6493         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
6494         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
6495         wcsncpy functions.
6496         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
6497         * sysdeps/s390/multiarch/ifunc-impl-list.c
6498         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
6499         * string/test-strncpy.c: Add wcsncpy support.
6500         * wcsmbs/test-wcsncpy.c: New File.
6501         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
6502         * benchtests/bench-strncpy.c: Add wcsncpy support.
6503         * benchtests/bench-wcsncpy.c: New File.
6504         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
6506         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
6507         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
6508         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
6509         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
6510         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
6511         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
6512         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
6513         wcpcpy functions.
6514         * string/stpcpy.c: Use STPCPY if defined.
6515         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
6516         * sysdeps/s390/multiarch/ifunc-impl-list.c
6517         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
6518         * string/test-stpcpy.c: Add wcpcpy support.
6519         * wcsmbs/test-wcpcpy.c: New File.
6520         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
6521         * benchtests/bench-stpcpy.c: Add wcpcpy support.
6522         * benchtests/bench-wcpcpy.c: New File.
6523         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
6525         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
6526         * sysdeps/s390/multiarch/strcpy.c: Likewise.
6527         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
6528         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
6529         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
6530         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
6531         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
6532         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
6533         wcscpy functions.
6534         * sysdeps/s390/multiarch/ifunc-impl-list.c
6535         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
6536         * benchtests/bench-wcscpy.c: New File.
6537         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
6539         * sysdeps/s390/multiarch/strnlen-c.c: New File.
6540         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
6541         * sysdeps/s390/multiarch/strnlen.c: Likewise.
6542         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
6543         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
6544         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
6545         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
6546         wcsnlen functions.
6547         * sysdeps/s390/multiarch/ifunc-impl-list.c
6548         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
6549         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
6550         * string/test-strnlen.c: Add wcsnlen support.
6551         * wcsmbs/test-wcsnlen.c: New File.
6552         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
6553         * benchtests/bench-strnlen.c: Add wcsnlen support.
6554         * benchtests/bench-wcsnlen.c: New File.
6555         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
6557         * sysdeps/s390/multiarch/Makefile: New File.
6558         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
6559         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
6560         * sysdeps/s390/multiarch/strlen.c: Likewise.
6561         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
6562         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
6563         * sysdeps/s390/multiarch/wcslen.c: Likewise.
6564         * string/strlen.c (STRLEN): Define and use macro.
6565         * sysdeps/s390/multiarch/ifunc-impl-list.c
6566         (IFUNC_VX_IMPL): New macro function.
6567         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
6568         * benchtests/Makefile (wcsmbs-bench): New variable.
6569         (string-bench-all): Added wcsmbs-bench.
6570         * benchtests/bench-wcslen.c: New File.
6572         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
6573         s390_vx_libc_ifunc2): New macro function.
6575         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
6576         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
6577         assembler support.
6578         * sysdeps/s390/configure: Regenerated.
6580         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
6581         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
6583         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
6584         * sysdeps/s390/dl-procinfo.h: Add vector capability.
6585         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
6587         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
6588         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
6589         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
6590         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
6591         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
6592         (memcmp, bcmp): Use __memcmp_default as alias source.
6593         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
6594         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
6595         Rename to __memcmp_default.
6596         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
6597         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
6598         (memcpy): Use __memcpy_default as alias source.
6599         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
6600         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
6601         Rename to __memcpy_default.
6602         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
6603         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
6604         (memset): Use __memset_default as alias source.
6605         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
6606         * sysdeps/s390/s390-32/memset.S (__memset_g5):
6607         Rename to __memset_default.
6608         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
6609         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
6610         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
6611         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
6612         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
6613         (memcmp, bcmp): Use __memcmp_default as alias source.
6614         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
6615         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
6616         Rename to __memcmp_default.
6617         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
6618         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
6619         (memcpy): Use __memcpy_default as alias source.
6620         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
6621         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
6622         Rename to __memcpy_default.
6623         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
6624         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
6625         (memset): Use __memset_default as alias source.
6626         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
6627         * sysdeps/s390/s390-64/memset.S (__memset_z900):
6628         Rename to __memset_default.
6629         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
6630         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
6632         [BZ #18610]
6633         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
6634         __ieee_instruction_pointer to __unused.
6635         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
6636         __ieee_instruction_pointer.
6637         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
6638         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
6639         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
6640         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
6641         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
6642         Mark dxc-field as reserved.
6644 2015-08-25  Roland McGrath  <roland@hack.frob.com>
6646         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
6647         if the weak reference is not null.
6649 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
6651         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
6653         [BZ #11214]
6654         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
6656 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6658         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
6659         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
6660         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
6661         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
6662         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
6663         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
6664         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
6665         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
6666         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
6667         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
6668         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
6669         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
6670         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
6671         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
6672         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
6673         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
6674         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
6675         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
6677 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6679         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
6680         register other than r0 for tabort, it has special meaning.
6681         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
6682         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
6683         transaction before starting syscall.
6685 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6687         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
6689 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
6691         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
6693         * sysdeps/x86_64/rtld-memcmp.c: Removed.
6694         * sysdeps/x86_64/rtld-memset.S: Likewise.
6695         * sysdeps/x86_64/rtld-strchr.S: Likewise.
6696         * sysdeps/x86_64/rtld-strlen.S: Likewise.
6697         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
6698         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
6700         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
6702 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
6704         * debug/strcpy_chk.c: Improve performance.
6705         * debug/stpcpy_chk.c: Likewise.
6706         * sysdeps/x86_64/strcpy_chk.S: Remove.
6707         * sysdeps/x86_64/stpcpy_chk.S: Remove.
6709         [BZ #18240]
6710         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
6712 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
6714         [BZ #15128]
6715         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
6716         ifuncmain8.
6717         (modules-names): Add ifuncmod8.
6718         ($(objpfx)ifuncmain8): New rule.
6719         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
6720         <cpuid.h>.
6721         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
6722         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
6723         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
6724         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
6725         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
6726         * sysdeps/x86_64/dl-trampoline.h: Likewise.
6727         * sysdeps/x86_64/ifuncmain8.c: New file.
6728         * sysdeps/x86_64/ifuncmod8.c: Likewise.
6729         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
6730         Removed.
6731         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
6732         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
6733         Change rtld_savespace_sse to __glibc_unused2.
6734         (RTLD_CHECK_FOREIGN_CALL): Removed.
6735         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
6736         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
6737         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
6739 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
6741         * sysdeps/aarch64/bzero.S (__bzero): Remove.
6743 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
6745         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
6746         Unconditionally set __fpcr to avoid uninialized warning.
6747         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
6749 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6751         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
6752         is corrupt.
6754         * malloc/arena.c (arena_get2): Drop unused argument.
6755         (arena_lock): Adjust.
6756         (arena_get_retry): Likewise.
6758 2015-08-24  Andreas Schwab  <schwab@suse.de>
6760         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
6761         Don't define.
6762         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6763         (__ASSUME_IPC64): Don't undef.
6764         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
6765         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
6766         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
6767         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
6768         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
6769         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
6770         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
6771         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
6772         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
6773         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
6774         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
6775         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
6776         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
6777         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
6778         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
6779         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
6780         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
6781         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
6782         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
6783         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
6784         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
6786 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
6788         * manual/Makefile (install): Only build manual when perl is available.
6790 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6792         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
6793         '#undef memcpy' by '#undef memchr'.
6795 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6797         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
6798         memchr not point to the internal __GI_memchr implementation.
6800 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
6802         * timezone/Makefile (CFLAGS-zdump.c): Remove
6803         -Wno-strict-prototypes.
6804         (CFLAGS-zic.c): Likewise.
6805         (CFLAGS-ialloc.c): Likewise.
6806         (CFLAGS-scheck.c): Likewise.
6808         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
6809         -Wno-error=undef.
6811 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
6813         * i386/i686/multiarch/strcasestr-c.c: Removed.
6814         * x86_64/multiarch/strcasestr.c: Likewise.
6815         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6816         Remove strcasestr.
6818 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
6820         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
6822         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
6823         variables for high and low parts before possibly modifying them.
6825 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
6827         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
6828         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
6829         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
6830         of "multiarch/init-arch.h".
6831         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
6832         * sysdeps/x86/init-arch.h: This.
6834 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
6836         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
6837         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
6839 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
6841         [BZ #17787]
6842         * manual/macros.texi: Add twoexp macro.
6843         * manual/filesys.texi: Fix exponents.
6844         * manual/llio.texi: Likewise.
6845         * manual/stdio.texi: Likewise.
6847 2015-08-20  Florian Weimer  <fweimer@redhat.com>
6849         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
6850         incorrect use.
6852 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
6854         [BZ #18370]
6855         * math/s_csqrt.c (__csqrt): Force underflow exception for results
6856         whose real or imaginary part has small absolute value.
6857         * math/s_csqrtf.c (__csqrtf): Likewise.
6858         * math/s_csqrtl.c (__csqrtl): Likewise.
6859         * math/auto-libm-test-in: Add more tests of csqrt.
6860         * math/auto-libm-test-out: Regenerated.
6861         * sysdeps/i386/fpu/libm-test-ulps: Update.
6863 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6865         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
6866         __ppc_set_ppr_very_low): New functions.
6867         * manual/platform.texi: Add documentation about
6868         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
6870 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
6872         * string/stpncpy.c (stpncpy): Improve performance using
6873         __strnlen/memcpy/memset.
6875 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6877         [BZ #18796]
6878         * scripts/test-installation.pl: Don't add -lmvec to build options if
6879         libmvec wasn't built.
6881 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
6883         [BZ #14341]
6884         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
6885         case when there is a gap between DT_REL and DT_JMPREL sections.
6886         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
6887         (LDFLAGS-tst-split-dynreloc): New.
6888         (tst-split-dynreloc-ENV): Likewise.
6889         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
6890         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
6892 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
6894         [BZ #18822]
6895         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
6896         attribute_hidden.
6897         (__xstat64_conv): Likewise.
6898         (__xstat32_conv): Likewise.
6900 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
6902         [BZ #18822]
6903         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
6904         Don't load %ebx when calling __setcontext.  Call __setcontext
6905         with HIDDEN_JUMPTARGET.
6906         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
6907         libc_hidden_def.
6909 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
6911         * sysdeps/i386/i686/Makefile
6912         [$(subdir) == string] (sysdep_routines): Moved to ...
6913         * sysdeps/i386/Makefile: Here.
6914         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
6915         * sysdeps/i386/cacheinfo.c: Here.
6916         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
6917         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
6918         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
6919         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
6921 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
6923         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
6924         __i586__ is defined.
6925         (HAS_I686): Defined to 1 if __i686__ is defined.
6927 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
6929         * elf/Makefile [$(have-z-execstack) = yes]
6930         (CPPFLAGS-tst-execstack.c): New variable.
6932         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
6933         conditional to [defined UTMPX || _HAVE_UT_TYPE].
6934         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
6935         UTMPX || _HAVE_UT_TV].
6936         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
6937         UTMPX || _HAVE_UT_TV - 0].
6939 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
6941         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
6942         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
6943         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
6945 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6947         * sysdeps/powerpc/dl-procinfo.c:
6948         (_dl_powerpc_cap_flags): Added missing strings for some
6949         hwcap features.
6950         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
6952 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
6954         Port the 0x7efe...feff pattern to GCC 6.
6955         See Steve Ellcey's bug report in:
6956         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
6957         * string/memrchr.c (MEMRCHR):
6958         * string/rawmemchr.c (RAWMEMCHR):
6959         * string/strchr.c (strchr):
6960         * string/strchrnul.c (STRCHRNUL):
6961         Rewrite code to avoid issues with signed shift overflow.
6963 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
6965         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
6966         whether cpuid is available only if HAS_CPUID is 0.
6967         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
6968         (HAS_I586): Likewise.
6969         (HAS_I686): Likewise.
6971 2015-08-18  Zack Weinberg  <zackw@panix.com>
6973         * misc/Versions (libc): Add GLIBC_2.23.
6975 2015-08-18  Alan Modra  <amodra@gmail.com>
6977         [BZ #18421]
6978         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
6979         .Lp__global.
6980         (_start): Load %dp via .Lp__global.
6981         [!SHARED]: Use .section .rodata.
6983 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6985         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
6986         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
6988 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6990         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
6991         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
6993 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6995         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
6996         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
6998 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7000         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
7001         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
7003 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7005         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
7006         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
7008 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7010         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
7011         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
7013 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7015         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
7017 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7019         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
7020         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
7021         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7022         (__ASSUME_LWS_CAS): Delete.
7024 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7026         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
7027         * sysdeps/hppa/configure: Regenerated.
7028         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
7029         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
7030         * sysdeps/hppa/nptl/tls.h: Likewise.
7032 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
7034         [BZ #18823]
7035         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
7036         for scaling up small arguments.
7037         * math/s_csqrtf.c (__csqrtf): Likewise.
7038         * math/s_csqrtl.c (__csqrtl): Likewise.
7039         * math/auto-libm-test-in: Add more tests of csqrt.
7040         * math/auto-libm-test-out: Regenerated.
7042 2015-08-17  Andreas Schwab  <schwab@suse.de>
7044         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
7045         version set GLIBC_2.19.
7047 2015-08-16  Zack Weinberg  <zackw@panix.com>
7049         [BZ #18681]
7050         * misc/regexp.h: This interface is no longer supported.
7051         Remove all contents, leaving only an #error directive.
7052         * misc/regexp.c (loc1, loc2, locs, step, advance):
7053         Demote to compatibility symbols.
7055 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
7057         [BZ #18084]
7058         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
7059         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
7060         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
7061         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
7062         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
7063         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
7064         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
7065         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
7066         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
7068 2015-08-15  Zack Weinberg  <zackw@panix.com>
7070         [BZ #18795]
7071         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
7072         buffer length is known to be too large, not if it's known to be
7073         small enough.
7074         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
7075         overflow at runtime, involving a length parameter, twice: once
7076         with a compile-time constant length parameter, once without.
7078 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
7080         [BZ #18824]
7081         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
7082         scaling x * y up instead of down.
7083         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7084         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7085         * math/auto-libm-test-in: Add more tests of fma.
7086         * math/auto-libm-test-out: Regenerated.
7088 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
7090         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7092 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7094         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
7095         unnecessary movq.
7096         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
7097         Likewise.
7099 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
7101         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7102         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
7103         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
7104         and tgamma.
7105         * math/auto-libm-test-out: Regenerated.
7106         * sysdeps/i386/fpu/libm-test-ulps: Update.
7107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7109         [BZ #16520]
7110         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
7111         (__tanh): Force underflow exception for arguments with small
7112         absolute value.
7113         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
7114         (__tanhf): Force underflow exception for arguments with small
7115         absolute value.
7116         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
7117         (__tanhl): Force underflow exception for arguments with small
7118         absolute value.
7119         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
7120         (__tanhl): Force underflow exception for arguments with small
7121         absolute value.
7122         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
7123         (__tanhl): Force underflow exception for arguments with small
7124         absolute value.
7125         * math/auto-libm-test-in: Add more tests of tanh.
7126         * math/auto-libm-test-out: Regenerated.
7127         * sysdeps/i386/fpu/libm-test-ulps: Update.
7129 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7131         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
7132         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
7134 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7136         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
7137         <cpuid.h>.
7139 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7141         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
7142         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
7144 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7146         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
7147         Remove $(objpfx)init-arch.o.
7148         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
7149         init-arch.
7150         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
7151         (INIT_ARCH_EXT): Defined as empty.
7152         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
7153         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
7154         __init_cpu_features call.  Replace HAS_XXX with
7155         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7156         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
7157         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
7158         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
7159         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
7160         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
7161         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
7162         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
7163         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
7164         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
7165         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
7166         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
7167         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
7168         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
7169         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
7170         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
7171         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
7172         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
7173         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
7174         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
7175         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
7176         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
7177         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
7178         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
7179         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
7180         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
7181         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
7182         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
7183         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
7184         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
7185         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
7186         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
7187         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
7188         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
7189         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
7190         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
7192 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7194         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
7195         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7196         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
7197         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
7198         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
7199         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
7200         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
7201         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
7202         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
7203         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
7204         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
7205         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
7206         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7207         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7208         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7209         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7210         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7211         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7212         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7213         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7214         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7215         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7216         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7217         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7218         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7219         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7220         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7221         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7222         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7223         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7224         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7225         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7226         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7227         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7228         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7229         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7230         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7231         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7232         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7233         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7234         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7235         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7236         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7238 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7240         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
7241         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7242         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7243         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7244         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7245         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
7246         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7247         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
7248         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
7249         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7250         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7251         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
7252         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
7253         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
7254         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
7255         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
7256         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
7257         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
7258         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
7259         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
7260         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
7261         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
7262         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
7263         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7264         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7265         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
7266         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
7267         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
7268         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7269         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7270         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7271         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7272         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7273         * sysdeps/x86_64/multiarch/memset.S: Likewise.
7274         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7275         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7276         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7277         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7278         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7279         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7280         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7281         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7282         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7284 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7286         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
7287         (dl_platform_init): Call init_cpu_features.
7288         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
7289         * sysdeps/i386/i686/cacheinfo.c
7290         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
7291         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
7292         * sysdeps/i386/i686/multiarch/Versions: Removed.
7293         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
7294         Removed.
7295         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
7296         * sysdeps/unix/sysv/linux/x86/Makefile
7297         (libpthread-sysdep_routines): Remove init-arch.
7298         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
7299         <sysdeps/x86_64/dl-procinfo.c> instead of
7300         sysdeps/generic/dl-procinfo.c>.
7301         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
7302         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
7303         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
7304         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
7305         [$(subdir) == elf] (tests-static): Add
7306         tst-get-cpu-features-static.
7307         * sysdeps/x86/Versions: New file.
7308         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
7309         * sysdeps/x86/cpu-features.c: Likewise.
7310         * sysdeps/x86/cpu-features.h: Likewise.
7311         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
7312         * sysdeps/x86/libc-start.c: Likewise.
7313         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
7314         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
7315         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
7316         * sysdeps/x86_64/dl-procinfo.c: Likewise.
7317         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
7318         Assume USE_MULTIARCH is defined and don't check it.
7319         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
7320         (is_amd): Likewise.
7321         (max_cpuid): Likewise.
7322         (intel_check_word): Likewise.
7323         (__cache_sysconf): Don't call __init_cpu_features.
7324         (__x86_preferred_memory_instruction): Removed.
7325         (init_cacheinfo): Don't call __init_cpu_features. Replace
7326         __cpu_features with GLRO(dl_x86_cpu_features).
7327         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
7328         (dl_platform_init): Call init_cpu_features.
7329         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
7330         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
7331         * sysdeps/x86_64/multiarch/Versions: Removed.
7332         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
7333         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
7334         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
7335         Removed.
7336         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
7338 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
7340         [BZ #18820]
7341         * libio/Makefile (test-fmemopen-mem): New test.
7342         * libio/test-fmemopen.c (do_bz18820): New test.
7343         * libio/fmemopen.c (__fmemopen): Fix memory leak.
7344         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
7346 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
7348         [BZ #16734]
7349         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
7350         (FREE_BUF): Delete.
7351         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
7352         * libio/genops.c (_IO_setb): Use malloc and free directly.
7353         (_IO_default_doallocate, _IO_default_finish): Likewise.
7354         ( _IO_unbuffer_all): Likewise.
7355         ( libc_freeres_fn): Likewise.
7356         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7357         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
7358         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
7359         (_IO_wdefault_doallocate): Likewise.
7361 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
7363         [BZ #18086]
7364         * sysdeps/posix/nice.c (nice): Restore old errno.
7365         * posix/tst-nice.c (do_test): Add test for BZ #18086.
7367 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
7369         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
7371 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7373         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
7374         __bcopy and add a weak_alias to bcopy.
7375         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
7376         for static build.
7378         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
7379         cleanup macro usage.
7380         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
7381         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
7382         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
7383         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
7384         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
7385         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
7386         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
7387         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
7388         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
7389         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
7390         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
7391         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
7392         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
7393         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
7394         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
7395         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
7396         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
7397         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
7398         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
7400         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
7401         libc_hidden_def.
7402         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
7404         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
7405         (sysdep_routines): Add strstr-ppc64.
7406         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
7408 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
7410         [BZ #18778]
7411         * elf/Makefile (tests): Add Add tst-nodelete2.
7412         (modules-names): Add tst-nodelete2mod.
7413         (tst-nodelete2mod.so-no-z-defs): New.
7414         ($(objpfx)tst-nodelete2): Likewise.
7415         ($(objpfx)tst-nodelete2.out): Likewise.
7416         (LDFLAGS-tst-nodelete2): Likewise.
7417         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
7418         out of loop through all loaded libraries.
7419         * elf/tst-nodelete2.c: New file.
7420         * elf/tst-nodelete2mod.c: Likewise.
7421         * elf/tst-znodelete-zlib.cc: Delete.
7423 2015-08-11  Andreas Schwab  <schwab@suse.de>
7425         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
7426         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
7427         (__openat64_nocancel): Likewise.
7429 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
7431         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
7432         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
7433         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
7434         * math/auto-libm-test-out: Regenerated.
7435         * sysdeps/i386/fpu/libm-test-ulps: Update.
7436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7438 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
7440         [BZ #18790]
7441         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
7442         threshold for returning +/- 1.
7443         * math/auto-libm-test-in: Add more tests of tanh.
7444         * math/auto-libm-test-out: Regenerated.
7445         * sysdeps/i386/fpu/libm-test-ulps: Update.
7447 2015-08-10  Andreas Schwab  <schwab@suse.de>
7449         [BZ #18781]
7450         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
7451         MORE_OFLAGS to oflag.
7452         * io/test-lfs.c (do_test): Test openat64.
7454 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
7456         [BZ #18789]
7457         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
7458         smaller threshold for returning the argument.
7459         * math/auto-libm-test-in: Add more tests of sinh.
7460         * math/auto-libm-test-out: Regenerated.
7461         * sysdeps/i386/fpu/libm-test-ulps: Update.
7463 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
7465         [BZ #18674]
7466         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
7467         break.
7469 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
7471         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
7472         (generated): Don't add $(addprefix z.,$(tzfiles)).
7474 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
7476         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
7477         * scripts/sysd-rules.awk: Likewise.
7479 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
7481         * iconvdata/tst-tables.sh: Change echo -n to printf.
7482         * nss/db-Makefile: Likewise.
7483         * posix/tst-getconf.sh: Likewise.
7484         * stdio-common/tst-unbputc.sh: Likewise.
7486 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
7488         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
7489         MADV_*_PAGES defines behind this feature check.
7491 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
7493         [BZ #18480]
7494         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
7495         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
7496         Define.
7497         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
7498         LOAD_REGS_5, LOAD_REGS_6): Update.
7499         (INTERNAL_SYSCALL): Update using new LOAD defines.
7500         (INTERNAL_SYSCALL_NCS): Likewise.
7501         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
7503 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
7505         [BZ #16734]
7506         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
7508 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
7510         [BZ #17905]
7511         * catgets/Makefile (tst-catgets-mem): New test.
7512         * catgets/catgets.c (catopen): Don't use unbounded alloca.
7513         * catgets/open_catalog.c (__open_catalog): Likewise.
7514         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
7516 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
7518         [BZ #18787]
7519         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
7520         clobber registers.
7521         (atomic_compare_and_exchange_val_acq): Use register asms to assign
7522         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
7523         Cast return to __typeof (oldval).
7525 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
7527         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
7528         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
7529         and delete sys/syscall.h include.
7531 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
7533         [BZ #16517]
7534         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
7535         (tan): Force underflow exception for arguments with small absolute
7536         value.
7537         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
7538         (__kernel_tanf): Force underflow exception for arguments with
7539         small absolute value.
7540         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
7541         (__kernel_tanl): Force underflow exception for arguments with
7542         small absolute value.
7543         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
7544         (__kernel_tanl): Force underflow exception for arguments with
7545         small absolute value.
7546         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
7547         (__kernel_tanl): Force underflow exception for arguments with
7548         small absolute value.
7549         * math/auto-libm-test-in: Add more tests of tan.
7550         * math/auto-libm-test-out: Regenerated.
7552 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7554         Fix sysdeps/i386/fpu/s_scalbn.S build
7556         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
7558 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
7560         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
7562 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7564         Fix gcrt0.o compilation
7566         When static-start-installed-name is different from
7567         start-installed-name, we must not use the shared objects.
7569         * csu/Makefile
7570         (extra-objs): Add gmon-start.o when building shared library and
7571         $(static-start-installed-name) is different from
7572         $(start-installed-name).
7573         $(objpfx)g$(static-start-installed-name): When building shared
7574         library and $(static-start-installed-name) is different from
7575         $(static-start-installed-name), revert to non-shared rule,
7576         i.e. using $(objpfx)% and gmon-start.o.
7578 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
7580         [BZ #16519]
7581         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
7582         (__ieee754_sinh): Force underflow exception for arguments with
7583         small absolute value.
7584         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
7585         (__ieee754_sinhf): Force underflow exception for arguments with
7586         small absolute value.
7587         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
7588         (__ieee754_sinhl): Force underflow exception for arguments with
7589         small absolute value.
7590         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
7591         (__ieee754_sinhl): Force underflow exception for arguments with
7592         small absolute value.
7593         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
7594         (__ieee754_sinhl): Force underflow exception for arguments with
7595         small absolute value.
7596         * math/auto-libm-test-in: Add more tests of sinh.
7597         * math/auto-libm-test-out: Regenerated.
7598         * sysdeps/i386/fpu/libm-test-ulps: Update.
7600 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
7602         * libio/oldfileops.c: Include unistd.h.
7604 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
7606         * stdlib/isomac.c: Include ctype.h.
7608 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
7610         * dirent/tst-seekdir.c (main): Converted to ...
7611         (do_test): ... this.
7612         (TEST_FUNCTION): New macro.
7613         Include test-skeleton.c.
7614         * elf/tst-dlmodcount.c (main): Converted to ...
7615         (do_test): ... this.
7616         (TEST_FUNCTION): New macro.
7617         Include test-skeleton.c.
7618         * elf/tst-order-main.c (main): Converted to ...
7619         (do_test): ... this.
7620         (TEST_FUNCTION): New macro.
7621         Include test-skeleton.c.
7622         * elf/tst-pie2.c (main): Converted to ...
7623         (do_test): ... this.
7624         (TEST_FUNCTION): New macro.
7625         Include test-skeleton.c.
7626         * inet/tst-ether_aton.c (main): Converted to ...
7627         (do_test): ... this.
7628         (TEST_FUNCTION): New macro.
7629         Include test-skeleton.c.
7630         * misc/tst-mntent.c (main): Converted to ...
7631         (do_test): ... this.
7632         (TEST_FUNCTION): New macro.
7633         Include test-skeleton.c.
7634         * misc/tst-tsearch.c (main): Converted to ...
7635         (do_test): ... this.
7636         (TEST_FUNCTION): New macro.
7637         Include test-skeleton.c.
7638         * posix/tst-regexloc.c (main): Converted to ...
7639         (do_test): ... this.
7640         (TEST_FUNCTION): New macro.
7641         Include test-skeleton.c.
7642         * resolv/tst-aton.c (main): Converted to ...
7643         (do_test): ... this.
7644         (TEST_FUNCTION): New macro.
7645         Include test-skeleton.c.
7646         * stdio-common/test-fwrite.c (main): Converted to ...
7647         (do_test): ... this.
7648         (TEST_FUNCTION): New macro.
7649         Include test-skeleton.c.
7650         * stdio-common/tst-ferror.c (main): Converted to ...
7651         (do_test): ... this.
7652         (TEST_FUNCTION): New macro.
7653         Include test-skeleton.c.
7654         * stdio-common/tst-printf.c (main): Converted to ...
7655         (do_test): ... this.
7656         (TEST_FUNCTION): New macro.
7657         Include test-skeleton.c.
7658         * stdio-common/tst-printfsz.c (main): Converted to ...
7659         (do_test): ... this.
7660         (TEST_FUNCTION): New macro.
7661         Include test-skeleton.c.
7662         * stdlib/tst-strtod.c (main): Converted to ...
7663         (do_test): ... this.
7664         (TEST_FUNCTION): New macro.
7665         Include test-skeleton.c.
7666         * string/tst-strlen.c (main): Converted to ...
7667         (do_test): ... this.
7668         (TEST_FUNCTION): New macro.
7669         Include test-skeleton.c.
7670         * string/tst-svc.c (main): Converted to ...
7671         (do_test): ... this.
7672         (TEST_FUNCTION): New macro.
7673         Include test-skeleton.c.
7674         * time/tst-strptime.c (main): Converted to ...
7675         (do_test): ... this.
7676         (TEST_FUNCTION): New macro.
7677         Include test-skeleton.c.
7678         * timezone/tst-timezone.c (main): Converted to ...
7679         (do_test): ... this.
7680         (TEST_FUNCTION): New macro.
7681         Include test-skeleton.c.
7683 2015-08-05  Zack Weinberg  <zackw@panix.com>
7685         * misc/regexp.h: Update comments.
7687 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
7689         [BZ #18635]
7690         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
7691         before return label.
7693 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7695         [BZ #18661]
7696         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
7697         when calling __errno_location.
7698         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
7699         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
7701 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7703         [BZ #18661]
7704         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
7705         (__lll_timedwait_tid): Align stack to 16 bytes when calling
7706         __gettimeofday.
7708 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7710         [BZ #18661]
7711         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7712         (__start_context): Don't use pop to restore %rdi so that stack
7713         is aligned to 16 bytes when calling __setcontext.
7715 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7717         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
7718         only for libc.
7719         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
7721 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7723         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
7724         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
7725         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
7727 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7729         * string/memccpy.c (memccpy):
7730         Improve performance by using memchr/memcpy/__mempcpy.
7732 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7734         * string/strncpy.c (strncpy):
7735         Improve performance by using __strnlen/memcpy.
7737 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7739         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7740         Optimize to avoid an unnecessary FPCR read.
7742 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7744         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
7745         Optimize to reduce FPCR/FPSR accesses.
7747 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7749         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
7750         dead->data[category] != NULL.
7752 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
7754         [BZ #18647]
7755         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
7756         and |x| close to 1, use absolute value of x when computing log.
7757         * math/auto-libm-test-in: Add more tests of pow.
7758         * math/auto-libm-test-out: Regenerated.
7760 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7762         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
7763         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
7764         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
7766 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
7768         [BZ #18525]
7769         * locales/km_KH: Remove timezone definition.
7770         * locales/lo_LA: Likewise.
7771         * locales/my_MM: Likewise.
7772         * locales/nan_TW@latin: Likewise.
7773         * locales/th_TH: Likewise.
7774         * locales/uk_UA: Likewise.
7776 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
7778         [BZ #18265]
7779         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
7780         (wcsncat): Likewise.
7781         (wcscmp): Likewise.
7782         (wcsncmp): Likewise.
7784 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
7786         * test-skeleton.c (usage): New function.
7787         (main): Call usage when opt is '?'.
7789 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
7791         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
7792         before first use.
7794 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
7796         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
7797         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
7798         in there too.
7800 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
7802         * version.h (RELEASE): Set to "development".
7803         (VERSION): Set to "2.22.90"
7805         * version.h (RELEASE): Set to "stable".
7806         (VERSION): Set to "2.22"
7807         * include/features.h (__GLIBC_MINOR__): Set to 22.
7809 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
7811         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
7812         Restructure macro to avoid "value computed is not used" warning.
7813         (atomic_compare_and_exchange_val_acq): Likewise.
7815 2015-08-04  Andreas Schwab  <schwab@suse.de>
7817         [BZ #18635]
7818         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
7819         ret.
7820         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
7822 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
7824         * po/pl.po: Updated translation.
7825         * po/uk.po: Likewise.
7826         * po/fi.po: Likewise.
7827         * po/ko.po: Likewise.
7828         * po/ru.po: Likewise.
7829         * po/vi.po: Likewise.
7831 2015-07-31  Zack Weinberg  <zackw@panix.com>
7833         [BZ #18681]
7834         * regexp.h: Add unconditional #warning stating that this header
7835         will be removed soon.  Revise banner comment to match.
7836         (compile): Consistently use ERROR instead of RETURN to report
7837         errors (partial fix for bz#18681).
7838         * regexp.c: Don't include regexp.h. Remove some unnecessary
7839         declarations.
7841 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
7843         * po/libc.pot: Regenerated.
7845 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
7847         [BZ #18740]
7848         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
7849         float-vlen4-arch-ext-cflags): Removed.
7850         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
7851         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
7853 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
7855         [BZ #14113]
7856         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
7857         aligned to __aligned__.
7858         (pthread_cond_t, pthread_rwlock_t): Likewise.
7860 2015-07-30  Torvald Riegel  <triegel@redhat.com>
7862         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
7864 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
7866         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
7867         (struct sigaction): Change sa_flags from a long to an int, and add
7868         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
7870 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
7872         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
7873         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
7874         sysdeps/generic/sysdep.h include.
7875         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
7876         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
7877         sysdeps/hppa/sysdep.h.
7878         (ENTRY, PSEUDO): Undefine before defining.
7880 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
7882         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
7883         from scratch to use INTERNAL_SYSCALL.
7885 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
7887         [BZ #18078]
7888         * scripts/check-localplt.awk: Support alternate relocations.
7889         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
7890         sections.
7891         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
7892         malloc entries with + REL R_386_GLOB_DAT.
7893         * sysdeps/x86_64/localplt.data: New file.
7895 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
7897         [BZ #18731]
7898         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
7899         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
7900         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
7902 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
7904         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
7906 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
7908         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
7909         directly in terms of __sync_fetch_and_add and delete (int) cast.
7911 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
7913         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
7914         the -D_ASM_IA64_CURRENT_H flag.
7916 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
7918         [BZ #18641]
7919         * pwd/pwd.h (putpwent): Delete __nonnull markings.
7921 2015-07-27  Andreas Schwab  <schwab@suse.de>
7923         * conform/conformtest.pl (checknamespace): Filter out string
7924         literals while tokenizing.
7926 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
7928         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
7929         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
7930         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
7932 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
7934         * nptl/tst-join7mod.c: Add #include <string.h>.
7936 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
7938         * sysdeps/nios2/libm-test-ulps: Update.
7940 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
7942         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
7943         Fix order of arguments to the rt_sigprocmask syscall.
7944         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
7945         Likewise.
7947 2015-07-24  Roland McGrath  <roland@hack.frob.com>
7949         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
7951 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7953         [BZ #18457]
7954         * nptl/Makefile (tests): New test case tst-join7.
7955         (modules-names): New test case module tst-join7mod.
7956         * nptl/tst-join7.c: New file.
7957         * nptl/tst-join7mod.c: New file.
7958         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
7959         all translation units in libc.so, libpthread.so and rtld.
7961 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7963         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7965 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
7967         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
7968         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
7969         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
7970         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
7971         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
7972         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
7973         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
7974         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
7975         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
7976         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
7977         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
7978         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
7979         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
7980         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
7981         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
7982         implementation.
7984 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7986         [BZ #17711]
7987         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
7988         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
7989         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
7990         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
7991         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
7992         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
7994 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7996         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
7997         instead of just saying load lock in the comments.
7999 2015-07-23  Roland McGrath  <roland@hack.frob.com>
8001         * sysdeps/unix/Subdirs: Moved ...
8002         * sysdeps/posix/Subdirs: ... here.
8003         * login/pty.h (struct termios, struct winsize): Add forward decls.
8004         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
8005         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
8006         * sysdeps/arm/nacl/libc.abilist: Updated.
8007         * sysdeps/nacl/libutil.abilist: New file.
8009         * bits/signum.h: Update comments to mention 1003.1-2013 too.
8010         (SIGWINCH): New macro.
8012         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
8013         * sysdeps/arm/nacl/libc.abilist: Add it.
8015 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
8017         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
8019 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
8021         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
8022         Swap __glibc_reserved0 and sa_flags order.
8024 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
8026         [BZ #18657]
8027         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
8028         are pending TLS destructor calls.
8029         * include/link.h (struct link_map): Add concurrency note for
8030         L_TLS_DTOR_COUNT.
8031         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8032         Don't touch the link map flag.  Atomically increment
8033         l_tls_dtor_count.
8034         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
8035         Avoid taking the load lock and don't touch the link map flag.
8036         * stdlib/tst-tls-atexit-nodelete.c: New test case.
8037         * stdlib/Makefile (tests): Use it.
8038         * stdlib/tst-tls-atexit.c (do_test): dlopen
8039         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
8040         to allow tst-tls-atexit-nodelete test case to use it.
8042 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
8044         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
8045         to bits/types.h.
8046         (msgqnum_t): New typedef.
8047         (msglen_t): Likewise.
8048         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
8049         and msg_qbytes type to msglen_t.
8051 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
8053         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
8054         pad0 to __glibc_reserved0.
8055         (struct stat64): Likewise.
8057 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
8059         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
8060         Change sa_flags from a long to an int and add __glibc_reserved0 before
8061         it for padding.
8063 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
8065         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
8066         anonymous by deleting "siginfo" name.
8068 2015-07-21  Roland McGrath  <roland@hack.frob.com>
8070         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
8071         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
8072         rather than __nacl_irt_filename.
8073         * sysdeps/nacl/xstat.c (__xstat): Likewise.
8075         * NEWS: New item for arm-nacl port.
8076         * sysdeps/arm/nacl/libc.abilist: New file.
8077         * sysdeps/nacl/ld.abilist: New file.
8078         * sysdeps/nacl/libBrokenLocale.abilist: New file.
8079         * sysdeps/nacl/libanl.abilist: New file.
8080         * sysdeps/nacl/libcrypt.abilist: New file.
8081         * sysdeps/nacl/libdl.abilist: New file.
8082         * sysdeps/nacl/libm.abilist: New file.
8083         * sysdeps/nacl/libpthread.abilist: New file.
8084         * sysdeps/nacl/libresolv.abilist: New file.
8085         * sysdeps/nacl/librt.abilist: New file.
8087 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
8089         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
8090         __startcontext to initialize the new context.
8091         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
8092         up CFI directive to forbid further backtracing.
8094 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
8096         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
8097         reference.
8098         * charmaps/ANSI_X3.4-1968: Likewise.
8099         * charmaps/BS_4730: Likewise.
8100         * charmaps/BS_VIEWDATA: Likewise.
8101         * charmaps/CP1250: Likewise.
8102         * charmaps/CP1251: Likewise.
8103         * charmaps/CP1252: Likewise.
8104         * charmaps/CP1253: Likewise.
8105         * charmaps/CP1254: Likewise.
8106         * charmaps/CP1255: Likewise.
8107         * charmaps/CP1256: Likewise.
8108         * charmaps/CSN_369103: Likewise.
8109         * charmaps/EBCDIC-DK-NO: Likewise.
8110         * charmaps/GB_1988-80: Likewise.
8111         * charmaps/GREEK-CCITT: Likewise.
8112         * charmaps/GREEK7: Likewise.
8113         * charmaps/INIS-8: Likewise.
8114         * charmaps/ISIRI-3342: Likewise.
8115         * charmaps/ISO_2033-1983: Likewise.
8116         * charmaps/ISO_5427-EXT: Likewise.
8117         * locales/POSIX: Likewise.
8118         * locales/ar_SA: Likewise.
8119         * locales/be_BY: Likewise.
8120         * locales/be_BY@latin: Likewise.
8121         * locales/ca_ES: Likewise.
8122         * locales/cs_CZ: Likewise.
8123         * locales/da_DK: Likewise.
8124         * locales/de_BE: Likewise.
8125         * locales/de_CH: Likewise.
8126         * locales/de_LU: Likewise.
8127         * locales/en_AU: Likewise.
8128         * locales/en_BW: Likewise.
8129         * locales/en_CA: Likewise.
8130         * locales/en_DK: Likewise.
8131         * locales/en_GB: Likewise.
8132         * locales/en_IE: Likewise.
8133         * locales/en_NZ: Likewise.
8134         * locales/en_ZA: Likewise.
8135         * locales/en_ZW: Likewise.
8136         * locales/es_AR: Likewise.
8137         * locales/es_BO: Likewise.
8138         * locales/es_CL: Likewise.
8139         * locales/es_CO: Likewise.
8140         * locales/es_DO: Likewise.
8141         * locales/es_EC: Likewise.
8142         * locales/es_ES: Likewise.
8143         * locales/es_HN: Likewise.
8144         * locales/es_MX: Likewise.
8145         * locales/es_PA: Likewise.
8146         * locales/es_PE: Likewise.
8147         * locales/es_PY: Likewise.
8148         * locales/es_SV: Likewise.
8149         * locales/es_US: Likewise.
8150         * locales/es_UY: Likewise.
8151         * locales/es_VE: Likewise.
8152         * locales/et_EE: Likewise.
8153         * locales/fa_IR: Likewise.
8154         * locales/fo_FO: Likewise.
8155         * locales/fr_CA: Likewise.
8156         * locales/fr_CH: Likewise.
8157         * locales/gv_GB: Likewise.
8158         * locales/he_IL: Likewise.
8159         * locales/hr_HR: Likewise.
8160         * locales/id_ID: Likewise.
8161         * locales/is_IS: Likewise.
8162         * locales/it_CH: Likewise.
8163         * locales/iw_IL: Likewise.
8164         * locales/kl_GL: Likewise.
8165         * locales/ko_KR: Likewise.
8166         * locales/kw_GB: Likewise.
8167         * locales/lg_UG: Likewise.
8168         * locales/lt_LT: Likewise.
8169         * locales/lv_LV: Likewise.
8170         * locales/mi_NZ: Likewise.
8171         * locales/nhn_MX: Likewise.
8172         * locales/nl_BE: Likewise.
8173         * locales/pl_PL: Likewise.
8174         * locales/sk_SK: Likewise.
8175         * locales/sl_SI: Likewise.
8176         * locales/sv_FI: Likewise.
8177         * locales/tl_PH: Likewise.
8178         * locales/tr_TR: Likewise.
8179         * locales/vi_VN: Likewise.
8181 2015-07-21  Khem Raj  <raj.khem@gmail.com>
8183         [BZ #17475]
8184         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
8185         of tu_IN and bh_IN.
8187 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
8189         [BZ #18694]
8190         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
8191         bits/wordsize.h.
8192         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
8194 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8196         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
8197         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
8198         (spawn_thread): New function.
8199         (load): Rename to reg_dtor_and_close.  Move dlopen to...
8200         (do_test): ... here.  Use IS_LOADED to test for its
8201         availability.
8203 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
8205         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8207 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
8209         [BZ #18696]
8210         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
8211         si_addr_bnd.
8212         (si_lower): New.
8213         (si_upper): Likewise.
8215 2015-07-16  David S. Miller  <davem@davemloft.net>
8217         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
8219 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8221         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
8222         buffer.
8223         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
8224         fail output information.
8226 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8228         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
8229         and strstr-ppc64..
8230         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
8231         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
8232         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
8233         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
8234         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
8236 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
8238         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
8239         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
8240         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
8241         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
8243 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
8245         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
8246         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
8247         rtld_hidden_proto.
8248         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
8250 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8252         * tst-nodelete-opened.c (do_test): Add comment to clarify how
8253         the test can fail.
8255         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
8257         [BZ #18676]
8258         * elf/tst-nodelete-opened.c: New test case.
8259         * elf/tst-nodelete-opened-lib.c: New test case module.
8260         * elf/Makefile (tests, modules-names): Use them.
8261         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
8262         early.
8264 2015-07-15  David S. Miller  <davem@davemloft.net>
8266         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
8267         futex-intenal.h
8268         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
8269         * sysdeps/sparc/sparc64/Makefile: Likewise.
8270         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
8271         Remove space from macro define.
8272         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
8274 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
8276         [BZ #17475]
8277         * locale/iso-639.def: Update Bhili and Tulu language codes as
8278         per iso639-3.
8280 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
8282         * elf/tst-leaks1.c (main): Converted to ...
8283         (do_test): ... this.
8284         (TEST_FUNCTION): New macro.
8285         Include test-skeleton.c.
8286         * localedata/tst-langinfo.c (main): Converted to ...
8287         (do_test): ... this.
8288         (TEST_FUNCTION): New macro.
8289         Include test-skeleton.c.
8290         * math/test-fpucw.c (main): Converted to ...
8291         (do_test): ... this.
8292         (TEST_FUNCTION): New macro.
8293         Include test-skeleton.c.
8294         * math/test-tgmath.c (main): Converted to ...
8295         (do_test): ... this.
8296         (TEST_FUNCTION): New macro.
8297         Include test-skeleton.c.
8298         * math/test-tgmath2.c (main): Converted to ...
8299         (do_test): ... this.
8300         (TEST_FUNCTION): New macro.
8301         Include test-skeleton.c.
8302         * setjmp/tst-setjmp.c (main): Converted to ...
8303         (do_test): ... this.
8304         (TEST_FUNCTION): New macro.
8305         Include test-skeleton.c.
8306         * stdio-common/tst-sscanf.c (main): Converted to ...
8307         (do_test): ... this.
8308         (TEST_FUNCTION): New macro.
8309         Include test-skeleton.c.
8310         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
8311         (do_test): ... this.
8312         (TEST_FUNCTION): New macro.
8313         Include test-skeleton.c.
8315         * elf/tst-audit9.c (main): Converted to ...
8316         (do_test): ... this.
8317         (TEST_FUNCTION): New macro.
8318         Include test-skeleton.c.
8320 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
8322         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
8324 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
8326         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
8327         New variable.
8329 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
8331         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8333 2015-07-14  Roland McGrath  <roland@hack.frob.com>
8335         * sysdeps/generic/dl-fileid.h: New file.
8336         * sysdeps/posix/dl-fileid.h: New file.
8337         * sysdeps/nacl/dl-fileid.h: New file.
8338         * include/link.h: Include <dl-fileid.h>.
8339         (struct link_map): Replace l_dev and l_ino with l_file_id.
8340         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
8341         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
8342         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
8344 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8346         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
8348 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8350         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
8351         Add iff $CXX is set.
8352         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
8353         Likewise.
8354         (tst-nodelete-zmodiff): Likewise.
8355         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
8357 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8359         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
8361 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
8363         * sysdeps/aarch64/fpu/math_private.h
8364         (define math_opt_barrier): Add AArch64 version.
8365         (math_force_eval): Likewise.
8367 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
8369         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
8371 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
8373         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
8374         %ld with %jd and cast to intmax_t.
8375         (do_test_length_zero): Likewise.
8377 2015-07-10  Roland McGrath  <roland@hack.frob.com>
8379         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
8381 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
8383         * sysdeps/tile/libm-test-ulps: Regenerated.
8385         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
8386         Comment out the whole function, not just its body.
8388 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8390         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
8391         locks.
8393         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
8395 2015-07-10  Torvald Riegel  <triegel@redhat.com>
8397         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
8398         (sem_assume_only_signals_cause_futex_EINTR): Remove.
8400 2015-07-10  Torvald Riegel  <triegel@redhat.com>
8402         * sysdeps/nptl/futex-internal.h: New file.
8403         * sysdeps/nacl/futex-internal.h: New file.
8404         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
8405         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
8406         error checking.
8407         (setxid_unmark_thread): Likewise.
8408         (__nptl_setxid): Likewise.
8409         (__wait_lookup_done): Likewise.
8410         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
8411         * nptl/nptl-init.c (sighandler_setxid): Likewise.
8412         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
8413         * nptl/pthread_once.c (clear_once_control): Likewise.
8414         (__pthread_once_slow): Likewise.
8415         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
8416         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
8417         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
8418         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
8419         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
8420         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
8421         Likewise.
8422         (__pthread_rwlock_rdlock): Likewise.
8423         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8424         Likewise.
8425         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8426         Likewise.
8427         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
8428         Likewise.
8429         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
8430         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
8431         Likewise.
8432         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
8433         __ASSUME_PRIVATE_FUTEX check.
8434         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
8435         Check that shared futexes are supported.
8436         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
8437         wrappers with error checking.
8438         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
8439         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
8440         * nptl/pthread_barrierattr_setpshared.c
8441         (pthread_barrierattr_setpshared): Check that shared futexes are
8442         supported.
8443         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
8444         Likewise.
8445         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
8446         Likewise.
8447         * nptl/sem_init.c (futex_private_if_supported): Remove.
8448         (__new_sem_init): Adapt and check that shared futexes are supported.
8449         * nptl/sem_open.c (sem_open): Likewise.
8450         * nptl/sem_post.c (futex_wake): Remove.
8451         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
8452         (do_futex_wait): Use futex wrappers with error checking.
8453         * nptl/sem_wait.c: Include lowlevellock.h.
8454         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
8455         Use futex_supports_pshared.
8456         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
8457         Use futex wrappers with error checking.
8458         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
8459         Likewise.
8460         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
8461         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
8462         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
8463         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
8464         (futex_wake): Likewise.
8465         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
8466         (do_futex_wait): Use futex wrappers with error checking.
8467         (__new_sem_wait_slow): Update EINTR handling.
8468         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
8470 2015-07-09  Martin Sebor  <msebor@redhat.com>
8472         [BZ #18435]
8473         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
8474         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
8475         * nptl/Makefile (test-xfail-tst-once5): Define.
8477 2015-07-09  Roland McGrath  <roland@hack.frob.com>
8479         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
8480         * elf/dl-minimal.c: For readability, reorder some definitions and
8481         introduce more page breaks.  Include <stdio.h>.
8482         (__libc_fatal): New function.
8484         * include/unistd.h: Add rtld_hidden_proto for _exit.
8485         * posix/_exit.c: Add rtld_hidden_def.
8486         * sysdeps/mach/hurd/_exit.c: Likewise.
8487         * sysdeps/nacl/_exit.c: Likewise.
8488         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
8489         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
8491 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
8493         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
8494         bndmov encoding with zero displacement.
8496 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
8497             H.J. Lu  <hongjiu.lu@intel.com>
8499         [BZ #18134]
8500         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
8501         * sysdeps/i386/configure: Regenerated.
8502         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
8503         (_dl_runtime_profile): Save and restore Intel MPX return bound
8504         registers when calling _dl_call_pltexit.  Add
8505         PRESERVE_BND_REGS_PREFIX before return.
8506         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
8507         (LRV_BND1_OFFSET): Likewise.
8508         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
8509         lrv_bnd1.
8510         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
8511         typo in bndmov encoding.
8512         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
8513         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
8514         branch instructions to preserve bounds.
8516 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
8519         [GLIBC_2.22]: Add fmemopen.
8521 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8523         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
8524         returns an error, also try to use host port from __mach_host_self for
8525         the __vm_wire call.
8526         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
8528 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8530         [BZ #18400]
8531         [BZ #18648]
8532         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
8533         Fix pr_uid and pr_gid members.
8534         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
8535         definition to elf_greg_t.
8537 2015-07-08  Roland McGrath  <roland@hack.frob.com>
8539         [BZ #18383]
8540         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
8541         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
8542         * sysdeps/arm/configure: Regenerated.
8543         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
8544         (test-xfail-tst-tlsalign-static): Variable removed.
8546         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
8547         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
8548         rather than explicit 'ln -s'.
8550         * resolv/rpc/netdb.h: New file.
8551         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
8553 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8555         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
8556         length buffers.
8557         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
8558         test-skeleton.c.
8560         [BZ #6544]
8561         [BZ #11216]
8562         [BZ #12836]
8563         [BZ #13151]
8564         [BZ #13152]
8565         [BZ #14292]
8566         * include/stdio.h (fmemopen): Remove hidden prototype.
8567         (__fmemopen): Add new hidden prototype.
8568         * libio/Makefile: Add oldfmemopen object.
8569         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
8570         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
8571         compliance.
8572         * libio/oldfmemopen.c: New file: old fmemopen implementation for
8573         symbol compatibility.
8574         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
8575         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
8576         fmemopen.
8577         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
8578         on append and read mode.
8579         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
8580         fmemopen.
8581         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
8582         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
8583         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
8584         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
8585         Likewise.
8586         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
8587         [GLIBC_2.22]: Likewise.
8588         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
8589         Likewise.
8590         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
8591         Likewise.
8592         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
8593         [GLIBC_2.22]: Likewise.
8594         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
8595         [GLIBC_2.22]: Likewise.
8596         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
8597         [GLIBC_2.22]: Likewise.
8598         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
8599         [GLIBC_2.22]: Likewise.
8600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8601         [GLIBC_2.22]: Likewise.
8602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
8603         [GLIBC_2.22]: Likewise.
8604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
8605         [GLIBC_2.22]: Likewise.
8606         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
8607         Likewise.
8608         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
8609         Likewise.
8610         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
8611         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
8612         [GLIBC_2.22]: Likewise.
8613         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
8614         [GLIBC_2.22]: Likewise.
8615         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
8616         [GLIBC_2.22]: Likewise.
8617         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
8618         [GLIBC_2.22]: Likewise.
8619         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
8620         Likewise.
8621         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
8622         Likewise.
8623         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
8624         Likewise.
8625         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
8626         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
8628 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
8630         [BZ #18643]
8631         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
8632         IPV6_PATHMTU, and IPV6_DONTFRAG.
8634 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
8636         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
8637         and _IO_UNBUFFERED.
8638         * libio/oldfileops.c: Likewise.
8639         * libio/wfileops.c: Likewise.
8641 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
8643         * nscd/selinux.c: Delete selinux/flask.h include.
8645 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
8647         [BZ #18641]
8648         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
8649         (putpwent): Likewise.
8650         (getpwnam): Likewise.
8651         (getpwent_r): Likewise.
8652         (getpwuid_r): Likewise.
8653         (getpwnam_r): Likewise.
8654         (fgetpwent_r): Likewise.
8656 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
8658         [BZ #18557]
8659         * inet/rcmd.c (__validuser2_sa): Check user first to
8660         short-circuit host check.
8662 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
8663             Mikhail Ilin  <m.ilin@samsung.com>
8665         [BZ #17833]
8666         * elf/Makefile (tests): Add tst-nodelete.
8667         (modules-names): Add tst-nodelete-uniquemod.
8668         (tst-nodelete-uniquemod.so-no-z-defs): New.
8669         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
8670         (tst-nodelete-zmod.so-no-z-defs): Likewise.
8671         ($(objpfx)tst-nodelete): Likewise.
8672         ($(objpfx)tst-nodelete.out): Likewise.
8673         (LDFLAGS-tst-nodelete): Likewise.
8674         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
8675         * elf/dl-close.c (_dl_close_worker): Add a parameter to
8676         implement forced object deletion.
8677         (_dl_close): Pass false to _dl_close_worker.
8678         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
8679         * elf/tst-nodelete.cc: New file.
8680         * elf/tst-nodeletelib.cc: Likewise.
8681         * elf/tst-znodeletelib.cc: Likewise.
8682         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
8684 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8686         [BZ #18508]
8687         * stdlib/Makefile ($(objpfx)tst-makecontext3):
8688         Depend on $(libdl).
8689         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
8690         is not called infinitely times.
8691         (backtrace_helper): New function.
8692         (trace_arg): New struct.
8693         (st1): Enlarge stack size.
8694         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
8695         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
8696         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
8697         Likewise.
8699 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8701         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8703 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8705         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
8706         Include sys/types.h instead of bits/types.h.
8707         Remove inclusion of bits/wordsize.h.
8709 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
8711         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
8712         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
8713         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
8714         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
8715         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
8716         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
8718 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
8720         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
8721         link-defines.sym.
8722         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
8723         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
8724         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
8725         and LR_SIZE.
8726         * sysdeps/i386/link-defines.sym: New file.
8728 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
8730         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
8731         (modules-names): Add tst-auditmod3a tst-auditmod3b.
8732         ($(objpfx)tst-audit3): New rule.
8733         ($(objpfx)tst-audit3.out): Likewise.
8734         * sysdeps/i386/tst-audit3.c: New file.
8735         * sysdeps/i386/tst-audit3.h: Likewise.
8736         * sysdeps/i386/tst-auditmod3a.c: Likewise.
8737         * sysdeps/i386/tst-auditmod3b.c: Likewise.
8739 2015-07-07  Torvald Riegel  <triegel@redhat.com>
8741         [BZ #18633]
8742         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
8743         pointer in C code.
8744         (__strcat_c): Likewise.
8745         (__strcat_g): Likewise.
8747 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
8749         [BZ #18592]
8750         * misc/sbrk.c: Set errno to ENOMEM on overflow.
8752 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
8754         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
8755         New function.  (__ieee754_sqrtf): New function.
8756         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
8757         New function.
8758         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
8759         New function.
8761 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
8763         * sysdeps/ieee754/support.c: Remove unused file.
8765 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8767         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
8768         registers instead of d ones so the layout is kernel abi compatible.
8769         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
8770         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
8771         Likewise.
8773 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8775         * sysdeps/aarch64/libm-test-ulps: Regenerated.
8777 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
8779         [BZ #18619]
8780         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
8781         and return argument in case of subnormal argument.
8783 2015-07-01  Martin Sebor  <msebor@redhat.com>
8785         [BZ #18435]
8786         * nptl/Makefile: Add tst-once5.cc.
8787         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
8788         Remove macro redefinitions.
8789         * nptl/tst-once5.cc: New test.
8791 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
8793         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8795         * sysdeps/arm/libm-test-ulps: Regenerated.
8797         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8798         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8800 2015-06-30  Torvald Riegel  <triegel@redhat.com>
8802         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
8803         lll_lock_wait_private and lll_futex_wake probes.
8805         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
8806         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
8807         Likewise.
8808         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
8809         atomic_spin_nop.
8810         * sysdeps/x86_64/bits/atomic.h: Likewise.
8811         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
8812         to atomic_spin_nop and move ...
8813         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
8814         ... here and ...
8815         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
8816         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
8817         atomic_spin_nop instead of BUSY_WAIT_NOP.
8818         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
8819         Likewise.
8820         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
8821         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
8822         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
8823         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
8824         instead of atomic_delay.
8826 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
8828         [BZ #18613]
8829         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
8830         X_ADJ not X when adjusting exponent.
8831         (__ieee754_gamma_r): Do intermediate computations in
8832         round-to-nearest then adjust overflowing and underflowing results
8833         as needed.
8834         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
8835         of X_ADJ not X when adjusting exponent.
8836         (__ieee754_gammaf_r): Do intermediate computations in
8837         round-to-nearest then adjust overflowing and underflowing results
8838         as needed.
8839         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
8840         log of X_ADJ not X when adjusting exponent.
8841         (__ieee754_gammal_r): Do intermediate computations in
8842         round-to-nearest then adjust overflowing and underflowing results
8843         as needed.  Use 1.0L not 1.0f as numerator of division.
8844         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
8845         log of X_ADJ not X when adjusting exponent.
8846         (__ieee754_gammal_r): Do intermediate computations in
8847         round-to-nearest then adjust overflowing and underflowing results
8848         as needed.  Use 1.0L not 1.0f as numerator of division.
8849         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
8850         of X_ADJ not X when adjusting exponent.
8851         (__ieee754_gammal_r): Do intermediate computations in
8852         round-to-nearest then adjust overflowing and underflowing results
8853         as needed.  Use 1.0L not 1.0f as numerator of division.
8854         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
8855         to auto-libm-test-in.
8856         (tgamma_test): Use ALL_RM_TEST.
8857         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
8858         tests of tgamma with spurious-overflow.
8859         * math/auto-libm-test-out: Regenerated.
8860         * math/gen-libm-have-vector-test.sh: Do not check for START.
8861         * sysdeps/i386/fpu/libm-test-ulps: Update.
8862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8864         [BZ #18612]
8865         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
8866         arguments, just return 0.5 times the argument, with underflow
8867         forced as needed.
8868         * math/auto-libm-test-in: Add more tests of j1.
8869         * math/auto-libm-test-out: Regenerated.
8871         [BZ #16559]
8872         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
8873         (__ieee754_j1): Force underflow exception for small results.
8874         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8875         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
8876         (__ieee754_j1f): Force underflow exception for small results.
8877         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8878         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8879         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8880         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
8881         (__ieee754_j1l): Force underflow exception for small results.
8882         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8883         * math/auto-libm-test-in: Add more tests of j1 and jn.
8884         * math/auto-libm-test-out: Regenerated.
8886         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
8887         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
8888         (PF_MPLS): Likewise.
8889         (AF_IB): Likewise.
8890         (AF_MPLS): Likewise.
8891         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
8892         value and macro.
8893         (MS_RMT_MASK): Include MS_LAZYTIME.
8895 2015-06-26  Mel Gorman  <mgorman@suse.de>
8897         [BZ #18502]
8898         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
8899         already minimal.
8901 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
8903         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
8904         (DT_MIPS_NUM): Update.
8905         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
8906         DT_MIPS_RLD_MAP_REL.
8908 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
8910         [BZ #16559]
8911         [BZ #18602]
8912         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
8913         round-to-nearest internally then recompute results that
8914         underflowed to zero in the original rounding mode.
8915         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8916         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8917         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8918         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
8919         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
8920         * sysdeps/i386/fpu/libm-test-ulps: Update.
8921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8923 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
8925         * NEWS: Fixed description of link with vector math library.
8927 2015-06-25  Andreas Schwab  <schwab@suse.de>
8929         [BZ #18549]
8930         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
8931         * libio/test-fmemopen.c (do_test): Add test for it.
8933 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
8935         [BZ #17841]
8936         * Makeconfig (no-pie-ldflag): New.
8937         (+link): Set to $(+link-pie) if default to PIE.
8938         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
8939         * config.make.in (build-pie-default): New.
8940         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
8941         is default.  AC_SUBST.
8942         * configure: Regenerated.
8943         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
8945 2015-06-24  Roland McGrath  <roland@hack.frob.com>
8947         * nptl/descr.h (struct pthread): Change type of field setxid_futex
8948         to 'unsigned int'.
8950         * resolv/gai_misc.h (struct waitlist): Change type of field
8951         counterp to 'volatile unsigned int *'.
8952         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
8953         FUTEXADDR and OLDVAL.
8954         * resolv/getaddrinfo_a.c (getaddrinfo_a):
8955         Give local variable TOTAL type 'volatile unsigned int'.
8956         (struct async_waitlist): Change type of field counter to 'unsigned int'.
8957         * resolv/gai_suspend.c (gai_suspend):
8958         Give local variable CNTR type 'unsigned int'.
8960         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
8961         counterp to 'volatile unsigned int *'.
8962         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
8963         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
8964         (aio_suspend): Give local variable CNTR type 'unsigned int'.
8965         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
8966         Give local variable TOTAL type 'volatile unsigned int'.
8967         (struct async_waitlist): Change type of field counter to 'unsigned int'.
8969 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
8971         [BZ #18383]
8972         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
8973         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
8974         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
8975         comment for i386/x86-64.
8976         (test-xfail-tst-tlsalign-extern-static): Removed.
8978 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
8980         * math/test-double.h: New file.
8981         * math/test-float.h: Likewise.
8982         * math/test-ldouble.h: Likewise.
8983         * math/test-math-inline.h: Likewise.
8984         * math/test-math-no-inline.h: Likewise.
8985         * math/test-math-scalar.h: Likewise.
8986         * math/test-math-vector.h: Likewise.
8987         * math/test-vec-loop.h: Remove file.  Contents moved into
8988         test-math-vector.h.
8989         * math/libm-test.inc (MATHCONST): Do not document macro.
8990         * math/test-double.c: Include test-double.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_DOUBLE): Likewise.
9000         (TEST_MATHVEC): Likewise.
9001         (__NO_MATH_INLINES): Likewise.
9002         * math/test-float.c: Include test-float.h, test-math-no-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_FLOAT): Likewise.
9012         (TEST_MATHVEC): Likewise.
9013         (__NO_MATH_INLINES): Likewise.
9014         * math/test-idouble.c: Include test-double.h, test-math-inline.h
9015         and test-math-scalar.h.
9016         (FUNC): Remove macro.
9017         (FUNC_TEST): Likewise.
9018         (FLOAT): Likewise.
9019         (MATHCONST): Likewise.
9020         (PRINTF_EXPR): Likewise.
9021         (PRINTF_XEXPR): Likewise.
9022         (PRINTF_NEXPR): Likewise.
9023         (TEST_DOUBLE): Likewise.
9024         (TEST_MATHVEC): Likewise.
9025         (TEST_INLINE): Likewise.
9026         (__NO_MATH_INLINES): Likewise.
9027         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
9028         test-math-scalar.h.
9029         (FUNC): Remove macro.
9030         (FUNC_TEST): Likewise.
9031         (FLOAT): Likewise.
9032         (MATHCONST): Likewise.
9033         (PRINTF_EXPR): Likewise.
9034         (PRINTF_XEXPR): Likewise.
9035         (PRINTF_NEXPR): Likewise.
9036         (TEST_FLOAT): Likewise.
9037         (TEST_MATHVEC): Likewise.
9038         (TEST_INLINE): Likewise.
9039         (__NO_MATH_INLINES): Likewise.
9040         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
9041         and test-math-scalar.h.
9042         (FUNC): Remove macro.
9043         (FUNC_TEST): Likewise.
9044         (FLOAT): Likewise.
9045         (MATHCONST): Likewise.
9046         (PRINTF_EXPR): Likewise.
9047         (PRINTF_XEXPR): Likewise.
9048         (PRINTF_NEXPR): Likewise.
9049         (TEST_LDOUBLE): Likewise.
9050         (TEST_MATHVEC): Likewise.
9051         (TEST_INLINE): Likewise.
9052         (__NO_MATH_INLINES): Likewise.
9053         * math/test-ldouble.c: Include test-ldouble.h,
9054         test-math-no-inline.h and test-math-scalar.h.
9055         (FUNC): Remove macro.
9056         (FUNC_TEST): Likewise.
9057         (FLOAT): Likewise.
9058         (MATHCONST): Likewise.
9059         (PRINTF_EXPR): Likewise.
9060         (PRINTF_XEXPR): Likewise.
9061         (PRINTF_NEXPR): Likewise.
9062         (TEST_LDOUBLE): Likewise.
9063         (TEST_MATHVEC): Likewise.
9064         (__NO_MATH_INLINES): Likewise.
9065         * math/test-double-vlen2.h: Include test-double.h,
9066         test-math-no-inline.h and test-math-vector.h.
9067         (FLOAT): Remove macro.
9068         (FUNC): Likewise.
9069         (MATHCONST): Likewise.
9070         (PRINTF_EXPR): Likewise.
9071         (PRINTF_XEXPR): Likewise.
9072         (PRINTF_NEXPR): Likewise.
9073         (TEST_DOUBLE): Likewise.
9074         (TEST_MATHVEC): Likewise.
9075         (__NO_MATH_INLINES): Likewise.
9076         (CNCT): Likewise.
9077         (CONCAT): Likewise.
9078         (WRAPPER_NAME): Likewise.
9079         (WRAPPER_DECL): Likewise.
9080         (WRAPPER_DECL_ff): Likewise.
9081         (WRAPPER_DECL_fFF): Likewise.
9082         (VECTOR_WRAPPER): Likewise.
9083         (VECTOR_WRAPPER_ff): Likewise.
9084         (VECTOR_WRAPPER_fFF): Likewise.
9085         (VEC_LEN): New macro.
9086         * math/test-double-vlen4.h: Include test-double.h,
9087         test-math-no-inline.h and test-math-vector.h.
9088         (FLOAT): Remove macro.
9089         (FUNC): Likewise.
9090         (MATHCONST): Likewise.
9091         (PRINTF_EXPR): Likewise.
9092         (PRINTF_XEXPR): Likewise.
9093         (PRINTF_NEXPR): Likewise.
9094         (TEST_DOUBLE): Likewise.
9095         (TEST_MATHVEC): Likewise.
9096         (__NO_MATH_INLINES): Likewise.
9097         (CNCT): Likewise.
9098         (CONCAT): Likewise.
9099         (WRAPPER_NAME): Likewise.
9100         (WRAPPER_DECL): Likewise.
9101         (WRAPPER_DECL_ff): Likewise.
9102         (WRAPPER_DECL_fFF): Likewise.
9103         (VECTOR_WRAPPER): Likewise.
9104         (VECTOR_WRAPPER_ff): Likewise.
9105         (VECTOR_WRAPPER_fFF): Likewise.
9106         (VEC_LEN): New macro.
9107         * math/test-double-vlen8.h: Include test-double.h,
9108         test-math-no-inline.h and test-math-vector.h.
9109         (FLOAT): Remove macro.
9110         (FUNC): Likewise.
9111         (MATHCONST): Likewise.
9112         (PRINTF_EXPR): Likewise.
9113         (PRINTF_XEXPR): Likewise.
9114         (PRINTF_NEXPR): Likewise.
9115         (TEST_DOUBLE): Likewise.
9116         (TEST_MATHVEC): Likewise.
9117         (__NO_MATH_INLINES): Likewise.
9118         (CNCT): Likewise.
9119         (CONCAT): Likewise.
9120         (WRAPPER_NAME): Likewise.
9121         (WRAPPER_DECL): Likewise.
9122         (WRAPPER_DECL_ff): Likewise.
9123         (WRAPPER_DECL_fFF): Likewise.
9124         (VECTOR_WRAPPER): Likewise.
9125         (VECTOR_WRAPPER_ff): Likewise.
9126         (VECTOR_WRAPPER_fFF): Likewise.
9127         (VEC_LEN): New macro.
9128         * math/test-float-vlen4.h: Include test-float.h,
9129         test-math-no-inline.h and test-math-vector.h.
9130         (FLOAT): Remove macro.
9131         (FUNC): Likewise.
9132         (MATHCONST): Likewise.
9133         (PRINTF_EXPR): Likewise.
9134         (PRINTF_XEXPR): Likewise.
9135         (PRINTF_NEXPR): Likewise.
9136         (TEST_FLOAT): Likewise.
9137         (TEST_MATHVEC): Likewise.
9138         (__NO_MATH_INLINES): Likewise.
9139         (CNCT): Likewise.
9140         (CONCAT): Likewise.
9141         (WRAPPER_NAME): Likewise.
9142         (WRAPPER_DECL): Likewise.
9143         (WRAPPER_DECL_ff): Likewise.
9144         (WRAPPER_DECL_fFF): Likewise.
9145         (VECTOR_WRAPPER): Likewise.
9146         (VECTOR_WRAPPER_ff): Likewise.
9147         (VECTOR_WRAPPER_fFF): Likewise.
9148         (VEC_LEN): New macro.
9149         * math/test-float-vlen8.h: Include test-float.h,
9150         test-math-no-inline.h and test-math-vector.h.
9151         (FLOAT): Remove macro.
9152         (FUNC): Likewise.
9153         (MATHCONST): Likewise.
9154         (PRINTF_EXPR): Likewise.
9155         (PRINTF_XEXPR): Likewise.
9156         (PRINTF_NEXPR): Likewise.
9157         (TEST_FLOAT): Likewise.
9158         (TEST_MATHVEC): Likewise.
9159         (__NO_MATH_INLINES): Likewise.
9160         (CNCT): Likewise.
9161         (CONCAT): Likewise.
9162         (WRAPPER_NAME): Likewise.
9163         (WRAPPER_DECL): Likewise.
9164         (WRAPPER_DECL_ff): Likewise.
9165         (WRAPPER_DECL_fFF): Likewise.
9166         (VECTOR_WRAPPER): Likewise.
9167         (VECTOR_WRAPPER_ff): Likewise.
9168         (VECTOR_WRAPPER_fFF): Likewise.
9169         (VEC_LEN): New macro.
9170         * math/test-float-vlen16.h: Include test-float.h,
9171         test-math-no-inline.h and test-math-vector.h.
9172         (FLOAT): Remove macro.
9173         (FUNC): Likewise.
9174         (MATHCONST): Likewise.
9175         (PRINTF_EXPR): Likewise.
9176         (PRINTF_XEXPR): Likewise.
9177         (PRINTF_NEXPR): Likewise.
9178         (TEST_FLOAT): Likewise.
9179         (TEST_MATHVEC): Likewise.
9180         (__NO_MATH_INLINES): Likewise.
9181         (CNCT): Likewise.
9182         (CONCAT): Likewise.
9183         (WRAPPER_NAME): Likewise.
9184         (WRAPPER_DECL): Likewise.
9185         (WRAPPER_DECL_ff): Likewise.
9186         (WRAPPER_DECL_fFF): Likewise.
9187         (VECTOR_WRAPPER): Likewise.
9188         (VECTOR_WRAPPER_ff): Likewise.
9189         (VECTOR_WRAPPER_fFF): Likewise.
9190         (VEC_LEN): New macro.
9191         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
9192         test-vec-loop.h.
9193         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9194         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9195         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9196         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9197         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9198         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9199         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
9201 2015-06-24  Roland McGrath  <roland@hack.frob.com>
9203         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
9204         (__getlogin_r): ... this.
9206 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
9208         [BZ #18594]
9209         * math/s_ccosh.c (__ccosh): Compare with least normal value
9210         instead of comparing class with FP_SUBNORMAL.
9211         * math/s_ccoshf.c (__ccoshf): Likewise.
9212         * math/s_ccoshl.c (__ccoshl): Likewise.
9213         * math/s_cexp.c (__cexp): Likewise.
9214         * math/s_cexpf.c (__cexpf): Likewise.
9215         * math/s_cexpl.c (__cexpl): Likewise.
9216         * math/s_csin.c (__csin): Likewise.
9217         * math/s_csinf.c (__csinf): Likewise.
9218         * math/s_csinh.c (__csinh): Likewise.
9219         * math/s_csinhf.c (__csinhf): Likewise.
9220         * math/s_csinhl.c (__csinhl): Likewise.
9221         * math/s_csinl.c (__csinl): Likewise.
9222         * math/s_ctan.c (__ctan): Likewise.
9223         * math/s_ctanf.c (__ctanf): Likewise.
9224         * math/s_ctanh.c (__ctanh): Likewise.
9225         * math/s_ctanhf.c (__ctanhf): Likewise.
9226         * math/s_ctanhl.c (__ctanhl): Likewise.
9227         * math/s_ctanl.c (__ctanl): Likewise.
9228         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
9229         csin, csinh, ctan and ctanh.
9230         * math/auto-libm-test-out: Regenerated.
9231         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
9232         * sysdeps/i386/fpu/libm-test-ulps: Update.
9233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9235 2015-06-24  Roland McGrath  <roland@hack.frob.com>
9237         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
9238         return value is wrong, print the expected value too.
9240 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
9242         [BZ #18585]
9243         * elf/readlib.c (is_gdb_python_file): New.
9244         (process_file): Don't issue errors on filenames with -gdb.py
9245         suffix.
9247 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
9249         * math/auto-libm-test-in: Add more tests of csin and csinh.
9250         * math/auto-libm-test-out: Regenerated.
9251         * math/libm-test.inc (csin_test_data): Remove tests moved to
9252         auto-libm-test-in.
9253         (csinh_test_data): Likewise.
9255         [BZ #18593]
9256         * math/s_csin.c (__csin): Negate before rather than after possibly
9257         overflowing multiplication.
9258         * math/s_csinf.c (__csinf): Likewise.
9259         * math/s_csinh.c (__csinh): Likewise.
9260         * math/s_csinhf.c (__csinhf): Likewise.
9261         * math/s_csinhl.c (__csinhl): Likewise.
9262         * math/s_csinl.c (__csinl): Likewise.
9263         * math/auto-libm-test-in: Add some tests of csin and csinh.
9264         * math/auto-libm-test-out: Regenerated.
9265         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
9266         (csinh_test_data): Likewise.
9267         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9269         [BZ #18586]
9270         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
9271         underflow exception for small results.
9273 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
9275         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
9276         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
9277         variable and included header.
9278         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
9279         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
9280         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
9281         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
9282         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
9283         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
9284         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
9285         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
9286         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
9287         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
9288         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
9289         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
9290         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
9291         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
9292         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
9293         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
9295 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
9297         [BZ #16526]
9298         [BZ #16538]
9299         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
9300         (__sin): Force underflow exception for arguments with small
9301         absolute value.
9302         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
9303         (__kernel_sinf): Force underflow exception for arguments with
9304         small absolute value.
9305         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
9306         (__kernel_sincosl): Force underflow exception for arguments with
9307         small absolute value.
9308         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
9309         (__kernel_sinl): Force underflow exception for arguments with
9310         small absolute value.
9311         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
9312         (__kernel_sincosl): Force underflow exception for arguments with
9313         small absolute value.
9314         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
9315         (__kernel_sinl): Force underflow exception for arguments with
9316         small absolute value.
9317         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
9318         (__kernel_sinl): Force underflow exception for arguments with
9319         small absolute value.
9320         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
9321         (__kernel_sinf): Force underflow exception for arguments with
9322         small absolute value.
9323         * math/auto-libm-test-in: Add more tests of sin and sincos.
9324         * math/auto-libm-test-out: Regenerated.
9326         [BZ #18245]
9327         [BZ #18583]
9328         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
9329         (__kernel_standard_l): Use feholdexcept and fesetenv around
9330         conversion to double instead of special-casing overflow and
9331         underflow.
9332         * math/libm-test.inc (fmod_test_data): Add more tests.
9333         (remainder_test_data): Likewise.
9334         (sqrt_test_data): Likewise.
9336 2015-06-23  Torvald Riegel  <triegel@redhat.com>
9338         [BZ #17403]
9339         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
9340         atomic_read_barrier, atomic_write_barrier): Define.
9341         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
9342         atomic_read_barrier, atomic_write_barrier): Define.
9344 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
9346         * math/Makefile [$(PERL) != no]
9347         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
9348         dependency on libm-test.stmp below the inclusion of Rules.
9350 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
9352         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
9353         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
9354         and included header.
9355         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
9356         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
9357         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
9358         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
9359         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
9360         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
9361         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
9362         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
9363         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
9364         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
9365         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
9366         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
9367         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
9368         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
9369         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
9370         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
9371         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
9372         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
9373         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
9375 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
9377         [BZ #18371]
9378         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
9379         intermediate but not final result might underflow.
9380         * math/s_csqrtf.c (__csqrtf): Likewise.
9381         * math/s_csqrtl.c (__csqrtl): Likewise.
9382         * math/auto-libm-test-in: Add more tests of csqrt.
9383         * math/auto-libm-test-out: Regenerated.
9384         * sysdeps/i386/fpu/libm-test-ulps: Update.
9386         [BZ #18219]
9387         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
9388         threshold on absolute value of exponent for which scaling is used.
9389         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
9390         * math/auto-libm-test-in: Add more tests of exp2.
9391         * math/auto-libm-test-out: Regenerated.
9393 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
9395         [BZ #17977]
9396         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
9397         when initializing interface list, based on the bug analysis
9398         and the patch proposed by Eric Newton.
9399         * resolv/tst-res_hconf_reorder.c: New test.
9400         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
9401         tst-res_hconf_reorder.
9402         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
9403         and $(shared-thread-library).
9404         (tst-res_hconf_reorder-ENV): New variable.
9406         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
9407         in comment.
9409 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
9411         [BZ #16353]
9412         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
9413         (__expm1): Force underflow exception for arguments with small
9414         absolute value.
9415         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
9416         (__expm1f): Force underflow exception for arguments with small
9417         absolute value.
9418         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
9419         (__expm1): Force underflow exception for arguments with small
9420         absolute value.
9421         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
9422         (__expm1f): Force underflow exception for arguments with small
9423         absolute value.
9424         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
9425         Check for small arguments before calling __expm1.
9426         * math/auto-libm-test-in: Do not mark underflow exceptions as
9427         possibly missing for bug 16353.
9428         * math/auto-libm-test-out: Regenerated.
9430 2015-06-22  Andreas Schwab  <schwab@suse.de>
9432         [BZ #18513]
9433         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
9434         PTR queries.
9436 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
9438         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
9440         * string/strcoll_l.c: Remove unused struct element idxnow.
9442 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
9444         [BZ #18569]
9445         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
9446         underflow and return argument in case of subnormal argument.
9447         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9448         Likewise.
9449         * math/auto-libm-test-in: Add more tests of expm1.
9450         * math/auto-libm-test-out: Regenerated.
9452         [BZ #16361]
9453         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
9454         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
9455         tiny results.
9456         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
9457         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
9458         tiny results.
9459         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
9460         mark underflow exceptions as possibly missing for bug 16361.
9461         * math/auto-libm-test-out: Regenerated.
9463 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
9465         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
9466         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
9467         Remove variable.
9468         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9469         (test-xfail-XOPEN2K8/utmpx.h/conform).
9471         * conform/conformtest.pl ($xerrors): New variable.
9472         (note_error): New function.
9473         (compiletest): New argument $xfail.  Use not_error.
9474         (runtest): Likewise.
9475         (top level): Handle xfail- lines.  Update calls to compiletest and
9476         runtest.  Handle xfail- and optional- in headers listed with
9477         allow-header.
9478         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
9479         (O_EXEC): Likewise.
9480         (O_SEARCH): Likewise.
9481         * conform/data/stropts.h-data (ioctl): Likewise.
9482         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
9483         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
9484         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
9485         (msghdr.msg_controllen): Likewise.
9486         (cmsghdr.cmsg_len): Likewise.
9487         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
9488         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
9489         variable.
9490         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9491         (test-xfail-XPG4/stropts.h/conform): Likewise.
9492         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9493         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9494         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9495         (test-xfail-UNIX98/stropts.h/conform): Likewise.
9496         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9497         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9498         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9499         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9500         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9501         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9502         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9503         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9504         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9505         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9506         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9507         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9508         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9509         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9510         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9512 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9514         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
9515         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
9516         definitions for proper unfolding of __MATHDECL_VEC.
9518 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
9520         * benchtests/bench-strcoll.c:
9521         Include string.h.
9522         (main): Remove unused variable res.
9524 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
9526         * timezone/Makefile (%/UTC %/Universal):
9527         Generate test-result files for UTC and Universal.
9529 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
9531         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9533 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
9535         [BZ #16350]
9536         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
9537         for arguments with small absolute value.
9538         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
9539         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
9540         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
9541         (__asinh): Force underflow exception for arguments with small
9542         absolute value.
9543         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
9544         (__asinhf): Force underflow exception for arguments with small
9545         absolute value.
9546         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
9547         (__asinhl): Force underflow exception for arguments with small
9548         absolute value.
9549         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
9550         (__asinhl): Force underflow exception for arguments with small
9551         absolute value.
9552         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
9553         (__asinhl): Force underflow exception for arguments with small
9554         absolute value.
9555         * math/auto-libm-test-in: Do not mark underflow exceptions as
9556         possibly missing for bug 16350.
9557         * math/auto-libm-test-out: Regenerated.
9559         * include/bits/ipc.h: Remove file.
9560         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
9561         variable.
9562         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9563         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9564         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9565         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9566         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9567         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9568         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9569         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9570         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9572         * math/auto-libm-test-in: Remove spurious underflow allowance for
9573         tests of cexp.
9574         * math/auto-libm-test-out: Regenerated.
9576         [BZ #18558]
9577         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
9578         unconditional definition.
9579         (MCAST_BLOCK_SOURCE): Likewise.
9580         (MCAST_UNBLOCK_SOURCE): Likewise.
9581         (MCAST_LEAVE_GROUP): Likewise.
9582         (MCAST_JOIN_SOURCE_GROUP): Likewise.
9583         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9584         (MCAST_MSFILTER): Likewise.
9585         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
9586         Remove variable.
9587         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9588         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9589         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9590         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9591         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9593 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
9595         * NEWS: Mention addition of x86_64 vector sincosf.
9596         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
9597         * math/test-float-vlen4.h: Likewise.
9598         * math/test-float-vlen8.h: Likewise.
9599         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9600         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
9601         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9602         * sysdeps/x86_64/fpu/Versions: New versions added.
9603         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9604         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
9605         Added build of SSE, AVX2 and AVX512 IFUNC versions.
9606         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
9607         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
9608         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
9609         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
9610         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
9611         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
9612         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
9613         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
9614         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
9615         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
9616         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
9617         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
9618         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
9619         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
9620         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
9621         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9622         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
9623         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9624         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
9625         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9626         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9628         * NEWS: Mention addition of x86_64 vector sincos.
9629         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
9630         * math/math.h (__MATHDECL_VEC): New macro.
9631         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
9632         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
9633         declaration under condition.
9634         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
9635         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
9636         TEST_VEC_LOOP change.
9637         * math/test-double-vlen4.h: Likewise.
9638         * math/test-double-vlen8.h: Likewise.
9639         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
9640         * math/test-float-vlen4.h: Likewise.
9641         * math/test-float-vlen8.h: Likewise.
9642         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9643         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
9644         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9645         * sysdeps/x86_64/fpu/Versions: New versions added.
9646         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9647         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
9648         Added build of SSE, AVX2 and AVX512 IFUNC versions.
9649         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
9650         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
9651         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
9652         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
9653         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
9654         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
9655         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
9656         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
9657         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
9658         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
9659         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
9660         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
9661         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
9662         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
9663         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
9664         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9665         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
9666         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9667         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
9668         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9669         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
9671         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9672         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9673         redirections for powf.
9674         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9675         * sysdeps/x86_64/fpu/Versions: New versions added.
9676         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9677         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
9678         Added build of SSE, AVX2 and AVX512 IFUNC versions.
9679         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
9680         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
9681         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
9682         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
9683         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
9684         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
9685         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
9686         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
9687         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
9688         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
9689         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
9690         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
9691         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
9692         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
9693         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
9694         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9695         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
9696         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9697         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
9698         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9699         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9700         * math/test-float-vlen16.h: Fixed 2 argument macro.
9701         * math/test-float-vlen4.h: Likewise.
9702         * math/test-float-vlen8.h: Likewise.
9703         * NEWS: Mention addition of x86_64 vector powf.
9705 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
9707         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9708         and redefine.
9709         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9710         and redefine.
9711         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
9712         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9713         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9715         [BZ #18553]
9716         * resource/getpriority.c (getpriority): Rename to __getpriority
9717         and define as weak alias of __getpriority.
9718         * resource/setpriority.c (setpriority): Rename to __setpriority
9719         and define as weak alias of __setpriority.
9720         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
9721         __getpriority and define as weak alias of __getpriority.
9722         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
9723         __setpriority and define as weak alias of __setpriority.
9724         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
9725         strong name.
9726         (setpriority): Use __setpriority as strong name.
9727         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
9728         __getpriority and define as weak alias of __getpriority.
9729         * include/sys/resource.h (__getpriority): Declare.  Use
9730         libc_hidden_proto.
9731         (__setpriority): Likewise.
9732         (getpriority): Don't use libc_hidden_proto.
9733         (setpriority): Likewise.
9734         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
9735         getpriority.  Call __setpriority instead of setpriority.
9736         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
9737         Remove variable.
9739         [BZ #18547]
9740         * misc/getttyent.c (getttynam): Rename to __getttynam and define
9741         as weak alias of __getttynam.  Use prototype function definition.
9742         Call __setttyent, __getttyent and __endttyent instead of
9743         setttyent, getttyent and endttyent.
9744         (getttyent): Rename to __getttyent and define as weak alias of
9745         __getttyent.  Call __setttyent instead of setttyent.  Call
9746         __fgets_unlocked instead of fgets_unlocked.
9747         (setttyent): Rename to __setttyent and define as weak alias of
9748         __setttyent.
9749         (endttyent): Rename to __endttyent and define as weak alias of
9750         __endttyent.
9751         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
9752         (__setttyent): Likewise.
9753         (__endttyent): Likewise.
9754         (getttyent): Don't use libc_hidden_proto.
9755         (setttyent): Likewise.
9756         (endttyent): Likewise.
9757         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
9758         __endttyent instead of setttyent, getttyent and endttyent.
9759         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
9760         Remove variable.
9762         [BZ #18546]
9763         * socket/recv.c (__recv): Use libc_hidden_def.
9764         * socket/socket.c (__socket): Likewise.
9765         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
9766         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
9767         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
9768         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
9769         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
9770         libc_hidden_def.
9771         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
9772         libc_hidden_weak.
9773         * include/sys/socket.h (__socket): Do not use attribute_hidden.
9774         Use libc_hidden_proto.
9775         (__recv): Likewise.
9776         * socket/Versions (libc): Export __recv and __socket at version
9777         GLIBC_PRIVATE.
9778         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
9779         instead of recv.
9780         (init_mq_netlink): Call __socket instead of socket.
9781         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
9782         Remove variable.
9784         [BZ #18545]
9785         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
9786         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
9787         hidden_weak.
9788         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
9789         define as alias of __mq_timedsend.  Use hidden_weak.
9790         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
9791         __mq_timedsend as strong name.
9792         (mq_timedreceive): Use __mq_timedreceive as strong name.
9793         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
9794         (__mq_timedreceive): Likewise.
9795         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
9796         __mq_timedreceive instead of mq_timedreceive.
9797         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
9798         instead of mq_timedsend.
9799         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
9800         Remove variable.
9802         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
9803         hidden_def and hidden_weak instead of libc_hidden_def and
9804         libc_hidden_weak.
9805         (top level): Refer to hidden_def in comment.
9806         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
9807         macro.  Use it instead of libc_hidden_def.
9808         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
9809         specify __GI_* name explicitly.
9810         (mq_timedreceive): Likewise.
9811         (mq_setattr): Likewise.
9813         [BZ #18544]
9814         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
9815         __pthread_barrier_init and define as weak alias of
9816         __pthread_barrier_init.
9817         * sysdeps/sparc/nptl/pthread_barrier_init.c
9818         (pthread_barrier_init): Likewise.
9819         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
9820         __pthread_barrier_wait and define as weak alias of
9821         __pthread_barrier_wait.
9822         * sysdeps/sparc/nptl/pthread_barrier_wait.c
9823         (pthread_barrier_wait): Likewise.
9824         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
9825         (pthread_barrier_wait): Likewise.
9826         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
9827         (pthread_barrier_wait): Likewise.
9828         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
9829         (pthread_barrier_wait): Likewise.
9830         * nptl/Versions (libpthread): Export __pthread_barrier_init and
9831         __pthread_barrier_wait at version GLIBC_PRIVATE.
9832         * include/pthread.h (__pthread_barrier_init): Declare.
9833         (__pthread_barrier_wait): Likewise.
9834         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
9835         Call __pthread_barrier_wait instead of pthread_barrier_wait.
9836         (helper_thread): Likewise.
9837         (init_mq_netlink): Call __pthread_barrier_init instead of
9838         pthread_barrier_init.
9840         [BZ #18542]
9841         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
9842         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
9843         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
9844         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
9845         vswscanf.
9846         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
9847         Remove variable.
9849         [BZ #18540]
9850         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
9851         strong alias of _IO_fflush.  Use libc_hidden_def.
9852         * libio/iofflush_u.c (fflush_unlocked): Rename to
9853         __fflush_unlocked and define as weak alias of __fflush_unlocked.
9854         Use libc_hidden_weak.
9855         * include/stdio.h (__fflush_unlocked): Declare.  Use
9856         libc_hidden_proto.
9857         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
9858         fflush_unlocked.
9859         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
9860         Remove variable.
9862         [BZ #18539]
9863         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
9864         define as weak alias of __addseverity.
9865         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
9866         Remove variable.
9867         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
9868         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
9869         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
9871         [BZ #18536]
9872         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
9873         (__tfind): Likewise.
9874         (__tdelete): Likewise.
9875         (__twalk): Likewise.
9876         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
9877         __twalk to GLIBC_PRIVATE.
9878         * include/search.h (__tsearch): Use libc_hidden_proto.
9879         (__tfind): Likewise.
9880         (__tdelete): Likewise.
9881         (__twalk): Likewise.
9882         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
9883         Call __tdelete instead of tdelete.
9884         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
9885         tfind.  Call __tsearch instead of tsearch.
9886         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
9887         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
9888         Remove variable.
9889         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
9891         [BZ #18534]
9892         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
9893         (dprintf): Define as a weak alias of __dprintf, not a strong
9894         alias.
9895         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
9896         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
9897         dprintf.
9898         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
9899         Remove variable.
9900         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
9901         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
9903         [BZ #18533]
9904         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
9905         not a strong alias.
9906         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
9907         Remove variable.
9909         [BZ #18532]
9910         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
9911         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
9912         (in6addr_loopback): Rename to __in6addr_loopback and define as
9913         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
9914         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
9915         libc_hidden_proto.
9916         (__in6addr_any): Likewise.
9917         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
9918         in6addr_any.
9919         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
9920         variable.
9921         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
9923 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
9925         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
9926         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
9927         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
9928         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9929         redirections for pow.
9930         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9931         * sysdeps/x86_64/fpu/Versions: New versions added.
9932         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9933         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9934         build of SSE, AVX2 and AVX512 IFUNC versions.
9935         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
9936         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
9937         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
9938         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
9939         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
9940         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
9941         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
9942         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
9943         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
9944         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
9945         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
9946         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
9947         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
9948         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
9949         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
9950         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9951         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
9952         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9953         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
9954         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9955         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
9956         * NEWS: Mention addition of x86_64 vector pow.
9958         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9959         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9960         redirections for expf.
9961         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9962         * sysdeps/x86_64/fpu/Versions: New versions added.
9963         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9964         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9965         build of SSE, AVX2 and AVX512 IFUNC versions.
9966         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
9967         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
9968         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
9969         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
9970         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
9971         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
9972         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
9973         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
9974         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
9975         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
9976         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
9977         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
9978         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
9979         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
9980         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9981         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
9982         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9983         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
9984         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9985         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9986         * NEWS: Mention addition of x86_64 vector expf.
9988         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
9989         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
9990         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
9991         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9992         redirections for exp.
9993         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9994         * sysdeps/x86_64/fpu/Versions: New versions added.
9995         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9996         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9997         build of SSE, AVX2 and AVX512 IFUNC versions.
9998         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
9999         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
10000         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
10001         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
10002         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
10003         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
10004         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
10005         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
10006         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
10007         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
10008         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
10009         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
10010         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
10011         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10012         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10013         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10014         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10015         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10016         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10017         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10018         * NEWS: Mention addition of x86_64 vector exp.
10020         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10021         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10022         redirections for logf.
10023         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10024         * sysdeps/x86_64/fpu/Versions: New versions added.
10025         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10026         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10027         build of SSE, AVX2 and AVX512 IFUNC versions.
10028         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
10029         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
10030         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
10031         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
10032         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
10033         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
10034         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
10035         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
10036         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
10037         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
10038         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
10039         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
10040         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
10041         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
10042         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10043         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10044         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10045         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10046         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10047         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10048         * NEWS: Mention addition of x86_64 vector logf.
10050         * bits/libm-simd-decl-stubs.h: Added stubs for log.
10051         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
10052         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10053         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10054         redirections for log.
10055         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10056         * sysdeps/x86_64/fpu/Versions: New versions added.
10057         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10058         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10059         build of SSE, AVX2 and AVX512 IFUNC versions.
10060         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
10061         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
10062         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
10063         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
10064         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
10065         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
10066         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
10067         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
10068         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
10069         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
10070         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
10071         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
10072         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
10073         test.
10074         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10075         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10076         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10077         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10078         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10079         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10080         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10081         * NEWS: Mention addition of x86_64 vector log.
10083 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10085         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
10086         cfi_adjust_cfa_offset argument.
10087         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
10088         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
10090         [BZ #18034]
10091         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
10092         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
10093         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
10094         ordering using ldar.
10095         (_dl_tlsdesc_dynamic): Likewise.
10096         (_dl_tlsdesc_return_lazy): Likewise.
10097         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
10098         relaxed atomics instead of volatile and synchronize with release store.
10099         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
10100         volatile.
10101         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10103 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
10105         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10106         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
10107         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10108         * sysdeps/x86_64/fpu/Versions: New versions added.
10109         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10110         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10111         build of SSE, AVX2 and AVX512 IFUNC versions.
10112         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
10113         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
10114         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
10115         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
10116         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
10117         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
10118         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
10119         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
10120         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
10121         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
10122         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
10123         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
10124         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
10125         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
10126         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10127         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10128         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10129         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10130         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10131         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10132         * NEWS: Mention addition of x86_64 vector sinf.
10134 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
10136         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
10137         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
10138         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
10139         Remove variable.
10140         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
10141         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
10143 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
10145         [BZ #18530]
10146         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
10147         strong alias of _IO_fputs.  Use libc_hidden_def.
10148         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
10149         and define as weak alias of __fputs_unlocked.  Use
10150         libc_hidden_weak.
10151         * include/stdio.h (__fputs_unlocked): Declare.  Use
10152         libc_hidden_proto.
10153         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
10154         fputs_unlocked.
10156         [BZ #18529]
10157         * resolv/netdb.h [__USE_POSIX]: Change condition to
10158         [__USE_XOPEN2K].
10159         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
10160         not expect.
10161         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
10162         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
10163         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
10164         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
10165         [XPG4 || UNIX98] (AI_ALL): Likewise.
10166         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
10167         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
10168         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
10169         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
10170         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
10171         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
10172         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
10173         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
10174         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
10175         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
10176         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
10177         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
10178         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
10179         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
10180         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
10181         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
10182         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
10183         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
10184         [XPG4 || UNIX98] (gai_strerror): Likewise.
10185         [XPG4 || UNIX98] (getaddrinfo): Likewise.
10186         [XPG4 || UNIX98] (getnameinfo): Likewise.
10188         [BZ #18528]
10189         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
10190         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
10191         __USE_XOPEN2K8].
10192         (getgrent): Likewise.
10193         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
10194         expect.
10195         [XPG3 || POSIX2008] (endgrent): Likewise.
10196         [XPG3] (setgrent): Likewise.
10197         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
10198         variable.
10199         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
10201         [BZ #18527]
10202         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
10203         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
10204         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
10205         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
10206         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
10207         * include/unistd.h (__getlogin_r): Declare.  Use
10208         libc_hidden_proto.
10209         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
10210         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
10211         variable.
10212         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
10213         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
10214         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
10216 2015-06-12  Martin Sebor  <msebor@redhat.com>
10218         [BZ #18512]
10219         * Makerules (check-install-supported): New target.
10220         (install): Add check-install-supported as a dependency.
10221         * manual/install.texi (Installing the C Library): Document
10222         that overriding prefix and exec_prefix is not supported.
10223         Mention DESTDIR.
10224         * INSTALL: Regenerate from the above.
10226 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
10228         [BZ #18519]
10229         * posix/Versions (libc): Export __libc_pread at version
10230         GLIBC_PRIVATE.
10231         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
10232         instead of pread.
10233         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
10234         variable.
10236         [BZ #18522]
10237         * misc/efgcvt_r.c
10238         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
10239         (cvt_symbol): Use weak_alias instead of strong_alias.
10240         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
10241         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
10242         Remove variable.
10243         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
10244         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
10246         [BZ #18520]
10247         * inet/herrno.c (h_errno): Rename to __h_errno.
10248         (__libc_h_errno): Define as alias of __h_errno not h_errno.
10249         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
10250         to __h_errno instead of h_errno.
10251         * nptl/herrno.c (h_errno): Rename to __h_errno.
10252         (__h_errno_location): Refer to __h_errno not h_errno.
10253         * resolv/Versions (h_errno): Rename to __h_errno.
10254         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
10255         Remove variable.
10256         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
10258 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
10260         * configure.ac: More strict check for AVX512 assembler support.
10261         * configure: Regenerated.
10263         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
10264         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
10265         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10266         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
10267         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10268         * sysdeps/x86_64/fpu/Versions: New versions added.
10269         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10270         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10271         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10272         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
10273         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
10274         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
10275         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
10276         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
10277         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
10278         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
10279         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
10280         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
10281         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
10282         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
10283         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
10284         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
10285         test.
10286         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10287         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10288         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10289         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10290         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10291         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10292         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10293         * NEWS: Mention addition of x86_64 vector sin.
10295 2015-06-11  Florian Weimer  <fweimer@redhat.com>
10297         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
10298         comment.
10300 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
10302         [BZ #18479]
10303         * nptl/pt-interp.c: New file.
10304         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
10305         Add pt-interp.
10306         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
10307         $(common-objpfx)runtime-linker.h.
10309 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
10311         * Makeconfig (+interp): Remove unused variable.
10312         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
10313         only.  Depend on $(common-objpfx)runtime-linker.h instead of
10314         $(elf-objpfx)runtime-linker.h.
10315         ($(elf-objpfx)runtime-linker.h): Rename to
10316         $(common-objpfx)runtime-linker.h and move ...
10317         * Makerules [$(build-shared) = yes]: ... here.
10318         * elf/interp.c: Include <runtime-linker.h> instead of
10319         <elf/runtime-linker.h>.
10321 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10323         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
10324         (__gettimeofday_syscall): Remove vsyscall fallback.
10325         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
10326         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
10327         Add syscall fallback function.
10328         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
10329         if vDSO is not present.
10330         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
10331         fallback function.
10332         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
10333         present.
10334         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
10335         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10337 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
10339         [BZ #18497]
10340         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
10341         of wcscmp.
10342         (wcscmp): Define as weak alias of WCSCMP.
10343         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
10344         wcscoll.
10345         (USE_HIDDEN_DEF): Define.
10346         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
10347         __wcscoll.  Don't use libc_hidden_weak.
10348         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
10349         wcscmp.
10350         * sysdeps/i386/i686/multiarch/wcscmp-c.c
10351         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
10352         __GI_wcscmp.
10353         (weak_alias): Undefine and redefine.
10354         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
10355         __wcscmp and define as weak alias of __wcscmp.
10356         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
10357         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
10358         (__wcscoll): Likewise.
10359         (wcscmp): Don't use libc_hidden_proto.
10360         (wcscoll): Likewise.
10361         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
10362         wcscoll.
10363         * posix/regexec.c (check_node_accept_bytes): Likewise.
10364         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
10365         variable.
10366         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
10367         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
10369         [BZ #18507]
10370         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
10371         __fstatvfs and define as weak alias of __fstatvfs.  Use
10372         libc_hidden_weak.
10373         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
10374         and define as weak alias of __statvfs.  Use libc_hidden_weak.
10375         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
10376         Define as alias of __fstatvfs, not fstatvfs.
10377         (fstatvfs64): Likewise.
10378         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
10379         Define as alias of __statvfs, not statvfs.
10380         (statvfs64): Likewise.
10381         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
10382         Remove variable.
10384 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10387         (HAVE_GETCPU_VSYSCALL): Define.
10388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10389         (HAVE_GETCPU_VSYSCALL): Likewise.
10390         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
10391         * sysdeps/unix/sysv/linux/sched_getcpu.c
10392         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
10393         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
10394         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
10395         prototype.
10396         * sysdeps/unix/sysv/linux/x86_64/init-first.c
10397         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
10398         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
10399         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
10400         Define.
10401         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
10402         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
10403         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
10404         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10406 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
10408         * sysdeps/x86_64/fpu/Makefile: New file.
10409         * sysdeps/x86_64/fpu/Versions: New file.
10410         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
10411         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
10412         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
10413         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
10414         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
10415         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
10416         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
10417         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
10418         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
10419         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
10420         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
10421         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
10422         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
10423         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10424         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10425         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
10426         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
10427         * sysdeps/x86_64/configure.ac: Options for libmvec build.
10428         * sysdeps/x86_64/configure: Regenerated.
10429         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
10430         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
10431         * manual/install.texi (Configuring and compiling): Document
10432         --disable-mathvec.
10433         * INSTALL: Regenerated.
10434         * NEWS: Mention addition of libmvec and x86_64 vector cos.
10436         * math/Makefile: Added rules for vector tests.
10437         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
10438         declaration under condition.
10439         * math/test-double-vlen2.h: New file.
10440         * math/test-double-vlen4.h: New file.
10441         * math/test-double-vlen8.h: New file.
10442         * math/test-vec-loop.h: Added initialization macro.
10443         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
10444         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
10445         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
10446         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
10447         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
10448         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
10449         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
10450         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
10451         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
10452         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
10453         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
10455         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10456         * sysdeps/x86_64/fpu/Versions: New versions added.
10457         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
10458         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
10459         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
10460         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
10461         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
10462         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
10463         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
10464         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
10465         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
10466         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
10467         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
10468         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
10469         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
10470         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10471         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10472         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10473         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
10474         * NEWS: Mention addition of x86_64 vector cosf.
10476         * math/Makefile: Added CFLAGS for new tests.
10477         * math/test-float-vlen16.h: New file.
10478         * math/test-float-vlen4.h: New file.
10479         * math/test-float-vlen8.h: New file.
10480         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
10481         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
10482         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10483         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
10484         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
10485         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
10486         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
10487         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
10488         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
10489         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
10490         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
10492 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
10494         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
10495         * locale/programs/ld-ctype.c: Likewise.
10497 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
10499         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
10500         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
10501         bit_ZMM16_31_state): New macro.
10502         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10503         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
10505 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
10507         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
10509 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
10511         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
10513 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
10515         [BZ #18498]
10516         * libio/memstream.c (open_memstream): Rename to __open_memstream
10517         and define as weak alias of __open_memstream.
10518         * include/stdio.h (__open_memstream): Declare.  Use
10519         libc_hidden_proto.
10520         (open_memstream): Don't use libc_hidden_proto.
10521         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
10522         open_memstream.
10523         * posix/getopt.c (_getopt_internal_r): Likewise.
10524         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
10525         variable.
10526         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
10527         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
10528         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
10530         [BZ #18496]
10531         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
10532         instead of wcrtomb.
10534         [BZ #18483]
10535         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
10536         [__USE_XOPEN2K8].  Remove redundant #endif.
10537         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
10538         Remove redundant #if.
10539         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
10540         Remove variable.
10541         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
10542         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
10544         [BZ #18495]
10545         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
10546         (__iswlower): Likewise.
10547         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
10548         (__iswlower): Likewise.
10549         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
10550         instead of towlower.
10551         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
10552         instead of iswlower.  Call __towupper instead of towupper.
10553         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
10554         instead of iswalnum.
10556 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10558         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
10559         errors to stderr.
10561 2015-06-05  Florian Weimer  <fweimer@redhat.com>
10563         [BZ #15661]
10564         [BZ #17322]
10565         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
10566         Check for overflow properly.  Check for O_APPEND.  Ignore large
10567         file system block sizes.  Add comments about problems.
10568         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
10569         * manual/filesys.texi (Storage Allocation): New node.
10571 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10573         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
10574         cancellable syscalls.
10575         (SYS_ify): Add guard to no redefine it.
10576         (INLINE_SYSCALL): Likewise.
10577         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
10578         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
10579         SYSCALL_CANCEL instead.
10580         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
10581         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
10582         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
10583         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
10584         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
10585         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
10586         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
10587         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
10588         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
10589         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
10590         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
10591         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
10592         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
10593         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
10594         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
10595         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
10596         Likewise.
10597         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
10598         (__libc_pread64): Likewise.
10599         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
10600         (__libc_preadv): Likewise.
10601         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
10602         (__libc_readv64): Likewise.
10603         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
10604         (__libc_pwrite): Likewise.
10605         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
10606         (__libc_pwrite64): Likewise.
10607         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
10608         (__libc_pwritev): Likewise.
10609         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
10610         (__libc_pwritev64): Likewise.
10611         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
10612         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
10613         (sync_file_range): Likewise.
10614         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
10615         Likewise.
10616         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
10617         Likewise.
10618         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
10619         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
10620         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
10621         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
10622         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
10623         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
10624         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
10625         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
10626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
10627         Likewise.
10628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10629         (__libc_read64): Likewise.
10630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
10631         Likewise.
10632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
10633         Likewise.
10634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
10635         Likewise.
10636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
10637         Likewise.
10638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
10639         (__libc_pread64): Likewise.
10640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
10641         Likewise.
10642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
10643         (__libc_pwrite64): Likewise.
10644         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
10645         (sync_file_range): Likewise.
10646         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
10647         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
10648         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
10649         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
10650         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
10651         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
10652         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
10653         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
10654         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
10655         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10656         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10657         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
10658         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
10659         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
10660         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
10661         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
10662         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
10663         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
10664         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
10665         Likewise.
10666         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
10667         Likewise.
10668         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
10669         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
10670         Likewise.
10671         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
10672         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
10673         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
10674         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
10675         Likewise.
10676         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
10677         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
10678         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
10679         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
10680         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
10682 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
10684         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
10685         Include dl-vdso.
10686         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
10687         Use VDSO routines for gettimeofday, clock_gettime if
10688         available.
10689         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
10690         Declare VDSO symbols.
10691         * sysdeps/unix/sysv/linux/arm/sysdep.h:
10692         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
10693         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
10694         * sysdeps/unix/sysv/linux/arm/Versions: Add
10695         __vdso_clock_gettime.
10697 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10699         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
10700         be an inline implementation regardless of library is built within.
10701         (open_not_cancel_2): Likewise.
10702         (__read_nocancel): Likewise.
10703         (__write_nocancel): Likewise.
10704         (openat_not_cancel): Likewise.
10705         (openat_not_cancel_3): Likewise.
10706         (openat64_not_cancel): Likewise.
10707         (openat64_not_cancel_3): Likewise.
10708         (__close_nocancel): Likewise.
10709         (pause_not_cancel): Likewise.
10710         (nanosleep_not_cancel): Likewise.
10711         (sigsuspend_not_cancel): Likewise.
10713 2015-06-04  Torvald Riegel  <triegel@redhat.com>
10715         [BZ #14958]
10716         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
10717         wake-up.
10718         (__pthread_rwlock_rdlock_slow): Likewise.
10719         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10720         Likewise.
10721         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
10722         Likewise.
10723         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
10724         * nptl/tst-rwlock16.c: New file.
10725         * nptl/Makefile (tests): Add new test.
10727 2015-06-04  Torvald Riegel  <triegel@redhat.com>
10729         [BZ #18324]
10730         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
10731         missing wake-up of readers.
10732         * nptl/tst-rwlock15.c: New file.
10733         * nptl/Makefile (tests): Add new test.
10735 2015-06-03  Roland McGrath  <roland@hack.frob.com>
10737         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
10738         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
10739         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
10740         and __nacl_supply_interface_rtld.
10741         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
10742         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
10743         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
10744         Add __nacl_supply_interface_rtld.
10745         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
10747 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
10749         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
10750         isfinite.
10751         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10752         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
10754 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
10756         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
10757         __signbit* with standard C99 macros.
10758         * math/e_exp10l.c: Likewise.
10759         * math/e_exp2l.c: Likewise.
10760         * math/e_scalb.c: Likewise.
10761         * math/e_scalbf.c: Likewise.
10762         * math/e_scalbl.c: Likewise.
10763         * math/s_ldexp.c: Likewise.
10764         * math/s_ldexpf.c: Likewise.
10765         * math/s_ldexpl.c: Likewise.
10766         * math/w_atan2.c: Likewise.
10767         * math/w_atan2f.c: Likewise.
10768         * math/w_atan2l.c: Likewise.
10769         * math/w_cosh.c: Likewise.
10770         * math/w_coshf.c: Likewise.
10771         * math/w_coshl.c: Likewise.
10772         * math/w_exp10.c: Likewise.
10773         * math/w_exp10f.c: Likewise.
10774         * math/w_exp10l.c: Likewise.
10775         * math/w_exp2.c: Likewise.
10776         * math/w_exp2f.c: Likewise.
10777         * math/w_exp2l.c: Likewise.
10778         * math/w_fmod.c: Likewise.
10779         * math/w_fmodf.c: Likewise.
10780         * math/w_fmodl.c: Likewise.
10781         * math/w_hypot.c: Likewise.
10782         * math/w_hypotf.c: Likewise.
10783         * math/w_hypotl.c: Likewise.
10784         * math/w_jnl.c: Likewise.
10785         * math/w_lgamma.c: Likewise.
10786         * math/w_lgamma_r.c: Likewise.
10787         * math/w_lgammaf.c: Likewise.
10788         * math/w_lgammaf_r.c: Likewise.
10789         * math/w_lgammal.c: Likewise.
10790         * math/w_lgammal_r.c: Likewise.
10791         * math/w_pow.c: Likewise.
10792         * math/w_powf.c: Likewise.
10793         * math/w_powl.c: Likewise.
10794         * math/w_remainder.c: Likewise.
10795         * math/w_remainderf.c: Likewise.
10796         * math/w_remainderl.c: Likewise.
10797         * math/w_scalb.c: Likewise.
10798         * math/w_scalbf.c: Likewise.
10799         * math/w_scalbl.c: Likewise.
10800         * math/w_scalbln.c: Likewise.
10801         * math/w_scalblnf.c: Likewise.
10802         * math/w_scalblnl.c: Likewise.
10803         * math/w_sinh.c: Likewise.
10804         * math/w_sinhf.c: Likewise.
10805         * math/w_sinhl.c: Likewise.
10806         * math/w_tgamma.c: Likewise.
10807         * math/w_tgammaf.c: Likewise.
10808         * math/w_tgammal.c: Likewise.
10809         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10810         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
10811         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10812         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10813         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10814         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10815         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10816         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10817         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10818         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10819         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10820         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10821         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10822         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10823         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10824         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10825         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10826         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10827         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10828         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10829         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10830         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10831         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10832         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10833         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10834         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10835         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
10836         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10837         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10838         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10839         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
10840         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
10841         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
10842         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
10843         * stdio-common/printf_fp.c: Likewise.
10844         * stdio-common/printf_fphex.c: Likewise.
10845         * stdio-common/printf_size.c: Likewise.
10847 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
10849         [BZ #18470]
10850         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
10851         strnlen.
10852         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
10853         Remove variable.
10854         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
10855         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
10856         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
10857         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
10858         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
10859         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
10860         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
10861         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
10862         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
10863         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
10865         [BZ #18468]
10866         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
10867         weak alias of __wmemchr.  Use libc_hidden_weak.
10868         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
10869         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
10870         instead of wmemchr.
10872 2015-06-02  Roland McGrath  <roland@hack.frob.com>
10874         [BZ #18383]
10875         * elf/tst-tlsalign-extern.c: New file.
10876         * elf/tst-tlsalign-extern-static.c: New file.
10877         * elf/tst-tlsalign-vars.c: New file.
10878         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
10879         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
10880         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
10881         ($(objpfx)tst-tlsalign-extern-static): Likewise.
10882         (test-xfail-tst-tlsalign-extern-static): New variable.
10884 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
10886         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
10887         Use variable name _sc_err instead of err.
10888         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
10889         instead of ret.
10890         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
10891         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
10892         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
10893         (INLINE_SYSCALL): Likewise.
10895         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
10896         * include/string.h (__strnlen): Use libc_hidden_proto.
10897         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
10898         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
10899         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
10900         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
10901         (libc_hidden_def): Undefine and redefine.
10902         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
10903         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
10904         __GI_strnlen.
10905         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
10906         libc_hidden_def.
10907         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
10909         [BZ #18469]
10910         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
10911         weak alias of __towlower.  Use libc_hidden_weak.
10912         (towupper): Rename to __towupper and define as weak alias of
10913         __towupper.  Use libc_hidden_weak.
10914         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
10915         (__towupper): Likewise.
10916         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
10917         __towlower instead of towlower.
10919 2015-06-02  Roland McGrath  <roland@hack.frob.com>
10921         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
10922         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
10924 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10926         * sysdeps/aarch64/libm-test-ulps: Update.
10928 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10930         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
10931         Define.
10932         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
10933         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
10934         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
10935         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
10936         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
10937         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
10938         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
10940 2015-06-01  Martin Sebor  <msebor@redhat.com>
10942         [BZ #18116]
10943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10944         (__setcontext): Use extended four-operand version of mtsf whenever
10945         possible.
10946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10947         (__novec_swapcontext): Likewise.
10949 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
10951         * benchtests/scripts/compare_bench.py: New file.
10952         * benchtests/scripts/import_bench.py (mean): New function.
10953         (split_list): Likewise.
10954         (do_for_all_timings): Likewise.
10955         (compress_timings): Likewise.
10957         * benchtests/scripts/import_bench.py: New file.
10958         * benchtests/scripts/validate_benchout.py: Import import_bench
10959         instead of jsonschema.
10960         (validate_bench): Remove function.
10961         (main): Use import_bench.
10963 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
10965         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
10966         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
10968 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10970         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10972 2015-05-28  Roland McGrath  <roland@hack.frob.com>
10974         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
10975         set THREAD_SELF->tid to a magic value and futex-wake it.
10976         Pass its address to the thread_exit system call.
10977         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
10978         bit is clear.
10979         * sysdeps/nacl/lowlevellock.h: New file.
10980         * sysdeps/nacl/lll_timedwait_tid.c: New file.
10982         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
10983         Add TIMEOUT to current time, don't subtract it.
10985 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
10987         [BZ #2981]
10988         [BZ #18422]
10989         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
10990         ($(objpfx)tst-audit2.out): Also depend on
10991         $(objpfx)tst-auditmod9b.so.
10992         * elf/tst-audit2.c: Include <dlfcn.h>.
10993         (calloc_called): New.
10994         (calloc): Allow to be called more than once.
10995         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
10997 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
10999         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
11000         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
11002 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
11004         * stdlib/monetary.h: Fix comment.
11006 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
11008         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
11009         Avoid using variables in #defines that might cause shadowing.
11010         (INTERNAL_VSYSCALL_CALL): Likewise.
11012 2015-05-26  Roland McGrath  <roland@hack.frob.com>
11014         * sysdeps/nacl/lll_timedlock_wait.c: New file.
11016         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
11017         * nptl/lll_timedlock_wait.c: ... to this new file.
11018         * nptl/Makefile (libpthread-routines): Add it.
11019         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
11020         * nptl/lll_timedwait_tid.c: ... to this new file.
11021         * nptl/Makefile (libpthread-routines): Add it.
11022         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
11023         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
11024         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
11025         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
11026         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
11027         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
11028         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
11029         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
11030         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
11031         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
11033 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11035         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
11036         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
11037         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
11038         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
11039         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
11040         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
11041         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11042         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
11043         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11044         * sysdeps/unix/sysv/linux/tile/sysdep.h
11045         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11046         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
11047         using vDSO syscall macro.
11049 2015-05-26  Andriy Rysin  <arysin@gmail.com>
11051         [BZ #17293]
11052         * uk_UA: Fix sorting order for Ukrainian locale
11054 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
11056         * stdlib/monetary.h: Fix comment.
11058 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11060         [BZ #18234]
11061         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
11062         st_mtim and st_ctim members.
11063         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
11064         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
11065         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
11066         (struct stat64): Likewise.
11067         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
11068         (struct stat64): Likewise.
11069         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
11070         (struct stat64): Likewise.
11072 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11074         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
11075         Define and include sysdep-vdso.h.
11076         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
11077         Likewise.
11078         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
11079         Likewise.
11080         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
11081         Define with VDSO_SYMBOL and use PTR_MANGLE.
11082         (__vdso_clock_gettime): Likewise.
11083         (__vdso_clock_getres): Likewise.
11084         (_libc_vdso_platform_setup): Likewise.
11085         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
11086         Likewise.
11087         (_libc_vdso_platform_setup): Likewise.
11088         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
11089         Likewise.
11090         (__vdso_clock_gettime): Likewise.
11091         (__vdso_clock_getres): Likewise.
11092         (__vdso_get_tbfreq): Likewise.
11093         (__vdso_getcpu): Likewise.
11094         (__vdso_time): Likewise.
11095         (__vdso_sigtramp_rt64): Likewise.
11096         (__vdso_signtramp32): Likewise.
11097         (__vdso_sigtramp_rt32): Likewise.
11098         (_libc_vdso_platform_setup): Likewise.
11099         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
11100         Likewise.
11101         (__vdso_clock_gettime): Likewise.
11102         (__vdso_clock_getres): Likewise.
11103         (_libc_vdso_platform_setup): Likewise.
11104         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
11105         Likewise.
11106         (__vdso_clock_gettime): Likewise.
11107         (_libc_vdso_platform_setup): Likewise.
11108         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
11109         Likewise.
11110         (__vdso_getcpu): Likewise.
11111         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
11112         Use VDSO_SYMBOL macro to define.
11113         (__vdso_clock_gettime): Likewise.
11114         (__vdso_clock_getres): Likewise.
11115         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
11116         Likewise.
11117         (__vdso_clock_gettime): Likewise.
11118         (__vdso_clock_getres): Likewise.
11119         (__vdso_get_tbfreq): Likewise.
11120         (__vdso_getcpu): Likewise.
11121         (__vdso_time): Likewise.
11122         (__vdso_sigtramp_rt64): Likewise.
11123         (__vdso_signtramp32): Likewise.
11124         (__vdso_sigtramp_rt32): Likewise.
11125         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
11126         Likewise.
11127         (__vdso_clock_gettime): Likewise.
11128         (__vdso_clock_getres): Likewise.
11129         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
11130         Likewise.
11131         (__vdso_clock_gettime): Likewise.
11132         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
11133         Likewise.
11134         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
11135         macro.
11136         (INTERNAL_VSYSCALL): Likewise.
11137         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
11138         Remove macro.
11139         (INTERNAL_VSYSCALL): Likewise.
11140         (INTERNAL_VSYSCALL_NCS): Likewise.
11141         (INTERNAL_VSYSCALL_CALL): New macro.
11142         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
11143         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
11144         Likewise.
11145         (INTERNAL_VSYSCALL): Likewise.
11146         (INTERNAL_VSYSCALL_NCS): Likewise.
11147         (INTERNAL_VSYSCALL_CALL): New macro.
11148         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
11149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11150         (INLINE_VSYSCALL): Remove macro.
11151         (INTERNAL_VSYSCALL): Remove macro.
11152         (INTERNAL_VSYSCALL_NCS): Remove macro.
11153         (INTERNAL_VSYSCALL_CALL): New macro.
11154         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
11155         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
11156         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
11157         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
11158         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
11159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11160         (INLINE_VSYSCALL): Remove macro.
11161         (INTERNAL_VSYSCALL): Likewise.
11162         (INTERNAL_VSYSCALL_NCS): Likewise.
11163         (INTERNAL_VSYSCALL_CALL): New macro.
11164         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
11165         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
11166         PTR_DEMANGLE on vDSO pointer.
11167         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
11168         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
11169         macro.
11170         (INTERNAL_SYSCALL): Likewise.
11171         (INTERNAL_VSYSCALL_NCS): Remove macro.
11172         (INTERNAL_VSYSCALL_CALL): New macro.
11173         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
11174         Remove macro.
11175         (INTERNAL_VSYSCALL): Likewise.
11176         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
11177         sysdep-vdso.h instead of libc-vdso.h.
11178         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
11179         definition.
11180         (INLINE_VSYSCALL): Likewise.
11181         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
11182         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
11183         definition.
11184         (INLINE_VSYSCALL): Likewise.
11185         (INTERNAL_VSYSCALL): Likewise.
11186         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
11187         * sysdeps/unix/sysv/linux/timespec_get.c
11188         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
11189         (timespec_get): Use ANSI prototype.
11190         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
11191         and definition for Linux.
11193 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
11195         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
11196         * include/libc-symbols.h: libmvec_hidden_* macro series added.
11198 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
11200         [BZ #2981]
11201         [BZ #18410]
11202         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
11203         for missing DT_PLTRELSZ.
11205 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
11207         Remove obsolete aliases that broke 'locale -a'
11208         [BZ #18412]
11209         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
11210         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
11211         breaking some applications that use 'locale -a' output.
11212         Change the encoding of this file from Latin-1 to ASCII to avoid
11213         other potential problems with people grepping this file.
11215 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11217         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
11218         -fasynchronous-unwind-tables.
11219         (CFLAGS-sendto.c): Likewise.
11220         (CFLAGS-sendmsg.c): Likewise.
11221         (CFLAGS-connect.c): Likewise.
11222         (CFLAGS-recvmsg.c): Likewise.
11223         (CFLAGS-recvfrom.c): Likewise.
11224         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
11225         (SOCKETCALL): New macro: non-cancellable socketcall.
11226         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
11227         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
11228         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
11229         * sysdeps/unix/sysv/linux/accept.c: New file.
11230         * sysdeps/unix/sysv/linux/bind.c: Likewise.
11231         * sysdeps/unix/sysv/linux/connect.c: Likewise.
11232         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
11233         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
11234         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
11235         * sysdeps/unix/sysv/linux/listen.c: Likewise.
11236         * sysdeps/unix/sysv/linux/recv.c: Likewise.
11237         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
11238         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
11239         * sysdeps/unix/sysv/linux/send.c: Likewise.
11240         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
11241         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
11242         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
11243         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
11244         * sysdeps/unix/sysv/linux/socket.c: Likewise.
11245         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
11246         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
11247         prototype.
11248         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
11249         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
11250         instead of __internal_xxx function.
11251         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
11252         prototype.
11253         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
11254         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
11255         instead of __internal_xxx function.
11256         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
11257         prototype.
11258         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
11259         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
11260         instead of __internal_xxx function.
11261         * sysdeps/unix/sysv/linux/accept.S: Remove file.
11262         * sysdeps/unix/sysv/linux/bind.S: Likewise.
11263         * sysdeps/unix/sysv/linux/connect.S: Likewise.
11264         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
11265         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
11266         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
11267         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
11268         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
11269         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
11270         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
11271         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
11272         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11273         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
11274         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
11275         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
11276         * sysdeps/unix/sysv/linux/listen.S: Likewise.
11277         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
11278         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
11279         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
11280         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
11281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
11282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
11283         * sysdeps/unix/sysv/linux/recv.S: Likewise.
11284         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
11285         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
11286         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
11287         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
11288         * sysdeps/unix/sysv/linux/send.S: Likewise.
11289         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
11290         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
11291         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
11292         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
11293         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
11294         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
11295         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
11296         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
11297         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
11298         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
11299         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
11300         socketcall is implemented in GLIBC.
11302 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
11304         * soft-fp/fmadf4.c: Include <libc-internal.h>.
11305         (__fma): Ignore uninitialized warnings around packing.
11306         * soft-fp/fmasf4.c: Include <libc-internal.h>.
11307         (__fmaf): Ignore uninitialized warnings around packing.
11308         * soft-fp/fmatf4.c: Include <libc-internal.h>.
11309         (__fmal): Ignore uninitialized warnings around packing.
11311         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
11312         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
11313         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
11314         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
11316         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
11317         switch statement into default case.
11318         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
11320         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
11321         a conditional in forcing "inexact".
11322         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
11323         Likewise.
11325 2015-05-22  Roland McGrath  <roland@hack.frob.com>
11327         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11328         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
11329         for each INTERNAL_SYSCALL use.
11331 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
11333         [BZ #438]
11334         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
11335         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
11336         variable.
11338         [BZ #18444]
11339         * string/basename.c (basename): Rename to __basename and define as
11340         weak alias of __basename.  Use libc_hidden_weak.
11341         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
11342         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
11343         __basename instead of basename.
11344         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
11345         Remove variable.
11346         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
11348 2015-05-18  Florian Weimer  <fweimer@redhat.com>
11350         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
11351         (_IO_JUMPS_FILE_plus): New.
11352         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
11353         _IO_CAST_FIELD_ACCESS.
11354         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
11355         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
11356         * libio/freopen.c (freopen): Likewise.
11357         * libio/freopen64.c (freopen64): Likewise.
11358         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
11359         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
11360         * libio/iofwide.c (_IO_fwide): Likewise.
11361         * libio/memstream.c (open_memstream): Likewise.
11362         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11363         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
11364         * libio/oldiopopen.c (_IO_old_popen): Likewise.
11366 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
11368         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
11369         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
11370         NADJ.
11371         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
11372         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
11373         NADJ.
11374         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
11375         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
11376         NADJ.
11378         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
11379         (p == 4) case.
11381         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
11382         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
11383         Remove variable.
11384         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
11385         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
11386         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
11388 2015-05-21  Florian Weimer  <fweimer@redhat.com>
11390         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
11391         Adjust jump table label generation macros.
11393 2015-05-21  Florian Weimer  <fweimer@redhat.com>
11395         * stdio-common/vfprintf.c (vfprintf): Move local variables
11396         args_malloced, specs, specs_malloced, and the code after
11397         do_positional to the printf_positional function.
11398         (printf_positional): New function.
11400 2015-05-21  Florian Weimer  <fweimer@redhat.com>
11402         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
11403         function.
11404         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
11405         STEP4_TABLE, process_arg): Move macro definitions
11406         out of the vfprintf function.  (Cosmetic change only.)
11408 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
11410         * benchtests/Makefile (stdio-common-bench): Define.
11411         (benchset): Add stdio-common-bench.
11412         * sprintf-inputs: New file.
11413         * sprintf-source.c: New file.
11415 2015-05-21  Andreas Schwab  <schwab@suse.de>
11417         [BZ #13028]
11418         [BZ #17053]
11419         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
11420         of struct __res_state.
11421         * resolv/res_send.c (__libc_res_nsend): Likewise.
11422         (get_nsaddr): New function.
11423         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
11424         statp directly.
11426 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
11428         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
11429         -D_POSIX_C_SOURCE=199506L.
11431         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
11433         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
11434         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
11435         Do not mention otherwise.
11436         [POSIX] (_XOPEN_VERSION): Do not expect.
11437         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
11438         [POSIX] (_POSIX2_C_BIND): Likewise.
11439         [POSIX] (_POSIX2_VERSION): Likewise.
11440         [POSIX] (_XOPEN_XPG2): Likewise.
11441         [POSIX] (_XOPEN_XPG3): Likewise.
11442         [POSIX] (_XOPEN_XPG4): Likewise.
11443         [POSIX] (_XOPEN_UNIX): Likewise.
11444         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
11445         [POSIX] (_POSIX_BARRIERS): Likewise.
11446         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
11447         [POSIX] (_POSIX_CPUTIME): Likewise.
11448         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
11449         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
11450         [POSIX] (_POSIX_SHELL): Likewise.
11451         [POSIX] (_POSIX_SPAWN): Likewise.
11452         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
11453         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
11454         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
11455         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
11456         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
11457         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
11458         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
11459         [POSIX] (_XBS5_LP64_OFF64): Likewise.
11460         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
11461         [POSIX] (_POSIX_TIMEOUTS): Likewise.
11462         [POSIX] (_POSIX2_PBS): Likewise.
11463         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
11464         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
11465         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
11466         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
11467         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
11468         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
11469         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
11470         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
11471         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
11472         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
11473         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
11474         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
11475         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
11476         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
11477         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
11478         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
11479         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
11480         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
11481         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
11482         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
11483         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
11484         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
11485         [POSIX] (_SC_2_C_BIND): Likewise.
11486         [POSIX] (_SC_2_C_VERSION): Likewise.
11487         [POSIX] (_SC_2_PBS): Likewise.
11488         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
11489         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
11490         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
11491         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
11492         [POSIX] (_SC_2_PBS_TRACK): Likewise.
11493         [POSIX] (_SC_ATEXIT_MAX): Likewise.
11494         [POSIX] (_SC_BARRIERS): Likewise.
11495         [POSIX] (_SC_BASE): Likewise.
11496         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
11497         [POSIX] (_SC_DEVICE_IO): Likewise.
11498         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
11499         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
11500         [POSIX] (_SC_FD_MGMT): Likewise.
11501         [POSIX] (_SC_FIFO): Likewise.
11502         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
11503         [POSIX] (_SC_FILE_LOCKING): Likewise.
11504         [POSIX] (_SC_FILE_SYSTEM): Likewise.
11505         [POSIX] (_SC_IOV_MAX): Likewise.
11506         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
11507         [POSIX] (_SC_NETWORKING): Likewise.
11508         [POSIX] (_SC_PAGE_SIZE): Likewise.
11509         [POSIX] (_SC_PASS_MAX): Likewise.
11510         [POSIX] (_SC_PIPE): Likewise.
11511         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
11512         [POSIX] (_SC_REGEXP): Likewise.
11513         [POSIX] (_SC_SHELL): Likewise.
11514         [POSIX] (_SC_SIGNALS): Likewise.
11515         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
11516         [POSIX] (_SC_SPIN_LOCKS): Likewise.
11517         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
11518         [POSIX] (_SC_USER_GROUPS): Likewise.
11519         [POSIX] (_SC_USER_GROUPS_R): Likewise.
11520         [POSIX] (_SC_STREAMS): Likewise.
11521         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
11522         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
11523         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
11524         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
11525         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
11526         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
11527         [POSIX] (_PC_FILESIZEBITS): Likewise.
11528         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
11529         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
11530         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
11531         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
11532         [POSIX] (uid_t): Likewise.
11533         [POSIX] (gid_t): Likewise.
11534         [POSIX] (off_t): Likewise.
11535         [POSIX] (pid_t): Likewise.
11536         [POSIX] (cuserid): Allow.
11537         (_SC_2_CHAR_TERM): Require constant.
11538         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
11539         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
11540         variable.
11542 2015-05-20  Roland McGrath  <roland@hack.frob.com>
11544         * sysdeps/nacl/pthread-pids.h: New file.
11545         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
11546         (create_thread): Use __nacl_get_tid to initialize PD->tid.
11548         * nptl/pthread-pids.h: New file.
11549         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
11550         * nptl/nptl-init.c: Include <pthread-pids.h>.
11551         (__pthread_initialize_minimal_internal):
11552         Call __pthread_initialize_pids instead of set_tid_address syscall.
11554         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
11555         * sysdeps/posix/usleep.c: ... here.
11557 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11559         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
11560         call_pselect6 object.
11561         [$(subdir) = io]: Remove call_sync_file_range object.
11562         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
11563         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
11564         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
11565         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
11567 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
11569         * math/s_cproj.c: Add include "math_private.h".
11570         * math/s_cprojf.c: Likewise.
11571         * math/s_cprojl.c: Likewise.
11573 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
11575         [BZ #18244]
11576         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
11577         high mantissa bit when testing whether P is a NaN.
11578         * math/libm-test.inc (remainder_test_data): Add more tests.
11579         (remquo_test_data): Likewise.
11581         [BZ #18049]
11582         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
11583         below -32, return the argument, with underflow if subnormal.
11584         * math/auto-libm-test-in: Add more tests of atanh.
11585         * math/auto-libm-test-out: Regenerated.
11587 2015-05-19  Roland McGrath  <roland@hack.frob.com>
11589         [BZ #18434]
11590         * nptl/tst-sem15.c: New file.
11591         * nptl/Makefile (tests): Add it.
11592         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
11593         s/<</>>/ to fix typo in EOVERFLOW check.
11594         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
11596 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11598         * manual/strings.texi (envz_remove): Fix typo in safety
11599         annotations.
11601 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
11602             Steve Ellcey  <sellcey@imgtec.com>
11604         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
11605         in order to avoid strict alias warnings.
11606         (iruserok_af): Ditto for ra.
11608 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
11610         [BZ #17581]
11611         * malloc/hooks.c
11612         (magicbyte): Convert to a function and avoid returning 0x01.
11613         (mem2mem_check): Avoid using a length byte equal to the magic byte.
11614         (mem2chunk_check): Fix unsigned comparisons to zero.
11615         Hoist defs of sz and magic.
11617 2015-05-19  Richard Henderson  <rth@redhat.com>
11619         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
11621         * sysdeps/alpha/fpu/libm-test-ulps: Update.
11623 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11625         [BZ #16159]
11626         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
11627         * malloc/arena.c (arena_lock): Check if arena is corrupt.
11628         (reused_arena): Find a non-corrupt arena.
11629         (heap_trim): Pass arena to unlink.
11630         * malloc/hooks.c (malloc_check_get_size): Pass arena to
11631         malloc_printerr.
11632         (top_check): Likewise.
11633         (free_check): Likewise.
11634         (realloc_check): Likewise.
11635         * malloc/malloc.c (malloc_printerr): Add arena argument.
11636         (unlink): Likewise.
11637         (munmap_chunk): Adjust.
11638         (ARENA_CORRUPTION_BIT): New macro.
11639         (arena_is_corrupt): Likewise.
11640         (set_arena_corrupt): Likewise.
11641         (sysmalloc): Use mmap if there are no usable arenas.
11642         (_int_malloc): Likewise.
11643         (__libc_malloc): Don't fail if arena_get returns NULL.
11644         (_mid_memalign): Likewise.
11645         (__libc_calloc): Likewise.
11646         (__libc_realloc): Adjust for additional argument to
11647         malloc_printerr.
11648         (_int_free): Likewise.
11649         (malloc_consolidate): Likewise.
11650         (_int_realloc): Likewise.
11651         (_int_memalign): Don't touch corrupt arenas.
11652         * malloc/tst-malloc-backtrace.c: New test case.
11654         * Makefile (summarize-tests): Fix return value on success.
11656         * manual/string.texi (Envz Functions): Add envz_remove.
11658 2015-05-18  Roland McGrath  <roland@hack.frob.com>
11660         * sysdeps/posix/opendir.c: Include <stdbool.h>.
11661         (invalid_name): New function, broken out of ...
11662         (__opendirat): ... here.  Call it.
11663         (need_isdir_precheck): New function, broken out of ...
11664         (__opendirat): ... here.  Call it.
11665         Use __fxstatat64, not __xstatat64.
11666         (opendir_oflags): New function, broken out of ...
11667         (__opendirat): ... here.  Call it.
11668         (opendir_tail): New function, broken out of ...
11669         (__opendirat): ... here.  Call it.
11670         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
11671         opendir_tail, rather than punting to __opendirat.
11672         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
11674 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11676         * .gitignore: Ignore generated *.pyc.
11678 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
11680         * include/stdio.h: Define __need_wint_t.
11681         * test-skeleton.c: Avoid `for' loop initial declaration.
11682         * nptl/tst-initializers1.c: Use test-skeleton.c.
11684 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11686         [BZ #18418]
11687         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
11689 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
11691         [BZ #16352]
11692         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
11693         (__ieee754_atanh): Force underflow exception for results with
11694         small absolute value.
11695         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
11696         (__ieee754_atanhf): Force underflow exception for results with
11697         small absolute value.
11698         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
11699         (__ieee754_atanh): Force underflow exception for results with
11700         small absolute value.
11701         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
11702         (__ieee754_atanhf): Force underflow exception for results with
11703         small absolute value.
11704         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
11705         (__ieee754_atanhl): Force underflow exception for results with
11706         small absolute value.
11707         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
11708         (__ieee754_atanhl): Force underflow exception for results with
11709         small absolute value.
11710         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
11711         (__ieee754_atanhl): Force underflow exception for results with
11712         small absolute value.
11713         * math/auto-libm-test-in: Do not allow missing underflow
11714         exceptions from atanh.
11715         * math/auto-libm-test-out: Regenerated.
11717         [BZ #18221]
11718         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
11719         2**-28 as threshold for returning x or +/- 1/x.
11720         * math/auto-libm-test-in: Add more tests of tan.
11721         * math/auto-libm-test-out: Regenerated.
11723         [BZ #18220]
11724         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
11725         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
11726         * math/auto-libm-test-in: Add another test of lgamma.
11727         * math/auto-libm-test-out: Regenerated.
11729 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
11731         * stdio-common/printf_fp.c (___printf_fp): Use abs.
11732         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
11733         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
11734         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
11735         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
11736         (ADD2A): Use fabs.  (SUB2A): Use fabs.
11737         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
11738         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
11739         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
11740         (log1): Use fabs.  (my_log2): Use fabs.
11741         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
11742         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
11743         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
11744         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
11745         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
11746         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
11747         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
11748         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
11749         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
11750         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
11751         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
11753 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
11755         [BZ #18217]
11756         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
11757         as threshold for returning 1 - x.
11758         * math/auto-libm-test-in: Add more tests of erfc.
11759         * math/auto-libm-test-out: Regenerated.
11761 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
11763         [BZ #18196]
11764         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
11765         threshold for large arguments.
11766         * math/auto-libm-test-in: Add another test of atan.
11767         * math/auto-libm-test-out: Regenerated.
11769         [BZ #16339]
11770         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
11771         (__log1p): Force underflow exception for results with small
11772         absolute value.
11773         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
11774         (__log1pf): Force underflow exception for results with small
11775         absolute value.
11776         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
11777         (__log1p): Force underflow exception for results with small
11778         absolute value.
11779         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
11780         (__log1pf): Force underflow exception for results with small
11781         absolute value.
11782         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
11783         (__log1pl): Force underflow exception for results with small
11784         absolute value.
11785         * math/auto-libm-test-in: Do not allow missing underflow
11786         exceptions from log1p.
11787         * math/auto-libm-test-out: Regenerated.
11789 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
11790             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11792         [BZ #16704]
11793         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
11795 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
11797         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
11798         (libmvec): New variable.
11799         * configure.ac: Added option for mathvec build.
11800         * configure: Regenerated.
11801         * mathvec/Depend: New file.
11802         * mathvec/Makefile: New file.
11803         * shlib-versions: Added libmvec.
11804         * math/Makefile: Added rule for libm.so installation.
11806         * bits/math-vector.h: New file.
11807         * bits/libm-simd-decl-stubs.h: New header.
11808         * math/Makefile (headers): Added new header
11809         libm-simd-decl-stubs.h.
11810         * math/math.h (__MATHCALL_VEC): New macro.
11812         * math/gen-libm-have-vector-test.sh: Script generates series of macros
11813         for conditions in testing functions.
11814         * math/Makefile: Added call of libm-have-vector-test.sh.
11815         * math/libm-test.inc (HAVE_VECTOR): New macros.
11817         * math/libm-test.inc: START refactored.
11818         * math/test-double.c (TEST_MATHVEC): Add define.
11819         * math/test-float.c: Likewise.
11820         * math/test-idouble.c: Likewise.
11821         * math/test-ifloat.c: Likewise.
11822         * math/test-ildoubl.c: Likewise.
11823         * math/test-ldouble.c: Likewise.
11824         * sysdeps/generic/math-tests-arch.h
11825         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
11826         architecture check.
11828         * math/test-double.c (FUNC_TEST): New macro.
11829         * math/test-float.c: Likewise.
11830         * math/test-idouble.c: Likewise.
11831         * math/test-ifloat.c: Likewise.
11832         * math/test-ildoubl.c: Likewise.
11833         * math/test-ldouble.c: Likewise.
11834         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
11836 2015-05-13  Roland McGrath  <roland@hack.frob.com>
11838         * sysdeps/nacl/fdopendir.c: New file.
11840         * dirent/scandir-tail.c: New file.
11841         * dirent/scandir64-tail.c: New file.
11842         * dirent/Makefile (routines): Add them.
11843         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
11844         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
11845         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
11846         [!SCANDIR] (SCANDIR_TAIL): New macro.
11847         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
11848         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
11849         (SCANDIRAT): Macro removed.
11850         (SCANDIR_TAIL): New macro.
11851         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
11852         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
11853         (SCANDIRAT): Just call __opendirat and __scandir_tail.
11854         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
11855         (READDIR): Macro removed.
11856         (SCANDIR_TAIL): New macro.
11857         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
11858         (SCANDIR_TAIL): New macro.
11860         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
11861         * dirent/scandir-cancel.c: ... to this new file.
11862         * dirent/Makefile (routines): Add it.
11863         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
11864         * sysdeps/unix/sysv/linux/i386/scandir64.c
11865         (SKIP_SCANDIR_CANCEL): Macro removed.
11866         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
11868         * dirent/tst-scandir.c: New file.
11869         * dirent/tst-scandir64.c: New file.
11870         * dirent/Makefile (tests): Add them.
11872 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
11874         [BZ #18409]
11875         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
11877 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11879         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
11880         list.
11882 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
11884         * benchtests/bench-strcoll.c: New benchmark.
11885         * benchtests/Makefile: Generate locales and run benchmark.
11886         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
11887         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
11888         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
11889         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
11890         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
11891         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
11892         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
11893         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
11894         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
11895         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
11896         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
11897         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
11898         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
11899         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
11900         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
11901         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
11902         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
11903         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
11904         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
11905         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
11906         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
11907         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
11908         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
11909         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
11911 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
11913         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
11914         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11916 2015-05-12  Roland McGrath  <roland@hack.frob.com>
11918         * posix/uname-values.h: New file.
11919         * posix/uname.c: Include that instead of <config-name.h>.
11920         * sysdeps/nacl/uname-values.h: New file.
11921         * sysdeps/arm/nacl/uname-values.h: New file.
11923 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
11925         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
11926         splitting into fields.
11928 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
11930         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
11931         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
11932         * locale/localeinfo.h: Add enum collation_encoding_type.
11933         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
11934         * programs/ld-collate.c (collate_output): Add encoding type info.
11935         * string/strcoll_l.c (STRDIFF): New function.
11936         * (STRCOLL): Use STRDIFF to skip over equal prefix.
11937         * wcsmbs/wcscoll_l.c: Define STRDIFF.
11939 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
11941         [BZ #18397]
11942         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
11943         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
11944         <fpu_control.h> instead of <math/fpu_control.c>.
11945         * sysdeps/mips/mips32/fpu/Makefile: New file.
11947 2015-05-11  Andreas Schwab  <schwab@suse.de>
11949         [BZ #18007]
11950         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
11951         nss_endgrent.
11952         (_nss_compat_endgrent): Call nss_endgrent.
11953         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
11954         nss_endpwent.
11955         (_nss_compat_endpwent): Call nss_endpwent.
11956         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
11957         needent, call nss_setspent only if non-zero.
11958         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
11959         (internal_endspent): Don't call nss_endspent.
11960         (_nss_compat_endspent): Call nss_endspent.
11961         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
11962         Remove.  All uses removed.
11963         (internal_setent): Remove parameter stayopen, add parameter
11964         stream.  Use it instead of global variable.
11965         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
11966         (internal_endent, internal_getent): Add parameter stream.  Use it
11967         instead of global variable.
11968         (CONCAT(_nss_files_end,ENTNAME))
11969         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
11970         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
11971         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
11972         uses removed.
11973         (internal_setent, internal_endent): Add parameter stream.  Use it
11974         instead of global variable.
11975         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
11976         stream.
11977         (get_next_alias): Add parameter stream.
11978         (_nss_files_getaliasent_r): Pass global stream.
11979         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
11980         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
11981         (_nss_files_gethostbyname4_r): Pass local stream to
11982         internal_setent, internal_getent and internal_endent.  Remove
11983         locking.
11985 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11987         * tst-strfmon1.c (tests): Update expected currency symbol.
11989 2015-05-08  Roland McGrath  <roland@hack.frob.com>
11991         * sysdeps/nacl/gethostname.c: New file.
11993 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
11995         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
11996         and sinh.
11997         * math/auto-libm-test-out: Regenerated.
11998         * sysdeps/i386/fpu/libm-test-ulps: Update.
11999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12001 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
12003         [BZ #18125]
12004         * stdlib/tst-setcontext3.c: New file.
12005         * stdlib/tst-setcontext3.sh: New file.
12006         * stdlib/Makefile (tests): Add tst-setcontext3.
12007         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
12008         to verify test program created output file.
12009         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
12010         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
12011         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
12012         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
12014 2015-05-06  Roland McGrath  <roland@hack.frob.com>
12016         [BZ #18383]
12017         * elf/tst-tlsalign.c: New file.
12018         * elf/tst-tlsalign-static.c: New file.
12019         * elf/tst-tlsalign-lib.c: New file.
12020         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
12021         (tests-static): Add tst-tlsalign-static.
12022         (modules-names): Add tst-tlsalign-lib.
12023         (test-xfail-tst-tlsalign): New variable.
12024         (test-xfail-tst-tlsalign-static): New variable.
12026         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
12027         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
12029 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
12031         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
12032         csqrt, erfc, sin and sincos.
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-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12039         * sysdeps/aarch64/libm-test-ulps: Update.
12041 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
12043         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
12044         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
12045         * math/auto-libm-test-out: Regenerated.
12046         * sysdeps/i386/fpu/libm-test-ulps: Update.
12047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12049 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
12051         [BZ #18265]
12052         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
12053         (wcsncpy): Likewise.
12055 2015-05-05  Florian Weimer  <fweimer@redhat.com>
12057         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
12058         Assume __ASSUME_FALLOCATE is always true.
12059         * sysdeps/unix/sysv/linux/posix_fallocate64.c
12060         (__posix_fallocate64_l64): Likweise.
12061         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
12062         (posix_fallocate): Likewise.
12063         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
12064         (__posix_fallocate64_l64): Likewise.
12065         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12066         [!__ASSUME_FALLOCATE]: Add comment.
12068 2015-05-05  Florian Weimer  <fweimer@redhat.com>
12070         * sysdeps/unix/sysv/linux/i386/Makefile
12071         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
12072         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
12073         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
12074         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12075         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12076         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
12077         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
12079 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
12081         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
12082         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
12083         tgamma.
12084         * math/auto-libm-test-out: Regenerated.
12085         * sysdeps/i386/fpu/libm-test-ulps: Update.
12086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12088 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
12090         * math/auto-libm-test-in: Add more tests of tgamma.
12091         * math/auto-libm-test-out: Regenerated.
12092         * sysdeps/i386/fpu/libm-test-ulps: Update.
12093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12095         * math/auto-libm-test-in: Add more tests of tanh.
12096         * math/auto-libm-test-out: Regenerated.
12097         * sysdeps/i386/fpu/libm-test-ulps: Update.
12098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12100         * math/auto-libm-test-in: Add more tests of tan.
12101         * math/auto-libm-test-out: Regenerated.
12102         * sysdeps/i386/fpu/libm-test-ulps: Update.
12103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12105         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
12106         * math/auto-libm-test-out: Regenerated.
12107         * sysdeps/i386/fpu/libm-test-ulps: Update.
12108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12110         * math/auto-libm-test-in: Add another test of pow.
12111         * math/auto-libm-test-out: Regenerated.
12112         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12114         * math/auto-libm-test-in: Add more tests of lgamma.
12115         * math/auto-libm-test-out: Regenerated.
12116         * sysdeps/i386/fpu/libm-test-ulps: Update.
12117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12119         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
12120         log1p.
12121         * math/auto-libm-test-out: Regenerated.
12122         * sysdeps/i386/fpu/libm-test-ulps: Update.
12123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12125 2015-05-01  Mark Wielaard  <mjw@redhat.com>
12127         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
12128         Elf64_Chdr structs and ELFCOMPRESS constants.
12130 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
12132         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
12133         expm1.
12134         * math/auto-libm-test-out: Regenerated.
12135         * sysdeps/i386/fpu/libm-test-ulps: Update.
12136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12138         * math/auto-libm-test-in: Add more tests of erf and erfc.
12139         * math/auto-libm-test-out: Regenerated.
12140         * sysdeps/i386/fpu/libm-test-ulps: Update.
12141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12143 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12145         * config.h.in (HAVE_AARCH64_BE): Add.
12147 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
12149         * math/auto-libm-test-in: Add more tests of csqrt.
12150         * math/auto-libm-test-out: Regenerated.
12151         * sysdeps/i386/fpu/libm-test-ulps: Update.
12152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12154         * math/auto-libm-test-in: Add more tests of cosh and sinh.
12155         * math/auto-libm-test-out: Regenerated.
12156         * sysdeps/i386/fpu/libm-test-ulps: Update.
12157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12159         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
12161 2015-04-29  Roland McGrath  <roland@hack.frob.com>
12163         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
12164         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
12166         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
12167         (euidaccess, eaccess): Define as weak aliases.
12169         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
12170         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
12171         but __suseconds_t is often 'long int' so some sources assume that
12172         type is being used (e.g. they use %ld to print tv_usec).
12174 2015-04-29  Florian Weimer  <fweimer@redhat.com>
12176         [BZ #18007]
12177         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
12178         (CVE-2014-8121)
12179         * nss/tst-nss-getpwent.c: New file.
12180         * nss/Makefile (tests): Add new test.
12182 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
12184         [BZ #18346]
12185         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
12186         exponents less than 48 as cases where high part of mantissa needs
12187         examining to determine whether argument is integral.
12188         * math/libm-test.inc (round_test_data): Add more tests.
12190 2015-04-28  Mark Wielaard  <mjw@redhat.com>
12192         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
12194 2015-04-27  David S. Miller  <davem@davemloft.net>
12196         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
12197         __tls_get_addr.
12198         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
12200 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
12202         [BZ#18333]
12203         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
12205 2015-04-27  Florian Weimer  <fweimer@redhat.com>
12207         [BZ#18333]
12208         * time/tzset.c (parse_tzname): Return error on memory allocation
12209         failure.
12210         * test-skeleton.c (struct temp_name_list): Change type of name
12211         member to non-const.
12212         (add_temp_file): Create a copy of the file name.
12213         (delete_temp_files): Deallocate memory.
12214         (create_temp_file): Add comment.
12216 2015-04-24  Florian Weimer  <fweimer@redhat.com>
12218         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
12219         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
12221 2015-04-24  Roland McGrath  <roland@hack.frob.com>
12223         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
12224         * sysdeps/arm/configure: Regenerated.
12226 2015-04-24  Florian Weimer  <fweimer@redhat.com>
12228         [BZ #17715]
12229         * time/tzfile.c (__tzfile_read): Check for large values of
12230         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
12231         * time/tzset.c (__tzstring_len): New function, based on the old
12232         __tzstring function.
12233         (__tzstring): Call __tzstring_len.
12234         (parse_tzname): New helper function extracted from
12235         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
12236         the input string.
12237         (parse_offset): New helper function extracted from
12238         __tzset_parse_tz.  Replace switch with fallthrough with
12239         initialization before sscanf.
12240         (parse_rule): Likewise.
12241         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
12242         new-style function definition.
12243         * timezone/Makefile (tests): Add tst-tzset.
12244         (tst-tzset.out): Dependencies on time zone files.
12245         (tst-tzset-ENV): Set TZDIR.
12246         (testdata/XT%): Copy crafted time zone files.
12247         * timezone/README: Mention crafted time zone files.
12248         * timezone/testdata/XT1, timezone/testdata/XT2,
12249         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
12250         files.
12251         * timezone/tst-tzset.c: New test.
12253 2015-04-24  Florian Weimer  <fweimer@redhat.com>
12255         * Makeconfig (+gccwarn): Remove -Winline.
12257 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12259         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
12261 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12263         * NEWS: Mention sysconf() cache information support for s390.
12264         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
12266 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
12268         * math/k_casinh.c (__kernel_casinh): Use __copysign.
12269         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
12270         (__nearbyint): Likewise.
12271         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
12272         (copysignl): Likewise.
12274 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
12276         [BZ #18287]
12277         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
12278         based on padding.  (CVE-2015-1781)
12280 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12282         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
12283         libc-vdso.h.
12284         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
12285         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
12286         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
12287         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
12288         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
12289         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
12290         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
12291         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12292         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
12293         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
12294         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
12295         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12296         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
12297         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
12298         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
12299         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
12300         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
12301         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
12302         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
12303         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
12304         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
12305         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
12306         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
12308 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
12310         * stdlib/setenv.c (__add_to_environ):
12311         Dump core quickly if setenv (..., NULL, ...) is called.
12312         This time, do it the right way, and pacify GCC with a pragma.
12314 2015-04-17  Roland McGrath  <roland@hack.frob.com>
12316         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
12317         IMAP->l_prev cannot be null, and #if out the code for the contrary
12318         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
12319         believe that NS (&_dl_ns[NSID]) could point outside the array.
12321         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
12322         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
12323         before using NSID as an index.
12325 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
12327         [BZ #17825]
12328         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
12329         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
12330         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12332 2015-04-17  Roland McGrath  <roland@hack.frob.com>
12334         Add preliminary port to Google Native Client on ARM.
12335         * abi-tags (.*-.*-nacl.*): New entry.
12336         * sysdeps/arm/nacl: New directory.
12337         * sysdeps/nacl: New directory.
12339 2015-04-16  David S. Miller  <davem@davemloft.net>
12341         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
12342         lowlevellock-futex.h
12344 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
12346         * sysdeps/tile/configure.ac: New file.
12347         * sysdeps/tile/configure: Regenerated.
12349 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12351         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
12352         conditionals for weak_alias and libc_hidden_weak.
12353         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
12354         libc_hidden_weak and weak_alias.
12355         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
12356         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
12357         and weak_alias for static one.
12359 2015-04-15  David S. Miller  <davem@davemloft.net>
12361         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
12363 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12365         [BZ #18206]
12366         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
12367           Use signed comparision instead of substraction to avoid
12368           overflow bug.
12369         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
12370           Take the sign of ret.
12371         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
12372           Do not expect precise return values. Only the sign matters.
12373         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
12374         * wcsmbs/test-wcsncmp.c: New File.
12375         * string/test-strncmp.c: Add wcsncmp support.
12377 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12379         [BZ #6792]
12380         * math/w_log1p.c: New file.
12381         * math/w_log1pf.c: Likewise.
12382         * math/w_log1pl.c: Likewise.
12383         * math/Makefile (libm-calls): Add w_log1p.
12384         * math/s_log1pl.c (log1pl): Remove weak_alias.
12385         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
12386         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
12387         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
12388         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
12389         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
12390         [NO_LONG_DOUBLE] (log1pl): Likewise.
12391         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
12392         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
12393         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
12394         (log1p): Remove long_double_symbol.
12395         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
12396         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
12397         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
12398         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
12399         remove weak_alias for corresponding log1p function.
12400         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
12401         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
12402         * sysdeps/ia64/fpu/w_log1p.c: New file.
12403         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
12404         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
12405         * math/libm-test.inc (log1p_test_data): Add errno expectations.
12407 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
12409         [BZ #18247]
12410         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
12411         decimal exponent by 1.
12412         * stdlib/tst-strtod-round-data: Add more tests.
12413         * stdlib/tst-strtod-round.c (tests): Regenerated.
12415 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
12417         * math/auto-libm-test-in: Add more tests of clog and clog10.
12418         * math/auto-libm-test-out: Regenerated.
12419         * sysdeps/i386/fpu/libm-test-ulps: Update.
12420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12422 2015-04-09  Roland McGrath  <roland@hack.frob.com>
12424         * Makeconfig (module-cppflags): Exclude all .v.i files.
12425         (skip-module-cppflags): Variable removed.
12427         * configure.ac (libc_config_ok): Initialize before reading
12428         preconfigure scripts, not after.
12429         * configure: Regenerated.
12431         * test-skeleton.c (TIMEOUT): Move #define to top level.
12432         (main): Grok environment variable TEST_DIRECT.  If set, print
12433         test expectation details into that file and then behave as if
12434         given --direct.
12436 2015-04-09  Florian Weimer  <fweimer@redhat.com>
12438         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
12439         warning on 32-bit.
12441 2015-04-08  David S. Miller  <davem@davemloft.net>
12443         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12445 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
12447         * math/auto-libm-test-in: Add more tests of atanh.
12448         * math/auto-libm-test-out: Regenerated.
12449         * sysdeps/i386/fpu/libm-test-ulps: Update.
12450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12452         * math/auto-libm-test-in: Add more tests of atan.
12453         * math/auto-libm-test-out: Regenerated.
12454         * sysdeps/i386/fpu/libm-test-ulps: Update.
12455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12457 2015-04-08  Florian Weimer  <fweimer@redhat.com>
12459         * elf/pldd.c (main): Rewrite to use struct
12460         scratch_buffer instead of extend_alloca.
12461         * elf/pldd-xx.c (find_maps): Likewise.
12462         * grp/initgroups.c: Include <scratch_buffer.h> instead of
12463         <alloca.h>.
12464         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
12465         scratch_buffer instead of extend_alloca.
12466         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
12467         grp/compat-initgroups.c.
12468         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
12469         Rewrite to use struct scratch_buffer instead of extend_alloca.
12470         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
12471         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
12473 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
12475         * math/auto-libm-test-in: Add more tests of cbrt.
12476         * math/auto-libm-test-out: Regenerated.
12477         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12479         * math/auto-libm-test-in: Add more tests of cabs.
12480         * math/auto-libm-test-out: Regenerated.
12481         * sysdeps/i386/fpu/libm-test-ulps: Update.
12482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12484         [BZ #18210]
12485         [BZ #18211]
12486         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
12487         (__ieee754_atan2): Set FE_TONEAREST mode for internal
12488         computations.
12489         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
12490         clog10.
12491         * math/auto-libm-test-out: Regenerated.
12492         * sysdeps/i386/fpu/libm-test-ulps: Update.
12493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12495         [BZ #18197]
12496         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
12497         (atan): Set FE_TONEAREST mode for internal computations.
12498         * math/auto-libm-test-in: Add more tests of atan.
12499         * math/auto-libm-test-out: Regenerated.
12501 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
12503         [BZ #17930]
12504         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
12506 2015-04-07  Florian Weimer  <fweimer@redhat.com>
12508         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
12510 2015-04-07  Florian Weimer  <fweimer@redhat.com>
12512         * include/scratch_buffer.h: New file.
12513         * malloc/scratch_buffer_grow.c: Likewise.
12514         * malloc/scratch_buffer_grow_preserve.c: Likewise.
12515         * malloc/scratch_buffer_set_array_size.c: Likewise.
12516         * malloc/tst-scratch_buffer.c: Likewise.
12517         * malloc/Makefile (routines): Add scratch_buffer_grow.
12518         (tests): Add test case.
12519         * malloc/Versions (GLIBC_PRIVATE): Export
12520         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
12521         __libc_scratch_buffer_set_array_size.
12523 2015-04-06  Richard Henderson  <rth@redhat.com>
12525         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
12526         * sysdeps/alpha/fpu/libm-test-ulps: Update.
12528         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
12529         unsigned int before printing.
12531 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12533         [BZ #17596]
12534         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
12535         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12537 2015-04-02  Florian Weimer  <fweimer@redhat.com>
12539         * include/libc-internal.h (libc_max_align_t): Define.
12541 2015-04-02  Andreas Schwab  <schwab@suse.de>
12543         [BZ #16850]
12544         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
12546 2015-04-02  Mel Gorman  <mgorman@suse.de>
12548         [BZ #17195]
12549         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
12550         as well as the main arena.
12552 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
12554         [BZ #18185]
12555         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
12556         sharing L2 cache to 2 for Silvermont/Knights Landing.
12558 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
12560         [BZ #17711]
12561         * config.make.in (have-protected-data): New.
12562         * configure.ac: Check linker support for protected data symbol.
12563         * configure: Regenerated.
12564         * elf/Makefile (modules-names): Add tst-protected1moda and
12565         tst-protected1modb if $(have-protected-data) is yes.
12566         (tests): Add tst-protected1a and tst-protected1b if
12567         $(have-protected-data) is yes.
12568         ($(objpfx)tst-protected1a): New.
12569         ($(objpfx)tst-protected1b): Likewise.
12570         (tst-protected1modb.so-no-z-defs): Likewise.
12571         * elf/tst-protected1a.c: New file.
12572         * elf/tst-protected1b.c: Likewise.
12573         * elf/tst-protected1mod.h: Likewise.
12574         * elf/tst-protected1moda.c: Likewise.
12575         * elf/tst-protected1modb.c: Likewise.
12577 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
12579         [BZ #17711]
12580         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
12581         indicates it is called from do_lookup_x on relocation against
12582         protected data, skip the data definion in the executable from
12583         copy reloc.
12584         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
12585         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
12586         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
12587         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
12588         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
12589         otherwise to 0.
12590         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
12591         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
12592         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
12593         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
12594         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
12595         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
12597 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
12599         * sysdeps/nptl/pthread.h: Remove duplicate definition of
12600         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
12602 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
12604         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
12605         THREAD_SETMEM_NC.
12606         * sysdeps/x86_64/nptl/tls.h: Ditto.
12608 2015-03-27  Roland McGrath  <roland@hack.frob.com>
12610         * dlfcn/tststatic.c (main): Converted to ...
12611         (do_test): ... this.
12612         (TEST_FUNCTION): New macro.
12613         Include test-skeleton.c.
12615 2015-03-26  Alan Modra  <amodra@gmail.com>
12617         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
12618         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
12619         zero for undefined weak.
12620         (elf_machine_plt_conflict): Similarly.
12622 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
12624         * math/auto-libm-test-in: Add more tests of acosh, asinh and
12625         atanh.
12626         * math/auto-libm-test-out: Regenerated.
12627         * sysdeps/i386/fpu/libm-test-ulps: Update.
12628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12630         * math/auto-libm-test-in: Add another test of asin.
12631         * math/auto-libm-test-out: Regenerated.
12632         * sysdeps/i386/fpu/libm-test-ulps: Update.
12633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12635         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
12636         Remove macro.
12637         (LLL_EBX_REG): Likewise.
12638         (LLL_ENTER_KERNEL): Likewise.
12640         * math/auto-libm-test-in: Add more tests of asin.
12641         * math/auto-libm-test-out: Regenerated.
12642         * sysdeps/i386/fpu/libm-test-ulps: Update.
12643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12645         [BZ #18138]
12646         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
12647         libc_do_syscall_args): New structure.
12648         (INTERNAL_SYSCALL_MAIN_0): New macro.
12649         (INTERNAL_SYSCALL_MAIN_1): Likewise.
12650         (INTERNAL_SYSCALL_MAIN_2): Likewise.
12651         (INTERNAL_SYSCALL_MAIN_3): Likewise.
12652         (INTERNAL_SYSCALL_MAIN_4): Likewise.
12653         (INTERNAL_SYSCALL_MAIN_5): Likewise.
12654         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
12655         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
12656         Replace conditional definitions by conditional definitions of ....
12657         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
12658         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
12659         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
12660         (libpthread-sysdep_routines): Add libc-do-syscall.
12661         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
12662         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
12663         to __NR_futex not 240.
12665 2015-03-25  Alan Modra  <amodra@gmail.com>
12667         * NEWS: Advertise TLS optimization.
12668         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
12669         (DT_PPC_NUM): Increment.
12670         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
12671         (CHECK_STATIC_TLS): Use here.
12672         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
12673         TLS descriptors.
12674         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12675         * sysdeps/powerpc/dl-tls.c: New file.
12676         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
12677         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
12678         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
12679         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
12680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
12681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
12682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
12684 2015-03-25  Alan Modra  <amodra@gmail.com>
12686         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
12687         for overlapping .opd entries" to "support...".
12688         * sysdeps/powerpc/powerpc64/configure: Regenerate
12690 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
12692         * math/auto-libm-test-in: Add more tests of acos.
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         * math/auto-libm-test-in: Add more tests of expm1.
12698         * math/auto-libm-test-out: Regenerated.
12699         * sysdeps/i386/fpu/libm-test-ulps: Update.
12700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12702 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
12704         * math/auto-libm-test-in: Add more tests of cosh and sinh.
12705         * math/auto-libm-test-out: Regenerated.
12706         * sysdeps/i386/fpu/libm-test-ulps: Update.
12707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12709         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12712         * math/auto-libm-test-in: Add more tests of log2.
12713         * math/auto-libm-test-out: Regenerated.
12714         * sysdeps/i386/fpu/libm-test-ulps: Update.
12715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12717 2015-03-23  Roland McGrath  <roland@hack.frob.com>
12719         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
12720         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
12721         _IO_IS_APPENDING bit in READ_WRITE instead.
12723 2015-03-23  Florian Weimer  <fweimer@redhat.com>
12725         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
12726         (__determine_cpumask_size): Replace extend_alloca with a
12727         variable-length array.  Do not treat res == 0 as an error.
12729 2015-03-23  Florian Weimer  <fweimer@redhat.com>
12731         [BZ #18100]
12732         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
12733         and integer overflow.
12734         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
12735         (main): Add integer overflow tests.
12736         * manual/pattern.texi (Calling Wordexp): Document additional use
12737         for WRDE_SYNTAX.
12739 2015-03-23  Alan Modra  <amodra@gmail.com>
12741         * config.h.in: Remove HAVE_ASM_PPC_REL16.
12742         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
12743         and false branch of conditional.
12744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12745         Likewise.
12747 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
12749         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
12750         libc-modules.h
12751         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
12752         unused declaration of _hurd_intr_rpc_msg_in_trap.
12753         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
12754         defined instead of whether it is non-zero.
12755         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
12756         input constraint instead of both input and output constraint.  Use ecx
12757         clobber instead of %ecx.
12758         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
12759         mutex_unlock): Use a statement expression instead of an expression list.
12760         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
12761         type to vm_size_t instead of vm_address_t.
12762         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
12763         defined instead of whether it is non-zero.
12764         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
12765         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
12766         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
12767         comparisons with mapaddr.
12768         * nscd/nscd-client.h: Include <time.h>.
12769         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
12770         9th parameter to __vm_region instead of int.
12771         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
12772         * scripts/check-local-headers.sh (exclude): Add device/,
12773         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
12774         cthreads.h.
12776 2015-03-19  Roland McGrath  <roland@hack.frob.com>
12778         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
12779         to account for alignment padding.
12780         * sysdeps/arm/memmove.S: Likewise.
12782 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
12784         * sysdeps/unix/sysv/linux/generic/README: New file.
12786 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
12788         [BZ #18138]
12789         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
12790         (futex_abstimed_wait)
12791         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
12792         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
12793         of lll_futex_timed_wait.
12795 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
12797         [BZ #17542]
12798         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
12800 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
12802         [BZ #17090]
12803         [BZ #17620]
12804         [BZ #17621]
12805         [BZ #17628]
12806         * NEWS: Update.
12807         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
12808         entries with Static TLS too.  Skip entries past the end of the
12809         allocated DTV, from Alan Modra.
12810         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
12811         Static TLS DTV entry set up from...
12812         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
12813         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
12814         * nptl/allocatestack.c (init_one_static_tls): ... and here...
12815         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
12816         for Static TLS.
12817         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
12818         that the slot we find is associated with the given map before
12819         using its generation count.
12820         * nptl_db/db_info.c: Include ldsodefs.h.
12821         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
12822         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
12823         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
12824         (link_map::l_tls_offset): New struct field.
12825         (dtv_t::counter): Likewise.
12826         (rtld_global): New struct.
12827         (_rtld_global): New rtld variable.
12828         (dl_tls_dtv_slotinfo_list): New rtld global field.
12829         (dtv_slotinfo_list): New struct.
12830         (dtv_slotinfo): Likewise.
12831         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
12832         (td_lookup): Rename to...
12833         (td_mod_lookup): ... this.  Use new mod parameter instead of
12834         LIBPTHREAD_SO.
12835         * nptl_db/td_thr_tlsbase.c: Include link.h.
12836         (dtv_slotinfo_list, dtv_slotinfo): New functions.
12837         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
12838         addresses even if the DTV is out of date or missing them.
12839         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
12840         index zero-length arrays.
12841         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
12842         (td_lookup): Make it a macro implemented in terms of...
12843         (td_mod_lookup): ... this declaration.
12844         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
12845         (DB_MAIN_VARIABLE): Likewise.
12847 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
12849         [BZ #18134]
12850         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
12852 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
12854         * stdlib/setenv.c (__add_to_environ): Revert previous change.
12856 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
12858         [BZ #18128]
12859         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
12860         (atomic_add, atomic_increment_and_test)
12861         (atomic_decrement_and_test): Fix 64-bit arithmetic.
12863 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
12865         * stdlib/setenv.c (__add_to_environ):
12866         Dump core quickly if setenv (..., NULL, ...) is called.
12868 2015-03-13  Roland McGrath  <roland@hack.frob.com>
12870         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
12871         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
12872         all the necessary asm magic in one place.
12873         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
12874         using those.
12876 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
12878         [BZ #14906]
12879         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
12880         traced file mtime. Use consistent log message.
12881         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
12882         (register_traced_file): Call install_watches. Always set mtime.
12883         (invalidate_cache): Iterate over all trace files. Call install_watches.
12884         (inotify_check_files): Don't inline. Handle watching parent
12885         directories and configuration file movement in and out.
12886         (handle_inotify_events): New function.
12887         (main_loop_poll): Call handle_inotify_events.
12888         (main_loop_epoll): Likewise.
12889         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
12890         (struct traced_file): Use array of inotify fds. Add parent directory,
12891         and basename.
12892         (struct database_dyn): Remove unused file_mtime.
12893         (init_traced_file): New inline function.
12894         (define_traced_file): New macro.
12895         * nss/nss_db/db-init.c: Use define_traced_file.
12896         (_nss_db_init): Use init_traced_file.
12897         * nss/nss_files/files-init.c: Use define_traced_file.
12898         (_nss_files_init): Use init_traced_file.
12900 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
12902         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
12903         [_LIBC]: Do not include <stdlib.h>.
12904         [!_LIBC] (abort): Remove declaration.
12905         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
12906         _FP_STATIC_ASSERT instead of conditionally calling abort.
12907         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
12908         (_FP_EXTEND_CNAN): Likewise.
12909         (FP_TRUNC): Likewise.
12910         (__FP_CLZ): Likewise.
12911         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
12913 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
12915         * manual/string.texi (XPG basename): Fix prototype.
12917 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
12919         [BZ #18080]
12920         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
12921         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
12922         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
12923         (__setcontext): Likewise.
12924         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
12925         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
12926         Call rt_sigprocmask syscall one time to set new signal mask
12927         and retrieve the current signal mask instead of two calls.
12928         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
12929         (__swapcontext): Likewise.
12930         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
12931         * stdlib/tst-setcontext2.c: New file.
12933 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
12935         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12937 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
12939         [BZ #18093]
12940         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
12941         the wrong size.
12943 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
12945         [BZ #18043]
12946         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
12948 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
12950         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
12951         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
12952         Remove define.
12953         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
12954         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
12955         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
12956         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
12957         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
12958         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
12959         define.
12960         * nptl_db/td_symbol_list.c (td_lookup): Remove
12961         HAVE_ASM_GLOBAL_DOT_NAME code.
12962         * sysdeps/powerpc/powerpc64/configure.ac: Remove
12963         HAVE_ASM_GLOBAL_DOT_NAME check.
12964         * sysdeps/powerpc/powerpc64/configure: Regenerate.
12965         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
12966         (DOT_LABEL): Remove define.
12967         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
12968         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
12969         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
12970         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
12971         (__TLS_GET_ADDR): Likewise.
12972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
12973         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
12975 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
12977         [BZ #18111]
12978         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
12979         (_FPU_SETCW): Initialize cw from fpsr before storing.
12980         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
12981         (fesetexceptflag): Rewrite using fpu_control.h.
12982         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
12984 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
12986         [BZ #18110]
12987         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
12988         asms.
12989         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
12991 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
12993         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
12994         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
12995         abort.
12996         (_FP_FMA): Likewise.
12997         (_FP_DIV): Likewise.
12999 2015-03-10  Roland McGrath  <roland@hack.frob.com>
13001         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
13002         with 0 in that case.
13003         * Makefile (summarize-tests): New canned sequence, factored out of
13004         commands for targets tests and xtests.  Display summary lines that
13005         don't start with PASS: or XFAIL: rather than ones that do start with
13006         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
13007         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
13008         do start with ERROR: or FAIL:.
13009         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
13010         (except for [$(build-shared) = yes]).
13011         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
13012         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
13013         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
13014         * nptl/Makefile: Revert 2015-03-04 changes.
13015         [$(CXX) empty] (tests-unsupported): New variable.
13016         * debug/Makefile: Likewise.
13018         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
13019         gnulib file.  Replace __attribute with __attribute__ throughout.
13021 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
13023         * sysdeps/hppa/fpu/libm-test-ulps: Update.
13025 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
13027         [BZ #18104]
13028         * math/auto-libm-test-in: Add another test of pow.
13029         * math/auto-libm-test-out: Regenerated.
13031 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13033         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
13034         $(config-cflags-nofma).
13036 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
13038         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
13039         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
13040         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
13041         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
13042         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
13043         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
13044         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
13045         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
13046         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
13047         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
13048         Add comment on closing #endif.
13050 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13052         * posix/wordexp.c (CHAR_IN_SET): New macro.
13053         (parse_param): Use it.
13055 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13057         * sysdeps/powerpc/fpu/libm-test-ulps: update.
13059 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13061         [BZ #18043]
13062         * posix/wordexp.c (parse_param): Fix buffer overflow.
13063         * posix/wordexp-test.c (test_case): Add test case.
13065 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13067         [BZ #18042]
13068         * posix/wordexp.c (parse_backtick): Fix off-by-one.
13069         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
13071 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13073         [BZ #18043]
13074         * posix/wordexp-test.c (test_case): Add test for BZ #18043
13075         (do_bz18043): Delete.
13076         (at_page_end): New.
13077         (testit): Refactor to have words at the edge of unreadable page.
13079 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
13081         [BZ #16734]
13082         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
13083         Cleanup read-only streams as well.
13084         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
13086 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13088         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
13089         <bits/libc-lockP.h>
13091 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
13093         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
13094         on [__KERNEL__].
13095         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
13096         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
13097         * soft-fp/op-common.h (_FP_DECL): Likewise.
13099 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
13101         * elf/ifuncdep2.c (global): Replace
13102         __attribute__((visibility("protected"))) with
13103         asm (".protected global").
13104         * elf/ifuncmod1.c (global): Likewise.
13105         * elf/ifuncmod5.c (global): Likewise.
13107 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
13109         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
13110         <asm/sfp-machine.h> instead of <sfp-machine.h>.
13112 2015-03-06  Roland McGrath  <roland@hack.frob.com>
13114         * manual/install.texi (Configuring and compiling):
13115         Document test-wrapper-env-only.
13116         * INSTALL: Regenerated.
13118 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
13120         [BZ #18043]
13121         * posix/wordexp.c (parse_param): Fix buffer overflow.
13122         * posix/wordexp-test.c (do_bz18043): Add test case.
13124 2015-03-06  Vincent Bernat  <vincent@bernat.im>
13126         * time/tst-strptime2.c (do_test): Ensure failing tests are
13127         reported correctly.
13128         * time/tst-strptime3.c (do_test): Likewise.
13130 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
13132         Fix aio_error thread-safety.
13133         * sysdeps/pthread/aio_error.c: New file
13134         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
13135         synchronization.
13137 2015-03-06  Florian Weimer  <fweimer@redhat.com>
13139         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
13140         (group_number, vfprintf): Use it.
13141         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
13142         (JUMP, REF): Use it.
13143         (WORK_BUFFER_SIZE): New enum constant.
13144         (process_arg, vfprintf): Use it.
13146 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
13148         * manual/errno.texi (Error Messages): Complete example function
13149         by adding missing #define.
13150         (program_invocation_name): Add statement indicating GNU
13151         extension and reference which header file declares the variable.
13152         (program_invocation_short_name): Likewise.
13154 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
13156         * manual/errno.texi (Error Messages): Delete strerror ISO C89
13157         compatibility note.
13159 2015-03-05  Roland McGrath  <roland@hack.frob.com>
13161         * Makeconfig (test-wrapper-env-only): New variable.
13162         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
13163         then use that with $(test-wrapper-env-only) rather than using
13164         $(test-wrapper-env) $(run-program-env) $($*-ENV).
13166 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
13168         [BZ #18082]
13169         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
13170         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
13171         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
13172         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
13173         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
13174         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
13175         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
13176         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
13177         Likewise.
13178         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
13179         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
13180         Likewise.
13181         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
13182         Likewise.
13183         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
13184         Likewise.
13185         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
13186         Likewise.
13187         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
13188         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
13189         Likewise.
13190         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
13191         Likewise.
13192         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
13193         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
13195 2015-03-04  Roland McGrath  <roland@hack.frob.com>
13197         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
13198         (ETH_ALEN): New macro.
13199         (struct ether_addr): Use it for length of ether_addr_octet.
13201         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
13202         (setdb): Don't call __nss_configure_lookup for "rpc".
13203         (do_test): Don't call test_rpc.
13204         (output_rpcent, test_rpc): Functions moved ...
13205         * sunrpc/test-rpcent.c: ... to this new file.
13206         * sunrpc/Makefile (tests): Add it.
13208         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
13209         __xpg_sigpause.
13210         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
13211         * nptl/tst-signal6.c: Likewise.
13212         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
13213         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
13215         * configure.ac (libc_cv_cxx_link_ok): New check.
13216         Reset CXX to empty if it fails to link.
13217         * configure: Regenerated.
13218         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
13219         bug-atexit3-lib only if $(CXX) is nonempty.
13220         * nptl/Makefile (tests): Likewise for tst-cancel24.
13221         (tests, tests-static): Likewise for tst-cancel24-static.
13222         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
13223         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
13224         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
13225         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
13227 2015-03-04  Andreas Schwab  <schwab@suse.de>
13229         [BZ #17631]
13230         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
13231         for non-GCC compilers.
13232         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
13233         Likewise.
13235 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
13237         [BZ #17776]
13238         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
13239         integer before bitwise and assembly operations.
13240         (feclearexcept): Likewise.
13241         * math/test-fenvinline.c: New file.
13242         * math/Makefile: Add test-fenvinline test.
13244 2015-03-03  Alan Modra  <amodra@gmail.com>
13246         [BZ #16512]
13247         * scripts/localplt.awk: Strip off symbol version.
13248         * NEWS: Mention bug fix.
13250 2015-03-02  Roland McGrath  <roland@hack.frob.com>
13252         * sysdeps/pthread/timer_routines.c
13253         (timer_free_list, thread_free_list, thread_active_list): Make static.
13255 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
13257         [BZ #17779]
13258         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13259         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
13260         Undefine.
13261         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13262         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
13263         Likewise.
13264         * sysdeps/unix/sysv/linux/sh/kernel-features.h
13265         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
13266         Likewise.
13268 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
13270         [BZ #18036]
13271         * posix/fnmatch_loop.c (END): Detect invalid pattern.
13272         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
13274 2015-03-02  Andreas Schwab  <schwab@suse.de>
13276         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
13277         variable name.
13279 2015-03-02  Florian Weimer  <fweimer@redhat.com>
13281         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
13282         Return error status.
13284 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
13286         [BZ #15969]
13287         * locale/findlocale.c (_nl_find_locale): Introduce const
13288         version of loc_name and drop unsafe type casts.
13290 2015-02-27  Roland McGrath  <roland@hack.frob.com>
13292         * dlfcn/tststatic2.c (main): Converted to ...
13293         (do_test): ... this.
13294         (TEST_FUNCTION): New macro.
13295         Include test-skeleton.c.
13297 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
13299         [BZ #17711]
13300         * elf/Makefile (tests): Add vismain only if PIE is enabled.
13301         (tests-pie): Add vismain.
13302         (CFLAGS-vismain.c): New.
13303         * elf/vismain.c: Add comments for PIE requirement.
13305 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
13307         [BZ #18046]
13308         [BZ #18047]
13309         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
13310         0x1p-56L as threshold for just returning the argument.
13311         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
13312         0x1p-32L as threshold for just returning the argument.
13313         * math/auto-libm-test-in: Add more tests of atanh.
13314         * math/auto-libm-test-out: Regenerated.
13315         * sysdeps/i386/fpu/libm-test-ulps: Update.
13316         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
13318 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
13320         * string/bcopy.c (bcopy): Call memmove for performance.
13322 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
13324         * string/bzero.c (__bzero): Call memset for performance.
13326 2015-02-27  John David Anglin  <dave.anglin@bell.net>
13328         [BZ #18068]
13329         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
13330         to 00100000.
13332 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
13334         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
13336 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
13338         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
13339         (__kernel_standard): Use CSTR macro when setting exc.name.
13340         * sysdeps/ieee754/Makefile [$(subdir) = math]
13341         (CFLAGS-k_standard.c): Remove variable.
13343         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
13344         setting p and q from "else if" to "else".
13345         (qzero): Likewise.
13346         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
13347         (qone): Likewise.
13348         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
13349         (qzerof): Likewise.
13350         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
13351         (qonef): Likewise.
13352         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
13353         (qzero): Likewise.
13354         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
13355         (qone): Likewise.
13357         [BZ #18038]
13358         [BZ #18039]
13359         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
13360         return pi/2 for arguments below 0x1p-113L.
13361         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
13362         return pi/2 for arguments below 0x1p-106L.
13363         * math/auto-libm-test-in: Add more tests of acos.
13364         * math/auto-libm-test-out: Regenerated.
13366         [BZ #16351]
13367         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
13368         (MO): New macro.
13369         (__ieee754_asin): Force underflow exception for results with small
13370         absolute value.
13371         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
13372         (MO): New macro.
13373         (__ieee754_asinf): Force underflow exception for results with
13374         small absolute value.
13375         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
13376         (__ieee754_asin): Force underflow exception for results with small
13377         absolute value.
13378         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
13379         (__ieee754_asinf): Force underflow exception for results with
13380         small absolute value.
13381         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
13382         (__ieee754_asinl): Force underflow exception for results with
13383         small absolute value.
13384         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
13385         (__ieee754_asinl): Force underflow exception for results with
13386         small absolute value.
13387         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
13388         (__ieee754_asinl): Force underflow exception for results with
13389         small absolute value.
13390         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
13391         Include <math.h>.
13392         * math/auto-libm-test-in: Do not mark underflow exceptions as
13393         possibly missing for bug 16351.
13394         * math/auto-libm-test-out: Regenerated.
13396         [BZ #18030]
13397         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
13398         of power of 2 down when low part has opposite sign.
13399         * math/libm-test.inc (logb_test_data): Add more tests.
13401 2015-02-26  Andreas Schwab  <schwab@suse.de>
13403         [BZ #18032]
13404         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
13405         over collating symbol inside a bracket expression.  Minor cleanup.
13406         * posix/tst-fnmatch3.c (do_test): Add test case.
13408 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
13410         [BZ #18029]
13411         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
13412         Adjust exponent of power of 2 down when low part has opposite
13413         sign.
13414         * math/libm-test.inc (ilogb_test_data): Add more tests.
13416 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
13418         [BZ #15969]
13419         * locale/findlocale.c (_nl_find_locale): Fix constness error in
13420         the previous change.
13422         [BZ #15969]
13423         * locale/findlocale.c (_nl_find_locale): Retry archive search
13424         after alias expansion.
13426 2015-02-25  Roland McGrath  <roland@hack.frob.com>
13428         * iconv/tst-iconv3.c (main): Converted to ...
13429         (do_test): ... this.
13430         (TEST_FUNCTION): New macro.
13431         Include test-skeleton.c.
13433         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
13434         (convert): Make function static.
13435         (test_unalign): Likewise.  Add const to argument pointee types.
13436         (main): Replace with static function do_test.
13437         Print "Succeeded." only if RET is zero.
13438         (TEST_FUNCTION): New macro.
13439         Include test-skeleton.c.
13441         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
13442         returns a null pointer.
13444 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13446         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
13447         to __memcpy_ppc only for static builds.
13449 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
13451         [BZ #18020]
13452         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
13453         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
13454         * math/auto-libm-test-in: Add more tests of asinh.
13455         * math/auto-libm-test-out: Regenerated.
13456         * sysdeps/i386/fpu/libm-test-ulps: Update.
13457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13459 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
13461         [BZ #15850]
13462         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
13463         and ip6_mtuinfo definitions here.
13464         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
13465         in this define too.  Update comment.
13467 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
13469         * elf/sprof.c (load_shobj): Tweak error message to match others.
13471 2015-02-24  Kevin Easton  <kevin@guarana.org>
13473         [BZ #16145] (partial fix)
13474         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
13475         to reduce lock contention.
13477 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
13479         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
13480         (struct timex): Update time comment.
13481         (ADJ_SETOFFSET): Define.
13483 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
13485         [BZ #18019]
13486         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
13487         2**56 not 2**28 as threshold for log (2x) formula.
13488         * math/auto-libm-test-in: Add more tests of acosh.
13489         * math/auto-libm-test-out: Regenerated.
13490         * sysdeps/i386/fpu/libm-test-ulps: Update.
13491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13493 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
13495         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
13496         parenthesis around the buf assignment.
13497         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
13499 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
13501         [BZ #16783]
13502         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
13503         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
13504         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
13505         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
13506         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
13507         * math/libm-test.inc (scalb_test_data): Add more tests.
13509 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
13511         [BZ #17916]
13512         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
13513         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
13515 2015-02-24  Eric Rannaud  <e@nanocritical.com>
13517         [BZ #17523]
13518         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
13519         * io/bits/fcntl2.h (open): Use it.
13520         (openat): Likewise.
13521         * io/open.c (__libc_open): Likewise.
13522         * io/open64.c (__libc_open64): Likewise.
13523         * io/open64_2.c (__open64_2): Likewise.
13524         * io/open_2.c (__open_2): Likewise.
13525         * io/openat.c (__openat): Likewise.
13526         * io/openat64.c (__openat64): Likewise.
13527         * io/openat64_2.c (__openat64_2): Likewise.
13528         * io/openat_2.c (__openat_2): Likewise.
13529         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
13530         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
13531         * sysdeps/posix/open64.c (__libc_open64): Likewise.
13532         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
13533         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
13534         (__open_nocancel): Likewise.
13535         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
13536         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
13537         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
13539 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13541         [BZ #14841]
13542         * resolv/gethnamaddr.c (getanswer): Skip logging if
13543         RES_USE_DNSSEC is set.
13544         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
13546 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
13548         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
13550 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
13552         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
13553         201304L, for Unicode 7.
13555 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
13557         [BZ #17836]
13558         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
13559         shared library.  Add gmon-start.os otherwise.
13560         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
13561         $(objpfx)gmon-start.os if builing shared library.
13562         ($(objpfx)g$(static-start-installed-name)): Likewise.
13564 2015-02-23  Andreas Schwab  <schwab@suse.de>
13566         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
13568 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
13570         [BZ #17269]
13571         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
13572         (enlarge_userbuf): Likewise.
13574 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
13576         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
13577         * math/atest-exp.c (TIMEOUT): Adjust to 200.
13578         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
13579         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
13581 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
13583         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
13584         expression inside statement expression.
13586 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
13588         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
13589         <sysdeps/nptl/lowlevellock.h> and remove macros and
13590         functions that are now defined there.
13591         (SYS_futex): Remove.
13592         (lll_compare_and_swap): Remove.
13593         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
13595 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
13597         [BZ #17999]
13598         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
13599         instead of scandirat.
13600         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
13601         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
13602         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
13603         __scandirat.
13604         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
13605         (__scandirat): Declare.  Use libc_hidden_proto.
13606         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
13607         Remove variable.
13608         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
13610 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
13612         [BZ #15319]
13613         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
13614         (MO): New macro.
13615         (__ieee754_atan2): For results with small absolute value, force
13616         underflow exception and remove excess range and precision from
13617         return value.
13618         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
13619         (MO): New macro.
13620         (__ieee754_atan2f): For results with small absolute value, force
13621         underflow exception and remove excess range and precision from
13622         return value.
13623         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
13624         (MO): New macro.
13625         (__atan): For results with small absolute value, force underflow
13626         exception and remove excess range and precision from return value.
13627         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
13628         (MO): New macro.
13629         (__atanf): For results with small absolute value, force underflow
13630         exception and remove excess range and precision from return value.
13631         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
13632         <math.h>.
13633         (__ieee754_atan2): Force underflow exception for results with
13634         small absolute value.
13635         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
13636         <math_private.h>.
13637         (atan): Force underflow exception for results with small absolute
13638         value.
13639         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
13640         (__atanf): Force underflow exception for results with small
13641         absolute value.
13642         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
13643         <math.h>.
13644         (__atanl): Force underflow exception for results with small
13645         absolute value.
13646         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
13647         (__atanl): Force underflow exception for results with small
13648         absolute value.
13649         * sysdeps/x86/fpu/bits/mathinline.h
13650         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
13651         (__ieee754_atan2): Only define inline for long double.
13652         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
13653         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
13654         * math/auto-libm-test-in: Do not mark underflow exceptions as
13655         possibly missing for bug 15319.  Add more tests of atan2.
13656         * math/auto-libm-test-out: Regenerated.
13657         * math/libm-test.inc (casin_test_data): Do not mark underflow
13658         exceptions as possibly missing for bug 15319.
13659         (casinh_test_data): Likewise.
13660         * sysdeps/i386/fpu/libm-test-ulps: Update.
13662 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
13664         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
13665         * sysdeps/mips/bits/endian.h: Fix comments.
13667 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
13669         [BZ #17996]
13670         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
13671         (hdestroy_r): Likewise.
13672         (hsearch_r): Likewise.
13673         (__hcreate_r): Declare and use libc_hidden_proto.
13674         (__hdestroy_r): Likewise.
13675         (__hsearch_r): Likewise.
13676         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
13677         (hcreate): Call __hcreate_r instead of hcreate_r.
13678         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
13679         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
13680         as weak alias of __hcreate_r.
13681         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
13682         __hdestroy_r.
13683         (hsearch_r): Rename to __hsearch_r and define as weak alias of
13684         __hsearch_r.
13685         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
13686         Remove variable.
13687         (test-xfail-XPG4/search.h/linknamespace): Likewise.
13688         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
13689         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
13690         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
13692 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13694         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
13695         arena_lock into a single arena_get.
13697 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
13699         * dl-reloc.c: Inlucde libc-internal.h.
13700         (_dl_try_allocate_static_tls): Call ALIGN_UP.
13701         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
13702         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
13703         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
13704         (grow_heap): Likewise.
13705         * malloc/malloc.c: Include libc-internal.h.
13706         (do_check_malloc): Call powerof2.
13707         (sysmalloc): Use pagesize. Call ALIGN_UP.
13708         (systrim): Use pagesize.
13709         (mremap_chunk): Use pagesize. Call ALIGN_UP.
13710         (__libc_valloc): Use pagesize.
13711         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
13713 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
13715         [BZ #17991]
13716         * include/sys/resource.h (__getrlimit64): Declare.  Use
13717         libc_hidden_proto.
13718         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
13719         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
13720         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
13721         getrlimit64.
13722         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
13723         __getrlimit64.
13724         [!getrlimit64] (getrlimit64): Define as weak alias of
13725         __getrlimit64.  Use libc_hidden_weak.
13726         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
13727         using __getrlimit64 not __new_getrlimit64.
13728         (__GI_getrlimit64): Likewise.
13729         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
13730         Likewise.
13731         (__GI_getrlimit64): Likewise.
13732         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
13733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
13734         (getrlimit): Add __getrlimit64 alias.
13735         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
13736         Likewise.
13737         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
13738         Remove variable.
13739         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
13740         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
13742 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
13744         * libio/fileops.c: Add missing sys/mman.h
13745         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
13747 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
13749         * manual/math.texi (Errors in Math Functions): Clarify goals
13750         regarding inexact and underflow exceptions.
13752 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
13754         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
13755         * sysdeps/mips/memset.S: Ditto.
13757 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
13759         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
13761 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
13763         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
13764         (__v1longjmp): Remove versioned symbol.
13765         (__v1siglongjmp): Remove alias and versioned symbol.
13766         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
13767         (__v2siglongjmp): Likewise.
13769 2015-02-16  Torvald Riegel  <triegel@redhat.com>
13771         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
13773 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
13775         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
13777 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
13779         [BZ #17987]
13780         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
13781         zero result does not depend on the sign resulting from
13782         subtraction.
13783         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
13784         Likewise.
13785         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
13786         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
13787         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13788         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
13789         * math/libm-test.inc (remquo_test_data): Add more tests.
13791 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
13793         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
13794         Problem reported by J William Piggott.
13796 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
13798         [BZ #17978]
13799         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
13800         products 4 * y and 2 * y where those would overflow.
13801         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
13802         Likewise.
13803         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
13804         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
13805         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13806         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
13807         * math/libm-test.inc (remquo_test_data): Add more tests.
13809         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
13811         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
13812         [defined _COMPILING_NEWLIB].
13813         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
13814         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
13816         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
13817         [!defined __mips_isa_rev || __mips_isa_rev < 6].
13819 2015-02-16  Torvald Riegel  <triegel@redhat.com>
13821         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
13822         acquired.
13824 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
13826         [BZ #17792]
13827         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
13828         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
13829         HOST_STACK_END_ADDR): Likewise.
13831 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
13833         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
13834         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
13835         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
13837 2015-02-13  Roland McGrath  <roland@hack.frob.com>
13839         * sysdeps/generic/c++-types.data: New file.
13840         * sysdeps/generic/ld.abilist: New file.
13841         * sysdeps/generic/libBrokenLocale.abilist: New file.
13842         * sysdeps/generic/libanl.abilist: New file.
13843         * sysdeps/generic/libc.abilist: New file.
13844         * sysdeps/generic/libcrypt.abilist: New file.
13845         * sysdeps/generic/libdl.abilist: New file.
13846         * sysdeps/generic/libm.abilist: New file.
13847         * sysdeps/generic/libpthread.abilist: New file.
13848         * sysdeps/generic/libresolv.abilist: New file.
13849         * sysdeps/generic/librt.abilist: New file.
13851 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
13853         [BZ #17569]
13854         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
13855         Compute absolute value of x as modified by fmod, not original
13856         value of x.
13857         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
13858         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
13859         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
13860         RUN_TEST_ffI_f1_mod8.
13861         (remquo_test_data): Add more tests.
13863 2015-02-13  Roland McGrath  <roland@hack.frob.com>
13865         * sysdeps/init_array/pt-crti.S: New file.
13867 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
13869         [BZ #17967]
13870         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
13871         __builtin_fmaf instead of relying on contraction of a * b + c.
13873 2015-02-12  J William Piggott  <elseifthen@gmx.com>
13875         [BZ #17969]
13876         * manual/time.texi: correct the zoneinfo path in the TZ Variable
13877         node.
13879 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
13881         [BZ #17964]
13882         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
13883         __builtin_fma instead of relying on contraction of a * b + c.
13885 2015-02-12  Roland McGrath  <roland@hack.frob.com>
13887         * Makeconfig (ASFLAGS): Add -Werror=undef.
13888         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
13889         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
13890         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
13892         * Makeconfig (after-link): New variable.
13893         (+link-pie, +link-pie-tests): Use it.
13894         (+link-static, +link-static-tests): Likewise.
13895         (+link, +link-tests): Likewise.
13896         * Makerules (build-module, build-module-asneeded): Likewise.
13897         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
13898         Likewise.
13899         * elf/Makefile ($(objpfx)ld.so): Likewise.
13901 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
13903         [BZ #17965]
13904         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
13905         both struct timeval and struct timespec.
13907 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
13909         [BZ #16560]
13910         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
13911         and redefine.
13912         (__ieee754_exp2l): Do not multiply small fractional parts by
13913         M_LN2l.
13914         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
13915         small argument.
13916         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13917         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
13918         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
13919         * math/auto-libm-test-in: Add more tests of exp2.
13920         * math/auto-libm-test-out: Regenerated.
13922 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13924         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
13925         unaligned path.
13927 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13929         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
13930         little endian.
13932 2015-02-12  Andreas Schwab  <schwab@suse.de>
13934         [BZ #15790]
13935         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
13936         Filter out elision flags from value returned in kind.
13937         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
13938         * nptl/tst-pthread-mutexattr.c: New file.
13940 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13942         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
13943         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
13944         into gnu-gnu, and update comment to refer to abi-tags.
13946 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
13948         [BZ #15467]
13949         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
13950         (__sincos): Set errno to EDOM for infinite argument.
13951         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
13952         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
13953         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
13954         (__sincosl): Set errno to EDOM for infinite argument.
13955         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
13956         (__sincosl): Set errno to EDOM for infinite argument.
13957         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
13958         (__sincosl): Set errno to EDOM for infinite argument.
13959         * math/libm-test.inc (sincos_test_data): Test errno setting.
13961 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
13963         * string/strxfrm_l.c: Remove #define STRCMP.
13964         * string/strcoll_l.c: Remove #define STRLEN.
13965         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
13966         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
13968 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
13970         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
13971         * sysdeps/mips/mips32/sfp-machine.h: ... here.
13972         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
13973         * sysdeps/mips/mips64/Makefile: ... here.
13974         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
13975         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
13976         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
13977         * sysdeps/mips/mips64/sfp-machine.h: ... here.
13978         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
13979         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
13980         * sysdeps/mips/mips64/n64/Implies: Likewise.
13982 2015-02-10  Roland McGrath  <roland@hack.frob.com>
13984         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
13985         <sys/time.h>, <string.h>, and <errno.h>.
13986         (dest_offset, dest_address, value, zero): Remove unused variables.
13987         (ldouble): Remove typedef.
13988         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
13989         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
13990         1).  Fix code style.
13991         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
13992         (check): Function removed.
13993         (CHECK): New macro.
13994         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
13995         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
13996         Don't call set_sigaction_FP and remove_sigaction_FP here.
13997         (ldouble_test): Just use 'long double' as macro argument, no need for
13998         the 'ldouble' typedef.
13999         (do_test): Set up SIGFPE handler at start, using plain signal rather
14000         than sigaction.  Fix code style.
14002 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
14004         [BZ #17949]
14005         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
14006         jump label.
14008 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
14010         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
14011         * sysdeps/powerpc/powerpc32/configure: Regenerated.
14013         * sysdeps/powerpc/configure.ac: Remove file.
14014         * sysdeps/powerpc/configure: Likewise.
14016         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
14017         [sysdep_routines]: Remove wordcopy-power6 object.
14018         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
14019         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
14020         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
14021         (__memmove_ppc32): Likewise.
14022         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
14023         file.
14024         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
14025         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
14026         Remove preprocessor.
14028         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
14029         [sysdep_routines]: Remove wide chars objects.
14030         [wcsmbs]: New rule for wide char objects.
14032         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14033         Remove wordcopy-power6 obejct.
14034         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
14035         Use local call for wordcopy and memcpy symbols.
14036         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
14037         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
14038         implementation for loader.
14039         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
14041         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14042         Remove wordcopy-power7 object.
14043         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
14044         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
14045         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
14046         (_wordcopy_fwd_dest_aligned): Likewise.
14047         (_wordcopy_bwd_aligned): Likewise.
14048         (_wordcopy_bwd_dest_aligned): Likewise.
14050         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
14051         Rewrite to call __memmove_ppc instead of include default
14052         implementation.
14054         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14055         Remove wide chars objects.
14056         [wcsmbs]: New rule for wide char objects.
14058 2015-02-09  Andreas Schwab  <schwab@suse.de>
14060         [BZ #17912]
14061         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
14062         in terms of __O_DIRECTORY.
14064 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14066         * time/getdate.c: Include <stdbool.h>.
14067         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
14068         call PTR_MANGLE.
14069         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
14070         PTR_DEMANGLE.
14072 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
14074         Add ersatz _Static_assert on older C hosts
14075         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
14076         pre-C11 C platform that is not known to support _Static_assert.
14078 2015-02-07  Richard Braun  <rbraun@sceen.net>
14080         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
14081         sigstate.
14082         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
14084 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14086         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
14087         priority against unexistent AIO_PRIO_DELTA_MAX.
14088         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
14089         instead of int.
14090         * misc/fchflags.c (fchflags): Likewise.
14091         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
14092         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
14093         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
14094         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
14095         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
14096         Declare macros.
14097         [__USE_MISC] (chflags, fchflags): Declare functions.
14098         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
14099         EINVAL when nfds is greater than FD_SETSIZE.
14100         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
14101         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
14102         45.
14103         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
14104         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
14105         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
14106         MACH_RCV_TIMED_OUT.
14107         * hurd/hurd/signal.h (_hurd_self_sigstate,
14108         _hurd_critical_section_lock, _hurd_critical_section_unlock):
14109         Explicit casts from void *.
14110         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
14111         * abi-tags: Rename gnu-gnu os into gnu.
14113         [BZ #4719]
14114         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
14115         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
14116         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
14117         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
14118         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
14119         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
14121         [BZ #17944]
14122         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
14123         duplicates ADDR->sun_path with sockaddr LEN limitation.
14124         * sysdeps/mach/hurd/connect.c: Include <string.h>
14125         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
14126         * sysdeps/mach/hurd/sendmsg.c: Likewise.
14127         * sysdeps/mach/hurd/sendto.c: Likewise.
14128         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
14129         implementing it by hand.
14131 2015-02-06  Roland McGrath  <roland@hack.frob.com>
14133         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
14134         Use sfi_breg on ldr.
14135         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
14136         Likewise.
14138         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
14139         it's defined.
14140         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
14141         Test SIGSETXID only if it's defined.
14143         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
14145         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
14146         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
14148         * nptl/tst-align2.c: Moved ...
14149         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
14150         * nptl/Makefile (tests): Remove tst-align2.
14151         * sysdeps/unix/sysv/linux/Makefile
14152         [$(subdir) = nptl] (tests): Add tst-align-clone.
14153         * nptl/tst-getpid1.c: Moved ...
14154         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
14155         * nptl/tst-getpid2.c: Moved ...
14156         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
14157         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
14158         * sysdeps/unix/sysv/linux/Makefile
14159         [$(subdir) = nptl] (tests): ... here.
14160         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
14161         * sysdeps/unix/sysv/linux/Makefile
14162         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
14164         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
14165         Drop trailing \n from perror argument.  Use return rather than exit.
14167         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
14168         on [SA_SIGINFO].
14169         * nptl/tst-cancel21.c (do_test): Likewise.
14170         * debug/tst-backtrace6.c: Include <signal.h> first thing.
14171         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
14172         [!SA_SIGINFO]: Make it a stub test.
14174         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
14175         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
14177         * posix/tst-getlogin.c: Move to ...
14178         * login/tst-getlogin.c: ... here.
14179         * posix/Makefile (tests): Move tst-getlogin to ...
14180         * login/Makefile (tests): ... here.
14182         * libio/tst-atime.c (do_test): Move local variables SV and E
14183         inside [ST_NOATIME] conditional.
14185         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
14187         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
14189         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
14190         (wait_code): New function replaces macro.
14191         Call nanosleep rather than syscall.
14193         * nptl/pt-system.c: Rewritten.  Put everything under
14194         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
14195         Use IFUNC to redirect when possible.
14197         * nptl/pt-longjmp.c: Rewritten.  Put everything under
14198         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
14199         Use IFUNC to redirect when possible.
14201         * nptl/pt-fork.c: Rewritten.  Put everything under
14202         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
14203         Use IFUNC to redirect when possible.
14204         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
14206         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
14207         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
14208         unconditionally nowadays.  This included the only reference to
14209         __vdso_clock_gettime that appears outside libc proper.
14210         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
14211         Remove version set (containing only __vdso_clock_gettime).
14212         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
14213         Add attribute_hidden.
14214         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
14215         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
14216         libc_hidden_data_def.
14217         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
14218         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14220         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
14221         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
14222         setrpcent, and getrpcport to ...
14223         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
14224         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
14225         getrpcbynumber_r, and getrpcent_r to ...
14226         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
14227         * inet/getrpcbyname.c: Moved ...
14228         * sunrpc/getrpcbyname.c: ... here.
14229         * inet/getrpcbyname_r.c: Moved ...
14230         * sunrpc/getrpcbyname_r.c: ... here.
14231         * inet/getrpcbynumber.c: Moved ...
14232         * sunrpc/getrpcbynumber.c: ... here.
14233         * inet/getrpcbynumber_r.c: Moved ...
14234         * sunrpc/getrpcbynumber_r.c: ... here.
14235         * inet/getrpcent.c: Moved ...
14236         * sunrpc/getrpcent.c: ... here.
14237         * inet/getrpcent_r.c: Moved ...
14238         * sunrpc/getrpcent_r.c: ... here.
14239         * inet/Makefile (routines): Move those to ...
14240         * sunrpc/Makefile (routines): ... here.
14241         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
14242         the $(subdirs) list.
14243         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
14244         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
14245         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
14246         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
14248         * elf/Makefile (routines): Include $(all-dl-routines), not just
14249         $(dl-routines).
14250         (rtld-routines): Likewise.  Use = rather than :=.
14251         * sysdeps/aarch64/Makefile [$(subdir) = elf]
14252         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
14253         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
14254         * sysdeps/arm/Makefile: Likewise.
14255         * sysdeps/i386/Makefile: Likewise.
14256         * sysdeps/x86_64/Makefile: Likewise.
14257         * sysdeps/hppa/Makefile [$(subdir) = elf]
14258         (sysdep_routines, sysdep-rtld-routines): Don't add
14259         $(sysdep-dl-routines) to these.
14260         * sysdeps/ia64/Makefile: Likewise.
14261         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
14262         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
14263         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
14264         Don't add dl-static to these; sysdep-dl-routines alone is enough.
14265         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
14266         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
14267         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
14268         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
14269         * sysdeps/powerpc/Makefile [$(subdir) = elf]
14270         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
14271         these; sysdep-dl-routines alone is enough.
14273 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
14275         [BZ #17932]
14276         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
14277         where multiplication results in zero and third argument is finite
14278         and nonzero.
14279         * math/auto-libm-test-in: Add more tests of fma.
14280         * math/auto-libm-test-out: Regenerated.
14282         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
14283         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
14284         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
14285         (_FP_CMP_EQ): Likewise.
14286         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
14288         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
14289         extra argument CHECK_NAN.  Redefine as wrapper around
14290         _FP_EXTEND_CNAN.
14292 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
14294         * version.h (RELEASE): Set to "stable".
14295         (VERSION): Set to "2.21"
14296         * include/features.h (__GLIBC_MINOR__): Set to 21.
14298         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
14300 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14301             Paul Eggert  <eggert@cs.ucla.edu>
14303         [BZ #16618]
14304         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
14305         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
14306         size in bytes. Store needed elements in wpmax. Use needed size
14307         in bytes for extend_alloca.
14309 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
14311         * manual/install.texi: Latest tested versions are GCC 4.9.2,
14312         binutls 2.25, and texinfo 5.2.
14313         * INSTALL: Regenerate.
14314         * sysdeps/nios2/configure: Regenerate.
14315         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
14316         * manual/contrib.texi: Update.
14317         * po/be.po: Update.
14318         * po/bg.po: Update.
14319         * po/ca.po: Update.
14320         * po/cs.po: Update.
14321         * po/da.po: Update.
14322         * po/de.po: Update.
14323         * po/el.po: Update.
14324         * po/eo.po: Update.
14325         * po/es.po: Update.
14326         * po/fi.po: Update.
14327         * po/fr.po: Update.
14328         * po/gl.po: Update.
14329         * po/hr.po: Update.
14330         * po/hu.po: Update.
14331         * po/ia.po: Update.
14332         * po/id.po: Update.
14333         * po/it.po: Update.
14334         * po/ja.po: Update.
14335         * po/ko.po: Update.
14336         * po/lt.po: Update.
14337         * po/nb.po: Update.
14338         * po/nl.po: Update.
14339         * po/pl.po: Update.
14340         * po/pt_BR.po: Update.
14341         * po/ru.po: Update.
14342         * po/rw.po: Update.
14343         * po/sk.po: Update.
14344         * po/sl.po: Update.
14345         * po/sv.po: Update.
14346         * po/tr.po: Update.
14347         * po/uk.po: Update.
14348         * po/vi.po: Update.
14349         * po/zh_CN.po: Update.
14350         * po/zh_TW.po: Update.
14352         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
14353         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
14354         * sysdeps/hppa/dl-irel.h: Remove #warning.
14355         * sysdeps/hppa/entry.h: Provide prototype for
14356         __canonicalize_funcptr_for_compare and cast argument.
14357         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
14358         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
14359         * sysdeps/hppa/sotruss-lib.c: New file.
14360         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
14361         (atomic_compare_and_exchange_val_acq): Use __typeof__.
14362         (atomic_compare_and_exchange_bool_acq): Likewise.
14363         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
14364         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
14366         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
14367         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
14368         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
14370 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
14372         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
14373         called function in non-PIC case.
14375 2015-01-31  David S. Miller  <davem@davemloft.net>
14377         * sysdeps/sparc/sparc32/bits/atomic.h
14378         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
14379         unlock not after it.
14380         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
14381         volatile register usage warnings from the compiler.
14383         * sysdeps/sparc/nptl/sem_init.c: Delete.
14384         * sysdeps/sparc/nptl/sem_post.c: Delete.
14385         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
14386         * sysdeps/sparc/nptl/sem_wait.c: Delete.
14387         * sysdeps/sparc/sparc32/sem_init.c: New file.
14388         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
14389         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
14390         padding explicitly initialized.
14391         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
14392         padding for in-semaphore spinlock.
14393         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
14394         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
14395         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
14396         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
14397         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
14398         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
14399         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
14400         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
14401         version.
14402         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
14403         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
14405 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
14407         [BZ #17801]
14408         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14409         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
14410         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
14411         New.
14412         (index_AVX_Fast_Unaligned_Load): Likewise.
14413         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
14414         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
14415         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
14416         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
14417         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
14418         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
14419         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
14420         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
14421         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
14423 2015-01-29  Andreas Schwab  <schwab@suse.de>
14425         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
14427 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
14429         [BZ #17892]
14430         * nscd/nscd_stat.c (send_stats): Initialize DATA.
14432 2015-01-28  Martin Sebor  <msebor@redhat.com>
14434         * math/README.libm-test: Clarify. Add "How to read the test output."
14436 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
14438         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
14439         Define to 0.
14441 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
14443         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
14444         (__HAVE_64B_ATOMICS): Define to 0.
14446 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
14448         [BZ #17885]
14449         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
14450         value to set as new flag.
14452         [BZ #16576]
14453         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
14454         and use _ARCH_PPCSQ instead.
14455         (__ieee754_sqrt): Likewise.
14456         (__ieee754_sqrtf): Likewise.
14457         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
14458         _ARCH_PPCSQ is defined.
14459         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
14460         fsqrt instruction.
14461         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
14462         _ARCH_PPCSQ is defined.
14463         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
14464         fsqrts instruction.
14465         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
14467 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14469         * iconv/loop.c: Suppress array out of bound warning caused by GCC
14470         bug (GCC BZ #64739).
14472 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
14474         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
14475         Mark _retval as used.
14476         (lll_futex_wake_unlock): Likewise.
14477         (lll_futex_timed_wait_requeue_pi): Likewise.
14479         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
14480         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
14481         register variables.
14483         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
14484         libm_hidden_def.
14486         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
14487         (__bswap_64): Mark as __always_inline.
14489 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
14491         [BZ #15378]
14492         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
14493         when none of the search directories exist.
14495 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
14497         [BZ #17869]
14498         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
14499         power8 in .machine directive.
14501         [BZ #17868]
14502         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
14503         set dependency from opd value.
14505 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
14507         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14508         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
14509         architecture.
14511 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
14513         [BZ #17870]
14514         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
14515         with uint64_t.
14516         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
14517         (uint64_t) 1.
14518         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
14519         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
14520         Replace 1UL with (uint64_t) 1.
14521         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
14522         int with uint64_t.
14524 2015-01-23  Roland McGrath  <roland@hack.frob.com>
14526         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
14527         (if_freenameindex): Likewise.
14529         * resource/getrlimit64.c: Add missing libc_hidden_def.
14531 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
14533         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
14534         __label__.
14535         (_FP_FMA): Likewise.
14536         (_FP_TO_INT_ROUND): Likewise.
14537         (_FP_FROM_INT): Likewise.
14539 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14541         [BZ #16418]
14542         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
14543         Make code racy and cancel safe.
14545 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
14547         * sysdeps/arm/unwind-resume.h: Fix copyright year.
14548         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
14549         attribution.
14551         * pwd/tst-getpw.c: Rewrite.
14553         [BZ #17702]
14554         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
14555         (modules-names): Add moddummy1 and moddummy2.
14556         ($(objpfx)tst-rec-dlopen): Define.
14557         * dlfcn/moddummy1.c: New file.
14558         * dlfcn/moddummy2.c: New file.
14559         * dlfcn/tst-rec-dlopen.c: New file.
14560         * elf/dl-cache.c (_dl_load_cache_lookup):
14561         Return char*. Copy result with alloca/strcpy/strdup.
14562         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
14563         returns char*. Free cached. If not saving realname
14564         free cached.
14565         * elf/dl-open.c (dl_open_worker): Do not assert that
14566         _r_debug->r_state is RT_CONSISTENT.
14567         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
14568         returns char*.
14570 2015-01-21  Torvald Riegel  <triegel@redhat.com>
14571             Carlos O'Donell  <carlos@redhat.com>
14573         [BZ #12674]
14574         * nptl/sem_waitcommon.c: New file.
14575         * nptl/sem_wait.c: Include sem_waitcommon.c.
14576         (__sem_wait_cleanup, do_futex_wait): Remove.
14577         (__new_sem_wait): Adapt.
14578         (__new_sem_trywait): New function.
14579         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
14580         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
14581         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
14582         (sem_timedwait): Adapt.
14583         * nptl/sem_post.c (__new_sem_post): Adapt.
14584         (futex_wake): New function.
14585         (__old_sem_post): Add release MO fence.
14586         * nptl/sem_open.c (sem_open): Adapt.
14587         * nptl/sem_init.c (__new_sem_init): Adapt.
14588         (futex_private_if_supported): New function.
14589         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
14590         (__old_sem_getvalue): Add using previous code.
14591         * sysdeps/nptl/internaltypes.h: Adapt.
14592         * nptl/tst-sem13.c (do_test): Adapt.
14593         * nptl/tst-sem11.c (main): Adapt.
14594         * nptl/sem_trywait.c: Remove.
14595         * nptl/DESIGN-sem.txt: Remove.
14596         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
14597         (gen-as-const-headers): Remove structsem.sym.
14598         * nptl/structsem.sym: Remove.
14599         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
14600         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
14601         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
14602         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
14603         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
14604         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
14605         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
14606         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
14607         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
14608         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
14609         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
14610         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
14611         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
14612         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
14613         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
14614         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
14615         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
14616         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
14617         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
14618         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
14619         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
14620         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
14622 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
14624         * INSTALL: Regenerated.
14626         * po/libc.pot: Regenerated.
14628 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
14629             Sandra Loosemore  <sandra@codesourcery.com>
14630             Andrew Jenner  <andrew@codesourcery.com>
14631             Joseph Myers  <joseph@codesourcery.com>
14632             Nathan Sidwell  <nathan@codesourcery.com>
14634         * NEWS: Mention new Nios II port.
14635         * sysdeps/nios2/Implies: New file.
14636         * sysdeps/nios2/Makefile: New file.
14637         * sysdeps/nios2/Subdirs: New file.
14638         * sysdeps/nios2/Versions: New file.
14639         * sysdeps/nios2/__longjmp.S: New file.
14640         * sysdeps/nios2/abort-instr.h: New file.
14641         * sysdeps/nios2/backtrace.c: New file.
14642         * sysdeps/nios2/bits/endian.h: New file.
14643         * sysdeps/nios2/bits/fenv.h: New file.
14644         * sysdeps/nios2/bits/link.h: New file.
14645         * sysdeps/nios2/bits/setjmp.h: New file.
14646         * sysdeps/nios2/bsd-_setjmp.S: New file.
14647         * sysdeps/nios2/bsd-setjmp.S: New file.
14648         * sysdeps/nios2/configure: New generated file.
14649         * sysdeps/nios2/configure.ac: New file.
14650         * sysdeps/nios2/crti.S: New file.
14651         * sysdeps/nios2/crtn.S: New file.
14652         * sysdeps/nios2/dl-init.c: New file.
14653         * sysdeps/nios2/dl-machine.h: New file.
14654         * sysdeps/nios2/dl-sysdep.h: New file.
14655         * sysdeps/nios2/dl-tls.h: New file.
14656         * sysdeps/nios2/dl-trampoline.S: New file.
14657         * sysdeps/nios2/gccframe.h: New file.
14658         * sysdeps/nios2/gmp-mparam.h: New file.
14659         * sysdeps/nios2/jmpbuf-offsets.h: New file.
14660         * sysdeps/nios2/jmpbuf-unwind.h: New file.
14661         * sysdeps/nios2/ldsodefs.h: New file.
14662         * sysdeps/nios2/libc-tls.c: New file.
14663         * sysdeps/nios2/libm-test-ulps: New file.
14664         * sysdeps/nios2/machine-gmon.h: New file.
14665         * sysdeps/nios2/math-tests.h: New file.
14666         * sysdeps/nios2/math_private.h: New file.
14667         * sysdeps/nios2/memusage.h: New file.
14668         * sysdeps/nios2/nptl/Makefile: New file.
14669         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
14670         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
14671         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
14672         * sysdeps/nios2/nptl/pthreaddef.h: New file.
14673         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
14674         * sysdeps/nios2/nptl/tls.h: New file.
14675         * sysdeps/nios2/preconfigure: New file.
14676         * sysdeps/nios2/s_fma.c: New file.
14677         * sysdeps/nios2/s_fmaf.c: New file.
14678         * sysdeps/nios2/setjmp.S: New file.
14679         * sysdeps/nios2/sfp-machine.h: New file.
14680         * sysdeps/nios2/sotruss-lib.c: New file.
14681         * sysdeps/nios2/stackguard-macros.h: New file.
14682         * sysdeps/nios2/stackinfo.h: New file.
14683         * sysdeps/nios2/start.S: New file.
14684         * sysdeps/nios2/sysdep.h: New file.
14685         * sysdeps/nios2/tls-macros.h: New file.
14686         * sysdeps/nios2/tst-audit.h: New file.
14687         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
14688         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
14689         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
14690         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
14691         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
14692         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
14693         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
14694         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
14695         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
14696         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
14697         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
14698         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
14699         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
14700         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
14701         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
14702         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
14703         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
14704         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
14705         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
14706         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
14707         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
14708         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
14709         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
14710         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
14711         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
14712         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
14713         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
14714         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
14715         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
14716         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
14717         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
14718         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
14719         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
14720         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
14721         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
14722         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
14723         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
14724         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
14725         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
14726         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
14727         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
14728         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
14729         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
14730         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
14732 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
14734         [BZ #17844]
14735         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
14736         (getutent): Use weak_alias in non SHARED case
14737         and default_symbol_version in SHARED case.
14738         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
14739         (getutent_r, pututline): Likewise.
14740         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
14741         (getutid): Likewise.
14742         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
14743         (getutid_r): Likewise.
14744         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
14745         (getutline): Likewise.
14746         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
14747         (getutline_r): Likewise.
14748         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
14749         (updwtmp): Likewise.
14751 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
14753         [BZ #17848]
14754         * sysdeps/s390/s390-32/memcmp.S
14755         (memcmp_g5): Rename to __memcmp_g5.
14756         * sysdeps/s390/s390-32/memcpy.S
14757         (memcpy_g5): Rename to __memcpy_g5.
14758         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14759         (memcpy_mvcle) Rename to __memcpy_mvcle.
14760         * sysdeps/s390/s390-32/memset.S
14761         (memset_g5): Rename to __memset_g5.
14762         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14763         (IFUNC_RESOLVE): Prefix ifunc-resolve function
14764         and use prefixed functions.
14765         * sysdeps/s390/s390-32/multiarch/memcmp.S
14766         (memcmp_z196): Rename to __memcmp_z196.
14767         (memcmp_z10): Rename to __memcmp_z10.
14768         (memcmp): Set alias to __memcmp_g5.
14769         (bcmp): Set alias to __memcmp_g5.
14770         * sysdeps/s390/s390-32/multiarch/memcpy.S
14771         (memcpy_z196): Rename to __memcpy_z196.
14772         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14773         (memcpy_z10): Rename to __memcpy_z10.
14774         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14775         (memcpy): Set alias to __memcpy_g5.
14776         * sysdeps/s390/s390-32/multiarch/memset.S
14777         (memset_z196): Rename to __memset_z196.
14778         Jump to __memset_mvcle instead of memset_mvcle.
14779         (memset_z10): Rename to __memset_z10.
14780         Jump to __memset_mvcle instead of memset_mvcle.
14781         (memset_mvcle) Rename to __memset_mvcle.
14782         (memset): Set alias to __memset_g5.
14783         * sysdeps/s390/s390-64/memcmp.S
14784         (memcmp_z900): Rename to __memcmp_z900.
14785         * sysdeps/s390/s390-64/memcpy.S
14786         (memcpy_z900): Rename to __memcpy_z900.
14787         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14788         (memcpy_mvcle) Rename to __memcpy_mvcle.
14789         * sysdeps/s390/s390-64/memset.S
14790         (memset_z900): Rename to __memset_z900.
14791         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
14792         (IFUNC_RESOLVE): Prefix ifunc-resolve function
14793         and use prefixed functions.
14794         * sysdeps/s390/s390-64/multiarch/memcmp.S
14795         (memcmp_z196): Rename to __memcmp_z196.
14796         (memcmp_z10): Rename to __memcmp_z10.
14797         (memcmp): Set alias to __memcmp_z900.
14798         (bcmp): Set alias to __memcmp_z900.
14799         * sysdeps/s390/s390-64/multiarch/memcpy.S
14800         (memcpy_z196): Rename to __memcpy_z196.
14801         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14802         (memcpy_z10): Rename to __memcpy_z10.
14803         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14804         (memcpy): Set alias to __memcpy_z900.
14805         * sysdeps/s390/s390-64/multiarch/memset.S
14806         (memset_z196): Rename to __memset_z196.
14807         Jump to __memset_mvcle instead of memset_mvcle.
14808         (memset_z10): Rename to __memset_z10.
14809         Jump to __memset_mvcle instead of memset_mvcle.
14810         (memset_mvcle) Rename to __memset_mvcle.
14811         (memset): Set alias to __memset_z900.
14813 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
14815         [BZ #17748]
14816         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
14817         __fesetenv instead of fesetenv.
14819 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14821         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
14822         macro.
14824 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14826         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
14827         regression on LE.
14829         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
14830         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
14831         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
14832         strncmp-power8 object.
14833         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14834         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
14835         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
14836         * NEWS: Update.
14838 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14839             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14841         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
14842         trailing byte check.
14844 2015-01-13  David S. Miller  <davem@davemloft.net>
14846         * include/signal.h (__sigreturn): Guard with __USE_MISC.
14848 2015-01-13  Roland McGrath  <roland@hack.frob.com>
14850         * login/logout.c (logout): Use memset rather than bzero.
14851         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
14852         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
14853         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
14854         (_gethtbyaddr): Likewise.
14855         * locale/programs/simple-hash.c (bcopy): Macro removed.
14857 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14859         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14860         Add strcmp-power8 object.
14861         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14862         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
14863         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
14864         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
14865         __strcmp_power8 implementation.
14866         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
14867         * NEWS: Update.
14869         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14870         Add strncpy-power8 and stpncpy-power8 objects.
14871         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14872         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
14873         implementations.
14874         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
14875         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
14876         __stpncpy_power8 implementation.
14877         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
14878         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
14879         __strncpy_power8 implementation.
14880         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
14881         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
14882         * NEWS: Update.
14884         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
14885         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
14886         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
14888         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
14889         strncat-power8 object.
14890         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
14891         __strcat_power8 implementation.
14892         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14893         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
14894         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
14895         optimized strcat for power8.
14897         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
14898         strcpy-power8 and stpcpy-power8 objects.
14899         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14900         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
14901         implementations.
14902         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
14903         multiarch stpcpy implementation for POWER8.
14904         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
14905         multiarch strcpy implementation for POWER8.
14906         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
14907         __strcpy_power8 function.
14908         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
14909         stpcpy for POWER8.
14910         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
14911         strcpy for POWER8.
14912         * NEWS: Update.
14914 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
14916         [BZ #16009]
14917         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
14918         weights and rules. Use do_xfrm_cached if data fits in cache,
14919         do_xfrm otherwise.  Moved former main loop to...
14920         * (do_xfrm_cached): New function.
14921         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
14922         find_idx, find_position and stack_push.
14923         * (find_idx): New function.
14924         * (find_position): Likewise.
14925         * localedata/sort-test.sh: Added test run for do_xfrm.
14926         * localedata/xfrm-test.c (main): Added command line option
14927         -nocache to run the test with strings that are too large for
14928         the STRXFRM cache.
14930 2015-01-13  Torvald Riegel  <triegel@redhat.com>
14932         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
14933         variable to lll_futex_wake call, not the value itself.
14935 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
14937         [BZ #17803]
14938         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
14939         twom64.  Adjust value to 0x1p-64L.
14940         (__scalblnl): Only return standard underflowing result for K <=
14941         -64 not K <= -63; adjust exponent for underflowing result by 64
14942         not 63.
14943         * math/libm-test.inc (scalbn_test_data): Add more tests.
14944         (scalbln_test_data): Likewise.
14946         [BZ #17834]
14947         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
14948         0x1p63L.
14949         (__scalblnl): Get new exponent of adjusted subnormal value from ES
14950         not HX.
14951         * math/libm-test.inc (scalbn_test_data): Add more tests.
14952         (scalbln_test_data): Likewise.
14954 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14955             Stefani Seibold  <stefani@seibold.net>
14957         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
14958         (sysdep_routines): Add dl-vdso here, ...
14959         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
14960         (sysdep_routines): ... not here.
14961         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
14962         fallback when vDSO is not presented.
14963         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
14964         Define with libc_hidden_proto/libc_hidden_data_def definitions.
14965         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
14966         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
14967         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
14968         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
14969         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
14970         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
14971         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
14972         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
14973         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
14974         fallback configurable symbol when vDSO is not available.
14975         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
14976         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
14977         be able to redefine fallback symbol when vDSO is not available.
14978         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
14979         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
14981 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14983         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
14984         (TLS_INIT_TP): Add tm_capable initialization.
14985         (TLS_DEFINE_INIT_TP): Likewise.
14986         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
14987         TCB.
14988         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
14989         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
14990         calculation.
14991         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
14992         transactoion is lock elision is built and TCB tm_capable is set.
14993         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
14994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14995         (INTERNAL_SYSCALL_NCS): Likewise.
14996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14997         (INTERNAL_SYSCALL_NCS): Likewise.
14998         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
15000         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
15001         for powerpc.
15002         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15003         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
15004         and remove it for 32 bits case.
15005         [pthread_rwlock_t] (__rwelision): New field for lock elision.
15006         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
15007         initialization.
15008         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
15009         Disable lock elision with rdlocks if elision is not available.
15011         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
15012         (sysdep_routines): Add lock elision objects.
15013         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15014         [pthread_mutex_t] (__spins): Rework to add lock elision field.
15015         [pthread_mutex_t] (__elision): Add field.
15016         [__PTHREAD_SPINS]: Adjust to init lock elision field.
15017         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
15018         elision definitions for powerpc.
15019         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
15020         implementation of lock elision for powerpc.
15021         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
15022         implementation of timed lock elision for powerpc.
15023         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
15024         implementation of trylock with lock elision for powerpc.
15025         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
15026         implementaion of unlock for lock elision for powerpc.
15027         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
15028         automatic enable lock elision for mutexes.
15029         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
15030         transaction execution definitions for powerpc.
15031         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
15032         definitions.
15033         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
15034         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
15035         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
15036         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
15037         * NEWS: Update.
15039 2015-01-09  Roland McGrath  <roland@hack.frob.com>
15041         * sysdeps/posix/shm-directory.c: Use <> rather than ""
15042         for #include of <shm-directory.h>.
15044 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
15046         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
15047         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
15049 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
15051         [BZ #17791]
15052         * NEWS: Mention bug fix.
15053         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
15054         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
15055         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
15057 2015-01-09  Torvald Riegel <triegel@redhat.com>
15059         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
15061 2015-01-09  Torvald Riegel <triegel@redhat.com>
15063         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
15065 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
15067         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
15068         pointer and cast to uintptr_t.
15070 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
15072         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
15073         removed.
15074         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
15076 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
15078         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
15079         of 0.
15081 2015-01-08  Roland McGrath  <roland@hack.frob.com>
15083         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
15084         <nptl/pthreadP.h> instead.
15085         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
15087         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
15088         already defined.
15089         [__SIGRTMIN] (init): Function removed.
15090         [__SIGRTMIN] (initialized): Variable removed.
15091         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
15092         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
15093         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
15094         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
15095         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
15096         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
15097         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
15098         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
15099         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
15100         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
15101         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
15102         * sysdeps/nptl/allocrtsig.c: New file.
15103         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
15104         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
15105         * sysdeps/generic/testrtsig.h: File removed.
15107         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
15108         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
15110         * nptl/nptl-init.c (pthread_functions): Conditionalize
15111         .ptr__nptl_setxid initialization on [SIGSETXID].
15113         * sysdeps/nptl/sys/procfs.h: New file.
15114         * nptl_db/Makefile (headers): Add it.
15115         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
15117         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
15118         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
15119         * nptl/pthread_attr_setaffinity.c: Include it.
15120         * nptl/pthread_setattr_default_np.c: Likewise.
15121         * nptl/check-cpuset.h: New file.
15123 2015-01-08  Richard Henderson  <rth@redhat.com>
15125         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
15126         (CFLAGS-tst-execstack-prog.c): Likewise.
15127         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
15129 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
15130             Sandra Loosemore  <sandra@codesourcery.com>
15131             Andrew Jenner  <andrew@codesourcery.com>
15132             Joseph Myers  <joseph@codesourcery.com>
15133             Nathan Sidwell  <nathan@codesourcery.com>
15135         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
15136         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
15137         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
15138         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
15139         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
15140         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
15141         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
15142         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
15143         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
15144         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
15145         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
15146         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
15147         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
15148         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
15149         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
15150         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
15151         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
15153 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15155         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
15156         timespec struct member in syscall macro.
15157         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
15158         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
15159         first timeval struct member in syscall macro.
15160         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
15162 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
15164         [BZ #17748]
15165         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
15166         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
15167         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
15168         __feupdateenv and define as weak alias of __feupdateenv.  Use
15169         libm_hidden_weak.
15170         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
15171         libm_hidden_def.
15172         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
15173         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
15174         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
15175         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
15176         libm_hidden_def.
15177         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
15178         __feupdateenv and define as weak alias of __feupdateenv.  Use
15179         libm_hidden_weak.
15180         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
15181         libm_hidden_def.
15182         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
15183         __feupdateenv and define as weak alias of __feupdateenv.  Use
15184         libm_hidden_weak.
15185         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
15186         libm_hidden_def.
15187         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15188         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
15189         (__feupdateenv): Likewise.
15190         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
15191         __feupdateenv and define as weak alias of __feupdateenv.  Use
15192         libm_hidden_weak.
15193         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15194         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
15195         libm_hidden_def.
15196         * sysdeps/tile/math_private.h (__feupdateenv): New inline
15197         function.
15198         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
15199         libm_hidden_def.
15200         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
15201         __feupdateenv instead of feupdateenv.
15202         (default_libc_feupdateenv_test): Likewise.
15203         (libc_feresetround_ctx): Likewise.
15205 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15207         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
15208         prototype.
15210 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
15212         * posix/regcomp.c (parse_bracket_exp): Initialize type to
15213         COLL_SYM in a couple of places to avoid uninitialized variable
15214         wanings on tilegx gcc 4.8.2.
15216 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
15218         * sysdeps/aarch64/strcpy.S: New file.
15219         * sysdeps/aarch64/stpcpy.S: New file.
15220         * NEWS: Updated.
15222 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
15224         * sysdeps/aarch64/strrchr.S: New file.
15225         * NEWS: Updated.
15227 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
15229         [BZ #17658]
15230         * stdlib/setenv.c: Fix memory leak when setting large,
15231         duplicate string.
15233 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
15235         [BZ #17273]
15236         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
15237         and tabs from buffer before parsing fstab entry.
15238         * misc/tst-mntent.c (main): Add test for mount entry with
15239         trailing spaces and tabs.
15241 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
15243         [BZ #17748]
15244         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
15245         * math/fesetround.c (fesetround): Rename to __fesetround and
15246         define as weak alias of __fesetround.  Use libm_hidden_weak.
15247         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
15248         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
15249         * sysdeps/arm/fesetround.c (fesetround): Likewise.
15250         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
15251         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
15252         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
15253         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
15254         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
15255         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
15256         __fesetround_inline.
15257         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
15258         __fesetround_inline instead of __fesetround.
15259         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
15260         __fesetround and define as weak alias of __fesetround.  Use
15261         libm_hidden_weak.  Call __fesetround_inline instead of
15262         __fesetround.
15263         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
15264         __fesetround and define as weak alias of __fesetround.  Use
15265         libm_hidden_weak.
15266         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
15267         Likewise.
15268         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
15269         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15270         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
15271         * sysdeps/tile/math_private.h (__fesetround): New inline function.
15272         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
15273         __fesetround and define as weak alias of __fesetround.  Use
15274         libm_hidden_weak.
15275         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
15276         __fesetround instead of fesetround.
15277         (default_libc_feholdexcept_setround): Likewise.
15278         (libc_feholdsetround_ctx): Likewise.
15279         (libc_feholdsetround_noex_ctx): Likewise.
15281         [BZ #17748]
15282         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
15283         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
15284         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
15285         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
15286         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
15287         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
15288         define as weak alias of __fesetenv.  Use libm_hidden_weak.
15289         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
15290         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
15291         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
15292         define as weak alias of __fesetenv.  Use libm_hidden_weak.
15293         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
15294         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
15295         define as weak alias of __fesetenv.  Use libm_hidden_weak.
15296         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
15297         libm_hidden_def.
15298         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
15299         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
15300         Likewise.
15301         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
15302         define as weak alias of __fesetenv.  Use libm_hidden_weak.
15303         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
15304         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
15305         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
15306         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
15307         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
15308         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
15309         __fesetenv instead of fesetenv.
15310         (libc_feresetround_noex_ctx): Likewise.
15311         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
15312         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
15313         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
15314         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
15315         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
15316         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
15317         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15318         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
15319         (__feupdateenv): Likewise.
15320         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15321         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15322         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15323         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
15325 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
15327         [BZ #17806]
15328         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
15329         addresses have been freed.
15331 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
15333         * resolv/res_init.c (__res_vinit): Improve comments about nserv
15334         and nservall.
15336 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
15338         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
15339         Clean up check_pf allocation pattern. addresses
15341 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15343         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
15344         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
15345         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
15346         * nptl/pthread_exit.c (__pthread_exit): Likewise.
15347         * nptl/pthread_join.c (pthread_join): Likewise.
15348         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
15349         * sysdeps/posix/waitid.c (__waitid): Likewise.
15350         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
15351         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
15352         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
15353         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
15354         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
15355         Likewise.
15356         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
15357         (__libc_pread64): Likewise.
15358         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
15359         (__libc_pwrite): Likewise.
15360         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
15361         (__libc_pwrite64): Likewsie.
15362         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
15363         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
15364         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
15365         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
15366         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
15367         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
15368         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
15369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
15370         Likewise.
15371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
15372         (__libc_pread64): Likewise.
15373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
15374         Likewise.
15375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
15376         (__libc_pwrite64): Likewise.
15377         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
15378         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
15379         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
15380         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
15381         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
15382         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
15383         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
15384         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
15385         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
15386         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
15387         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
15388         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
15389         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
15390         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
15391         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
15392         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
15393         Likewise.
15395 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
15397         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
15398         (CFLAGS-test-double.c): Likewise.
15399         (CFLAGS-test-ldouble.c): Likewise.
15400         (CPPFLAGS-test-ifloat.c): Likewise.
15401         (CPPFLAGS-test-idouble.c): Likewise.
15402         (CPPFLAGS-test-ildoubl.c): Likewise.
15403         (CFLAGS-test-test-fenv.c): Remove variable.
15404         (CFLAGS-test-misc.c): Likewise.
15406 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
15408         [BZ #17797]
15409         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
15410         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
15411         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
15412         CLOCKS_PER_SEC == 1000000.
15413         * time/clocktest.c (main): Replace %ld with %jd and cast to
15414         intmax_t.
15416 2015-01-05  Roland McGrath  <roland@hack.frob.com>
15418         * sysdeps/generic/unwind-resume.h: New file.
15419         * sysdeps/gnu/unwind-resume.c: Include it.
15420         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
15421         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
15422         argument list.
15423         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
15424         global rather than static.
15425         (_Unwind_Resume): Update user.
15426         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
15427         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
15428         rather than static.  Add __attribute__ ((cold)).
15429         (_Unwind_Resume, __gcc_personality_v0): Update callers.
15430         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
15431         * sysdeps/arm/arm-unwind-resume.S: New file.
15432         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
15433         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
15434         * sysdeps/arm/Makefile [$(subdir) = csu]
15435         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
15436         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
15437         Add rt-arm-unwind-resume.
15438         [$(subdir) = nptl]
15439         (libpthread-sysdep_routines, libpthread-shared-only-routines):
15440         Add pt-arm-unwind-resume.
15441         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
15442         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
15444 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
15446         [BZ #17748]
15447         * include/fenv.h (__feholdexcept): Declare.  Use
15448         libm_hidden_proto.
15449         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
15450         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
15451         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15452         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
15453         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
15454         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
15455         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
15456         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15457         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
15458         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
15459         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
15460         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
15461         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
15462         (feholdexcept): Likewise.
15463         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
15464         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
15465         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
15466         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15467         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
15468         __feholdexcept instead of feholdexcept.
15469         (default_libc_feholdexcept_setround): Likewise.
15471 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
15473         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
15474         to avoid using stl/str to align destination.
15476 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
15478         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
15480 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
15482         [BZ #17796]
15483         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
15484         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
15485         Define as weak alias not strong alias.
15487 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
15489         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
15490         bltzal with addiupc.
15491         (RTLD_START): Ditto.
15493 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
15495         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
15496         for __vdso_* functions in declarations.
15497         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
15498         definitions.
15499         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
15500         INTERNAL_VSYSCALL): Use struct return types to check for error.
15502         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
15503         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
15504         function with cast from llround().
15505         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
15506         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
15507         Define.
15509 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
15511         [BZ #17793]
15512         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
15513         Define as weak alias not strong alias.
15515         [BZ #17635]
15516         * ctype/ctype-c99.c: New file.  isblank implementation moved from
15517         ...
15518         * ctype/ctype-extn.c: ... here.
15519         (__isblank_l): Move to ...
15520         * ctype/ctype-c99_l.c: ... here.  New file.
15521         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
15522         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
15523         Remove variable.
15524         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
15525         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
15526         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
15527         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
15528         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
15530         [BZ #17777]
15531         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
15532         (posix_fadvise64): Define as weak alias not strong alias.
15533         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15534         (posix_fallocate64): Likewise.
15535         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
15536         Remove variable.
15537         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
15538         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
15539         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
15540         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
15541         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
15543 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
15545         [BZ #16191]
15546         * NEWS: Mention bug fix.
15547         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
15548         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
15549         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
15550         (HOST_STACK_END_ADDR): Likewise.
15552 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
15554         [BZ #17748]
15555         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
15556         * math/fegetround.c (fegetround): Rename to __fegetround and
15557         define as weak alias of __fegetround.  Use libm_hidden_weak.
15558         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
15559         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
15560         * sysdeps/arm/fegetround.c (fegetround): Likewise.
15561         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
15562         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
15563         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
15564         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
15565         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
15566         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
15567         Undefine after rather than before function definition; use
15568         parentheses around function name in definition.
15569         (__fegetround): Also undefine macro after function definition.
15570         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
15571         __fegetround and define as weak alias of __fegetround.  Use
15572         libm_hidden_weak.  Do not undefine as macro.
15573         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
15574         Likewise.
15575         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
15576         __fegetround and define as weak alias of __fegetround.  Use
15577         libm_hidden_weak.
15578         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15579         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
15580         * sysdeps/tile/math_private.h (__fegetround): New inline function.
15581         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
15582         __fegetround and define as weak alias of __fegetround.  Use
15583         libm_hidden_weak.
15584         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
15585         __fegetround instead of fegetround.
15587         [BZ #17782]
15588         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
15589         Condition macro definition on [__USE_MISC].
15591         [BZ #17781]
15592         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
15593         (struct sigaction): Change type of sa_flags field to int.
15595         [BZ #17780]
15596         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
15597         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
15598         __glibc_reserved0.
15600         * nptl/version.c (banner): Use single year in copyright notice.
15602         * NEWS: Update copyright dates.
15603         * catgets/gencat.c (print_version): Likewise.
15604         * csu/version.c (banner): Likewise.
15605         * debug/catchsegv.sh: Likewise.
15606         * debug/pcprofiledump.c (print_version): Likewise.
15607         * debug/xtrace.sh (do_version): Likewise.
15608         * elf/ldconfig.c (print_version): Likewise.
15609         * elf/ldd.bash.in: Likewise.
15610         * elf/pldd.c (print_version): Likewise.
15611         * elf/sotruss.sh: Likewise.
15612         * elf/sprof.c (print_version): Likewise.
15613         * iconv/iconv_prog.c (print_version): Likewise.
15614         * iconv/iconvconfig.c (print_version): Likewise.
15615         * locale/programs/locale.c (print_version): Likewise.
15616         * locale/programs/localedef.c (print_version): Likewise.
15617         * login/programs/pt_chown.c (print_version): Likewise.
15618         * malloc/memusage.sh (do_version): Likewise.
15619         * malloc/memusagestat.c (print_version): Likewise.
15620         * malloc/mtrace.pl: Likewise.
15621         * manual/libc.texinfo: Likewise.
15622         * nptl/version.c (banner): Likewise.
15623         * nscd/nscd.c (print_version): Likewise.
15624         * nss/getent.c (print_version): Likewise.
15625         * nss/makedb.c (print_version): Likewise.
15626         * posix/getconf.c (main): Likewise.
15627         * scripts/test-installation.pl: Likewise.
15628         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
15630 2015-01-02  Will Newton  <will.newton@linaro.org>
15632         * sysdeps/arm/armv7/configure: Removed.
15633         * sysdeps/arm/armv7/configure.ac: Likewise.
15635 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
15637         * All files with FSF copyright notices: Update copyright dates
15638         using scripts/update-copyrights.
15639         * intl/plural.c: Regenerated.
15640         * locale/programs/charmap-kw.h: Likewise.
15641         * locale/programs/locfile-kw.h: Likewise.
15643 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15645         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
15647 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
15649         [BZ #17748]
15650         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
15651         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
15652         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
15653         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
15654         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
15655         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
15656         define as weak alias of __fegetenv.  Use libm_hidden_weak.
15657         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
15658         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
15659         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
15660         define as weak alias of __fegetenv.  Use libm_hidden_weak.
15661         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
15662         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
15663         define as weak alias of __fegetenv.  Use libm_hidden_weak.
15664         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
15665         libm_hidden_def.
15666         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
15667         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
15668         Likewise.
15669         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
15670         define as weak alias of __fegetenv.  Use libm_hidden_weak.
15671         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
15672         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
15673         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
15674         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
15675         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
15676         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
15677         __fegetenv instead of fegetenv.
15678         (libc_feholdsetround_noex_ctx): Likewise.
15680 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
15682         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
15683         (Elf_MIPS_ABIFlags_v0): New structure.
15684         (EF_MIPS_FP64): Define.
15685         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
15686         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
15687         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
15688         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
15689         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
15690         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
15691         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
15692         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
15693         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
15694         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
15695         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
15696         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
15697         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
15698         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
15699         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
15700         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
15701         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
15702         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
15703         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
15704         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
15705         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
15706         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
15707         field.
15708         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
15709         EF_MIPS_FP64.
15710         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
15711         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
15712         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
15713         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
15714         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
15715         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
15716         * sysdeps/mips/tst-abi-interlink.c: Likewise.
15717         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
15718         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
15719         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
15720         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
15721         record the current FP ABI extension.
15722         (mips-mode-switch): Define to show if kernel headers support mode
15723         switching.
15724         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15725         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
15726         supported SYSV ABI version to 3.
15727         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
15728         feature.
15730 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15731             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15733         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
15734         path.
15735         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
15737 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
15739         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
15740         __fegetround and redefine to call __fegetround.  Remove condition
15741         on [!__NO_MATH_INLINES].
15742         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
15743         function.
15744         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
15745         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
15746         Remove macro.
15747         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
15748         instead of <fenv_libc.h>.
15749         (__llrintl): Call fegetround instead of __fegetround.
15750         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
15751         instead of <fenv_libc.h>.
15752         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15753         (__lrintl): Call fegetround instead of __fegetround.
15754         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
15755         instead of <fenv_libc.h>.
15756         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15757         (__rintl): Call fegetround instead of __fegetround.
15759 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
15761         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
15762         arrays.
15764 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
15766         [BZ #17775]
15767         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
15768         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
15769         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
15771 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
15773         * sysdeps/i386/tls-macros.h: Include <features.h>.
15774         (TLS_LE): Use non-PIC version for GCC >= 5.0.
15775         (TLS_IE): Likewise.
15776         (TLS_LD): Likewise.
15777         (TLS_GD): Likewise.
15778         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
15779         define for GCC >= 5.0.
15781 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
15783         * math/test-fenv.c (test_single_exception, set_single_exc,
15784         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
15785         feexcp_mask_test, feenable_test, fe_single_test): Add
15786         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
15787         case where they are not used.
15788         * math/libm-test.inc: Likewise.
15789         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
15790         unused in the absence of FP rounding/exception support.
15791         * stdio-common/tst-printf-round.c: Likewise.
15792         * stdlib/tst-strtod-round.c: Likewise.
15793         * stdlib/tst-strtod-underflow.c: Likewise.
15795 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
15797         [BZ #17723]
15798         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
15799         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
15800         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
15801         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
15802         libm_hidden_weak.
15803         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
15804         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
15805         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
15806         libm_hidden_def.
15807         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
15808         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
15809         libm_hidden_weak.
15810         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
15811         Likewise.
15812         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
15813         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
15814         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
15815         libm_hidden_weak.
15816         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
15817         libm_hidden_def.
15818         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
15819         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
15820         (__feraiseexcept): Likewise.
15821         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
15822         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
15823         libm_hidden_weak.
15824         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
15825         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
15826         libm_hidden_def.
15827         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
15828         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
15829         Use libm_hidden_def.
15830         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
15831         libm_hidden_def.
15832         (feraiseexcept): Define as weak not strong alias.  Use
15833         libm_hidden_weak.
15834         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
15835         New inline function.  Factored out of ...
15836         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
15837         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
15838         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
15839         feraiseexcept.
15840         * math/w_acos.c (__acos): Likewise.
15841         * math/w_asin.c (__asin): Likewise.
15842         * math/w_ilogb.c (__ilogb): Likewise.
15843         * math/w_j0.c (y0): Likewise.
15844         * math/w_j1.c (y1): Likewise.
15845         * math/w_jn.c (yn): Likewise.
15846         * math/w_log.c (__log): Likewise.
15847         * math/w_log10.c (__log10): Likewise.
15848         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
15849         * sysdeps/aarch64/fpu/math_private.h
15850         (libc_feupdateenv_test_aarch64): Likewise.
15851         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
15852         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
15853         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
15854         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
15855         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
15856         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
15857         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
15858         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15859         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15860         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15862 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
15864         [BZ #17732]
15865         * io/test-utime.c (main): Replace %ld with %jd and cast to
15866         intmax_t.
15867         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
15868         * nptl/tst-mutex5.c: Include <stdint.h>.
15869         (do_test): Replace %ld with %jd and cast to intmax_t.
15870         * posix/tst-regex.c (run_test): Likewise.
15871         (run_test_backwards): Likewise.
15872         * rt/tst-clock.c: Include <stdint.h>.
15873         (clock_test): Replace %ld with %jd and cast to intmax_t.
15874         * rt/tst-cpuclock1.c: Include <stdint.h>.
15875         (do_test): Replace %lu with %ju and cast to uintmax_t.
15876         * rt/tst-cpuclock2.c: Include <stdint.h>.
15877         (do_test): Replace %lu with %ju and cast to uintmax_t.
15878         * rt/tst-mqueue1.c: Include <stdint.h>.
15879         (check_attrs): Replace %ld with %jd and cast to intmax_t.
15880         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
15881         intmax_t.
15882         * rt/tst-mqueue4.c (do_test): Likewise.
15883         * rt/tst-timer4.c: Include <stdint.h>.
15884         (check_ts): Replace %ld with %jd and cast to intmax_t.
15885         (do_test): Likewise.
15886         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
15887         and cast to intmax_t.
15888         * sysdeps/pthread/tst-timer.c (main): Likewise.
15889         * time/clocktest.c (main): Likewise.
15890         * time/tst-posixtz.c (do_test): Likewise.
15891         * timezone/tst-timezone.c (main): Likewise.
15893 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
15894             H.J. Lu  <hongjiu.lu@intel.com>
15896         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
15897         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
15898         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
15899         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
15900         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
15901         version if bit_Fast_Unaligned_Load is set.
15902         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15903         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15904         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15905         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15906         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15907         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15908         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15909         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
15910         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
15911         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
15912         to 4.
15913         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
15914         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
15915         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
15916         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
15918 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
15920         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
15921         instead of #if to avoid a Wundef warning.
15922         * stdlib/tst-limits.c (do_test): Likewise.
15924         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
15925         parallel other exception macros.
15926         (fegetenv): Convert from macro to extern inline so that it applies
15927         retroactively to inline functions already seen by the compiler.
15928         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
15930         * posix/Makefile (before-compile): Use $(objpfx) for
15931         posix-conf-vars-def.h.
15933 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15935         * posix/getconf.c (main): Use size_t for type of I.
15936         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
15937         NSPEC.
15939         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
15940         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
15941         * posix/posix-envs.def: Likewise.
15942         * sysdeps/posix/sysconf.c: Likewise.
15943         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
15944         (specs): Remove array.
15945         * scripts/gen-posix-conf-vars.awk: Support generation of specs
15946         array.
15948         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
15949         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
15950         (__sysconf): Use CONF_IS_* macros.
15952         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
15953         ($(objpfx)posix-conf-vars-def.h): New target.
15954         * posix/posix-conf-vars.list: New file.
15955         * posix/posix-conf-vars.h: New file.
15956         * posix/confstr.c: Include posix-conf-vars.h.
15957         (confstr): Use CONF_IS_* macros.
15958         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
15959         CONF_IS_* macros.
15960         * scripts/gen-posix-conf-vars.awk: New file.
15962 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
15964         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
15965         fegetround): Add no-op macros to avoid linknamespace issues.
15967         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
15968         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
15970         * sysdeps/unix/sysv/linux/tile/sysdep.h
15971         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
15972         assembly-specific section to avoid a redefinition warning.
15974         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
15975         long before casting to pointer to avoid a cast warning.
15977 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
15979         * sysdeps/tile/tilegx/Implies: New file.
15981 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
15983         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
15985 2014-12-23  Florian Weimer  <fweimer@redhat.com>
15987         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
15989 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
15991         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
15992         not define.
15993         * sysdeps/unix/sysv/linux/utimes.c: Do not include
15994         <kernel-features.h>.
15995         (__utimes) [__NR_utimes]: Make code unconditional.
15996         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
15997         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15998         (__ASSUME_UTIMES): Do not undefine.
15999         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16000         (__ASSUME_UTIMES): Likewise.
16001         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16002         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
16003         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
16004         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
16006 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
16008         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
16010 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
16012         [BZ #17747]
16013         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
16014         alias to weak alias for j0l, y0l.
16015         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
16016         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
16018         [BZ #17746]
16019         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
16020         conversion.
16022 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
16024         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
16025         to zero if not already defined.
16027 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
16029         [BZ #17724]
16030         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
16031         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
16032         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
16033         (char *) casts added.
16034         * sysdeps/ieee754/k_standardf.c: New file.
16035         * sysdeps/ieee754/k_standardl.c: Likewise.
16036         * math/Makefile (libm-support): Remove k_standard.
16037         (libm-calls): Add k_standard.
16039 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
16041         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
16042         Optimize to avoid an unnecessary FPCR read.
16044 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
16046         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
16047         Optimize to reduce FPCR/FPSR accesses.
16049 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
16051         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
16052         Call libc_fetestexcept_aarch64.
16054 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
16056         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
16057         Call libc_fesetround_aarch64.
16059 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
16061         [BZ #17733]
16062         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
16063         (__bind): Do not define as weak alias.
16064         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
16065         define.
16066         (__getsockname): Do not define as weak alias.
16068 2014-12-22  Will Newton  <will.newton@linaro.org>
16070         * manual/install.texi: Document that we require bison 2.7
16071         or above.
16072         * INSTALL: Regenerate.
16073         * configure.ac: Use AC_CHECK_PROG_VER instead of
16074         AC_PATH_PROG when checking for bison and check for
16075         version 2.7 or above.
16076         * configure: Regenerate.
16078 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
16080         [BZ #17745]
16081         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
16082         * sysdeps/tile/ffsll.c (ffsll): To here.
16084         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
16086 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
16088         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
16089         if not defined.
16090         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
16091         definition.
16092         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
16093         hidden ___tls_get_addr.
16094         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
16095         hidden __tls_get_addr.
16096         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
16097         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
16098         Likewise.
16100 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
16102         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
16103         _dl_init call.
16105 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
16107         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
16108         from "call _dl_init@PLT".
16109         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
16111 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
16113         * manual/search.texi: (Array Sort Function): Clarify stable sorting
16114         guarantees.
16116 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
16118         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
16120 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
16122         [BZ #17744]
16123         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
16124         strnlen.
16126 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
16128         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
16129         of multu on MIPSr6.
16130         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
16131         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
16132         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
16133         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
16134         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
16136 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
16138         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
16139         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
16140         (PTR_SUBU): Use subu for mips32r6/mips64r6.
16141         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
16142         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
16143         mips32r6/mips64r6.
16144         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
16146 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
16148         * string/strncat.c (STRNCAT): Simplify implementation.
16150 2014-12-19  David S. Miller  <davem@davemloft.net>
16152         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
16153         access the quad as both a long double and as a series of 4 words.
16155         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
16156         link_map->l_info array access.
16158 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
16160         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
16162         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
16163         * math/atest-exp2.c (TIMEOUT): Likewise.
16164         * math/atest-sincos.c (TIMEOUT): Likewise.
16166 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
16168         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
16169         -Wno-error with -fno-builtin-lround.
16171 2014-12-19  Torvald Riegel  <triegel@redhat.com>
16173         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
16174         Contains futex constants and functions moved over from ...
16175         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
16176         <lowlevellock-futex.h>.
16177         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
16178         (lll_timedwait_tid): Add comments and parentheses around macro
16179         arguments.
16181 2014-12-19  Torvald Riegel  <triegel@redhat.com>
16183         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
16184         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
16185         (__lll_private_flag): Remove.
16186         (lll_futex_wait): Likewise.
16187         (lll_futex_timed_wait): Likewise.
16188         (lll_futex_wake): Likewise.
16189         (lll_futex_requeue): Likewise.
16190         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
16191         (__lll_timedwait_tid): Spell out argument names.
16192         (lll_timedwait_tid): Add comments and parentheses around macro
16193         arguments.
16194         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
16195         LLL_SHARED and LLL_PRIVATE usable from assembly code.
16197 2014-12-19  Torvald Riegel  <triegel@redhat.com>
16199         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
16200         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
16201         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16202         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
16203         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
16204         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
16205         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
16206         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
16207         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
16208         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
16209         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
16210         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
16211         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
16212         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
16213         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
16214         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
16215         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
16216         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
16217         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
16219 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
16221         * sysdeps/x86_64/x32/Makefile: New file.
16223 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
16225         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
16226         1L with (mp_limb_t) 1.
16228 2014-12-17  Roland McGrath  <roland@hack.frob.com>
16230         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
16231         * nptl/libc_pthread_init.c: ... here.
16232         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
16233         * nptl/register-atfork.c: ... here.
16235         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
16236         Use pthread_sigmask rather than INTERNAL_SYSCALL.
16237         Use assert_perror to check its return value.
16238         (__gai_create_helper_thread): Likewise.
16240         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
16242         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
16244 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
16246         [BZ #17725]
16247         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
16248         __profil_counter.
16249         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
16250         Likewise.
16251         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
16252         Likewise.
16253         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
16254         Likewise.
16255         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
16256         (profil_counter): Likewise.
16257         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
16258         (profil_counter): Likewise.
16259         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
16260         Likewise.
16261         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
16262         Likewise.
16263         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
16264         (profil_counter): Likewise.
16265         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
16266         Likewise.
16267         [!__profil_counter] (profil_counter): Define as weak alias of
16268         __profil_counter.
16269         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
16270         (profil_counter): Rename to __profil_counter.
16271         [!__profil_counter] (profil_counter): Define as weak alias of
16272         __profil_counter.
16273         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
16274         (profil_counter): Rename to __profil_counter.
16275         [!__profil_counter] (profil_counter): Define as weak alias of
16276         __profil_counter.
16277         * sysdeps/posix/profil.c: Update comment referring to
16278         profil_counter.
16279         (__profil): Use __profil_counter instead of profil_counter.
16280         * sysdeps/posix/sprofil.c (profil_counter): Rename to
16281         __profil_counter.  Use __profil_counter_ushort and
16282         __profil_counter_uint in definitions.
16283         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
16284         instead of profil_counter_uint and profil_counter_ushort.
16286         [BZ #17722]
16287         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
16288         define as weak alias of __inet_makeaddr.
16289         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
16290         as weak alias of __inet_addr.
16291         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
16292         as weak alias of __inet_pton.  Use libc_hidden_weak.
16293         * include/arpa/inet.h (__inet_pton): Declare.  Use
16294         libc_hidden_proto.
16295         (inet_makeaddr): Don't use libc_hidden_proto.
16296         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
16297         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
16298         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
16299         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
16300         Remove variable.
16301         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
16302         (test-xfail-POSIX/time.h/linknamespace): Likewise.
16304 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
16306         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
16308 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
16310         * stdio-common/bug-vfprintf-nargs.c (do_test):
16311         Cast value to intptr_t to avoid format warning
16312         for usage with PRIdPTR printing macro.
16314 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
16316         * libio/tst-widetext.c (do_test):
16317         Use format type %td instead of %Zd for ptrdiff_t
16318         in order to avoid format warning.
16320 2014-12-17  Andreas Schwab  <schwab@suse.de>
16322         * nscd/mem.c (gc): Add size_t cast to match printf format.
16324 2014-12-16  Roland McGrath  <roland@hack.frob.com>
16326         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
16327         (init): Apply PTR_MANGLE to pointers before storing them.
16328         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
16329         before using them.
16331 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
16333         [BZ #17719]
16334         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
16335         define as weak alias of __memrchr.
16336         (__memrchr): Do not define as strong alias of memrchr.
16337         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
16338         Remove variable.
16339         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
16340         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
16341         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
16343         [BZ #17717]
16344         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
16345         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
16346         (if_indextoname): Rename to __if_indextoname and define as weak
16347         alias of __if_indextoname.  Use libc_hidden_weak.
16348         (if_freenameindex): Rename to __if_freenameindex and define as
16349         weak alias of __if_freenameindex.
16350         (if_nameindex): Rename to __if_nameindex and define as weak alias
16351         of __if_nameindex.
16352         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
16353         __if_nametoindex and define as weak alias of __if_nametoindex.
16354         Use libc_hidden_weak.
16355         (if_freenameindex): Rename to __if_freenameindex and define as
16356         weak alias of __if_freenameindex.
16357         (if_nameindex): Rename to __if_nameindex and define as weak alias
16358         of __if_nameindex.
16359         (if_indextoname): Rename to __if_indextoname and define as weak
16360         alias of __if_indextoname.  Use libc_hidden_weak.
16361         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
16362         __if_nametoindex and define as weak alias of __if_nametoindex.
16363         Use libc_hidden_weak.
16364         (if_freenameindex): Rename to __if_freenameindex and define as
16365         weak alias of __if_freenameindex.  Use libc_hidden_weak.
16366         (if_nameindex_netlink): Use __if_freenameindex instead of
16367         if_freenameindex.
16368         (if_nameindex): Rename to __if_nameindex and define as weak alias
16369         of __if_nameindex.  Use libc_hidden_weak.
16370         (if_indextoname): Rename to __if_indextoname and define as weak
16371         alias of __if_indextoname.  Use libc_hidden_weak.
16372         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
16373         libc_hidden_proto.
16374         [!_ISOMAC] (__if_freenameindex): Likewise.
16375         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
16376         if_nametoindex.
16377         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
16378         variable.
16379         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
16380         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
16381         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
16382         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
16383         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
16384         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
16385         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
16387         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
16388         Remove variable.
16389         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
16390         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
16392 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16394         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
16395         subscript above bounds'
16397         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
16398         bounds.
16400 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
16402         * libio/tst-fopenloc.c: Use test-skeleton.c.
16404         * stdlib/tst-bsearch.c: Use test-skeleton.c.
16405         (entry): Rename to ITEM.
16406         (do_test, comp): Adjust.
16408         * stdio-common/tst-fseek.c: Use test-skeleton.c.
16410 2014-12-16  Torvald Riegel  <triegel@redhat.com>
16412         * string/tester.c: Include <libc-internal.h>.
16413         (test_memset): Ignore -Wmemset-transposed-args.
16415 2014-12-16  Torvald Riegel  <triegel@redhat.com>
16417         * misc/tst-mntent2.c (do_test): Fix warning.
16419 2014-12-16  Torvald Riegel  <triegel@redhat.com>
16421         * elf/tst-unique4lib.cc(a): Mark as used.
16423 2014-12-16  Florian Weimer  <fweimer@redhat.com>
16425         [BZ #17630]
16426         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
16427         names.
16429 2014-12-16  Allan McRae  <allan@archlinux.org>
16431         * stdio-common/Makefile (tests): Re-add bug26.
16433 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
16435         [BZ #17657]
16436         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
16437         static array.
16439 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
16441         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
16442         (__lll_lock_wait): Likewise.
16443         (__lll_timedlock_wait): Likewise.
16444         (__lll_timedwait_tid): Likewise.
16445         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
16446         (__lll_robust_timedlock_wait): Likewise.
16447         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
16448         (lll_cond_trylock): Likewise.
16449         (__lll_lock): Likewise.
16450         (__lll_robust_lock): Likewise.
16451         (__lll_cond_lock): Likewise.
16452         (lll_robust_cond_lock): Likewise.
16453         (__lll_timedlock): Likewise.
16454         (__lll_robust_timedlock): Likewise.
16455         (__lll_unlock): Likewise.
16456         (__lll_robust_unlock): Likewise.
16457         (lll_wait_tid): Likewise.
16458         (lll_timedwait_tid): Likewise.
16460 2014-12-15  Torvald Riegel  <triegel@redhat.com>
16462         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
16464 2014-12-15  Torvald Riegel  <triegel@redhat.com>
16466         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
16468 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
16470         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
16471         * stdio-common/tst-sprintf.c: Likewise.
16473 2014-12-15  Torvald Riegel  <triegel@redhat.com>
16475         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
16477 2014-12-15  Jeff Law  <law@redhat.com>
16479         [BZ #16617]
16480         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
16481         on the heap.  (CVE-2012-3406)
16482         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
16483         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
16484         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
16486 2014-12-15  Will Newton  <will.newton@linaro.org>
16488         * manual/install.texi: Bump required version of texinfo
16489         to 4.7 from 4.5.
16490         * INSTALL: Regenerated.
16491         * configure.ac: Check for makeinfo version 4.7 and above.
16492         * configure: Regenerated.
16494 2014-12-12  Roland McGrath  <roland@hack.frob.com>
16496         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
16497         PREFIX, string constant to insert between directory and name.
16498         * sysdeps/posix/shm_open.c: Update caller.
16499         * sysdeps/posix/shm_unlink.c: Likewise.
16500         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
16501         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
16502         (SEM_SHM_PREFIX): New macro.
16503         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
16504         [$(have-thread-library) = no].
16505         * nptl/Makefile (libpthread-routines): Add shm-directory.
16506         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
16507         * sysdeps/nptl/shm-directory.h: New file.
16508         * sysdeps/posix/shm-directory.c
16509         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
16510         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
16511         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
16512         INTERNAL_SYSCALL.
16513         (__where_is_shmfs): Function removed.
16514         (mountpoint, defaultmount, defaultdir, __namedsem_once):
16515         Variables removed.
16516         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
16517         Use SHM_GET_NAME.
16518         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
16520         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
16521         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
16522         unconditional for use inside libpthread.
16523         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
16525 2014-12-12  Roland McGrath  <roland@hack.frob.com>
16527         * nptl/pthread_getaffinity.c: New file.
16528         * nptl/pthread_setaffinity.c: New file.
16529         * nptl/pthread_getname.c: New file.
16530         * nptl/pthread_setname.c: New file.
16532         * nptl/pthread_create.c (START_THREAD_DEFN)
16533         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
16535 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
16536             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16538         * resolv/res_send.c (send_vc): Disable warning resplen may
16539         be used uninitialized.
16541 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
16543         * nptl/tst-mutex6.c
16544         (ATTR_NULL): New define checks ATTR against NULL.
16545         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
16546         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
16548 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
16550         [BZ #17581]
16551         * malloc/hooks.c
16552         (mem2mem_check): Revert my previous change.
16553         (malloc_check_get_size): Revert my previous change.
16554         (mem2chunk_check): Revert my previous change.
16556 2014-12-11  Roland McGrath  <roland@hack.frob.com>
16558         * sysdeps/posix/shm-directory.c: New file.
16559         * sysdeps/posix/shm-directory.h: New file.
16560         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
16561         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
16562         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
16563         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
16564         Transmute EPERM to EACCES.
16565         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
16566         from ...
16567         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
16568         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
16570 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16572         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
16573         pointer and cast to uintptr_t.
16574         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
16575         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
16576         Add cast to avoid warning.
16577         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
16579 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
16581         * nptl/semaphore.h: Move to ...
16582         * sysdeps/pthread/semaphore.h: ... here.
16583         * Makefile (installed-headers): Change nptl/semaphore.h to
16584         sysdeps/pthread/semaphore.h.
16586 2014-12-11  Roland McGrath  <roland@hack.frob.com>
16588         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
16589         generated error format strings.
16591         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
16592         -Wformat-extra-args warnings for scanf formats.
16593         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
16594         test of zero-length format (duh).
16595         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
16596         corner-case scanf format test.
16597         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
16598         generated fprintf format string.
16599         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
16600         corner-case sprintf format tests.
16601         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
16602         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
16603         -Wformat-extra-args warnings throughout.
16604         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
16605         (CFLAGS-scanf4.c): Likewise.
16606         (CFLAGS-scanf7.c): Likewise.
16607         (CFLAGS-tst-sprintf.c): Likewise.
16608         (CFLAGS-tst-printf.c): Likewise.
16609         (CFLAGS-tst-printfsz.c): Likewise.
16611 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
16613         * include/cpio.h: New file.
16614         * include/fmtmsg.h: Likewise.
16616         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
16617         corresponding format argument to size_t.
16618         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
16619         arguments.
16620         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
16621         corresponding format argument to size_t.
16622         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
16623         arguments.
16624         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
16625         corresponding format argument to size_t.
16626         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
16627         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
16628         (CFLAGS-tst-mbswcs2.c): Likewise.
16629         (CFLAGS-tst-mbswcs3.c): Likewise.
16630         (CFLAGS-tst-mbswcs4.c): Likewise.
16631         (CFLAGS-tst-mbswcs5.c): Likewise.
16632         (CFLAGS-tst-trans.c): Likewise
16634 2014-12-11  Roland McGrath  <roland@hack.frob.com>
16636         * posix/regexbug1.c (main): Use "%s" format with regerror results,
16637         rather than assuming they won't contain any '%'s.
16639 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
16641         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
16642         inhibit_loop_to_libcall to avoid recursive calls.
16643         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
16644         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
16646 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
16648         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
16649         prototype.
16651 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
16653         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
16654         integer value instead of boolean.
16656 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
16658         * malloc/malloc.c: Fix powerof2 check.
16660 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
16662         * locale/programs/locfile.h (maybe_swap_uint32):
16663         Remove inline and add unused attribute.
16665 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
16667         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
16668         Truncating assembler expression to a .long expression.
16670 2014-12-11  Andreas Schwab  <schwab@suse.de>
16672         * elf/rtld.c (struct map_args): Constify str member.
16673         (do_preload): Constify fname argument.
16675 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16677         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
16678         constants definition.
16680 2014-12-11  Andreas Schwab  <schwab@suse.de>
16682         [BZ #16657]
16683         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
16684         FORCE_ELISION instead of DO_ELISION.
16685         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
16686         Remove.
16687         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
16688         Likewise.
16690         * iconvdata/gconv-modules: Remove duplicate entry.
16692 2014-12-11  Will Newton  <will.newton@linaro.org>
16694         Merge gettext 0.19.3 into intl/.
16696         This involves a number of cosmetic changes to comments
16697         and ANSI function definitions and prototypes throughout
16698         all the files. The gettext copyright header is used but
16699         with the date ranges taken from the glibc copy.
16701         * NEWS: Add gettext merge to 2.21.
16702         * intl/bindtextdom.c: Switch to gettext copyright.
16703         Use ANSI definitions and prototypes.
16704         Use gl_* locking primitives rather than __libc_* ones.
16705         Use __builtin_expect rather than __glibc_likely/unlikely.
16706         * intl/dcgettext.c: Switch to gettext copyright.
16707         Use ANSI definitions and prototypes.
16708         * intl/dcigettext.c: Switch to gettext copyright.
16709         Use ANSI definitions and prototypes.
16710         (INTDIV0_RAISES_SIGFPE): New define.
16711         Use gl_* locking primitives rather than __libc_* ones.
16712         Include eval-plural.h instead of plural-eval.c.
16713         Use __builtin_expect rather than __glibc_likely/unlikely.
16714         * intl/dcngettext.c: Switch to gettext copyright.
16715         Use ANSI definitions and prototypes.
16716         * intl/dgettext.c: Likewise.
16717         * intl/dngettext.c: Likewise.
16718         * intl/plural-eval.c: Renamed to...
16719         * intl/eval-plural.h: ...this.
16720         * intl/explodename.c: Switch to gettext copyright.
16721         Use ANSI definitions and prototypes.
16722         (_nl_explode_name): Use strchr instead of __rawmemchr.
16723         * intl/finddomain.c: Switch to gettext copyright.
16724         Use ANSI definitions and prototypes.
16725         Use gl_* locking primitives rather than __libc_* ones.
16726         (_nl_find_domain): Use malloc rather than alloca for
16727         allocation of temporary locale name.
16728         * intl/gettext.c: Switch to gettext copyright.
16729         Use ANSI definitions and prototypes.
16730         * intl/gettextP.h: Switch to gettext copyright.
16731         Use ANSI definitions and prototypes.
16732         Use gl_* locking primitives rather than __libc_* ones.
16733         * intl/gmo.h: Switch to gettext copyright.
16734         (struct sysdep_string): Move struct segment_pair outside of
16735         struct definition.
16736         * intl/hash-string.c: Use ANSI definitions and prototypes.
16737         * intl/hash-string.h: Switch to gettext copyright.
16738         Use ANSI definitions and prototypes.
16739         * intl/l10nflist.c: Switch to gettext copyright.
16740         Use ANSI definitions and prototypes.
16741         (_nl_normalize_codeset): Avoid integer overflow.
16742         * intl/loadinfo.h: Switch to gettext copyright.
16743         Use ANSI definitions and prototypes.
16744         (LIBINTL_DLL_EXPORTED): New define.
16745         (PATH_SEPARATOR): New define.
16746         * intl/loadmsgcat.c: Switch to gettext copyright.
16747         * intl/localealias.c: Switch to gettext copyright.
16748         Use ANSI definitions and prototypes.
16749         (_nl_expand_alias): Use PATH_SEPARATOR.
16750         * intl/ngettext.c: Switch to gettext copyright.
16751         Use ANSI definitions and prototypes.
16752         * intl/plural-exp.c: Likewise.
16753         * intl/plural-exp.h: Switch to gettext copyright.
16754         Use ANSI definitions and prototypes.
16755         (struct expression): Move definition of enum operator outside
16756         of struct definition.
16757         * intl/plural.c: Regenerate.
16758         * intl/plural.y: Switch to gettext copyright.
16759         Use ANSI definitions and prototypes.
16760         Port to bison 3.0.
16761         * intl/textdomain.c: Switch to gettext copyright.
16762         Use ANSI definitions and prototypes.
16763         Use gl_* locking primitives rather than __libc_* ones.
16765 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
16767         * debug/warning-nop.c: Add used atrribute.
16769 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
16771         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
16773         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
16774         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
16775         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
16777 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
16778             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16780         [BZ #17634]
16781         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
16782         Undefine after defining function.  Define as weak alias of
16783         __wcschr.  Use libc_hidden_weak.
16784         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
16785         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
16786         (libc_hidden_def): Also define __GI___wcschr alias.
16787         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
16788         __wcschr and define as weak alias of __wcschr.
16789         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
16790         __wcschr.
16791         [!WCSCHR] (DEFAULT_WCSCHR): Define.
16792         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
16793         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
16794         libc_hidden_weak.  Do not use libc_hidden_def.
16795         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
16796         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
16797         __GI___wcschr alias.
16798         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
16799         [IS_IN (libc)] (wcschr): Define as macro expanding to
16800         __redirect_wcschr.
16801         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
16802         [IS_IN (libc)] (__wcschr_power6): Likewise.
16803         [IS_IN (libc)] (__wcschr_power7): Likewise.
16804         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
16805         instead of wcschr.
16806         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
16807         __libc_wcschr.
16808         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
16809         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
16810         __wcschr and define as weak alias of __wcschr.  Use
16811         libc_hidden_builtin_def.
16812         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
16813         as weak alias of __wcschr.  Use libc_hidden_weak.
16814         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
16815         wcschr.
16816         * time/era.c (_nl_init_era_entries): Likewise.
16817         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
16818         variable.
16819         (test-xfail-XPG3/time.h/linknamespace): Likewise.
16820         (test-xfail-XPG4/time.h/linknamespace): Likewise.
16822 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
16824         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
16825         format for long int variable.
16827 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
16829         [BZ #10672]
16830         * manual/search.texi: (Array Sort Function): Remove claim how to make
16831         qsort stable.
16833 2014-12-10  Andreas Schwab  <schwab@suse.de>
16835         [BZ #12847]
16836         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
16837         user-controlled locks.
16839 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
16841         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
16842         register.
16844 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
16846         * configure.ac (--disable-werror): New configure option.
16847         (enable_werror): New AC_SUBST.
16848         * configure: Regenerated.
16849         * config.make.in (enable-werror): New variable.
16850         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
16851         -Wno-error=undef.
16852         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
16853         * manual/install.texi (Configuring and compiling): Document
16854         --disable-werror.
16855         * INSTALL: Regenerated.
16856         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
16857         (CFLAGS-tst-chk2.c): Likewise.
16858         (CFLAGS-tst-chk3.c): Likewise.
16859         (CFLAGS-tst-chk4.cc): Likewise.
16860         (CFLAGS-tst-chk5.cc): Likewise.
16861         (CFLAGS-tst-chk6.cc): Likewise.
16862         (CFLAGS-tst-lfschk1.c): Likewise.
16863         (CFLAGS-tst-lfschk2.c): Likewise.
16864         (CFLAGS-tst-lfschk3.c): Likewise.
16865         (CFLAGS-tst-lfschk4.cc): Likewise.
16866         (CFLAGS-tst-lfschk5.cc): Likewise.
16867         (CFLAGS-tst-lfschk6.cc): Likewise.
16869         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
16870         (main): Disable -Wdeprecated-declarations around calls to
16871         register_printf_function.
16873         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
16874         (do_test): Disable -Wdiv-by-zero around some calls to
16875         fwrite_unlocked and fread_unlocked.
16877         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
16878         (DIAG_POP_NEEDS_COMMENT): Likewise.
16879         (_DIAG_STR1): Likewise.
16880         (_DIAG_STR): Likewise.
16881         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
16882         * stdio-common/bug21.c: Include <libc-internal.h>.
16883         (do_test): Disable -Wformat around call to sscanf.
16884         * stdio-common/scanf14.c: Include <libc-internal.h>.
16885         (main): Disable -Wformat around some calls to scanf functions.
16887 2014-12-09  Torvald Riegel  <triegel@redhat.com>
16889         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
16891 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16893         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
16894         stack variable alignment.
16896 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
16898         [BZ #17682]
16899         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
16900         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
16901         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
16902         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
16903         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
16904         __getrlimit instead of getrlimit.
16905         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
16906         __gettimeofday instead of gettimeofday.
16907         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
16908         Likewise.
16909         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
16910         Likewise.
16911         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
16912         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
16913         Remove variable.
16914         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
16915         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
16917 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16919         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
16920         for wide-character tests.
16922 2014-12-04  Roland McGrath  <roland@hack.frob.com>
16924         * io/openat64.c: #include <libc-internal.h>
16925         (__openat64): Prototypify.  Use ignore_value on MODE.
16926         * io/openat.c: Likewise.
16927         * misc/reboot.c: #include <libc-internal.h>
16928         (reboot): Prototypify.  Use ignore_value on HOWTO.
16929         * misc/ptrace.c: #include <libc-internal.h>
16930         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
16932 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
16934         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
16935         XPG4, UNIX98 and XOPEN2K.
16936         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
16937         Remove variable.
16938         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
16940 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16942         * libio/fileops.c: Use ISO C style for function definitions.
16943         * libio/iofopen.c: Likewise.
16944         * libio/wfileops.c: Likewise.
16946         [BZ #17653]
16947         * libio/fileops.c (_IO_new_file_underflow): Unset cached
16948         offset on EOF.
16949         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
16950         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
16951         (fgets_func): Function pointer to fgets and fgetws.
16952         (do_ftell_test): Add test to verify ftell value after read
16953         EOF.
16954         (do_test): Set fgets_func.
16956         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
16957         O_TRUNC flag for w and w+ modes.
16958         (do_rewind_test): Likewise.
16959         (do_ftell_test): Likewise.
16960         (do_write_test): Likewise.
16962         [BZ #17647]
16963         * libio/fileops.c (do_ftell): Seek only when there are
16964         unflushed writes.
16965         * libio/wfileops.c (do_ftell_wide): Likewise.
16966         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
16967         test case.
16968         (do_one_test): Call it.
16970 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
16972         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
16973         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
16974         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
16975         Remove variable.
16976         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
16977         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
16978         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
16980 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
16982         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
16983         Remove variable.
16984         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
16986         [BZ #17668]
16987         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
16988         as weak alias of __getifaddrs.  Use libc_hidden_weak.
16989         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
16990         __freeifaddrs.  Use libc_hidden_weak.
16991         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
16992         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
16993         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
16994         __freeifaddrs.  Use libc_hidden_weak.
16995         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
16996         __getifaddrs and define as weak alias of __getifaddrs.  Use
16997         libc_hidden_weak.
16998         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
16999         __freeifaddrs.  Use libc_hidden_weak.
17000         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
17001         Remove variable.
17002         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
17003         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
17005 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
17007         [BZ #17601]
17008         * sysdeps/mips/start.S (__start): Use indirect jump to call
17009         __libc_start_main.
17011 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
17013         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
17015         * nptl/tst-mutex1.c: Include <stdbool.h>.
17016         [!ATTR] (ATTR_NULL): New macro.
17017         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
17018         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
17019         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
17021         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
17022         to char *.
17024         [BZ #17665]
17025         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
17026         Change conditional to [__USE_MISC].
17028         [BZ #17664]
17029         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
17030         fgets_unlocked.
17031         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
17032         __fgets_unlocked.
17033         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
17034         fgets_unlocked.
17035         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
17036         Remove variable.
17037         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
17038         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
17039         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
17040         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
17041         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
17042         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
17043         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
17044         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
17045         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
17047         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
17049 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17051         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17052         Remove strpbrk objects.
17053         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17054         (__libc_ifunc_impl_list): Remove strpbrk implementation.
17055         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
17056         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
17057         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
17058         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
17060         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17061         Remove strcspn objects.
17062         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17063         (__libc_ifunc_impl_list): Remove strcspn implementation.
17064         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
17065         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
17066         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
17067         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
17069         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17070         Remove strspn objetcs.
17071         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17072         (__libc_ifunc_impl_list): Remove strspn implementation.
17073         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
17074         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
17075         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
17076         * sysdeps/powerpc/powerpc64/strspn.S: New file.
17078 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
17080         [BZ #17581]
17081         * malloc/hooks.c
17082         (mem2mem_check): Add a terminator to the chain of checking blocks.
17083         (malloc_check_get_size): Use it here.
17084         (mem2chunk_check): Ditto.
17086 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17088         * sysdeps/powerpc/powerpc64/strtok.S: New file.
17089         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
17091 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
17093         * bits/ioctl-types.h: Indent preprocessor directives correctly.
17095         * nptl/nptl-init.c: Include libc-internal.h.
17096         (__pthread_initialize_minimal_internal): Use ROUND_UP.
17098         * elf/ldconfig.c (search_dir): Expand comment.
17100 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
17102         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
17103         variable.
17104         (linknamespace-symlist-stdlibs-tests): Likewise.
17105         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
17106         instead of $(objpfx)symlist-stdlibs.
17107         (linknamespace-libs-isoc): New variable.
17108         (linknamespace-libs): Use $(linknamespace-libs-isoc).
17109         (linknamespace-libs-ISO): New variable.
17110         (linknamespace-libs-ISO99): Likewise.
17111         (linknamespace-libs-ISO11): Likewise.
17112         (linknamespace-libs-XPG3): Likewise.
17113         (linknamespace-libs-XPG4): Likewise.
17114         (linknamespace-libs-POSIX): Likewise.
17115         (linknamespace-libs-UNIX98): Likewise.
17116         (linknamespace-libs-XOPEN2K): Likewise.
17117         (linknamespace-libs-POSIX2008): Likewise.
17118         (linknamespace-libs-XOPEN2K8): Likewise.
17119         ($(objpfx)symlist-stdlibs): Replace by
17120         $(linknamespace-symlist-stdlibs-tests).  Use
17121         $(linknamespace-libs-$*) as set of libraries.
17122         ($(linknamespace-header-tests)): Update dependencies.  Use
17123         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
17124         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
17125         * conform/linknamespace.pl: Remove comment about considering
17126         definitions of symbols from irrelevant libraries.
17128 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
17130         [BZ #13862]
17131         * elf/dl-tls.c: Include <atomic.h>.
17132         (oom): Remove #ifdef SHARED/#endif.
17133         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
17134         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
17135         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
17136         big enough.
17137         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
17138         * nptl/Makefile (tests): Add tst-stack4.
17139         (modules-names): Add tst-stack4mod.
17140         ($(objpfx)tst-stack4): New.
17141         (tst-stack4mod.sos): Likewise.
17142         ($(objpfx)tst-stack4.out): Likewise.
17143         ($(tst-stack4mod.sos)): Likewise.
17144         (clean): Likewise.
17145         * nptl/tst-stack4.c: New file.
17146         * nptl/tst-stack4mod.c: Likewise.
17148 2014-11-27  J. Brown  <jb999@gmx.de>
17150         * sysdeps/x86/bits/string.h: Add recent CPUs.
17152 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
17154         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
17155         sigblock.
17157         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
17158         feof.
17160         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
17161         variable.
17163 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
17165         * nscd/connections.c: Include libc-internal.h because of macro
17166         usage ignore_value.
17168 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17170         * string/bits/string3.h (__warn_memset_zero_len): Don't
17171         declare for gcc newer than 5.0.
17172         (memset): Don't test for zero-length __LEN for gcc newer than
17173         5.0.
17175 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
17177         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
17178         size_t for %zu format.
17180         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
17181         difference, not %ju.
17183 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
17185         * include/libc-internal.h (ignore_value): New macro.
17186         * nscd/connections.c (restart): Wrap calls to setuid and setgid
17187         with ignore_value.
17189         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
17190         definition.
17192         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
17193         pthread_cleanup_push to void *.
17195         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
17196         Undefine.
17198         [BZ #16619]
17199         [BZ #16740]
17200         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
17201         instead of 1L << 52.
17203         * libio/bug-rewind.c (do_test): Check fwscanf return values.
17204         * libio/bug-rewind2.c (do_test): Likewise.
17206         * debug/test-stpcpy_chk-ifunc.c: Remove file.
17207         * debug/test-strcpy_chk-ifunc.c: Likewise.
17208         * wcsmbs/test-wcschr-ifunc.c: Likewise.
17209         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17210         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17211         * wcsmbs/test-wcslen-ifunc.c: Likewise.
17212         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17213         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17214         * Rules [$(multi-arch) = no] (tests): Do not filter out
17215         $(tests-ifunc).
17216         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
17217         * debug/Makefile (tests-ifunc): Remove variable.
17218         (tests): Do not add $(tests-ifunc).
17219         * wcsmbs/Makefile (tests-ifunc): Remove variable.
17220         (tests): Do not add $(tests-ifunc).
17221         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
17222         [TEST_IFUNC]: Remove conditionals.
17223         * string/test-string.h (TEST_IFUNC): Remove macro.
17224         [TEST_IFUNC]: Remove conditionals.
17226         * string/test-strchr.c [!WIDE] (L): New macro.
17227         [WIDE] (L): Likewise.
17228         (check1): Use CHAR instead of char.  Use L on string and character
17229         constants.
17231 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
17233         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
17234         tests.
17235         * sysdeps/powerpc/bits/atomic.h
17236         (__arch_atomic_exchange_and_add_32_acq): Add definition.
17237         (__arch_atomic_exchange_and_add_32_rel): Likewise.
17238         (atomic_exchange_and_add_acq): Likewise.
17239         (atomic_exchange_and_add_rel): Likewise.
17240         * sysdeps/powerpc/powerpc32/bits/atomic.h
17241         (__arch_atomic_exchange_and_add_64_acq): Add definition.
17242         (__arch_atomic_exchange_and_add_64_rel): Likewise.
17243         * sysdeps/powerpc/powerpc64/bits/atomic.h
17244         (__arch_atomic_exchange_and_add_64_acq): Add definition.
17245         (__arch_atomic_exchange_and_add_64_rel): Likewise.
17247 2014-11-26  Torvald Riegel  <triegel@redhat.com>
17249         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
17250         Change synchronization of __sched_fifo_min_prio and
17251         __sched_fifo_max_prio.
17252         * nptl/pthread_mutexattr_getprioceiling.c
17253         (pthread_mutexattr_getprioceiling): Likewise.
17254         * nptl/pthread_mutexattr_setprioceiling.c
17255         (pthread_mutexattr_setprioceiling): Likewise.
17256         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
17257         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
17258         Likewise.
17260 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
17262         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
17263         void.
17265 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
17267         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
17268         third argument const.
17270 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
17272         fnmatch: work around GCC compiler warning bug with uninit var
17273         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
17274         This works around a bug with x86-64 GCC 4.9.2 and earlier
17275         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
17276         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
17277         used uninitialized in this function [-Wmaybe-uninitialized]".
17279 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
17281         * posix/bug-regex31.c (main): Return RES not 0.
17283 2014-11-25  Anton Blanchard <anton@samba.org>
17285         * sysdeps/powerpc/bits/atomic.h
17286         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
17288 2014-11-24  Sterling Augustine  <saugustine@google.com>
17290         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
17292 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
17294         [BZ #17608]
17295         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
17297 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
17299         [BZ #17633]
17300         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
17301         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
17302         variable.
17303         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
17304         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
17306 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
17308         * string/strncpy.c (strncpy): Improve performance by using memset.
17310 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
17312         * string/strcpy.c (strcpy):
17313         Improve performance by using strlen and memcpy.
17315 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
17317         * string/strcoll_l.c (get_next_seq): __always_inline.
17318         * string/strcoll_l.c (do_compare): __always_inline.
17320 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17322         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
17323         defined.
17324         * include/mqueue.h: Likewise.
17325         * include/stdlib.h: Likewise.
17327         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
17328         (get_null_defines): Adjust.
17329         * sunrpc/Makefile: Adjust comment.
17330         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
17331         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
17332         (CFLAGS-interp.c): Likewise.
17333         (CFLAGS-ldconfig.c): Likewise.
17334         (CPPFLAGS-.os): Likewise.
17335         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17336         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
17337         * extra-modules.mk (extra-modules.mk): Likewise.
17338         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
17339         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
17340         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
17341         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
17342         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
17343         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
17344         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
17345         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
17346         * iconvdata/Makefile (CPPFLAGS): Likewise.
17347         (cpp-srcs-left): Add libof for all iconvdata routines.
17348         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
17349         * include/assert.h: Likewise.
17350         * include/ctype.h: Likewise.
17351         * include/errno.h: Likewise.
17352         * include/libc-symbols.h: Likewise.
17353         * include/math.h: Likewise.
17354         * include/netdb.h: Likewise.
17355         * include/resolv.h: Likewise.
17356         * include/stdio.h: Likewise.
17357         * include/stdlib.h: Likewise.
17358         * include/string.h: Likewise.
17359         * include/sys/stat.h: Likewise.
17360         * include/wctype.h: Likewise.
17361         * intl/l10nflist.c: Likewise.
17362         * libidn/idn-stub.c: Likewise.
17363         * libio/libioP.h: Likewise.
17364         * nptl/libc_multiple_threads.c: Likewise.
17365         * nptl/pthreadP.h: Likewise.
17366         * posix/regex_internal.h: Likewise.
17367         * resolv/res_hconf.c: Likewise.
17368         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
17369         * sysdeps/arm/memmove.S: Likewise.
17370         * sysdeps/arm/sysdep.h: Likewise.
17371         * sysdeps/generic/_itoa.h: Likewise.
17372         * sysdeps/generic/symbol-hacks.h: Likewise.
17373         * sysdeps/gnu/errlist.awk: Likewise.
17374         * sysdeps/gnu/errlist.c: Likewise.
17375         * sysdeps/i386/i586/memcpy.S: Likewise.
17376         * sysdeps/i386/i586/memset.S: Likewise.
17377         * sysdeps/i386/i686/memcpy.S: Likewise.
17378         * sysdeps/i386/i686/memmove.S: Likewise.
17379         * sysdeps/i386/i686/mempcpy.S: Likewise.
17380         * sysdeps/i386/i686/memset.S: Likewise.
17381         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
17382         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17383         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
17384         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
17385         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17386         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17387         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
17388         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17389         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
17390         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17391         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17392         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17393         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17394         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17395         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17396         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17397         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
17398         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
17399         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
17400         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17401         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17402         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17403         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17404         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17405         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17406         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17407         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
17408         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17409         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
17410         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
17411         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17412         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17413         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17414         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17415         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17416         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
17417         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17418         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17419         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
17420         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
17421         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17422         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17423         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
17424         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
17425         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17426         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17427         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
17428         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
17429         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17430         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17431         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17432         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
17433         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
17434         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17435         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17436         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
17437         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17438         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
17439         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
17440         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17441         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17442         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17443         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
17444         * sysdeps/nptl/bits/libc-lock.h: Likewise.
17445         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
17446         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
17447         * sysdeps/posix/closedir.c: Likewise.
17448         * sysdeps/posix/opendir.c: Likewise.
17449         * sysdeps/posix/readdir.c: Likewise.
17450         * sysdeps/posix/rewinddir.c: Likewise.
17451         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
17452         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
17453         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
17454         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17455         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17456         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
17457         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
17458         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
17459         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
17460         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
17461         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
17462         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
17463         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
17464         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
17465         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
17466         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
17467         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
17468         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
17469         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
17470         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
17471         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
17472         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
17473         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
17474         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
17475         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
17476         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
17477         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
17478         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
17479         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
17480         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
17481         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
17482         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
17483         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
17484         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
17485         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
17486         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
17487         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17488         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17489         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
17490         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
17491         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
17492         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
17493         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
17494         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
17495         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
17496         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
17497         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
17498         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
17499         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
17500         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
17501         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
17502         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
17503         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
17504         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
17505         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
17506         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
17507         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
17508         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
17509         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
17510         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
17511         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
17512         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
17513         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
17514         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
17515         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
17516         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
17517         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
17518         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
17519         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
17520         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
17521         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
17522         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
17523         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
17524         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
17525         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
17526         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
17527         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
17528         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
17529         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
17530         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
17531         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
17532         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
17533         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
17534         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
17535         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
17536         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
17537         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
17538         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
17539         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
17540         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17541         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
17542         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
17543         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
17544         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17545         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17546         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
17547         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17548         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17549         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
17550         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
17551         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17552         * sysdeps/unix/alpha/sysdep.S: Likewise.
17553         * sysdeps/unix/alpha/sysdep.h: Likewise.
17554         * sysdeps/unix/make-syscalls.sh: Likewise.
17555         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
17556         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
17557         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
17558         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
17559         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
17560         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
17561         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
17562         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
17563         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
17564         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
17565         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
17566         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
17567         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17568         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
17569         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
17570         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
17571         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17572         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
17573         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
17574         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
17575         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
17576         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
17577         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
17578         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
17579         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
17580         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
17581         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
17583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
17584         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
17585         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17586         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
17587         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
17588         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17589         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
17590         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
17591         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
17592         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17593         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
17594         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
17595         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17596         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
17597         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
17598         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17599         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
17600         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
17601         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17602         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17603         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
17604         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17605         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
17606         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
17607         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
17608         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
17609         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
17610         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
17611         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
17612         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17613         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
17614         * sysdeps/x86_64/memcpy.S: Likewise.
17615         * sysdeps/x86_64/memmove.c: Likewise.
17616         * sysdeps/x86_64/memset.S: Likewise.
17617         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
17618         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
17619         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
17620         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
17621         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
17622         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17623         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17624         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17625         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17626         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17627         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17628         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17629         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
17630         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17631         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17632         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
17633         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
17634         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17635         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
17636         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17637         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
17638         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17639         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17640         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
17641         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17642         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17643         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17644         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
17645         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
17646         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17647         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
17648         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17649         * sysdeps/x86_64/strcmp.S: Likewise.
17651         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
17653         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
17654         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
17655         * elf/rtld-Rules: Likewise.
17656         * elf/setup-vdso.h: Likewise.
17657         * include/assert.h: Likewise.
17658         * include/bits/stdlib-float.h: Likewise.
17659         * include/errno.h: Likewise.
17660         * include/sys/stat.h: Likewise.
17661         * include/unistd.h: Likewise.
17662         * sysdeps/aarch64/setjmp.S: Likewise.
17663         * sysdeps/alpha/setjmp.S: Likewise.
17664         * sysdeps/arm/__longjmp.S: Likewise.
17665         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
17666         * sysdeps/arm/setjmp.S: Likewise.
17667         * sysdeps/arm/sysdep.h: Likewise.
17668         * sysdeps/generic/_itoa.h: Likewise.
17669         * sysdeps/generic/dl-sysdep.h: Likewise.
17670         * sysdeps/generic/ldsodefs.h: Likewise.
17671         * sysdeps/i386/dl-tls.h: Likewise.
17672         * sysdeps/i386/setjmp.S: Likewise.
17673         * sysdeps/m68k/setjmp.c: Likewise.
17674         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
17675         * sysdeps/mach/hurd/opendir.c: Likewise.
17676         * sysdeps/posix/getcwd.c: Likewise.
17677         * sysdeps/posix/opendir.c: Likewise.
17678         * sysdeps/posix/profil.c: Likewise.
17679         * sysdeps/powerpc/dl-procinfo.h: Likewise.
17680         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17681         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
17682         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
17683         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
17684         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
17685         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
17686         * sysdeps/s390/dl-tls.h: Likewise.
17687         * sysdeps/s390/s390-32/setjmp.S: Likewise.
17688         * sysdeps/s390/s390-64/setjmp.S: Likewise.
17689         * sysdeps/sh/sh3/setjmp.S: Likewise.
17690         * sysdeps/sh/sh4/setjmp.S: Likewise.
17691         * sysdeps/unix/alpha/sysdep.h: Likewise.
17692         * sysdeps/unix/arm/sysdep.S: Likewise.
17693         * sysdeps/unix/i386/sysdep.S: Likewise.
17694         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
17695         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
17696         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
17697         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
17698         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17699         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
17700         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
17701         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17702         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
17703         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
17704         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
17705         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
17706         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
17708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17709         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17710         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17711         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17712         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17713         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
17714         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
17715         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17716         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17717         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
17718         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
17719         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
17720         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17721         * sysdeps/unix/x86_64/sysdep.S: Likewise.
17722         * sysdeps/x86_64/setjmp.S: Likewise.
17724         * include/math.h: Use IS_IN instead of IS_IN_libm.
17725         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
17726         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17727         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
17728         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17729         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17730         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
17731         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
17732         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17733         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17734         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
17735         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
17736         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
17737         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
17738         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
17739         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
17740         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
17741         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
17742         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
17743         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
17744         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
17745         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
17746         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
17747         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
17748         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
17749         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
17750         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
17751         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
17752         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
17753         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
17754         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
17755         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
17756         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
17757         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
17759         Likewise.
17760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
17761         Likewise.
17762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
17763         Likewise.
17764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
17765         Likewise.
17766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
17767         Likewise.
17768         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
17769         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
17770         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
17771         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17772         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17773         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17774         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
17775         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
17776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
17777         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
17778         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
17779         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
17780         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
17781         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17782         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17783         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17784         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17785         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17786         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17787         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
17788         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
17789         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
17790         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
17791         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
17792         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
17793         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
17794         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
17796         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
17797         * nptl/pthreadP.h: Likewise.
17798         * nptl_db/structs.def: Likewise.
17799         * sysdeps/arm/sysdep.h: Likewise.
17800         * sysdeps/nptl/bits/libc-lock.h: Likewise.
17801         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
17802         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
17803         * sysdeps/unix/alpha/sysdep.h: Likewise.
17804         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
17805         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
17806         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
17807         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
17808         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
17809         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
17810         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17811         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
17812         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17813         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
17814         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
17815         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
17816         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
17817         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
17818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
17819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
17820         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
17821         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
17822         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
17823         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
17824         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
17825         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
17826         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
17827         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
17828         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
17829         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
17831         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
17832         * nptl/pthreadP.h: Likewise.
17833         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
17834         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
17835         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
17836         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
17837         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
17838         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
17839         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17840         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
17841         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
17842         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
17843         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
17844         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
17845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
17846         Likewise.
17847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
17848         Likewise.
17849         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
17850         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
17851         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
17852         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
17853         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
17854         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
17855         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
17856         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
17858         * dlfcn/dladdr.c: Use IS_IN.
17859         * dlfcn/dladdr1.c: Likewise.
17860         * dlfcn/dlclose.c: Likewise.
17861         * dlfcn/dlerror.c: Likewise.
17862         * dlfcn/dlinfo.c: Likewise.
17863         * dlfcn/dlmopen.c: Likewise.
17864         * dlfcn/dlopen.c: Likewise.
17865         * dlfcn/dlsym.c: Likewise.
17866         * dlfcn/dlvsym.c: Likewise.
17868         * include/ifaddrs.h: Use IS_IN.
17869         * inet/check_pf.c: Likewise.
17870         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17871         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
17873         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
17874         IS_IN_ldconfig.
17875         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
17876         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
17878         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
17879         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
17880         IS_IN (libc).
17882         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
17884         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
17885         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17886         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
17887         * include/libc-symbols.h (IS_IN_LIB): New macro.
17888         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
17889         * include/netdb.h: Likewise.
17890         * include/stap-probe.h: Remove all uses of IN_LIB.
17892         * Makeconfig (module-cppflags-real): Define MODULE_NAME
17893         instead of IN_MODULE.
17894         * include/libc-symbols.h (IN_MODULE): Define using
17895         MODULE_NAME.
17896         (PASTE_NAME, PASTE_NAME1): New macros.
17897         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
17898         of IN_LIB.
17899         (STAP_PROBE_ASM): Likewise.
17901 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17903         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
17904         __mach_init in dlopened libc.
17906 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
17908         * sysdeps/arm/preconfigure.ac: Delete EABI check.
17909         * sysdeps/arm/preconfigure: Regenerate.
17911 2014-11-21  Roland McGrath  <roland@hack.frob.com>
17913         * nptl/pthread_create.c (__pthread_create_2_1): Set
17914         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
17915         when copying values from IATTR into PD.
17917 2014-11-21  Will Newton  <will.newton@linaro.org>
17918             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
17920         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
17921         Refactor inline-asm.  Also add comment.
17923         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
17924         ElfW macro instead of hardcoded Elf64 types.
17925         (la_aarch64_gnu_pltenter): Likewise.
17926         * sysdeps/aarch64/dl-machine.h
17927         (elf_machine_runtime_setup): Use ElfW(Addr).
17929         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
17930         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
17931         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
17932         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
17933         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
17934         (R_AARCH64_TLS_DTPMOD64): Rename to ..
17935         (R_AARCH64_TLS_DTPMOD): This.
17936         (R_AARCH64_TLS_DTPREL64): Rename to ...
17937         (R_AARCH64_TLS_DTPREL): This.
17938         (R_AARCH64_TLS_TPREL64): Rename to ...
17939         (R_AARCH64_TLS_TPREL): This.
17940         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
17941         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
17942         R_AARCH64_TLS_TPREL64.
17943         (elf_machine_rela): Likewise.
17945 2014-11-21  Torvald Riegel  <triegel@redhat.com>
17947         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
17948         by setting it to 0.  64b atomics are not supported currently.
17950 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17952         [BZ #16469]
17953         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
17954         search domain names.
17956 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17958         [BZ #16469]
17959         * NEWS: Update.
17960         * resolv/res_query.c (__libc_res_nquerydomain): Retain
17961         trailing dot.
17962         * posix/tst-getaddrinfo5.c: New.
17963         * posix/Makefile (tests): Add it.
17965 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17967         [BZ #14498]
17968         * NEWS: Fixed.
17969         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
17970         after parsing line but before break_if_match.
17971         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
17972         if there is a protocol mismatch.
17974 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
17976         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
17977         because the potential race is on the user-supplied stream.
17979 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17981         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
17982         string literal if not passed a buffer.
17983         * manual/job.texi (ctermid): Update reasoning, note deviation
17984         from posix, suggest mtasurace when not passed a buffer, for
17985         future non-preliminary safety notes.
17987 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17989         * manual/users.texi (cuserid): Fix MT-Safety note for the case
17990         of not passing it a buffer.
17991         Reported by Peng Haitao.
17993 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17995         * manual/Makefile ($(objpfx)stamp-summary): Require
17996         check-safety.sh to pass.
17997         * manual/check-safety.sh: Wish for verification that every
17998         @deftypefn and @deftypefun is followed by a @safety remark.
18000 2014-11-20  Roland McGrath  <roland@hack.frob.com>
18002         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
18004         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
18005         PTHREAD_CANCEL_ASYNCHRONOUS.
18006         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
18007         send SIGCANCEL.
18009         * nptl/default-sched.h: New file.
18010         * sysdeps/unix/sysv/linux/default-sched.h: New file.
18011         * nptl/pthread_create.c: Include it.
18012         (__pthread_create_2_1): Use collect_default_sched instead of making
18013         Linux syscalls here directly.
18015 2014-11-20  Torvald Riegel  <triegel@redhat.com>
18017         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
18018         __pthread_once): Use C11 atomics.
18020 2014-11-20  Torvald Riegel  <triegel@redhat.com>
18022         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
18024 2014-11-20  Torvald Riegel  <triegel@redhat.com>
18026         * include/atomic.h (__atomic_link_error, __atomic_check_size,
18027         atomic_thread_fence_acquire, atomic_thread_fence_release,
18028         atomic_thread_fence_seq_cst, atomic_load_relaxed,
18029         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
18030         atomic_compare_exchange_weak_relaxed,
18031         atomic_compare_exchange_weak_acquire,
18032         atomic_compare_exchange_weak_release,
18033         atomic_exchange_acquire, atomic_exchange_release,
18034         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
18035         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
18036         atomic_fetch_and_acquire,
18037         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
18039 2014-11-20  Torvald Riegel  <triegel@redhat.com>
18041         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
18042         USE_ATOMIC_COMPILER_BUILTINS): Define.
18043         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
18044         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18045         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
18046         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18047         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
18048         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18049         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
18050         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18051         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
18052         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18053         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
18054         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18055         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
18056         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18057         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
18058         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18059         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
18060         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18061         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
18062         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18063         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
18064         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18065         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
18066         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18067         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
18068         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18069         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
18070         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18071         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
18072         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18073         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
18074         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18075         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
18076         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18077         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
18078         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18079         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
18080         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18081         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
18082         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18084 2014-11-19  Roland McGrath  <roland@hack.frob.com>
18086         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
18087         the sched_priority value here.  It was already checked when the user
18088         called pthread_attr_setschedparam.
18090         * nptl/tst-bad-schedattr.c: New file.
18091         * nptl/Makefile (tests): Add it.
18093 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
18094             Florian Weimer  <fweimer@redhat.com>
18095             Joseph Myers  <joseph@codesourcery.com>
18096             Adam Conrad  <adconrad@0c3.net>
18097             Andreas Schwab  <schwab@suse.de>
18098             Brooks  <bmoses@google.com>
18100         [BZ #17625]
18101         * wordexp-test.c (__dso_handle): Add prototype.
18102         (__register_atfork): Likewise.
18103         (__app_register_atfork): New function.
18104         (registered_forks): New global.
18105         (register_fork): New function.
18106         (test_case): Add 3 new tests for WRDE_CMDSUB.
18107         (main): Call __app_register_atfork.
18108         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
18109         fork count is non-zero fail the test.
18110         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
18111         is set.
18112         (parse_dollars): Remove check for WRDE_NOCMD.
18113         (parse_dquote): Likewise.
18115 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18117         * Makeconfig (built-modules): List non-library modules to be
18118         built.
18119         (module-cppflags): Include libc-modules.h for
18120         everything except shlib-versions.v.i.
18121         (CPPFLAGS): Use it.
18122         (before-compile): Add libc-modules.h.
18123         ($(common-objpfx)libc-modules.h,
18124         $(common-objpfx)libc-modules.stmp): New targets.
18125         (common-generated): Add libc-modules.h and libc-modules.stmp.
18126         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
18127         * include/libc-symbols.h: Don't include libc-modules.h.
18128         * include/libc-modules.h: Remove file.
18129         * scripts/gen-libc-modules.awk: New script to generate
18130         libc-modules.h.
18131         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
18132         Depend on libc-modules.stmp.
18134         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
18136         * Makeconfig (in-module): Get value of libof set for the
18137         translation unit.
18138         (CPPFLAGS): Use $(in-module).
18139         * Makerules: Don't suffix routine names for nonlib.
18140         * include/libc-modules.h: New file.
18141         * include/libc-symbols.h: Include libc-modules.h
18142         (IS_IN): New macro to replace IS_IN_* macros.
18143         * elf/Makefile: Set libof-* for each routine.
18144         * elf/rtld-Rules: Likewise.
18145         * extra-modules.mk: Likewise.
18146         * iconv/Makefile: Likewise.
18147         * iconvdata/Makefile: Likewise.
18148         * locale/Makefile: Likewise.
18149         * malloc/Makefile: Likewise.
18150         * nss/Makefile: Likewise.
18151         * sysdeps/gnu/Makefile: Likewise.
18152         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
18153         * sysdeps/unix/sysv/linux/Makefile: Likewise.
18154         * sysdeps/s390/s390-64/Makefile: Likewise.
18155         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
18156         CPPFLAGS for nscd instead of nonlib.
18158 2014-11-18  Roland McGrath  <roland@hack.frob.com>
18160         * nptl/createthread.c: New file.
18162         * nptl/createthread.c: Moved ...
18163         * sysdeps/unix/sysv/linux/createthread.c: ... here.
18165         * nptl/createthread.c: Add proper top-line comment.
18166         (do_clone): Folded into ...
18167         (create_thread): ... here.  Take new arguments STOPPED_START and
18168         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
18169         increment __nptl_threads, do event-reporting logic, do
18170         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
18171         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
18172         resource cleanup if sched_setaffinity or sched_setscheduler fails,
18173         just send SIGCANCEL.
18174         * nptl/pthread_create.c: Forward-declare create_thread before
18175         including createthread.c.
18176         (start_thread): Use new macro START_THREAD_DEFN to replace defining
18177         declaration, and new macro START_THREAD_SELF to replace argument.
18178         Remove return statement.
18179         (report_thread_creation): New function.
18180         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
18181         synchronization logic, and __nptl_nthreads increment here, around
18182         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
18183         PD->parent_cancelhandling here, before create_thread.  When
18184         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
18185         __deallocate_stack, and ENOMEM translation here.
18187 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
18189         [BZ #17616]
18190         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
18191         (mptwo): Rename to __mptwo.
18192         (__inv): Use __mptwo instead of mptwo.
18193         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
18194         (mptwo): Rename to __mptwo.
18195         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
18196         of mpone and __mptwo instead of mptwo.
18197         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
18198         instead of mpone.
18199         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18200         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
18201         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
18202         of mpone and __mptwo instead of mptwo.
18203         (__mpranred): Use __mpone instead of mpone.
18204         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
18205         variable.
18206         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
18207         (test-xfail-ISO99/math.h/linknamespace): Likewise.
18208         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
18209         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
18210         (test-xfail-ISO11/math.h/linknamespace): Likewise.
18211         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
18212         (test-xfail-XPG3/math.h/linknamespace): Likewise.
18213         (test-xfail-XPG4/math.h/linknamespace): Likewise.
18214         (test-xfail-POSIX/math.h/linknamespace): Likewise.
18215         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
18216         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
18217         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
18218         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
18219         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
18220         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
18221         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
18222         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
18223         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
18224         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
18226 2014-11-18  Tom de Vries  <tom@codesoucery.com>
18228         * manual/signal.texi (Primitives Interrupted by Signals): In section,
18229         replace BSD Handler xref with BSD Signal Handling.
18231 2014-11-17  Richard Henderson  <rth@redhat.com>
18233         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
18234         (_FP_PACK_RAW_2): Remove.
18235         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
18236         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
18237         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
18238         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
18239         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
18240         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
18241         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
18242         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
18243         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
18244         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
18245         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
18246         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
18247         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
18248         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
18249         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
18250         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
18252 2014-11-14  Roland McGrath  <roland@hack.frob.com>
18254         * signal/signal.h [__USE_MISC]
18255         (struct sigvec): Remove type.
18256         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
18257         (sigvec): Remove declaration.
18258         * sysdeps/posix/sigvec.c: Moved ...
18259         * signal/sigvec.c: ... here, replacing old file.
18260         (struct sigvec): New type, copied from old signal.h definition.
18261         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
18262         (__sigvec): Convert definition to prototype.
18263         (sigvec): Replace weak_alias with compat_symbol.
18264         * signal/Versions (libc: GLIBC_2.21): New version set.
18265         * include/signal.h: Remove __sigvec declaration.
18266         * sysdeps/unix/bsd/sigvec.c: Remove file.
18267         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
18268         * manual/signal.texi (BSD Handler): Remove subsection.
18269         Move siginterrupt up to ...
18270         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
18271         (Blocking in BSD): Fold subsection into its parent.
18272         * NEWS: Mention sigvec removal.
18274 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
18276         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
18277         (DLA_FMS): Make definition conditional only on [__FMA4__].
18278         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
18279         definition.
18281         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
18282         Make definition conditional only on [PROF].
18283         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
18284         definition.
18285         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
18286         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
18288         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
18289         !__GNUC__].
18290         * include/signal.h (__sigpause): Move declaration above call to
18291         libc_hidden_proto.
18292         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
18293         variable.
18294         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
18295         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
18297 2014-11-14  David S. Miller  <davem@davemloft.net>
18299         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
18300         Define before including <string/memcpy.c> and <string/mempcpy.c>.
18302 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
18304         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
18305         * configure: Regenerated.
18306         * manual/install.texi (Tools for Compilation): Document a
18307         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
18308         compiler verified to work.
18309         * INSTALL: Regenerated.
18311         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
18312         redeclare with asm name.
18313         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
18314         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
18315         including <string.h>.
18316         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
18317         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
18318         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
18319         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
18320         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
18321         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
18322         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
18324 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
18326         * stdlib/strtol.c (__strtol): Use prototype definition.
18328         [BZ #17594]
18329         * stdlib/strtol.c (SYM__): New macro.
18330         (SYM__1): Likewise.
18331         (__strtol): Likewise.
18332         (strtol): Rename to __strtol and define as weak alias of
18333         __strtol.  Use libc_hidden_weak.
18335 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18337         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
18338         Use numbered labels in inline assembly.
18340 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18342         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
18343         Add setjmp LIBC_PROBE.
18344         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
18345         Likewise.
18346         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
18347         Add longjmp, longjmp_target LIBC_PROBE.
18348         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
18349         Likewise.
18351 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18353         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18354         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
18355         to get rid of unused variable warning.
18357 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18359         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
18360         Check for unwind_backtrace ==  NULL only in SHARED case.
18361         (__backchain_backtrace): Compile only in SHARED case.
18362         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
18363         Likewise.
18364         (__backchain_backtrace): Declare as static.
18366 2014-11-12  Roland McGrath  <roland@hack.frob.com>
18368         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
18369         (__libc_multiple_threads_ptr): Variable moved ...
18370         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
18372 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
18374         * conform/GlibcConform.pm: New file.
18375         * conform/conformtest.pl: Use GlibcConform module.
18376         * conform/linknamespace.pl: New file.
18377         * conform/list-header-symbols.pl: Likewise.
18378         * conform/Makefile (linknamespace-symlists-base): New variable.
18379         (linknamespace-symlists-tests): Likewise.
18380         (linknamespace-header-base): Likewise.
18381         (linknamespace-header-tests): Likewise.
18382         (tests-special): Add new tests.
18383         ($(linknamespace-symlists-tests)): New rule.
18384         (linknamespace-libs): New variable.
18385         ($(objpfx)symlist-stdlibs): New rule.
18386         ($(linknamespace-header-tests)): Likewise.
18387         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
18388         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
18389         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
18390         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
18391         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
18392         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
18393         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
18394         (test-xfail-ISO/math.h/linknamespace): Likewise.
18395         (test-xfail-ISO/signal.h/linknamespace): Likewise.
18396         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
18397         (test-xfail-ISO/time.h/linknamespace): Likewise.
18398         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
18399         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
18400         (test-xfail-ISO99/math.h/linknamespace): Likewise.
18401         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
18402         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
18403         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
18404         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
18405         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
18406         (test-xfail-ISO11/math.h/linknamespace): Likewise.
18407         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
18408         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
18409         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
18410         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
18411         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
18412         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
18413         (test-xfail-XPG3/math.h/linknamespace): Likewise.
18414         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
18415         (test-xfail-XPG3/search.h/linknamespace): Likewise.
18416         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
18417         (test-xfail-XPG3/time.h/linknamespace): Likewise.
18418         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
18419         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
18420         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
18421         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
18422         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
18423         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
18424         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
18425         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
18426         (test-xfail-XPG4/math.h/linknamespace): Likewise.
18427         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
18428         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
18429         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
18430         (test-xfail-XPG4/search.h/linknamespace): Likewise.
18431         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
18432         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
18433         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
18434         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
18435         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
18436         (test-xfail-XPG4/time.h/linknamespace): Likewise.
18437         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
18438         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
18439         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
18440         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
18441         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
18442         (test-xfail-POSIX/math.h/linknamespace): Likewise.
18443         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
18444         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
18445         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
18446         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
18447         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
18448         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
18449         (test-xfail-POSIX/time.h/linknamespace): Likewise.
18450         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
18451         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
18452         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
18453         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
18454         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
18455         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
18456         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
18457         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
18458         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
18459         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
18460         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
18461         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
18462         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
18463         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
18464         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
18465         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
18466         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
18467         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
18468         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
18469         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
18470         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
18471         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
18472         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
18473         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
18474         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
18475         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
18476         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
18477         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
18478         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
18479         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
18480         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
18481         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
18482         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
18483         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
18484         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
18485         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
18486         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
18487         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
18488         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
18489         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
18490         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
18491         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
18492         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
18493         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
18494         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
18495         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
18496         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
18497         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
18498         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
18499         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
18500         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
18501         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
18502         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
18503         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
18504         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
18505         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
18506         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
18507         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
18508         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
18509         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
18510         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
18511         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
18512         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
18513         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
18514         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
18515         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
18516         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
18517         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
18518         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
18519         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
18520         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
18521         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
18522         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
18523         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
18524         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
18525         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
18526         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
18527         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
18528         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
18529         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
18530         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
18531         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
18532         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
18533         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
18534         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
18535         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
18536         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
18537         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
18538         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
18539         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
18540         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
18541         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
18542         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
18543         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
18544         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
18545         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
18546         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
18547         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
18549         [BZ #17589]
18550         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
18551         of fgets_unlocked.
18553         [BZ #17585]
18554         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
18555         (memmem): Rename to __memmem and define as weak alias of
18556         __memmem.  Use libc_hidden_weak.
18557         (__memmem): Use libc_hidden_def.
18558         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
18559         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
18560         memmem.
18562         [BZ #17582]
18563         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
18564         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
18565         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
18566         and define as weak alias of __fgets_unlocked.  Use
18567         libc_hidden_weak.
18568         (__fgets_unlocked): Use libc_hidden_def.
18569         * include/stdio.h (__fgets_unlocked): Declare.  Use
18570         libc_hidden_proto.
18571         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
18572         __fgets_unlocked instead of fgets_unlocked.
18573         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
18574         (GET_NPROCS_CONF_PARSER): Likewise.
18575         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
18576         (GET_NPROCS_CONF_PARSER): Likewise.
18578         [BZ #17574]
18579         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
18580         weak alias of __wmemset.  Use libc_hidden_weak.
18581         (__wmemset): Use libc_hidden_def.
18582         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
18583         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
18584         of wmemset.
18586         [BZ #17573]
18587         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
18588         with asm name __mempcpy.
18589         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
18591         [BZ #17572]
18592         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
18593         and define as weak alias of __rawmemchr.
18594         (__rawmemchr): Do not define as strong alias of rawmemchr.
18596         [BZ #17571]
18597         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
18598         alias of __qsort_r.
18599         (qsort): Call __qsort_r instead of qsort_r.
18600         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
18601         (__qsort_r): Declare.  Call libc_hidden_proto.
18602         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
18603         instead of qsort_r.
18604         * nscd/gai.c (__qsort_r): Define to qsort_r.
18605         * posix/tst-rfc3484.c (__qsort_r): Likewise.
18606         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
18607         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
18609         [BZ #17570]
18610         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
18611         define as weak alias of __malloc_info.
18613         [BZ #17584]
18614         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
18615         as weak alias of __rewinddir.  Don't use libc_hidden_def.
18616         (__rewinddir): Use libc_hidden_def.
18617         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
18618         as weak alias of __rewinddir.  Don't use libc_hidden_def.
18619         (__rewinddir): Use libc_hidden_def.
18620         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
18621         weak alias of __rewinddir.  Don't use libc_hidden_def.
18622         (__rewinddir): Use libc_hidden_def.
18623         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
18624         (__rewinddir): Use libc_hidden_proto.
18625         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
18626         rewinddir.
18627         (__getcwd): Use __rewinddir instead of rewinddir.
18629         [BZ #17583]
18630         * libio/fileno.c (fileno): Rename to __fileno and define as weak
18631         alias of __fileno.  Use libc_hidden_weak.
18632         (__fileno): Use libc_hidden_def.
18633         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
18634         * libio/ftello.c (ftello): Rename to __ftello and define as weak
18635         alias of __ftello.
18636         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
18637         __ftello.
18638         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
18639         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
18640         libc_hidden_def.
18641         (fread_unlocked): Don't use libc_hidden_ver.
18642         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
18643         and define as weak alias of __fread_unlocked.  Don't use
18644         libc_hidden_def.
18645         (__fread_unlocked): Use libc_hidden_def.
18646         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
18647         (ftello): Don't use libc_hidden_proto.
18648         (__ftello): Declare.  Use libc_hidden_proto.
18649         (fread_unlocked): Don't use libc_hidden_proto.
18650         (__fread_unlocked): Declare.  Use libc_hidden_proto.
18651         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
18652         and __ftello instead of fileno, fread_unlocked and ftello.
18654 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18656         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
18657         GOT12.
18658         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
18659         Likewise.
18660         (_dl_start_user): Likewise.
18661         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
18663 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
18664             Siddhesh Poyarekar  <siddhesh@redhat.com>
18666         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
18667         Move argv and envp down instead of moving argc up.
18668         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
18670 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
18672         [BZ #17506]
18673         * test-skeleton.c (main): Return successful if one of
18674         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
18675         * string/tst-strcoll-overflow.c: Define expected status.
18677 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
18679         [BZ #17475]
18680         * locale/iso-639.def: Define Bhili and Tulu language codes.
18682 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
18684         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
18686 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
18688         [BZ #17555]
18689         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
18691 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
18693         * configure.ac: Updated check of minimal required version to
18694         2.22.
18695         * manual/install.texi (Tools for Compilation): Updated version
18696         number.
18697         * configure: Regenerated.
18698         * INSTALL: Likewise.
18700 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
18702         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
18703         __tls_get_addr.
18705 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
18707         * include/sys/wait.h (__libc_waitpid): Remove declaration.
18708         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
18709         (__waitpid): Don't define as alias.  Use libc_hidden_def not
18710         libc_hidden_weak.
18711         (waitpid): Define as alias of __waitpid.
18712         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
18713         __waitpid.
18714         (__waitpid): Don't define as alias.  Use libc_hidden_def not
18715         libc_hidden_weak.
18716         (waitpid): Define as alias of __waitpid.
18717         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
18718         __libc_waitpid alias.
18719         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
18720         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
18721         Likewise.
18722         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
18723         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
18724         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
18725         alias.
18726         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
18727         __waitpid.
18728         (__waitpid): Don't define as alias.  Use libc_hidden_def not
18729         libc_hidden_weak.
18730         (waitpid): Define as alias of __waitpid.
18732 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
18734         * manual/llio.texi: Add comment that write safety has been
18735         fixed in Linux.
18737         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
18738         (localplt-build-dso): Add elf/ld.so.
18739         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
18740         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
18741         and free for ld.so.
18742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
18743         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
18744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
18745         Likewise.
18746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
18747         Likewise.
18748         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
18749         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
18750         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
18751         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
18752         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
18753         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
18754         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
18755         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
18756         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
18757         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
18758         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
18760 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
18762         [BZ #14132]
18763         * include/libc-symbols.h (INTUSE): Remove macro.
18764         (INTDEF): Likewise.
18765         (INTVARDEF): Likewise.
18766         (_INTVARDEF): Likewise.
18767         (INTDEF2): Likewise.
18768         (INTVARDEF2): Likewise.
18769         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
18770         rtld_hidden_def instead of INTVARDEF.
18771         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
18772         (_dl_starting_up_internal): Remove declaration.
18773         (_dl_starting_up): Use rtld_hidden_proto.
18774         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
18775         declaration.
18776         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
18777         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
18778         _dl_starting_up.
18779         * elf/dl-writev.h (_dl_writev): Likewise.
18780         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
18781         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
18782         _dl_starting_up_internal.
18784 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18786         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
18787         test-skeleton.c.
18789 2014-11-05  Will Newton  <will.newton@linaro.org>
18791         * benchtests/Makefile: (bench-malloc): Add malloc thread
18792         scalability benchmark.
18793         * benchtests/bench-malloc-threads.c: New file.
18795 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
18797         * sysdeps/aarch64/strchrnul.S: New file.
18799 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18801         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
18802         definition.
18803         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
18804         Likwise.
18805         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
18806         Likewise.
18807         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
18808         Likewise.
18809         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
18810         Likewise.
18811         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
18812         Likewise.
18814 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
18816         * catgets/test-gencat.c: Use test-skeleton.c.
18817         * catgets/tst-catgets.c: Likewise.
18818         * csu/tst-empty.c: Likewise.
18819         * elf/tst-audit2.c: Likewise.
18820         * elf/tst-global1.c: Likewise.
18821         * elf/tst-pathopt.c: Likewise.
18822         * elf/tst-piemod1.c: Likewise.
18823         * elf/tst-tls10.c: Likewise.
18824         * elf/tst-tls11.c: Likewise.
18825         * elf/tst-tls12.c: Likewise.
18826         * gnulib/tst-gcc.c: Likewise.
18827         * iconvdata/tst-e2big.c: Likewise.
18828         * iconvdata/tst-loading.c: Likewise.
18829         * iconv/tst-iconv1.c: Likewise.
18830         * iconv/tst-iconv2.c: Likewise.
18831         * inet/test-inet6_opt.c: Likewise.
18832         * inet/tst-gethnm.c: Likewise.
18833         * inet/tst-network.c: Likewise.
18834         * inet/tst-ntoa.c: Likewise.
18835         * intl/tst-codeset.c: Likewise.
18836         * intl/tst-gettext2.c: Likewise.
18837         * intl/tst-gettext3.c: Likewise.
18838         * intl/tst-ngettext.c: Likewise.
18839         * intl/tst-translit.c: Likewise.
18840         * io/test-stat.c: Likewise.
18841         * libio/test-fmemopen.c: Likewise.
18842         * libio/tst-freopen.c: Likewise.
18843         * libio/tst-sscanf.c: Likewise.
18844         * libio/tst-ungetwc1.c: Likewise.
18845         * libio/tst-ungetwc2.c: Likewise.
18846         * libio/tst-widetext.c: Likewise.
18847         * localedata/tst-ctype.c: Likewise.
18848         * localedata/tst-digits.c: Likewise.
18849         * localedata/tst-leaks.c: Likewise.
18850         * localedata/tst-mbswcs1.c: Likewise.
18851         * localedata/tst-mbswcs2.c: Likewise.
18852         * localedata/tst-mbswcs3.c: Likewise.
18853         * localedata/tst-mbswcs4.c: Likewise.
18854         * localedata/tst-mbswcs5.c: Likewise.
18855         * localedata/tst-setlocale.c: Likewise.
18856         * localedata/tst-trans.c: Likewise.
18857         * localedata/tst-wctype.c: Likewise.
18858         * localedata/tst-xlocale1.c: Likewise.
18859         * login/tst-grantpt.c: Likewise.
18860         * malloc/tst-calloc.c: Likewise.
18861         * malloc/tst-malloc.c: Likewise.
18862         * malloc/tst-mallocstate.c: Likewise.
18863         * malloc/tst-mcheck.c: Likewise.
18864         * malloc/tst-mtrace.c: Likewise.
18865         * malloc/tst-obstack.c: Likewise.
18866         * math/atest-exp2.c: Likewise.
18867         * math/atest-exp.c: Likewise.
18868         * math/atest-sincos.c: Likewise.
18869         * math/test-matherr.c: Likewise.
18870         * math/test-misc.c: Likewise.
18871         * math/test-powl.c: Likewise.
18872         * math/tst-definitions.c: Likewise.
18873         * misc/tst-dirname.c: Likewise.
18874         * misc/tst-efgcvt.c: Likewise.
18875         * misc/tst-fdset.c: Likewise.
18876         * misc/tst-hsearch.c: Likewise.
18877         * misc/tst-mntent2.c: Likewise.
18878         * nptl/tst-sem7.c: Likewise.
18879         * nptl/tst-sem8.c: Likewise.
18880         * nptl/tst-sem9.c: Likewise.
18881         * nss/test-netdb.c: Likewise.
18882         * posix/tst-fnmatch.c: Likewise.
18883         * posix/tst-getlogin.c: Likewise.
18884         * posix/tst-gnuglob.c: Likewise.
18885         * posix/tst-mmap.c: Likewise.
18886         * pwd/tst-getpw.c: Likewise.
18887         * resolv/tst-inet_ntop.c: Likewise.
18888         * rt/tst-timer.c: Likewise.
18889         * stdio-common/test-fseek.c: Likewise.
18890         * stdio-common/test-popen.c: Likewise.
18891         * stdio-common/test-vfprintf.c: Likewise.
18892         * stdio-common/tst-cookie.c: Likewise.
18893         * stdio-common/tst-fileno.c: Likewise.
18894         * stdio-common/tst-gets.c: Likewise.
18895         * stdio-common/tst-obprintf.c: Likewise.
18896         * stdio-common/tst-perror.c: Likewise.
18897         * stdio-common/tst-sprintf2.c: Likewise.
18898         * stdio-common/tst-sprintf3.c: Likewise.
18899         * stdio-common/tst-sprintf.c: Likewise.
18900         * stdio-common/tst-swprintf.c: Likewise.
18901         * stdio-common/tst-tmpnam.c: Likewise.
18902         * stdio-common/tst-unbputc.c: Likewise.
18903         * stdio-common/tst-wc-printf.c: Likewise.
18904         * stdlib/tst-environ.c: Likewise.
18905         * stdlib/tst-fmtmsg.c: Likewise.
18906         * stdlib/tst-limits.c: Likewise.
18907         * stdlib/tst-rand48-2.c: Likewise.
18908         * stdlib/tst-rand48.c: Likewise.
18909         * stdlib/tst-random2.c: Likewise.
18910         * stdlib/tst-random.c: Likewise.
18911         * stdlib/tst-strtol.c: Likewise.
18912         * stdlib/tst-strtoll.c: Likewise.
18913         * stdlib/tst-tls-atexit.c: Likewise.
18914         * stdlib/tst-xpg-basename.c: Likewise.
18915         * string/test-ffs.c: Likewise.
18916         * string/tst-bswap.c: Likewise.
18917         * string/tst-inlcall.c: Likewise.
18918         * string/tst-strtok.c: Likewise.
18919         * string/tst-strxfrm.c: Likewise.
18920         * sysdeps/x86_64/tst-audit10.c: Likewise.
18921         * sysdeps/x86_64/tst-audit3.c: Likewise.
18922         * sysdeps/x86_64/tst-audit4.c: Likewise.
18923         * sysdeps/x86_64/tst-audit5.c: Likewise.
18924         * time/tst-ftime_l.c: Likewise.
18925         * time/tst-getdate.c: Likewise.
18926         * time/tst-mktime3.c: Likewise.
18927         * time/tst-mktime.c: Likewise.
18928         * time/tst-posixtz.c: Likewise.
18929         * time/tst-strptime2.c: Likewise.
18930         * time/tst-strptime3.c: Likewise.
18931         * wcsmbs/tst-btowc.c: Likewise.
18932         * wcsmbs/tst-mbrtowc.c: Likewise.
18933         * wcsmbs/tst-mbsrtowcs.c: Likewise.
18934         * wcsmbs/tst-wchar-h.c: Likewise.
18935         * wcsmbs/tst-wcpncpy.c: Likewise.
18936         * wcsmbs/tst-wcrtomb.c: Likewise.
18937         * wcsmbs/tst-wcsnlen.c: Likewise.
18938         * wcsmbs/tst-wcstof.c: Likewise.
18940 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
18942         [BZ #14132]
18943         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
18944         INTDEF.
18945         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
18946         declaration.
18947         (_dl_mcount): Use rtld_hidden_proto.
18948         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
18949         _dl_mcount.
18950         * elf/rtld.c (_rtld_global_ro): Likewise.
18952         [BZ #14132]
18953         * elf/dl-init.c (_dl_init): Don't use INTDEF.
18954         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
18955         of _dl_init_internal.
18956         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
18957         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
18958         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
18959         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
18960         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
18961         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
18962         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
18963         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
18964         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
18965         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
18966         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
18967         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
18968         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
18969         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
18970         * sysdeps/tile/dl-start.S (_start): Likewise.
18971         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
18972         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
18974         [BZ #14132]
18975         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
18976         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
18977         (rtld_progname): Make macro definition unconditional.
18978         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
18979         INTDEF.
18980         (dlmopen_doit): Do not use INTUSE with _dl_argv.
18981         (dl_main): Likewise.
18982         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18983         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
18984         instead of _dl_argv_internal.
18985         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18986         __GI__dl_argv instead of INTUSE(_dl_argv).
18987         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
18988         __GI__dl_argv instead of _dl_argv_internal.
18990         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
18991         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
18992         macro.
18993         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
18994         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
18995         New macro.
18996         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
18997         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
18998         macro.
18999         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
19000         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
19002 2014-11-04  Andreas Schwab  <schwab@suse.de>
19004         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
19006 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19008         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
19009         mtvsrd instruction in binary form.
19011 2014-11-03  Andreas Schwab  <schwab@suse.de>
19013         [BZ #17522]
19014         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
19015         for less than MB_LEN_MAX use a local buffer of that size.
19016         * libio/tst-fputws.c: New file.
19017         * libio/Makefile (tests): Add tst-fputws.
19019 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
19021         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
19022         the size of the fpu_fr.fpu_dregs[] array.
19024 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
19026         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
19027         (__nanosleep): Do not define as alias.
19028         (nanosleep): Define as alias of __nanosleep.
19029         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
19030         __libc_nanosleep name.
19032 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
19034         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
19035         install.texi in comment.
19037 2014-10-31  Torvald Riegel  <triegel@redhat.com>
19039         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
19040         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
19041         ... add here and use lwsync or sync ...
19042         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
19043         ... and add here using lwsync.
19045 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
19047         * elf/dl-machine-reject-phdr.h: New file.
19048         * elf/dl-load.c: #include that.
19049         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
19050         if that returned true.
19052 2014-10-31  Roland McGrath  <roland@hack.frob.com>
19054         [BZ #17496]
19055         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
19056         gen-as-const-headers chunk.  Add a big scare comment after the last
19057         safe place to touch before-compile.
19059 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
19061         * manual/install.texi (Tools for Compilation): Update autoconf
19062         version requirements.
19063         * INSTALL: Regenerated.
19065         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
19066         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
19067         (__libc_pselect): Likewise.
19069         [BZ #14138]
19070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
19071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19075 2014-10-31  Torvald Riegel  <triegel@redhat.com>
19077         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
19078         correct barrier instruction.
19079         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
19080         Likewise.
19081         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
19082         Likewise.
19084 2014-10-30  Roland McGrath  <roland@hack.frob.com>
19086         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
19087         after defining inlines.  Instead, just use parens to defeat macro
19088         expansion of __isctype in its declaration.
19090 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
19092         * include/sys/uio.h (__libc_readv): Remove declaration.
19093         (__libc_writev): Likewise.
19094         * misc/readv.c (__libc_readv): Rename to __readv.
19095         (__readv): Do not define as alias.
19096         (readv): Define as alias of __readv.
19097         * misc/writev.c (__libc_writev): Rename to __writev.
19098         (__writev): Do not define as alias.
19099         (writev): Define as alias of __writev.
19100         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
19101         (__readv): Do not define as alias.
19102         (readv): Define unconditionally as alias of __readv.
19103         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
19104         (__writev): Do not define as alias.
19105         (writev): Define unconditionally as alias of __writev.
19106         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
19107         name.
19108         (writev): Do not define __libc_writev name.
19110 2014-10-30  Roland McGrath  <roland@hack.frob.com>
19112         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
19113         (convert_charseq): New function, broken out of ...
19114         (use_from_charmap): ... here.  Call it.
19115         (use_to_charmap): Use convert_charseq and free instead of duplicating
19116         its code with a variable-length stack struct.
19118 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
19120         * include/fcntl.h (__libc_creat): Remove declaration.
19121         * io/creat.c (__libc_creat): Rename to creat.
19122         (creat): Do not define as alias.
19123         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
19124         of creat instead of __libc_creat.
19125         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
19126         to creat.
19127         (creat): Do not define as alias.
19128         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
19129         __libc_creat.
19130         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
19131         __libc_creat name.
19132         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
19133         Likewise.
19135 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
19137         * manual/llio.texi: Add comments discussing why write() may be
19138         considered MT-unsafe on Linux.
19140 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
19142         * dl-load.c (local_strdup): Remove.
19143         (expand_dynamic_string_token): Use __strdup.
19144         (decompose_rpath): Likewise.
19145         (_dl_map_object): Likewise.
19147 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
19149         [BZ #14132]
19150         * sysdeps/generic/unwind-dw2-fde.c
19151         (__register_frame_info_bases_internal): Do not declare.
19152         (__register_frame_info_table_bases_internal): Likewise.
19153         (__deregister_frame_info_bases_internal): Likewise.
19154         (__register_frame_info_bases): Declare and use hidden_proto before
19155         definition.  Use hidden_def instead of INTDEF.
19156         (__register_frame_info_table_bases): Likewise.
19157         (__deregister_frame_info_bases): Likewise.
19158         (__register_frame_info): Do not use INTUSE.
19159         (__register_frame): Likewise.
19160         (__register_frame_info_table): Likewise.
19161         (__register_frame_table): Likewise.
19162         (__deregister_frame_info): Likewise.
19163         (__deregister_frame): Likewise.
19165 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
19167         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19168         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
19169         not undefine.
19170         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
19171         Likewise.
19172         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
19173         Likewise.
19175 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
19177         [BZ #14138]
19178         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
19179         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
19180         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
19181         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
19182         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
19183         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
19184         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
19185         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
19186         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
19187         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
19188         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
19189         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
19190         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
19191         syscall.
19192         (setfsuid): Likewise.
19193         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
19194         (setfsuid): Likewise.
19195         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
19196         (setfsuid): Likewise.
19197         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
19198         Likewise.
19199         (setfsuid): Likewise.
19200         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
19201         (setfsuid): Likewise.
19202         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
19203         Likewise.
19204         (setfsuid): Likewise.
19206 2014-10-27  Andreas Schwab  <schwab@suse.de>
19208         [BZ #17501]
19209         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
19210         check for Slow_SSE4_2 feature bit.
19211         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
19212         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
19213         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
19214         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
19216 2014-10-24  Roland McGrath  <roland@hack.frob.com>
19218         * configure.ac: Validate compiler version with a empirical test of
19219         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
19220         $CC -v output.
19221         * configure: Regenerated.
19223         * inet/htons.c (htons): Prototypify.
19224         * inet/htonl.c (htonl): Likewise.
19226 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19228         * string/strncat.c (strncat): Improve performance by using strlen.
19230 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19232         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
19234 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19236         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
19237         Call libc_fetestexcept_aarch64.
19239 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19241         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
19242         Call libc_feholdexcept_aarch64.
19244 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19246         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
19247         Call get_rounding_mode.
19249 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19251         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
19252         Simplify logic.
19254 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19256         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
19257         Simplify logic.
19259 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
19261         [BZ #14138]
19262         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
19263         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
19264         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
19265         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
19266         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
19267         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
19268         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
19269         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
19270         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
19271         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
19272         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
19273         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
19274         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
19275         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
19276         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
19277         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
19278         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
19279         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
19280         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
19281         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
19282         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
19283         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
19284         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
19285         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
19286         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
19287         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
19288         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
19289         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
19290         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
19291         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
19292         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
19293         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
19294         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
19295         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
19296         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
19297         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
19298         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
19299         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
19300         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
19301         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
19302         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
19303         syscall.
19304         (geteuid): Likewise.
19305         (getgid): Likewise.
19306         (getuid): Likewise.
19307         (getresgid): Likewise.
19308         (getresuid): Likewise.
19309         (getgroups): Likewise.
19310         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
19311         (geteuid): Likewise.
19312         (getgid): Likewise.
19313         (getuid): Likewise.
19314         (getresgid): Likewise.
19315         (getresuid): Likewise.
19316         (getgroups): Likewise.
19317         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
19318         (geteuid): Likewise.
19319         (getgid): Likewise.
19320         (getuid): Likewise.
19321         (getresgid): Likewise.
19322         (getresuid): Likewise.
19323         (getgroups): Likewise.
19324         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
19325         Likewise.
19326         (geteuid): Likewise.
19327         (getgid): Likewise.
19328         (getuid): Likewise.
19329         (getresgid): Likewise.
19330         (getresuid): Likewise.
19331         (getgroups): Likewise.
19332         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
19333         (geteuid): Likewise.
19334         (getgid): Likewise.
19335         (getuid): Likewise.
19336         (getresgid): Likewise.
19337         (getresuid): Likewise.
19338         (getgroups): Likewise.
19339         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
19340         Likewise.
19341         (geteuid): Likewise.
19342         (getgid): Likewise.
19343         (getuid): Likewise.
19344         (getgroups): Likewise.
19346         [BZ #14138]
19347         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
19348         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
19349         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
19350         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
19351         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
19352         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
19353         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
19354         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
19355         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
19356         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
19357         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
19358         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
19359         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
19360         __chown.
19361         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
19362         (lchown): Likewise.
19363         (fchown): Likewise.
19364         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
19365         Likewise.
19366         (lchown): Likewise.
19367         (fchown): Likewise.
19368         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
19369         (lchown): Likewise.
19370         (fchown): Likewise.
19371         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
19372         Likewise.
19373         (lchown): Likewise.
19374         (fchown): Likewise.
19376 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
19378         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
19379         Simplify logic.
19381 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
19383         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
19384         Cleanup logic.
19386 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
19388         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
19389         Remove unused include.
19391 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
19393         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
19394         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
19395         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
19396         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
19398 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
19399             Helge Deller <deller@gmx.de>
19401         [BZ #17508]
19402         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
19403         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
19404         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
19406 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
19408         [BZ #14132]
19409         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
19410         Remove macro definition.
19411         (__ashrdi3_v_glibc20): Likewise.
19412         (__lshrdi3_v_glibc20): Likewise.
19413         (__cmpdi2_v_glibc20): Likewise.
19414         (__ucmpdi2_v_glibc20): Likewise.
19415         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
19416         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
19417         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
19418         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
19419         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
19420         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
19422 2014-10-22  Roland McGrath  <roland@hack.frob.com>
19424         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
19425         old GNU extension [0] syntax.
19426         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
19427         alloca rather than an array member with variable length.
19428         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
19429         * nscd/nscd.c (invalidate_db): New function, broken out of ...
19430         (parse_opt): ... here.  Likewise use alloca there.
19431         Validate the -i argument before checking for rootness.
19432         (send_shutdown): New function, broken out of ...
19433         (parse_opt): ... here.
19435 2014-10-22  Roland McGrath  <roland@hack.frob.com>
19437         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
19438         macro to get at the _rt_local_ro field.
19439         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
19440         ([PIC] case) or _dl_hwcap ([!PIC] case).
19441         * sysdeps/arm/setjmp.S: Likewise.
19443         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
19444         * sysdeps/arm/configure.ac: New check to define it.
19445         * sysdeps/arm/configure: Regenerated.
19446         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
19447         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
19448         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
19449         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
19450         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
19451         Use move/movt pair instead of a load.
19452         (LDST_GLOBAL): Macro removed.
19453         (LDR_GLOBAL): New macro replaces it.
19454         (LDR_HIDDEN): New macro.
19455         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
19456         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
19458         * setjmp/tst-setjmp-static.c: New file.
19459         * setjmp/Makefile (tests): Add it.
19460         (tests-static): New variable.
19462 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
19464         [BZ #17485]
19465         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
19467 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
19469         [BZ #14132]
19470         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
19472 2014-10-21  Roland McGrath  <roland@hack.frob.com>
19474         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
19476 2014-10-20  Roland McGrath  <roland@hack.frob.com>
19478         * io/fts.c (dirent_not_directory): New function.
19479         (fts_build): Call it.
19481 2014-10-20  Roland McGrath  <roland@hack.frob.com>
19483         * nptl/version.c (__nptl_main): Use normal __write rather than
19484         INTERNAL_SYSCALL.
19485         (banner): Update copyright years.
19487         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
19488         gettimeofday.
19489         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
19490         * nptl/pthread_cond_timedwait.c: Likewise.
19491         * nptl/pthread_mutex_timedlock.c: Likewise.
19492         * nptl/sem_timedwait.c: Likewise.
19494         * sysdeps/nptl/bits/libc-lock.h
19495         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
19496         (__libc_lock_init_recursive): Return void, not 0.
19497         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
19498         (__libc_rwlock_init): Likewise.
19499         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
19501 2014-10-20  Torvald Riegel  <triegel@redhat.com>
19503         [BZ #15215]
19504         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
19505         (__pthread_once_slow): ... here.
19506         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
19507         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
19509 2014-10-20  Torvald Riegel  <triegel@redhat.com>
19511         [BZ #15215]
19512         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
19513         __PTHREAD_ONCE_FORK_GEN_INCR): New.
19514         * sysdeps/nptl/fork.c (__libc_fork): Use them.
19515         * nptl/pthread_once.c (__pthread_once): Likewise.
19516         Update comments.
19518 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
19520         [BZ #14138]
19521         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
19522         name.
19523         (writev): Use __libc_writev as strong name.
19524         * sysdeps/unix/sysv/linux/readv.c: Remove file.
19525         * sysdeps/unix/sysv/linux/writev.c: Likewise.
19527 2014-10-17  Roland McGrath  <roland@hack.frob.com>
19529         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
19531         * sysdeps/i386/nptl/tls.h
19532         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
19533         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
19534         New macros.
19535         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
19536         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
19537         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
19538         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
19539         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
19540         Call CHECK_THREAD_SYSINFO instead of doing an assert.
19542         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
19543         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
19544         on [__NR_futex].
19545         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
19546         broken out of ...
19547         (__pthread_mutex_init): ... here.  Call it.
19548         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
19549         Conditionalize PI cases on [__NR_futex].
19550         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
19551         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
19552         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
19554         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
19555         conditional on [SIGSETXID].
19556         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
19557         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
19558         is defined.  Likewise for SIGSETXID.
19559         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
19560         Conditionalize definitions on [SIGSETXID].
19561         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
19562         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
19563         unblocking on [SIGCANCEL].
19565         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
19566         [__NR_set_robust_list].
19568 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
19570         * string/strcoll_l.c (get_next_seq): Fix up formatting.
19571         (do_compare): Likewise.
19573 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
19575         [BZ #15884]
19576         * string/strcoll_l.c: Don't include stdio.h.
19577         (coll_seq): Remove members idxarr and rulearr.
19578         (get_next_seq_cached): Remove function.
19579         (get_next_seq): Likewise.
19580         (get_next_seq_nocache): Rename to get_next_seq.
19581         (do_compare): Remove function.
19582         (do_compare_nocache): Rename to do_compare.
19583         (STRCOLL): Remove weight and rules cache.
19585 2014-10-16  Roland McGrath  <roland@hack.frob.com>
19587         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
19588         * sysdeps/arm/sfp-machine.h: ... to here.
19589         * sysdeps/arm/Implies: Remove arm/soft-fp.
19591 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
19593         * conform/data/sys/utsname.h-data (*_t): Allow.
19594         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
19595         [POSIX] (WEXITED): Do not expect constant.
19596         [POSIX] (WSTOPPED): Likewise.
19597         [POSIX] (WNOHANG): Likewise.
19598         [POSIX] (WNOWAIT): Likewise.
19599         [POSIX] (siginfo_t): Do not expect type or elements.
19600         [POSIX] (pid_t): Do not expect type.
19601         [POSIX] (signal.h): Do not allow header.
19602         [POSIX] (sys/resource.h): Likewise.
19603         [POSIX] (si_*): Do not allow pattern.
19604         [POSIX] (W*): Likewise.
19605         [POSIX] (P_*): Likewise.
19606         [POSIX] (BUS_*): Likewise.
19607         [POSIX] (CLD_*): Likewise.
19608         [POSIX] (FPE_*): Likewise.
19609         [POSIX] (ILL_*): Likewise.
19610         [POSIX] (POLL_*): Likewise.
19611         [POSIX] (SEGV_*): Likewise.
19612         [POSIX] (SI_*): Likewise.
19613         [POSIX] (TRAP_*): Likewise.
19614         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
19615         variable.
19617 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
19619         [BZ #12926]
19620         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
19621         infinite loop when __recvmsg returns 0.
19623 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
19625         * CANCEL-FCT-WAIVE: Remove file.
19626         * CANCEL-FILE-WAIVE: Likewise.
19628         [BZ #14132]
19629         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
19630         instead of INTVARDEF.
19631         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
19632         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
19633         rtld_hidden_data_def instead of INTVARDEF.
19634         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
19635         * elf/dl-deps.c (expand_dst): Likewise.
19636         * elf/dl-load.c (_dl_dst_count): Likewise.
19637         (_dl_dst_substitute): Likewise.
19638         (decompose_rpath): Likewise.
19639         (_dl_init_paths): Likewise.
19640         (open_path): Likewise.
19641         (_dl_map_object): Likewise.
19642         * elf/rtld.c (dl_main): Likewise.
19643         (process_dl_audit): Likewise.
19644         (process_envvars): Likewise.
19645         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
19646         Remove declaration.
19647         (__libc_enable_secure): Use rtld_hidden_proto.
19649 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19651         * elf/dl-load.c
19652         (add_path): New function broken out of _dl_rtld_di_serinfo.
19653         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
19655 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
19657         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
19658         parentheses around macro arguments.
19659         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
19660         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
19661         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
19662         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
19663         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
19664         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
19665         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
19666         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
19667         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
19668         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
19669         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
19670         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
19671         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
19672         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
19673         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
19674         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
19675         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
19676         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
19677         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
19678         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
19679         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
19680         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
19681         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
19682         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
19683         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
19684         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
19685         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
19686         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
19687         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
19688         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
19689         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
19690         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
19691         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
19692         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
19693         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
19694         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
19695         Likewise.
19696         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
19697         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
19698         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
19699         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
19700         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
19701         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
19702         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
19703         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
19704         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
19705         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
19706         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
19707         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
19708         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
19709         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
19710         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
19711         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
19712         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
19713         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
19714         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
19715         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
19716         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
19717         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
19718         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
19719         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
19720         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
19721         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
19722         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
19723         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
19724         (_FP_FRAC_SRS_1): Likewise.
19725         (_FP_FRAC_CLZ_1): Likewise.
19726         (_FP_MUL_MEAT_1_imm): Likewise.
19727         (_FP_MUL_MEAT_1_wide): Likewise.
19728         (_FP_MUL_MEAT_1_hard): Likewise.
19729         (_FP_SQRT_MEAT_1): Likewise.
19730         (_FP_FRAC_ASSEMBLE_1): Likewise.
19731         (_FP_FRAC_DISASSEMBLE_1): Likewise.
19732         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
19733         (__FP_CLZ_2): Likewise.
19734         (_FP_MUL_MEAT_2_wide): Likewise.
19735         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
19736         (_FP_MUL_MEAT_2_gmp): Likewise.
19737         (_FP_MUL_MEAT_2_120_240_double): Likewise.
19738         (_FP_SQRT_MEAT_2): Likewise.
19739         (_FP_FRAC_ASSEMBLE_2): Likewise.
19740         (_FP_FRAC_DISASSEMBLE_2): Likewise.
19741         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
19742         (_FP_FRAC_CLZ_4): Likewise.
19743         (_FP_MUL_MEAT_4_wide): Likewise.
19744         (_FP_MUL_MEAT_4_gmp): Likewise.
19745         (_FP_SQRT_MEAT_4): Likewise.
19746         (_FP_FRAC_ASSEMBLE_4): Likewise.
19747         (_FP_FRAC_DISASSEMBLE_4): Likewise.
19748         * soft-fp/op-common.h (_FP_CMP): Likewise.
19749         (_FP_CMP_EQ): Likewise.
19750         (_FP_CMP_UNORD): Likewise.
19751         (_FP_TO_INT): Likewise.
19752         (_FP_FROM_INT): Likewise.
19753         [!__FP_CLZ] (__FP_CLZ): Likewise.
19754         (_FP_DIV_HELP_imm): Likewise.
19755         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
19756         Likewise.
19757         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
19758         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
19759         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
19760         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
19761         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
19762         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
19763         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
19764         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
19765         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
19766         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
19767         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
19768         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
19769         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
19770         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
19771         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
19772         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
19773         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
19774         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
19775         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
19776         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
19777         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
19778         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
19779         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
19780         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
19781         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
19782         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
19783         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
19784         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
19785         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
19786         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
19787         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
19788         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
19789         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
19790         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
19791         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
19792         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
19793         (FP_UNPACK_RAW_SP): Likewise.
19794         (FP_PACK_RAW_S): Likewise.
19795         (FP_PACK_RAW_SP): Likewise.
19796         (FP_UNPACK_S): Likewise.
19797         (FP_UNPACK_SP): Likewise.
19798         (FP_UNPACK_SEMIRAW_S): Likewise.
19799         (FP_UNPACK_SEMIRAW_SP): Likewise.
19800         (FP_PACK_S): Likewise.
19801         (FP_PACK_SP): Likewise.
19802         (FP_PACK_SEMIRAW_S): Likewise.
19803         (FP_PACK_SEMIRAW_SP): Likewise.
19804         (_FP_SQRT_MEAT_S): Likewise.
19805         (FP_CMP_S): Likewise.
19806         (FP_CMP_EQ_S): Likewise.
19807         (FP_CMP_UNORD_S): Likewise.
19808         (FP_TO_INT_S): Likewise.
19809         (FP_FROM_INT_S): Likewise.
19811         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
19813         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
19814         (FP_EX_INVALID_IMZ): Likewise.
19815         (FP_EX_INVALID_IMZ_FMA): Likewise.
19816         (FP_EX_INVALID_ISI): Likewise.
19817         (FP_EX_INVALID_ZDZ): Likewise.
19818         (FP_EX_INVALID_IDI): Likewise.
19819         (FP_EX_INVALID_SQRT): Likewise.
19820         (FP_EX_INVALID_CVI): Likewise.
19821         (FP_EX_INVALID_VC): Likewise.
19822         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
19823         "invalid" exceptions.
19824         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
19825         (_FP_ADD_INTERNAL): Likewise.
19826         (_FP_MUL): Likewise.
19827         (_FP_FMA): Likewise.
19828         (_FP_DIV): Likewise.
19829         (_FP_CMP_CHECK_NAN): Likewise.
19830         (_FP_SQRT): Likewise.
19831         (_FP_TO_INT): Likewise.
19832         (FP_EXTEND): Likewise.
19834 2014-10-09  Allan McRae  <allan@archlinux.org>
19836         * po/fr.po: Update French translation from translation project.
19838 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
19840         [BZ #14132]
19841         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
19842         of INTDEF.
19843         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
19844         (__cxa_atexit): Use libc_hidden_proto.
19845         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
19847         [BZ #14132]
19848         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
19849         declaration.
19850         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
19851         [!_ISOMAC] (__iswspace_l_internal): Likewise.
19852         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
19853         [!_ISOMAC] (__iswctype_internal): Likewise.
19854         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
19855         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
19856         alias.
19857         (fcntl): Remove __fcntl_internal alias.
19858         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
19859         __connect_internal alias.
19860         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
19861         Likewise.
19863         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
19864         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
19865         FP_DENORM_ZERO.
19866         (_FP_CHECK_FLUSH_ZERO): New macro.
19867         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
19868         (_FP_CMP): Likewise.
19869         (_FP_CMP_EQ): Likewise.
19870         (_FP_TO_INT): Do not set inexact for subnormal arguments if
19871         FP_DENORM_ZERO.
19872         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
19873         (FP_TRUNC): Likewise.
19875         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
19876         treated as invalid conversion, not as normal exponent.
19878         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
19879         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
19880         (_FP_CMP_EQ): Likewise.
19881         (_FP_CMP_UNORD): Likewise.
19882         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
19883         (FP_CMP_EQ_D): Likewise.
19884         (FP_CMP_UNORD_D): Likewise.
19885         * soft-fp/extended.h (FP_CMP_E): Likewise.
19886         (FP_CMP_EQ_E): Likewise.
19887         (FP_CMP_UNORD_E): Likewise.
19888         * soft-fp/quad.h (FP_CMP_Q): Likewise.
19889         (FP_CMP_EQ_Q): Likewise.
19890         (FP_CMP_UNORD_Q): Likewise.
19891         * soft-fp/single.h (FP_CMP_S): Likewise.
19892         (FP_CMP_EQ_S): Likewise.
19893         (FP_CMP_UNORD_S): Likewise.
19894         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
19895         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
19896         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
19897         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
19898         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
19899         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
19900         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
19901         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
19902         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
19903         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
19904         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
19905         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
19906         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
19907         to FP_CMP_Q.
19908         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
19909         FP_CMP_Q.
19910         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
19911         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
19912         FP_CMP_EQ_Q.
19913         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
19914         FP_CMP_Q.
19915         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
19916         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
19917         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
19918         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
19919         FP_CMP_EQ_Q.
19920         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
19921         FP_CMP_Q.
19922         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
19923         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
19924         FP_CMP_EQ_Q.
19925         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
19926         FP_CMP_Q.
19927         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
19928         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
19929         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
19930         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
19931         FP_CMP_EQ_Q.
19933         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
19934         a subnormal result, set the underflow exception if trapping on
19935         underflow is enabled.
19936         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
19937         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
19938         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
19939         redefine to 0.
19940         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
19941         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
19942         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
19943         * soft-fp/extendxftf2.c (__extendxftf2): Use
19944         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
19946         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
19947         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
19948         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
19949         FP_HANDLE_EXCEPTIONS.
19950         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
19951         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
19952         FP_HANDLE_EXCEPTIONS.
19953         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
19954         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
19955         FP_HANDLE_EXCEPTIONS.
19956         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
19957         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
19958         FP_HANDLE_EXCEPTIONS.
19960 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
19962         [BZ #14132]
19963         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
19964         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
19965         use INTUSE.
19966         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
19967         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
19968         Remove alias.
19969         (__adjtimex): Define using libc_hidden_ver.
19970         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
19971         Remove declaration.
19972         (ntp_gettime): Call __adjtimex directly.
19973         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
19974         Remove declaration.
19975         (ntp_gettimex): Call __adjtimex directly.
19976         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
19977         __adjtimex_internal alias.
19979 2014-10-08  Roland McGrath  <roland@hack.frob.com>
19981         [BZ #17460]
19982         * nscd/nscd.c (more_help): Rewrite list of tables collection
19983         using xstrdup and asprintf.
19985         * nscd/nscd_conf.c: Remove local xstrdup declaration.
19987 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19988             Roland McGrath  <roland@hack.frob.com>
19990         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
19991         (do_lookup_unique): ... local function 'enter' here; update callers.
19993 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
19995         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
19996         compat_symbol calls on [SHARED].
19997         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
19998         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
19999         Remove.
20000         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
20001         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
20002         (oldsetrlimit): Remove.
20003         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
20004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
20005         (lchown): New syscall entry.
20006         (oldsetrlimit): Remove.
20007         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
20008         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
20009         (oldsetrlimit): Remove.
20010         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
20012         [BZ #14138]
20013         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
20014         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
20015         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
20016         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
20017         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
20018         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
20019         (fchown): Likewise.
20020         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
20021         (fchown): Likewise.
20022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
20023         Likewise.
20025 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20027         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
20028         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
20029         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
20030         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
20031         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
20032         Likewise.
20033         (__old_sem_post): Likewise.
20035 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
20037         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
20038         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
20039         HAVE_CLOCK_GETTIME_VSYSCALL macros.
20040         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
20041         Use INLINE_VSYSCALL macro.
20042         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
20043         __vdso_clock_gettime.
20044         * sysdeps/unix/sysv/linux/tile/init-first.c
20045         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
20046         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
20047         __vdso_clock_gettime.
20049         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
20050         to set up frame more cleanly.
20052         * sysdeps/tile/memcmp.c: New file.
20054         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
20056         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
20057         * sysdeps/tile/tilegx/strcasestr.c: New file.
20058         * sysdeps/tile/tilegx/strnlen.c: New file.
20059         * sysdeps/tile/tilegx/strstr.c: New file.
20061         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
20063 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
20065         * nptl/tst-setuid3.c: Write errors to stdout.
20067 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20069         * elf/dl-deps.c
20070         (preload): New functions broken out of _dl_map_object_deps.
20071         (_dl_map_object_deps):  Remove a nested function. Update call sites.
20073 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
20075         [BZ #14138]
20076         * sysdeps/unix/sysv/linux/execve.c: Remove file.
20077         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
20079 2014-10-01  Steve Ellcey  <sellcey@mips.com>
20081         * sysdeps/mips/strcmp.S: New.
20083 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
20085         [BZ #14138]
20086         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
20087         (linkat): Likewise.
20088         (mkdirat): Likewise.
20089         (readlinkat): Likewise.
20090         (renameat): Likewise.
20091         (symlinkat): Likewise.
20092         (unlinkat): Likewise.
20093         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
20094         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
20095         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
20096         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
20097         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
20098         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
20099         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
20101 2014-09-30  Will Newton  <will.newton@linaro.org>
20103         * math/math.h: Define long double math functions if
20104         _LIBC_TEST is defined.
20105         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
20107         * localedata/Makefile: Move assignment to tests-special
20108         into an ifdef testing run-built-tests.
20109         * timezone/Makefile: Likewise.
20111 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
20113         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
20114         with $(BASH) not $(SHELL).
20116 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
20117             Matthew LeGendre  <legendre1@llnl.gov>
20119         [BZ #17411]
20120         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
20121         l_reloc_result.
20123 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20125         * stdio-common/printf_fp.c
20126         (hack_digit): New function, broken out of ...
20127         (__printf_fp): ... local function here.  Update call sites.
20128         hack_digit now takes an additional parameter that is a pointer
20129         to a struct of the referenced locals.  Those locals moved inside
20130         the struct and references updated.
20132 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
20134         * aclocal.m4: Require autoconf 2.69.
20135         * configure: Regenerated.
20136         * sysdeps/aarch64/configure: Likewise.
20137         * sysdeps/alpha/configure: Likewise.
20138         * sysdeps/arm/armv7/configure: Likewise.
20139         * sysdeps/arm/configure: Likewise.
20140         * sysdeps/ia64/configure: Likewise.
20141         * sysdeps/mach/configure: Likewise.
20142         * sysdeps/mips/configure: Likewise.
20143         * sysdeps/s390/configure: Likewise.
20144         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
20145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
20147         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
20148         file.
20149         * sysdeps/ia64/configure.ac: Likewise.
20151 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
20153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
20154         specify symbol version for ld.so.  Do not include entry for
20155         libpthread.
20156         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
20157         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
20158         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
20160         [BZ #14171]
20161         * Makeconfig [$(build-shared) = yes]
20162         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
20163         makefiles.
20164         [$(build-shared) = yes && $(soversions.mk-done) = t]
20165         ($(common-objpfx)gnu/lib-names.h): Remove rule.
20166         [$(build-shared) = yes && $(soversions.mk-done) = t]
20167         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
20168         to Makerules.
20169         [$(build-shared) = yes && $(soversions.mk-done) = t]
20170         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
20171         here.
20172         [$(build-shared) = yes && $(soversions.mk-done) = t]
20173         (common-generated): Don't append gnu/lib-names.h and
20174         gnu/lib-names.stmp here.
20175         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
20176         (lib-names-h-abi): New variable.
20177         [$(build-shared) = yes && $(soversions.mk-done) = t]
20178         (lib-names-stmp-abi): Likewise.
20179         [$(build-shared) = yes && $(soversions.mk-done) = t &&
20180         abi-variants] (before-compile): Append
20181         $(common-objpfx)$(lib-names-h-abi).
20182         [$(build-shared) = yes && $(soversions.mk-done) = t &&
20183         abi-variants] (common-generated): Append gnu/lib-names.h.
20184         [$(build-shared) = yes && $(soversions.mk-done) = t &&
20185         abi-variants] (install-others-nosubdir): Depend on
20186         $(inst_includedir)/$(lib-names-h-abi).
20187         [$(build-shared) = yes && $(soversions.mk-done) = t &&
20188         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
20189         [$(build-shared) = yes && $(soversions.mk-done) = t]
20190         ($(common-objpfx)$(lib-names-h-abi)): New rule.
20191         [$(build-shared) = yes && $(soversions.mk-done) = t]
20192         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
20193         [$(build-shared) = yes && $(soversions.mk-done) = t]
20194         (common-generated): Append $(lib-names-h-abi) and
20195         $(lib-names-stmp-abi).
20196         * scripts/lib-names.awk: Do not handle multi being set.
20197         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
20198         Remove variable.
20199         (abi-lp64_be-ld-soname): Likewise.
20200         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
20201         Likewise.
20202         (abi-hard-ld-soname): Likewise.
20203         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
20204         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
20205         Remove variable.
20206         (abi-o32_hard-ld-soname): Likewise.
20207         (abi-o32_soft_2008-ld-soname): Likewise.
20208         (abi-o32_hard_2008-ld-soname): Likewise.
20209         (abi-n32_soft-ld-soname): Likewise.
20210         (abi-n32_hard-ld-soname): Likewise.
20211         (abi-n32_soft_2008-ld-soname): Likewise.
20212         (abi-n32_hard_2008-ld-soname): Likewise.
20213         (abi-n64_soft-ld-soname): Likewise.
20214         (abi-n64_hard-ld-soname): Likewise.
20215         (abi-n64_soft_2008-ld-soname): Likewise.
20216         (abi-n64_hard_2008-ld-soname): Likewise.
20217         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
20218         Likewise.
20219         (abi-64-v2-ld-soname): Likewise.
20220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
20221         ld.so entries.
20222         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
20223         variable.
20224         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
20225         entry.
20226         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
20227         variable.
20228         (abi-64-ld-soname): Likewise.
20229         (abi-x32-ld-soname): Likewise.
20230         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
20231         entry.
20232         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
20234 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
20236         [BZ #14138]
20237         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
20238         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
20239         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
20240         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
20241         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
20242         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
20243         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
20244         syscall entry for GLIBC_2.2 symbol version.
20245         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
20246         Likewise.
20247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
20248         (setrlimit): Likewise.
20249         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
20250         Likewise.
20252 2014-09-23  Will Newton  <will.newton@linaro.org>
20254         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
20255         _LINUX_ARM_SYSDEP_H include guard too.
20256         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
20257         define.
20259 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
20261         * sysdeps/unix/sysv/linux/eventfd.c:
20262         Make first argument unsigned.
20263         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
20264         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
20266 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
20268         * socket/recvmmsg.c (recvmmsg): Drop const argument.
20269         * socket/sys/socket.h: Likewise
20270         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
20272 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20274         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
20276 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
20278         * time/tst-ftime.c: New test.
20279         * time/Makefile (tests): Add tst-ftime.
20281 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
20283         * soft-fp/extended.h: Fix comment formatting.
20284         * soft-fp/op-1.h: Likewise.
20285         * soft-fp/op-2.h: Likewise.
20286         * soft-fp/op-4.h: Likewise.
20287         * soft-fp/op-8.h: Likewise.
20288         * soft-fp/op-common.h: Likewise.
20289         * soft-fp/soft-fp.h: Likewise.
20291         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
20293 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
20295         [BZ #6652]
20296         * Makeconfig (soversions-default-setname): Remove variable.
20297         ($(common-objpfx)soversions.i): Don't pass default_setname to
20298         soversions.awk.
20299         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
20300         oldest_abi to abi-versions.awk.
20301         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
20302         * config.make.in (oldest-abi): Remove variable.
20303         * configure.ac (--enable-oldest-abi): Remove configure option.
20304         * configure: Regenerated.
20305         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
20306         text.
20307         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
20308         * scripts/soversions.awk: Do not handle default_setname variable.
20309         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
20310         variable.
20311         * sysdeps/mach/hurd/configure: Regenerated.
20312         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
20313         variable.
20314         * sysdeps/unix/sysv/linux/configure: Regenerated.
20316 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20318         * elf/Makefile (CFLAGS-interp.c): Remove.
20319         ($(elf-objpfx)runtime-linker.h): Generate header with linker
20320         path string.
20321         * elf/interp.c: Include generated runtime-linker.h
20323         * Makerules (lib%.so): Don't include $(+interp) in
20324         prerequisites.
20325         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
20326         * dlfcn/eval.c: Remove file.
20328         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
20329         macros.
20331         [BZ #17266]
20332         * misc/sys/cdefs.h: Define __extern_always_inline for clang
20333         4.2 and newer.
20335         [BZ #17370]
20336         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
20338 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20339             Jakub Jelinek  <jakub@redhat.com>
20341         [BZ #17266]
20342         * libio/stdio.h: Check definition of __fortify_function
20343         instead of __extern_always_inline to include bits/stdio2.h.
20344         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
20345         check if __extern_always_inline is defined.
20346         [__USE_MISC || __USE_XOPEN]: Likewise.
20347         [__USE_ISOC99] Likewise.
20348         * misc/sys/cdefs.h (__fortify_function): Define only if
20349         __extern_always_inline is defined.
20350         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
20351         __extern_always_inline and __extern_inline only for g++-4.3
20352         and newer or a compatible gcc.
20354 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
20356         [BZ #17371]
20357         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
20358         last change to handle zero prefix length.
20360 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20362         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
20363         _SC_REGEX_VERSION.
20365         * posix/getconf.c (vars): Add _POSIX_IPV6 and
20366         _POSIX_RAW_SOCKETS.
20368 2014-09-13  Allan McRae  <allan@archlinux.org>
20370         * po/ru.po: Update Russian translation from translation project.
20372 2014-09-12  Roland McGrath  <roland@hack.frob.com>
20374         * locale/programs/locale.c (show_locale_vars): Inline local function
20375         into its sole call site.  Clean up some style nits.
20376         (print_item): New function, broken out of ...
20377         (show_info): ... local function here.  Clean up style nits.
20379         * locale/programs/ld-ctype.c (set_one_default): New function, broken
20380         out of ...
20381         (set_class_defaults): ... local function set_default here.
20382         Define set_default as a macro locally to pass constant parameters.
20383         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
20384         rather than a shared local.
20386         * stdlib/rpmatch.c (try): New function, broken out of ...
20387         (rpmatch): ... local function here.  Also, prototypify definition.
20389 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
20391         * scripts/soversions.awk: Do not handle configuration names.
20392         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
20393         vendor and os variables to soversions.awk.
20394         * configure.ac: Do not modify gnu-* host_os.
20395         * configure: Regenerated
20396         * shlib-versions: Remove first column with configuration names.
20397         * nptl/shlib-versions: Likewise.
20398         * nptl_db/shlib-versions: Likewise.
20399         * sysdeps/hppa/shlib-versions: Likewise.
20400         * sysdeps/m68k/shlib-versions: Likewise.
20401         * sysdeps/mach/hurd/shlib-versions: Likewise.
20402         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
20403         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
20404         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
20405         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
20406         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
20407         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
20408         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
20409         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
20410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
20411         Likewise.
20412         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
20413         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
20414         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
20415         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
20416         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
20417         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
20418         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
20419         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
20421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
20422         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
20423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
20424         Regenerated.
20425         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
20426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
20427         Condition symbol version definitions on [HAVE_ELFV2_ABI].
20429         * shlib-versions: Remove OS-specific entries.  Moved to files in
20430         sysdeps.
20431         * sysdeps/mach/hurd/shlib-versions: New file.
20432         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
20434         * nptl/shlib-versions: Remove architecture-specific entries.
20435         Moved to files in sysdeps.
20436         * shlib-versions: Likewise.
20437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
20438         file.
20439         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
20440         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
20441         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
20442         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
20444         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
20445         (UDP_NO_CHECK6_RX): Likewise.
20447 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20449         * sysdeps/posix/sysconf.c (__sysconf): Spell
20450         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
20452 2014-08-12  Florian Weimer  <fweimer@redhat.com>
20454         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
20455         loading.
20456         * iconv/Versions (__gconv_transliterate): Export for use from
20457         gconv modules.
20458         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
20459         (struct __gconv_trans_data, __gconv_trans_fct,
20460         __gconv_trans_context_fct, __gconv_trans_query_fct,
20461         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
20462         definitions.
20463         (struct __gconv_step_data): Remove __trans member.
20464         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
20465         longer hidden.  Remove unused trans_data argument.
20466         * iconv/gconv_int.h (struct trans_struct): Remove definition.
20467         (__gconv_translit_find): Remove declaration.
20468         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
20469         prototype.
20470         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
20471         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
20472         trans_data argument.  Add hidden definition.
20473         (__gconv_translit_find): Remove.
20474         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
20475         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
20476         * iconv/skeleton.c: Remove transliteration initialization.
20477         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
20478         __gconv_step_data initialization.
20479         * libio/iofwide.c (__libio_translit_): Remove.
20480         (_IO_fwide): Adjust struct __gconv_step_data initialization.
20481         * wcsmbs/btowc.c (__btowc): Likewise.
20482         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
20483         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
20484         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
20485         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
20486         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
20487         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
20488         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
20489         * wcsmbs/wctob.c (wctob): Likewise.
20491 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20493         [BZ #16194]
20494         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
20495         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
20496         register usage.
20497         * sysdeps/x86/Makefile: Adjust.
20499 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20500             Roland McGrath  <roland@hack.frob.com>
20502         * locale/weight.h: Add include guard.
20503         (findidx): Make static rather than auto; take new parameters
20504         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
20505         * locale/weightwc.h: Likewise.
20506         * posix/fnmatch_loop.c
20507         (FCT): Change type of EXTRA from int32_t to wint_t.
20508         Don't include either header inside the function.
20509         Call FINDIDX rather than findidx, and pass new arguments.
20510         #undef FINDIDX at the end of the file.
20511         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
20512         FINDIDX before including fnmatch_loop.c for the non-wide version.
20513         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
20514         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
20515         for the wide version.
20516         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
20517         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
20518         Pass new arguments to findidx.
20519         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
20520         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
20521         Don't #include it inside the function.  Pass new arguments to findidx.
20522         * posix/regex_internal.h
20523         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
20524         (re_string_elem_size_at): Don't #include it inside the function.
20525         Pass new arguments to findidx.
20526         * string/strcoll_l.c: #include WEIGHT_H at top level.
20527         (get_next_seq): Don't #include it inside the function.
20528         Pass new arguments to findidx.
20529         (get_next_seq_nocache): Likewise.
20530         * string/strxfrm_l.c: #include WEIGHT_H at top level.
20531         (STRXFRM): Don't #include it inside the function.
20532         Pass new arguments to findidx.
20534 2014-09-11  Florian Weimer  <fweimer@redhat.com>
20536         [BZ #17344]
20537         * malloc/malloc.c (unlink): Turn asserts into a call to
20538         malloc_printerr.
20540 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
20542         [BZ #17370]
20543         * libio/wfileops (do_ftell_wide): Free OUT.
20545 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
20547         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
20549 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20551         [BZ #17363]
20552         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
20553         group if the current group is empty.
20555 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20557         * benchtests/bench-memset.c (test_main): Add more test from size
20558         from 32 to 512 bytes.
20559         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20560         Add POWER8 memset object.
20561         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20562         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
20563         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
20564         implementation.
20565         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
20566         Likewise.
20567         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
20568         multiarch POWER8 memset optimization.
20569         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
20570         POWER8 memset optimization.
20572         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20573         Remove bzero multiarch objects.
20574         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
20575         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
20576         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
20577         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
20578         Remove define.
20579         [__bzero]: Redefine to specific name.
20580         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
20581         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
20582         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
20583         define.
20584         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20585         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
20587 2014-09-10  Florian Weimer  <fweimer@redhat.com>
20589         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
20590         warnings into errors.
20592         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
20593         __cxa_thread_atexit_impl prototype.
20595 2014-09-09  Steve Ellcey  <sellcey@mips.com>
20597         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
20598         Fix capitalization of error message.
20600 2014-09-09  Steve Ellcey  <sellcey@mips.com>
20602         * sysdeps/mips/preconfigure: Modify ABI tests.
20604 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
20606         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
20608 2014-09-07  Roland McGrath  <roland@hack.frob.com>
20609             Carlos O'Donell  <carlos@systemhalted.org>
20611         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
20612         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
20613         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
20614         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
20615         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
20616         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
20617         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
20618         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
20619         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
20620         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
20621         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
20622         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
20623         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
20624         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
20625         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
20626         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
20627         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
20628         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
20629         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
20630         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
20631         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
20632         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
20633         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
20634         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
20635         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
20636         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
20637         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
20638         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
20639         Deconditionalize the code that was previously under [RESET_PID].
20640         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
20641         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
20642         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
20643         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
20644         include sysdep.h.
20646 2014-09-08  Allan McRae  <allan@archlinux.org>
20648         * version.h (RELEASE): Set to "development".
20649         (VERSION): Set to "2.20.90"
20651 2014-09-07  Allan McRae  <allan@archlinux.org
20653         * version.h (RELEASE): Set to "stable".
20654         (VERSION): Set to "2.20"
20655         * include/features.h (__GLIBC_MINOR__): Set to 20.
20657         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
20658         Liebler.
20660         * po/ko.po: Update Korean translation from translation project.
20662 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
20664         [BZ #17354]
20665         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
20666         macro for handling signed relocations.
20668 2014-09-03  Florian Weimer  <fweimer@redhat.com>
20670         [BZ #17325]
20671         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
20672         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
20673         assert.
20674         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
20675         * iconvdata/ibm935.c (BODY): Likewise.
20676         * iconvdata/ibm937.c (BODY): Likewise.
20677         * iconvdata/ibm939.c (BODY): Likewise.
20678         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
20679         assert.
20680         * iconvdata/Makefile (iconv-test.out): Pass module list to test
20681         script.
20682         * iconvdata/run-iconv-test.sh: New test loop for checking for
20683         decoder crashers.
20685 2014-09-02  Khem Raj  <raj.khem@gmail.com>
20687         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
20688         libm_hidden_ver.
20690 2014-09-01  Allan McRae  <allan@archlinux.org>
20692         * po/eo.po: Update Esperanto translation from translation project.
20694         * po/ca.po: Update Catalan translation from translation project.
20696 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20698         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
20699         __proc_dostop call.
20701 2014-08-27  Mark Wielaard  <mjw@redhat.com>
20703         [BZ #17319]
20704         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
20705         to call set_thread_area instead of hand written asm.
20706         (__NR_set_thread_area): Removed define.
20707         (TLS_FLAG_WRITABLE): Likewise.
20708         (__ASSUME_SET_THREAD_AREA): Remove check.
20709         (TLS_EBX_ARG): Remove define.
20710         (TLS_LOAD_EBX): Likewise.
20712 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20714         Simplify atomicity of socket creation in bind.
20716         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
20717         looking up the name after linking the file.
20719 2014-08-27  Allan McRae  <allan@archlinux.org>
20721         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
20723 2014-08-26  Florian Weimer  <fweimer@redhat.com>
20725         [BZ #17187]
20726         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
20727         trans_compare, open_translit, __gconv_translit_find):
20728         Remove module loading code.
20730 2014-08-26  Allan McRae  <allan@archlinux.org>
20732         * po/vi.po: Update Vietnamese translation from translation project.
20734         * po/uk.po: Update Ukrainian translation from translation project.
20736         * po/fr.po: Update French translation from translation project.
20738         * po/ru.po: Update Russian translation from translation project.
20740         * po/pl.po: Update Polish translation from translation project.
20742         * po/cs.po: Update Czech translation from translation project.
20744         * po/de.po: Update German translation from translation project.
20746         * po/bg.po: Update Bulgarian translation from translation project.
20748         * po/sv.po: Update Sweedish translation from translation project.
20750         * po/nl.po: Update Dutch translation from translation project.
20752         * po/es.po: Update Spanish translation from translation project.
20754 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20756         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
20758         * catgets/Makefile (CPPFLAGS-gencat): Remove.
20759         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
20760         (CPPFLAGS-iconvconfig): Likewise.
20761         * timezone/Makefile (CPPFLAGS-zic): Likewise.
20763         * include/libc-symbols.h: Remove unnecessary check for
20764         NOT_IN_libc.
20765         * nptl/pthreadP.h: Likewise.
20766         * sysdeps/aarch64/setjmp.S: Likewise.
20767         * sysdeps/alpha/setjmp.S: Likewise.
20768         * sysdeps/arm/sysdep.h: Likewise.
20769         * sysdeps/i386/setjmp.S: Likewise.
20770         * sysdeps/m68k/setjmp.c: Likewise.
20771         * sysdeps/posix/getcwd.c: Likewise.
20772         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20773         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
20774         * sysdeps/s390/s390-32/setjmp.S: Likewise.
20775         * sysdeps/s390/s390-64/setjmp.S: Likewise.
20776         * sysdeps/sh/sh3/setjmp.S: Likewise.
20777         * sysdeps/sh/sh4/setjmp.S: Likewise.
20778         * sysdeps/unix/alpha/sysdep.h: Likewise.
20779         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20780         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20781         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
20782         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20785         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20786         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20787         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20788         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20789         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20790         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
20791         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20792         * sysdeps/x86_64/setjmp.S: Likewise.
20794 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
20796         [BZ #17263]
20797         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
20798         <stdint.h>.
20799         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
20800         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
20802 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20804         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
20806         [BZ #17262]
20807         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
20808         and __x86_64__ when disabling x87 inline functions.
20810 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
20812         [BZ #17259]
20813         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
20814         asm statement with __cpuid_count.
20816 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
20818         * configure.ac: Change __ehdr_start code to dereference the struct.
20819         Run readelf on the output to look for relocations.
20820         * configure: Regenerated.
20822 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
20824         [BZ #17261]
20825         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
20826         value to 0.
20827         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
20829 2014-08-12  Roland McGrath  <roland@hack.frob.com>
20831         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
20833 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
20835         [BZ #16892]
20836         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
20837         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
20839 2014-08-12  Sean Anderson  <seanga2@gmail.com>
20841         * malloc/malloc.c: Fix typo in comment.
20843 2014-08-09  Allan McRae  <allan@archlinux.org>
20845         * Regenerate libc.po.
20847 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
20849         * intl/tst-gettext2.sh: Check every lang file for creation.
20851 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
20853         * sysdeps/aarch64/fpu/math_private.h
20854         (libc_feholdsetround_noex_aarch64_ctx): New function.
20856 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
20858         * sysdeps/arm/armv6/strcpy.S (strcpy):
20859         Fix performance issue in misaligned cases.
20861 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20863         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
20864         Move definition from termios.h.
20865         (struct termio): Likewise.
20866         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
20867         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
20868         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
20869         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
20870         Likewise.
20871         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
20872         Move definition to ioctl-types.h
20873         (struct termio): Likewise.
20874         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
20875         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
20876         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
20877         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
20878         Likewise.
20880 2014-08-05  Richard Henderson  <rth@redhat.com>
20882         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
20883         exceptions.
20884         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
20885         Add fraiseexcpt.
20886         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
20887         Use __feraiseexcept.
20888         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
20889         Protect libm symbols with IS_IN_libm.
20891         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
20893 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
20895         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
20897 2014-08-04  Will Newton  <will.newton@linaro.org>
20899         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
20900         file.
20902 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
20904         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
20905         variants for each function.
20907 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20909         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
20910         appended ...
20911         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
20912         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
20913         appended ...
20914         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
20915         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
20916         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
20917         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
20918         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
20919         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
20920         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
20921         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
20922         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
20923         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
20924         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
20925         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
20926         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
20927         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
20928         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
20929         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
20930         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
20931         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
20932         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
20933         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
20934         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
20935         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
20936         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
20937         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
20938         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
20939         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
20940         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
20941         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
20942         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
20943         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
20944         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
20945         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
20946         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
20947         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
20948         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
20949         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
20950         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
20951         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
20952         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
20953         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
20954         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
20955         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
20956         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
20957         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
20958         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
20959         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
20960         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
20961         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
20962         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
20963         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
20964         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
20965         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
20966         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
20967         Update #include.
20968         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
20969         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
20971 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20973         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
20974         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
20975         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
20976         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
20977         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
20978         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
20980 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20982         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
20983         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
20984         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20985         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
20987 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20989         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
20990         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
20991         (__libc_vfork): Define function under this name.
20992         (__vfork): Define as an alias.
20993         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
20994         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
20996 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20998         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
20999         that was previously under [RESET_PID].
21000         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
21002 2014-08-04  Andreas Schwab  <schwab@suse.de>
21004         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
21006 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
21008         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
21009         (main): Likewise.
21011 2014-08-01  Roland McGrath  <roland@hack.frob.com>
21013         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
21015 2014-08-01  Richard Henderon  <rth@redhat.com>
21017         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
21018         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
21019         typo in exact zero test.
21020         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21021         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21022         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21024 2014-08-01  Roland McGrath  <roland@hack.frob.com>
21026         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
21027         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
21028         * sysdeps/arm/sysdep.h: ... here.
21029         [!__ASSEMBLER__]: Include <stdint.h>.
21031 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
21033         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
21034         (HAVE_WCTYPE_H): Likewise.
21035         (HAVE_ISWCTYPE): Likewise.
21036         (ENABLE_NLS): Likewise.
21037         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
21038         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
21040         * posix/regex_internal.c: Check if DEBUG is defined and is
21041         set.
21043         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
21044         (HAVE_MBSRTOWCS): Likewise.
21045         * posix/fnmatch.c: Include string.h unconditionally.
21047 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
21049         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
21050         reversal.
21052 2014-07-31  Roland McGrath  <roland@hack.frob.com>
21054         * sysdeps/generic/safe-fatal.h: New file.
21055         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
21056         * nptl/forward.c: Include it.
21057         (__pthread_unwind): Use __safe_fatal as default action, rather
21058         than a bogus use of INTERNAL_SYSCALL that could never work.
21060         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
21061         * configure.ac (libc_cv_builtin_trap): New test.
21062         * configure: Regenerated.
21063         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
21064         (ABORT_INSTRUCTION): Define using __builtin_trap.
21066         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
21067         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
21068         * sysdeps/nptl/nptl-signals.h: New file.
21069         * nptl/pthreadP.h: Include <nptl-signals.h>.
21071 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
21073         * sysdeps/s390/s390-64/utf16-utf32-z9.c
21074         (ONE_DIRECTION): Define.
21075         * sysdeps/s390/s390-64/utf8-utf16-z9.c
21076         (ONE_DIRECTION): Define.
21077         * sysdeps/s390/s390-64/utf8-utf32-z9.c
21078         (ONE_DIRECTION): Define.
21080 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
21082         * sysdeps/s390/Makefile: Delete file.
21083         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
21084         * sysdeps/s390/__longjmp.c: Delete file.
21085         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
21086         Remove fields __flags and __reserved.
21087         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
21088         and add versioning.
21089         * sysdeps/s390/rtld-__longjmp.c: Delete file.
21090         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
21091         * sysdeps/s390/rtld-setjmp.S: Likewise.
21092         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
21093         * sysdeps/s390/s390-32/__longjmp.c: ... here.
21094         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
21095         * sysdeps/s390/s390-32/setjmp.S: ... here.
21096         Add versioning.
21097         (__sigsetjmp): Remove setting __flags field.
21098         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
21099         * sysdeps/s390/s390-64/__longjmp.c: ... here.
21100         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
21101         * sysdeps/s390/s390-64/setjmp.S: ... here.
21102         Add versioning.
21103         (__sigsetjmp): Remove setting __flags field.
21104         * sysdeps/s390/setjmp.S: Delete file.
21105         * sysdeps/s390/sigjmp.c: Likewise.
21106         * sysdeps/s390/v1-longjmp.c: Likewise.
21107         * sysdeps/s390/v1-setjmp.h: Likewise.
21108         * sysdeps/s390/v1-sigjmp.c: Likewise.
21109         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
21110         Remove v1-longjmp_chk.
21111         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
21112         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
21113         Include debug/longjmp_chk.c and add versioning.
21114         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
21115         Include nptl/pt-longjmp.c and add versioning.
21116         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
21117         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
21118         Include __longjmp.c.
21119         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
21120         Move to ...
21121         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
21122         (__getcontext): Remove setting __flags field.
21123         Add versioning.
21124         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21125         Don't restore upper high grps.
21126         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
21127         Likewise.
21128         (__swapcontext): Remove setting uc_flags field.
21129         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
21130         Delete file.
21131         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
21132         Include __longjmp.c.
21133         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
21134         Move to ...
21135         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
21136         (__getcontext): Remove setting __flags field.
21137         Add versioning.
21138         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
21139         (__swapcontext): Remove setting uc_flags field.
21140         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
21141         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
21142         Remove fields uc_high_gprs and __reserved.
21143         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
21144         New file with reverted content.
21145         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
21146         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
21147         Regenerated.
21148         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
21149         Regenerated.
21151 2014-07-31  Andreas Schwab  <schwab@suse.de>
21153         * config.h.in (HAVE_IFUNC): Define to 0.
21154         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
21155         definedness.
21157 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
21159         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21160         memmove-avx-unaligned, memcpy-avx-unaligned and
21161         mempcpy-avx-unaligned.
21162         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21163         Add tests for AVX memcpy functions.
21164         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
21165         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
21166         memcpy_chk.
21167         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
21168         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
21169         memmove_chk.
21170         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
21171         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
21172         mempcpy_chk.
21173         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
21174         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
21175         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
21177 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21179         [BZ #17213]
21180         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
21181         powerpc64le.
21183 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
21185         [BZ #16839]
21186         * manual/llio.texi: Add section about open file description locks.
21187         * manual/examples/ofdlocks.c: Example of open file description
21188         lock usage.
21189         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
21190         F_OFD_SETLK, and F_OFD_SETLKW.
21192 2014-07-23  Allan McRae  <allan@archlinux.org>
21194         * po/es.po: Update Spanish translation from translation project.
21196 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
21198         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
21200 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
21202         [BZ #17078]
21203         * sysdeps/arm/dl-machine.h (elf_machine_rela)
21204         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
21205         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
21207 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
21209         [BZ #17088]
21210         * math/fesetenv.c (__fesetenv)
21211         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
21212         * math/feupdateenv.c (__feupdateenv)
21213         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
21215         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
21216         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
21217         (__ASSUME_SOCKETCALL): Do not define.
21219         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
21220         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
21221         (__ASSUME_SOCKETCALL): Do not define.
21222         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
21223         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
21224         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21225         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
21226         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21227         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
21228         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21229         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21231         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
21232         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
21233         (__ASSUME_SOCKETCALL): Do not define.
21234         (__ASSUME_IPC64): Define unconditionally.
21235         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
21236         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21237         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
21238         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21239         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
21240         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21241         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
21242         Likewise.
21244         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
21245         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
21246         (__ASSUME_SOCKETCALL): Do not define.
21247         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
21248         (__ASSUME_FUTEX_LOCK_PI): Likewise.
21249         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21250         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
21251         (__ASSUME_REQUEUE_PI): Define unconditionally.
21252         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
21253         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
21254         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21255         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
21256         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21257         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21259         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
21260         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
21261         (__ASSUME_SOCKETCALL): Do not define.
21262         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
21263         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21264         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21265         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
21266         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21267         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21269         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
21270         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
21271         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21272         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
21273         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21274         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
21275         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21276         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
21277         (__ASSUME_GETCPU_SYSCALL): Likewise.
21279         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
21280         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
21281         cases for individual architectures.
21282         * sysdeps/gnu/configure: Regenerated.
21283         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
21284         LIBC_SLIBDIR_RTLDDIR.
21285         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
21286         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
21287         LIBC_SLIBDIR_RTLDDIR.
21288         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
21289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
21290         LIBC_SLIBDIR_RTLDDIR.
21291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
21292         Regenerated.
21293         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
21294         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
21295         file.
21296         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
21297         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
21298         file.
21299         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
21300         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
21301         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
21302         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
21304         * sysdeps/aarch64/shlib-versions: Move to ...
21305         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
21306         * sysdeps/alpha/shlib-versions: Move to ...
21307         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
21308         * sysdeps/arm/shlib-versions: Move to ...
21309         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
21310         * sysdeps/hppa/shlib-versions: Move all contents except for
21311         libgcc_s entry to ...
21312         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
21313         entry from ...
21314         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
21315         * sysdeps/ia64/shlib-versions: Move to ...
21316         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
21317         entry from ...
21318         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
21319         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
21320         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
21321         * sysdeps/microblaze/shlib-versions: Move to ...
21322         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
21323         * sysdeps/mips/shlib-versions: Move to ...
21324         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
21325         entry from ...
21326         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
21327         * sysdeps/tile/shlib-versions: Move to ...
21328         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
21329         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
21330         from ...
21331         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
21332         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
21333         entry from ...
21334         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
21336 2014-07-17  Will Newton  <will.newton@linaro.org>
21338         * sysdeps/arm/bits/atomic.h
21339         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
21340         (__arch_compare_and_exchange_bool_16_int): Likewise.
21341         (__arch_compare_and_exchange_bool_64_int): Likewise.
21343         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
21344         into an #else block.
21346 2014-07-16  Roland McGrath  <roland@hack.frob.com>
21348         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
21349         just Linux configurations.  Test empirically that the compiler sets
21350         __ARM_EABI__, rather than using the tuple to decide.
21351         * sysdeps/arm/preconfigure: Regenerated.
21352         * sysdeps/unix/sysv/linux/arm/configure: File removed.
21353         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
21354         contents appended ...
21355         * sysdeps/arm/configure.ac: ... here.
21356         * sysdeps/arm/configure: Regenerated.
21358 2014-07-15  Roland McGrath  <roland@hack.frob.com>
21360         * nptl/pthread_kill.c: New file.
21361         * nptl/pthread_sigmask.c: New file.
21362         * nptl/pthread_sigqueue.c: New file.
21364         * sysdeps/nptl/lowlevellock.h: New file.
21365         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
21366         * sysdeps/nptl/lowlevellock-futex.h: New file.
21368         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
21369         Remove dead declarations.
21371 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
21373         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
21374         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
21375         config-cflags-avx2.
21376         * sysdeps/x86_64/configure.ac: Likewise.
21377         * sysdeps/i386/configure: Regenerated.
21378         * sysdeps/x86_64/configure: Likewise.
21379         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21380         memset-avx2 only if config-cflags-avx2 is yes.
21381         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21382         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
21383         defined.
21384         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
21385         only if HAVE_AVX2_SUPPORT is defined.
21386         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21388 2014-07-14  Alan Modra  <amodra@gmail.com>
21390         [BZ #17153]
21391         * elf/elf.h (DT_PPC64_NUM): Correct value.
21392         * NEWS: Add to fixed bug list.
21394 2014-07-13  Jim Meyering  <meyering@fb.com>
21396         [BZ 17150]
21397         regex: don't deref NULL upon heap allocation failure
21398         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
21399         failure in one more place.
21400         To trigger the segfault, configure grep -with-included-regex,
21401         build it, and run these commands:
21402         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
21404 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
21406         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
21408 2014-07-11  Richard Henderson  <rth@redhat.com>
21410         * sysdeps/aarch64/libm-test-ulps: Update.
21412 2014-07-10  Florian Weimer  <fweimer@redhat.com>
21414         [BZ #17135]
21415         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
21416         * nptl/allocatestack.c (__nptl_setxid_error): New function.
21417         (__nptl_setxid): Initialize error member.  Call
21418         __nptl_setxid_error.
21419         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
21420         * nptl/descr.h (struct xid_command): Add error member.
21421         * nptl/tst-setuid3.c: New file.
21422         * nptl/Makefile (tests): Add it.
21424 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21426         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
21427         New define.
21428         (__lll_trylock): Use __lll_base_trylock.
21429         (__lll_cond_trylock): Likewise.
21431 2014-07-10  Roland McGrath  <roland@hack.frob.com>
21433         * nptl/pthread_create.c (start_thread): Use atomic_or and
21434         lll_futex_wake directly rather than lll_robust_dead.
21435         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
21436         (lll_robust_dead): Macro removed.
21437         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
21438         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
21439         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
21440         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
21441         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
21442         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
21443         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
21444         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
21445         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
21446         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
21447         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21448         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
21449         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
21450         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
21451         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
21453         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
21454         Use atomic_compare_and_exchange_val_acq directly rather than
21455         lll_robust_trylock.
21456         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
21457         (__lll_robust_trylock, lll_robust_trylock): Removed.
21458         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
21459         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
21460         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
21461         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
21462         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
21463         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
21464         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
21465         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
21466         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
21467         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21468         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
21469         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
21470         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
21471         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
21473 2014-07-02  Florian Weimer  <fweimer@redhat.com>
21475         * manual/locale.texi (Locale Names): New section documenting
21476         locale name syntax.  Adjust menu and node chaining accordingly.
21477         (Choosing Locale): Reference Locale Names, Locale Categories.
21478         Mention setting LC_ALL=C.  Reflect that name syntax is now
21479         documented.
21480         (Locale Categories): New section title.  Reference Locale Names.
21481         LC_ALL is an environment variable, but not a category.
21482         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
21483         description, now in Locale Name.  Reference that section.  Locale
21484         name syntax is now documented.
21486 2014-07-02  Florian Weimer  <fweimer@redhat.com>
21488         [BZ #17137]
21489         * locale/findlocale.c (name_present, valid_locale_name): New
21490         functions.
21491         (_nl_find_locale): Use the loc_name variable to store name
21492         candidates.  Call name_present and valid_locale_name to check and
21493         validate locale names.  Return an error if the locale is invalid.
21495 2014-07-02  Florian Weimer  <fweimer@redhat.com>
21497         * locale/setlocale.c (setlocale): Use strdup for allocating
21498         composite name copy.
21500 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21502         Sync up with gnulib.
21503         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
21504         [!_LIBC && ENABLE_NLS]: Include gettext.h.
21505         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
21506         and _GL_ARG_NONNULL.
21507         [USE_UNLOCKED_IO]: Include unlocked-io.h.
21508         [!_LIBC]: Include code for Windows and Cygwin.
21509         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
21510         Include prototype for int strerror_r.
21511         [!_LIBC] (is_open): New function.
21512         (flush_stdout): New function.
21513         (print_errno_message): Use it.
21514         (error): Likewise.
21515         (error_at_line): Likewise.
21516         (error_tail) Add function attribute macros.  Use
21517         __builtin_expect.
21519         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
21521         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
21523         * io/ftw.c: Include sys/param.h unconditionally.
21525         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
21527         [BZ #17125]
21528         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
21529         libc_freeres_ptr.
21530         (freecache): New function to free CACHE on exit.
21532         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
21533         initialization.
21535 2014-07-09  David S. Miller  <davem@davemloft.net>
21537         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21539         * sysdeps/sparc/nptl/internaltypes.h: Delete.
21540         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
21541         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
21542         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
21543         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
21544         * sysdeps/sparc/nptl/sem_init.c: Likewise.
21545         * sysdeps/sparc/nptl/sem_post.c: Likewise.
21546         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
21547         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
21548         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
21549         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
21550         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
21551         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
21553 2014-07-09  Andreas Schwab  <schwab@suse.de>
21555         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
21556         output.
21557         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
21558         (do_test): Likewise.
21560         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21562 2014-07-09  Will Newton  <will.newton@linaro.org>
21564         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
21565         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
21566         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
21567         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
21568         * sysdeps/hppa/start.S (_start): Likewise.
21570 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
21572         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
21574         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
21575         defined.
21577 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21579         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
21580         after checking that it is non-NULL.
21582         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
21584 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21586         * sysdeps/powerpc/memmove.c: Remove file.
21587         * sysdeps/powerpc/powerpc32/power4/memcopy.h
21588         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
21589         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
21590         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
21591         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
21592         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
21593         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
21594         string memmove instead of removed powerpc one.
21596         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
21597         [weak_alias]: Fix compiler warning due trailing data.
21598         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
21599         [weak_alias]: Likewise.
21600         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
21601         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
21603         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21604         (__libc_ifunc_impl_list): Add memmove functions.
21606 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21608         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
21609         Remove code.
21610         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
21611         Likewise
21612         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
21613         Likewise
21614         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
21615         Likewise
21616         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
21617         Likewise
21618         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
21619         Likewise
21620         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
21621         Likewise
21622         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
21623         Likewise
21624         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
21625         Likewise
21626         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
21627         Likewise
21628         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
21629         Likewise
21630         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
21631         Likewise
21632         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
21633         Likewise
21634         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
21635         Likewise
21636         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
21637         Likewise
21638         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
21639         Likewise
21640         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
21641         Likewise
21643 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21645         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
21646         to avoid alignment traps in non-cacheable memory.
21647         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
21649         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
21650         multiarch objects.
21651         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
21652         file: multiarch power7 memmove.
21653         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
21654         multiarch default memmove.
21655         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
21656         multiarch memove for powerpc32/power4.
21658         * string/bcopy.c: Use full path to include memmove.c.
21659         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
21660         multiarch objects.
21661         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
21662         bcopy for powerpc64.
21663         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
21664         bcopy for powerpc64.
21665         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
21666         and memmove implementations.
21667         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
21668         optimized multiarch memmove for POWER7/powerpc64.
21669         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
21670         default multiarch memmove for powerpc64.
21671         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
21672         multiarch for powerpc64.
21673         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
21674         for POWER7/powerpc64.
21675         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
21676         memmove for POWER7/powerpc64.
21678         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
21679         glibc default one.
21681         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
21682         __ELF_NATIVE_CLASS equal to 64.
21684 2014-07-07  Roland McGrath  <roland@hack.frob.com>
21686         * sysdeps/nptl/lowlevellock.h: File removed.
21688         * NEWS: NPTL is no longer an add-on!
21689         * nptl/internaltypes.h: Moved ...
21690         * sysdeps/nptl/internaltypes.h: ... here.
21691         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
21692         * sysdeps/nptl/fork.c: Likewise.
21693         * sysdeps/nptl/gai_misc.h: Likewise.
21694         * sysdeps/nptl/librt-cancellation.c: Likewise.
21695         * sysdeps/nptl/jmp-unwind.c: Likewise.
21696         * sysdeps/nptl/setxid.h: Likewise.
21697         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
21698         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
21699         * sysdeps/unix/sysv/linux/arm/Implies: New file.
21700         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
21701         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
21702         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
21703         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
21704         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
21705         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
21706         * sysdeps/unix/sysv/linux/mips/Implies: New file.
21707         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
21708         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
21709         * sysdeps/unix/sysv/linux/sh/Implies: New file.
21710         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
21711         * sysdeps/unix/sysv/linux/tile/Implies: New file.
21712         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
21713         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
21714         * nptl/Makeconfig: Moved ...
21715         * sysdeps/nptl/Makeconfig: ... here.
21716         * nptl/configure: File removed.
21717         * nptl/ANNOUNCE: File removed.
21718         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
21719         * sysdeps/unix/sysv/linux/configure: Regenerated.
21721         * nptl/Makefile (routines): Add libc_pthread_init,
21722         libc_multiple_threads, register-atfork and unregister-atfork.
21723         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
21724         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
21725         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
21726         pthread-pi-defines.sym, structsem.sym.
21727         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
21728         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
21729         [$(subdir) = nptl] (tests): Add tst-setgetname.
21730         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
21731         * sysdeps/unix/sysv/linux/sigaction.c: Just include
21732         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
21733         [!LIBC_SIGACTION]: Remove aliases.
21734         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
21735         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
21736         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
21737         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
21738         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
21739         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
21740         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
21741         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
21742         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
21743         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
21744         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
21745         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
21746         __libc_allocate_rtsig_private.
21747         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
21748         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
21749         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
21750         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
21751         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
21752         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
21753         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
21754         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
21755         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
21756         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
21757         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
21758         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
21759         * nptl/internaltypes.h: ... here.
21760         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
21761         * sysdeps/nptl/jmp-unwind.c: ... here.
21762         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
21763         * nptl/libc-lowlevellock.c: ... here.
21764         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
21765         * nptl/libc_multiple_threads.c: ... here.
21766         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
21767         * nptl/libc_pthread_init.c: ... here.
21768         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
21769         * nptl/lowlevelbarrier.sym: ... here.
21770         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
21771         * nptl/lowlevelcond.sym: ... here.
21772         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
21773         * nptl/lowlevellock.c: ... here.
21774         * nptl/lowlevellock.h: Moved ...
21775         * sysdeps/nptl/lowlevellock.h: ... here.
21776         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
21777         * nptl/lowlevelrobustlock.c: ... here.
21778         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
21779         * nptl/lowlevelrobustlock.sym: ... here.
21780         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
21781         * nptl/lowlevelrwlock.sym: ... here.
21782         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
21783         * nptl/pt-fork.c: ... here.
21784         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
21785         * nptl/pthread-pi-defines.sym: ... here.
21786         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
21787         * nptl/pthread_attr_getaffinity.c: ... here.
21788         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
21789         * nptl/pthread_attr_setaffinity.c: ... here.
21790         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
21791         * nptl/pthread_mutex_cond_lock.c: ... here.
21792         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
21793         Update #include.
21794         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
21795         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
21796         * nptl/pthread_once.c: ... here, replacing old file.
21797         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
21798         * nptl/pthread_yield.c: ... here.
21799         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
21800         * nptl/register-atfork.c: ... here.
21801         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
21802         * nptl/sem_post.c: ... here.
21803         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
21804         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
21805         * nptl/sem_timedwait.c: ... here.
21806         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
21807         * nptl/sem_trywait.c: ... here.
21808         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
21809         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
21810         * nptl/sem_wait.c: ... here.
21811         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
21812         * nptl/structsem.sym: ... here.
21813         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
21814         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
21815         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
21816         * nptl/unregister-atfork.c: ... here.
21817         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
21818         * nptl/unwindbuf.sym: ... here.
21819         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
21820         * sysdeps/nptl/fork.c: ... here.
21821         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
21822         * sysdeps/nptl/fork.h: ... here.
21823         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
21824         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
21825         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
21826         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
21827         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
21828         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
21829         * sysdeps/unix/sysv/linux/getpid.c: ... here.
21830         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
21831         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
21832         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
21833         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
21834         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
21835         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
21836         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
21837         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
21838         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
21839         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
21840         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
21841         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
21842         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
21843         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
21844         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
21845         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
21846         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
21847         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
21848         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
21849         * sysdeps/unix/sysv/linux/raise.c: ... here.
21850         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
21851         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
21852         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
21853         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
21854         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
21855         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
21856         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
21857         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
21858         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
21859         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
21860         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
21861         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
21862         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
21863         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
21864         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
21866 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21868         * sysdeps/generic/memcopy.h: Add comment for
21869         MEMCPY_OK_FOR_FWD_MEMMOVE.
21871 2014-07-04  Will Newton  <will.newton@linaro.org>
21873         * string/memchr.c: Merge from gnulib.
21874         [_LIBC]: Remove conditionals.
21875         (__ptr_t): Remove define.
21876         (LONG_MAX_32_BITS): Likewise.
21877         (LONG_MAX): Likewise.
21878         (MEMCHR): Use ANSI prototype and optimize algorithm.
21880         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
21882 2014-07-03  Roland McGrath  <roland@hack.frob.com>
21884         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
21885         (lll_futex_timed_wait_bitset): Fix syscall argument count.
21887         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
21888         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
21889         in a bare environment with no <stdlib.h> installed.
21890         * sysdeps/nptl/configure: Regenerated.
21892         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
21894         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
21895         AC_EGREP_CPP for kernel header checks, so they only succeed if
21896         including <linux/version.h> actually works right.
21897         * sysdeps/unix/sysv/linux/configure: Regenerated.
21899         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
21900         value so it's not diagnosed as unused.
21902         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
21903         thing) with "ifeq ($(subdir),rt)".
21905 2014-07-03  Richard Henderson  <rth@redhat.com>
21907         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
21908         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
21909         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
21911         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
21912         (math_force_eval): New.
21914         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
21915         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
21917         * sysdeps/alpha/fpu/s_round.c: Remove file.
21918         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
21920         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
21921         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
21922         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
21923         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
21924         (_dl_start, print_statistics): Likewise.
21925         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
21926         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
21928         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21929         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21930         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21931         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21932         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
21933         (HP_SMALL_TIMING_AVAIL): Define.
21934         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21935         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
21936         (HP_SMALL_TIMING_AVAIL): Define.
21937         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21938         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21940         * sysdeps/aarch64/hp-timing.h: New file.
21942         * sysdeps/generic/hp-timing.h: Remove dead comment.
21943         * sysdeps/generic/hp-timing-common.h: New file.
21944         * sysdeps/alpha/hp-timing.h: Include it.
21945         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
21946         * sysdeps/i386/i686/hp-timing.h: Likewise.
21947         * sysdeps/ia64/hp-timing.h: Likewise.
21948         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21949         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21950         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21951         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21952         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
21953         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
21954         (hp_timing_t): New.
21956         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
21957         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
21958         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
21959         * elf/rtld.c (_dl_start_final): Likewise.
21960         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
21961         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21962         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21963         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21964         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21965         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
21966         (HP_TIMING_DIFF_INIT): Remove.
21967         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21968         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
21969         (HP_TIMING_DIFF_INIT): Remove.
21970         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21971         * sysdeps/i386/i686/hp-timing.c: Remove file.
21972         * sysdeps/x86_64/hp-timing.c: Remove file.
21973         * sysdeps/ia64/hp-timing.c: Remove file.
21974         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
21975         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
21976         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
21977         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
21979         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
21980         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
21981         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
21982         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
21983         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
21984         (HP_TIMING_ACCUM): Remove.
21985         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
21986         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
21987         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
21989         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
21990         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
21991         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
21992         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
21993         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
21994         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
21995         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
21996         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
21998         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
22000 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
22002         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
22004 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22006         Sync up with gettext.
22007         * intl/loadmsgcat.c: Define O_BINARY if not defined.
22008         [_MSC_VER]: Include malloc.h
22009         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
22010         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
22011         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
22012         TEMP_FAILURE_RETRY.  Cast return of alloca.
22013         [!_LIBC] Call gl_rwlock_init.
22014         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
22016 2014-07-02  Roland McGrath  <roland@hack.frob.com>
22018         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
22019         before checking its value.
22021 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22023         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
22025         * debug/memcpy_chk.c: Don't include pagecopy.h.
22026         * debug/mempcpy_chk.c: Likewise.
22027         * string/memcpy.c: Likewise.
22028         * string/memmove.c: Likewise.
22029         * sysdeps/powerpc/memmove.c: Likewise.
22030         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
22031         definition of PAGE_COPY_FWD_MAYBE here...
22032         * sysdeps/generic/pagecopy.h: ... from here.
22033         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
22035 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22036             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22038         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
22039         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
22040         optimizations.
22041         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22042         (__libc_ifunc_impl_list): Likewise.
22043         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
22044         multiarch strcat for PPC64.
22045         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
22046         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
22048 2014-07-02  Roland McGrath  <roland@hack.frob.com>
22050         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
22052 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22054         * intl/loadmsgcat.c: Remove declaration of
22055         get_sysdep_segment_value.
22056         (get_sysdep_segment_value): Use ISO C style.
22057         (_nl_load_domain): Use ISO C style.  Get rid of redundant
22058         semicolon.  Fix typo and formatting in comment.
22059         (_nl_unload_domain): Use ISO C style.
22061         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
22063 2014-07-02  Will Newton  <will.newton@linaro.org>
22065         * malloc/obstack.c: Merge from gnulib master.
22066         [HAVE_CONFIG_H]: Remove conditional code.
22067         [!_LIBC]: Include config.h.
22068         [!ELIDE_CODE]: Don't include inttypes.h, include
22069         stdint.h unconditionally.
22070         (print_and_abort): Mark as _Noreturn.
22071         (_obstack_allocated_p): Mark as __attribute_pure__.
22072         (obstack_free): Rename to __obstack_free.
22073         [!__attribute__]: Remove conditional code.
22074         * malloc/obstack.h: Merge from gnulib master.
22075         [__cplusplus]: Move conditional down.
22076         [!__attribute_pure__]: Define __attribute_pure__ here
22077         if it is not already defined.
22078         (_obstack_memory_used): Mark as __attribute_pure__.
22079         [!__obstack_free]: Define as obstack_free.
22080         [__GNUC__]: Remove check for ancient NeXT gcc.
22082 2014-07-02  Will Newton  <will.newton@linaro.org>
22083             Paul Eggert  <eggert@cs.ucla.edu>
22085         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
22087 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22089         * resolv/gethnamaddr.c: Add comment warning that the file is
22090         not maintained.
22092 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
22094         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
22095         entries.
22097         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
22098         entry for aio_cancel and aio_cancel64.
22099         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
22100         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
22101         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
22102         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
22103         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
22104         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
22105         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
22106         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
22107         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
22108         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
22109         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
22110         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
22111         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
22113 2014-07-01  Roland McGrath  <roland@hack.frob.com>
22115         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
22116         * nptl/pthread_mutex_lock.c: Likewise.
22117         * nptl/pthread_mutex_timedlock.c: Likewise.
22118         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
22120 2014-07-01  Richard henderson  <rth@redhat.com>
22122         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
22123         (__isnan, __isnanl): Remove.
22124         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
22126         * sysdeps/alpha/fpu/libm-test-ulps: Update.
22128 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
22130         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22132 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
22134         * resolv/nss_dns/dns-host.c (getanswer_r)
22135         [MULTI_PTRS_ARE_ALIASES]: Remove code.
22137 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
22139         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22140         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
22141         undefine.
22142         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
22143         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
22145 2014-07-01  Roland McGrath <roland@hack.frob.com>
22147         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
22148         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
22150         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
22151         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
22153         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
22154         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
22155         ... here.
22156         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
22157         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
22159         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
22160         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
22161         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
22162         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
22164         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
22165         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
22166         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
22167         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
22168         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
22169         Moved ...
22170         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
22171         ... here.
22172         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
22173         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
22174         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
22175         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
22176         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
22177         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
22178         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
22179         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
22180         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
22181         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
22182         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
22183         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
22184         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
22185         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
22186         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
22187         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
22188         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
22189         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
22190         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
22191         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
22192         ... here.
22193         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
22194         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
22195         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
22196         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
22197         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
22198         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
22199         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
22200         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
22202 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
22204         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
22205         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
22206         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
22207         Add sysdep.
22209 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22211         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22213 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
22215         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
22216         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22218         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22220         * sysdeps/arm/libm-test-ulps: Regenerated.
22222 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
22223             Roland McGrath <roland@hack.frob.com>
22225         * test-skeleton.c (signal_handler): Kill the whole process group
22226         before killing the child individually.
22227         (main): Report any failure on `setpgid'.
22229 2014-06-30  Roland McGrath  <roland@hack.frob.com>
22231         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
22232         from _TLS_H to _ARM_NPTL_TLS_H.
22233         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
22234         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
22236 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
22238         [BZ #16539]
22239         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
22240         (__expm1l): Return argument unchanged when small but not
22241         subnormal.
22243         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
22244         include macro name.
22245         (_FP_UNPACK_RAW_1_P): Likewise.
22246         (_FP_PACK_RAW_1): Likewise.
22247         (_FP_PACK_RAW_1_P): Likewise.
22248         (_FP_MUL_MEAT_1_wide): Likewise.
22249         (_FP_MUL_MEAT_DW_1_hard): Likewise.
22250         (_FP_MUL_MEAT_1_hard): Likewise.
22251         (_FP_DIV_MEAT_1_imm): Likewise.
22252         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
22253         (_FP_DIV_MEAT_1_udiv): Likewise.
22254         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
22255         (_FP_UNPACK_RAW_2): Likewise.
22256         (_FP_UNPACK_RAW_2_P): Likewise.
22257         (_FP_PACK_RAW_2): Likewise.
22258         (_FP_PACK_RAW_2_P): Likewise.
22259         (_FP_MUL_MEAT_DW_2_wide): Likewise.
22260         (_FP_MUL_MEAT_2_wide): Likewise.
22261         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
22262         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
22263         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
22264         (_FP_MUL_MEAT_2_gmp): Likewise.
22265         (_FP_DIV_MEAT_2_udiv): Likewise.
22266         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
22267         (_FP_FRAC_SRL_4): Likewise.
22268         (_FP_FRAC_SRST_4): Likewise.
22269         (_FP_FRAC_SRS_4): Likewise.
22270         (_FP_UNPACK_RAW_4): Likewise.
22271         (_FP_UNPACK_RAW_4_P): Likewise.
22272         (_FP_PACK_RAW_4): Likewise.
22273         (_FP_PACK_RAW_4_P): Likewise.
22274         (_FP_MUL_MEAT_DW_4_wide): Likewise.
22275         (_FP_MUL_MEAT_4_wide): Likewise.
22276         (_FP_MUL_MEAT_4_gmp): Likewise.
22277         (umul_ppppmnnn): Likewise.
22278         (_FP_DIV_MEAT_4_udiv): Likewise.
22279         (__FP_FRAC_ADD_4): Likewise.
22280         (__FP_FRAC_SUB_3): Likewise.
22281         (__FP_FRAC_SUB_4): Likewise.
22282         (__FP_FRAC_DEC_3): Likewise.
22283         (__FP_FRAC_DEC_4): Likewise.
22284         (__FP_FRAC_ADDI_4): Likewise.
22285         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
22286         (_FP_FRAC_SRL_8): Likewise.
22287         (_FP_FRAC_SRS_8): Likewise.
22289         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
22290         include macro name.
22291         (FP_UNPACK_RAW_EP): Likewise.
22292         (FP_PACK_RAW_E): Likewise.
22293         (FP_PACK_RAW_EP): Likewise.
22294         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
22295         (_FP_ISSIGNAN): Likewise.
22296         (_FP_ADD_INTERNAL): Likewise.
22297         (_FP_FMA): Likewise.
22298         (_FP_CMP): Likewise.
22299         (_FP_SQRT): Likewise.
22300         (_FP_TO_INT): Likewise.
22301         (_FP_FROM_INT): Likewise.
22302         (FP_EXTEND): Likewise.
22303         (_FP_DIV_MEAT_N_loop): Likewise.
22305 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
22307         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
22308         throughout.
22310 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
22312         [BZ #17097]
22313         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
22314         result with correct sign in case of exponents that produce
22315         overflow except for X very close to 1.
22317 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
22319         mktime: merge #if/#ifdef usage from glibc
22320         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
22321         as that works with both Glibc's and Gnulib's style.
22322         See thread starting at Siddhesh Poyarekar's bug report at:
22323         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
22325 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22327         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
22328         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
22329         * sysdeps/tile/tilegx/memmove.c: Remove file.
22331 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
22333         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
22334         abi-name definition.
22335         * scripts/soversions.awk: Do not handle or generate ABI lines.
22336         * shlib-versions: Remove ABI entries.
22337         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
22338         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
22340 2014-06-27  Roland McGrath  <roland@hack.frob.com>
22342         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
22343         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
22344         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
22345         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
22346         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
22347         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
22348         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
22349         Moved ...
22350         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
22351         ... here.
22352         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
22353         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
22354         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
22355         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
22356         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
22357         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
22358         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
22359         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
22360         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
22361         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
22362         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
22363         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
22364         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
22365         Moved ...
22366         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
22367         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
22368         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
22369         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
22370         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
22371         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
22372         Moved ...
22373         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
22374         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
22375         Moved ...
22376         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
22377         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
22378         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
22379         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
22380         Moved ...
22381         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
22382         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
22383         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
22384         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
22385         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
22386         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
22387         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
22388         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
22389         Moved ...
22390         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
22391         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
22392         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
22393         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
22394         Moved ...
22395         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
22396         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
22397         Moved ...
22398         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
22399         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
22400         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
22401         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
22402         Moved ...
22403         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
22404         ... here.
22405         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
22406         Identical file removed.
22407         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
22408         Moved ...
22409         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
22410         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
22411         Identical file removed.
22412         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
22413         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
22414         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
22415         Moved ...
22416         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
22417         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
22418         Identical file removed.
22419         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
22420         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
22421         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
22422         Identical file removed.
22423         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
22424         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
22425         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
22426         Identical file removed.
22427         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
22428         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
22429         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
22430         Identical file removed.
22431         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
22432         Moved ...
22433         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
22434         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
22435         Identical file removed.
22436         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
22437         Moved ...
22438         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
22439         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
22440         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
22441         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
22442         Identical file removed.
22443         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
22444         Moved ...
22445         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
22446         ... here.
22447         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
22448         Identical file removed.
22449         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
22450         Moved ...
22451         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
22452         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
22453         Identical file removed.
22454         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
22455         Moved ...
22456         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
22457         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
22458         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
22459         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
22460         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
22461         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
22462         Moved ...
22463         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
22464         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
22465         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
22467         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
22468         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
22469         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
22470         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
22471         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
22473 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
22475         [BZ #17092]
22476         * nscd/nscd.c (monitor_child): Return exit status of child
22477         instead of return value from wait syscall.
22479 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
22481         * configure.ac (libc_commonpagesize): Remove variable.
22482         (libc_relro_required): Likewise.
22483         (libc_cv_z_relro): Remove configure test.
22484         * configure: Regenerated.
22485         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
22486         variable.
22487         (libc_relro_required): Likewise.
22488         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
22489         (libc_relro_required): Likewise.
22490         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
22491         (libc_relro_required): Likewise.
22492         * sysdeps/arm/preconfigure: Regenerated.
22493         * sysdeps/ia64/preconfigure: Remove file.
22494         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
22495         variable.
22496         (libc_relro_required): Likewise.
22498         [BZ #16561]
22499         [BZ #16562]
22500         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
22501         (__ieee754_yn): Set FE_TONEAREST mode internally and then
22502         recompute overflowing results in original rounding mode.
22503         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
22504         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
22505         recompute overflowing results in original rounding mode.
22506         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
22507         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
22508         recompute overflowing results in original rounding mode.
22509         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
22510         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
22511         recompute overflowing results in original rounding mode.
22512         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
22513         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
22514         recompute overflowing results in original rounding mode.
22515         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
22516         (libc_feholdsetround_ctx): New macro.
22517         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
22518         * sysdeps/i386/fpu/libm-test-ulps: Update.
22519         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
22521 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
22523         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
22524         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
22525         corresponding .cpsetup call.
22527 2014-06-26  Roland McGrath  <roland@hack.frob.com>
22529         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
22530         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
22531         * sysdeps/arm/Makefile [$(subdir) = csu]
22532         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
22533         (static-only-routines): Add aeabi_read_tp here.
22534         (shared-only-routines): Add libc-aeabi_read_tp here.
22535         (CFLAGS-libc-start.c): Add -fexceptions here.
22536         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
22537         (sysdep_routines, static-only-routines, shared-only-routines):
22538         Don't add to these here.
22539         (CFLAGS-libc-start.c): Likewise.
22541         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
22542         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
22543         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
22544         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
22545         * sysdeps/arm/Makefile [$(subdir) = rt]
22546         (librt-sysdep_routines, librt-shared-only-routines):
22547         Append rt-aeabi_unwind_cpp_pr1 here.
22548         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
22549         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
22550         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
22551         (libpthread-sysdep_routines, libpthread-shared-only-routines):
22552         Append nptl-aeabi_unwind_cpp_pr1 here.
22553         (tests): Filter out tst-cleanupx4 here.
22554         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
22555         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
22556         Don't do those here.
22558 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
22560         * scripts/list-sources.sh: Do not handle ports specially.
22562 2014-06-26  Roland McGrath  <roland@hack.frob.com>
22564         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
22565         * sysdeps/arm/feupdateenv.c: Likewise.
22567         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
22569 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
22571         * manual/texinfo.tex: Update to version 2014-05-05.10 with
22572         trailing whitespace removed.
22573         * scripts/config.guess: Update to version 2014-03-23.
22574         * scripts/config.sub: Update to version 2014-05-01
22575         * scripts/install-sh: Update to version 2013-12-25.23.
22576         * scripts/move-if-change: Update from gnulib.
22578 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22580         * debug/memmove_chk.c: Remove pagecopy.h include.
22582 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
22584         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
22585         identical to gnulib mktime.
22587 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
22589         * configure.ac: Do not test for machine being rs6000.  Do not test
22590         for powerpc*-*soft.
22591         * configure: Regenerated.
22593         [BZ #11505]
22594         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
22595         test.
22596         * configure: Regenerated.
22597         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
22598         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
22599         Remove configure test.
22600         * sysdeps/arm/configure: Regenerated.
22601         * sysdeps/nptl/configure.ac: Do not check
22602         libc_cv_asm_cfi_directives.
22603         * sysdeps/nptl/configure: Regenerated.
22604         * sysdeps/x86_64/nptl/configure.ac: Remove file.
22605         * sysdeps/x86_64/nptl/configure: Remove generated file.
22606         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
22607         unconditional.
22608         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
22610 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22612         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
22613         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
22614         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
22615         it is defined.
22617         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
22618         instead of whether it is defined.
22619         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
22620         * sysdeps/hppa/dl-machine.h: Likewise.
22621         * sysdeps/ia64/dl-machine.h: Likewise.
22622         * sysdeps/m68k/dl-machine.h: Likewise.
22623         * sysdeps/microblaze/dl-machine.h: Likewise.
22624         * sysdeps/mips/dl-machine.: Likewise.
22625         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
22626         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22627         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
22628         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22629         * sysdeps/sh/dl-machine.h: Likewise.
22630         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22631         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22632         * sysdeps/tile/dl-machine.h: Likewise.
22633         * sysdeps/x86_64/dl-machine.h: Likewise.
22635         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
22636         code.
22637         (verify_persistent_db): Likewise.
22639 2014-06-26  Roland McGrath  <roland@hack.frob.com>
22641         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
22642         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
22643         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
22644         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
22645         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
22646         Moved ...
22647         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
22648         ... here.
22649         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
22650         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
22651         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
22652         Identical file removed.
22653         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
22654         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
22655         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
22656         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
22657         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
22658         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
22659         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
22660         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
22661         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
22662         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
22663         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22664         Moved ...
22665         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
22666         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
22667         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
22668         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
22669         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
22670         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
22671         Moved ...
22672         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
22673         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
22674         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
22675         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
22676         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
22677         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
22678         Identical file removed.
22679         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
22680         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
22681         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
22682         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
22683         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
22684         Moved ...
22685         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
22686         ... here.
22687         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
22688         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
22689         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
22690         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
22691         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
22692         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
22693         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
22694         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
22695         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
22696         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
22697         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22698         Moved ...
22699         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
22700         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
22701         Moved ...
22702         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
22703         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
22704         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
22705         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
22706         Moved ...
22707         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
22708         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
22709         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
22711         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
22712         folded into ...
22713         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
22714         * sysdeps/unix/sysv/linux/s390/Versions
22715         (libpthread: GLIBC_2.19): New version set.
22716         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
22717         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
22718         (librt: GLIBC_2.3.3): New version set.
22719         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
22720         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
22721         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
22722         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
22723         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
22724         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
22725         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
22726         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
22727         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
22728         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
22729         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
22730         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
22731         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
22732         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
22733         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
22734         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
22735         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
22736         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
22737         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
22738         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
22739         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
22740         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
22741         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
22742         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
22743         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
22744         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
22745         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
22746         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
22747         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
22748         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
22749         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
22750         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
22751         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
22752         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
22753         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
22754         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
22755         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
22756         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
22757         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
22758         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
22759         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
22760         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
22761         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
22762         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
22763         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
22765         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
22766         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
22767         (__libc_vfork): Define the function under this name.
22768         [!NOT_IN_libc] (__vfork): Make this an alias.
22769         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
22770         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
22771         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
22772         (__libc_vfork): Define the function under this name.
22773         [!NOT_IN_libc] (__vfork): Make this an alias.
22774         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
22775         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
22776         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
22777         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
22778         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
22779         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22781         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
22782         code that was previously under [RESET_PID].
22783         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
22784         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
22785         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
22787         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
22788         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
22789         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
22790         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
22791         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
22792         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
22793         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
22794         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
22795         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
22796         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
22797         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
22798         Moved ...
22799         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
22800         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
22801         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
22802         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
22803         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
22804         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
22805         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
22806         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
22807         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
22808         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
22809         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
22810         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
22811         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
22812         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
22813         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
22814         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
22815         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
22816         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
22817         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
22818         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
22819         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
22820         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
22821         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
22822         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
22823         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
22824         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
22825         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
22826         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
22827         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
22829 2014-06-25  Roland McGrath  <roland@hack.frob.com>
22831         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
22832         that was previously under [RESET_PID].
22833         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
22835 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
22837         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
22838         not undefine and redefine.
22839         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
22840         [O_CLOEXEC]: Make code unconditional.
22841         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
22842         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
22843         <kernel-features.h>.
22844         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
22845         conditional variable definition.
22846         (shm_open) [O_CLOEXEC]: Make code unconditional.
22847         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
22848         code.
22850         * configure.ac (USE_REGPARMS): Don't define here.
22851         * configure: Regenerated.
22852         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
22853         * sysdeps/i386/configure: Regenerated.
22855         * nptl/createthread.c: Don't include kernel-features.h.
22856         * nptl/pthread_cancel.c: Likewise.
22857         * nptl/pthread_condattr_setclock.c: Likewise.
22858         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
22859         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
22860         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
22861         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
22862         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
22863         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
22864         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
22865         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
22866         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
22867         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
22868         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
22869         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
22870         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
22871         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
22872         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
22873         * nscd/gai.c: Likewise.
22874         * nss/nss_db/db-open.c: Likewise.
22875         * sysdeps/generic/ldsodefs.h: Likewise.
22876         * sysdeps/sh/nptl/tls.h: Likewise.
22877         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
22878         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
22879         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
22880         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
22881         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
22882         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
22883         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
22884         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22885         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22886         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
22887         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
22888         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22889         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
22890         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
22891         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
22892         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
22893         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
22894         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
22895         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
22896         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
22897         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
22898         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
22899         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
22900         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
22901         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
22902         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
22903         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
22904         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
22905         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
22906         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
22907         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
22908         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
22909         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
22910         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
22911         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22912         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
22913         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
22914         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
22915         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
22916         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
22917         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
22918         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
22919         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
22920         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22921         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
22922         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
22923         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
22924         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
22925         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
22926         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
22927         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
22928         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
22929         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
22930         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
22931         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
22932         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
22933         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
22934         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
22935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
22936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
22937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
22938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
22939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
22940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
22941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
22942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
22943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
22944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
22945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
22946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
22947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
22948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
22949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
22950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
22955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
22956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
22957         * sysdeps/unix/sysv/linux/pread.c: Likewise.
22958         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
22959         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
22960         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
22961         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
22962         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
22963         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
22964         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
22965         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
22966         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
22967         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
22968         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
22969         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
22970         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
22971         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
22972         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
22973         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
22974         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
22975         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
22976         * sysdeps/unix/sysv/linux/system.c: Likewise.
22977         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
22978         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
22979         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22980         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22981         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22982         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
22983         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
22985         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
22986         * configure: Regenerated.
22987         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
22989         * configure.ac (base_machine): Do not set specially for particular
22990         machines here.
22991         * configure: Regenerated.
22992         * sysdeps/powerpc/preconfigure: Move machine and base_machine
22993         settings from configure.ac.
22994         * sysdeps/i386/preconfigure: New file.
22995         * sysdeps/s390/preconfigure: Likewise.
22996         * sysdeps/sh/preconfigure: Likewise.
22997         * sysdeps/sparc/preconfigure: Likewise.
22999 2014-06-25  Roland McGrath  <roland@hack.frob.com>
23001         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
23002         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
23003         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
23004         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
23005         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
23006         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
23007         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
23008         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
23009         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
23010         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
23011         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
23012         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
23013         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
23014         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
23015         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
23016         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
23017         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
23018         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
23019         * sysdeps/sparc/sparc64/Makefile: ... appended here.
23021         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
23022         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
23023         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
23024         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
23025         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
23026         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
23027         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
23028         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
23029         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
23030         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
23031         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
23032         * sysdeps/sparc/sparc32/sem_post.c: ... here.
23033         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
23034         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
23035         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
23036         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
23037         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
23038         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
23039         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
23040         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
23041         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
23042         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
23043         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
23044         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
23045         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
23046         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
23047         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
23048         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
23049         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
23050         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
23051         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
23052         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
23053         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
23054         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
23055         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
23056         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
23057         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
23058         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
23060         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
23061         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
23062         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
23063         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
23064         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
23065         Moved ...
23066         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
23067         ... here.
23068         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
23069         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
23070         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
23071         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
23072         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
23073         Moved ...
23074         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
23075         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
23076         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
23077         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
23078         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
23079         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
23080         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
23081         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23082         Moved ...
23083         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
23084         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
23085         Moved ...
23086         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
23087         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
23088         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
23089         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
23090         Moved ...
23091         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
23092         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
23093         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
23094         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
23095         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
23096         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
23097         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
23098         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
23099         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
23100         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
23101         Moved ...
23102         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
23103         ... here.
23104         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
23105         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
23106         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
23107         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
23108         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
23109         Moved ...
23110         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
23111         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
23112         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
23113         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
23114         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
23115         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
23116         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
23117         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23118         Moved ...
23119         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
23120         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
23121         Moved ...
23122         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
23123         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
23124         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
23125         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
23126         Moved ...
23127         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
23128         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
23129         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
23130         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
23131         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
23133 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
23135         * timezone/checktab.awk: Update from tzcode 2014e.
23136         * timezone/private.h: Likewise.
23137         * timezone/tzfile.h: Likewise.
23138         * timezone/zdump.c: Likewise.
23139         * timezone/zic.c: Likewise.
23141         * sysdeps/unix/sysv/linux/kernel-features.h
23142         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
23143         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
23144         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
23145         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
23146         Remove conditional code.
23148 2014-06-25  Will Newton  <will.newton@linaro.org>
23150         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
23151         (_dl_arm_cap_flags): Add HWCAP2 values.
23152         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
23153         (_DL_HWCAP_COUNT): Increase to 37.
23154         (_DL_HWCAP_LAST): New define.
23155         (_DL_HWCAP2_LAST): New define.
23156         (_dl_procinfo): Add support for printing
23157         AT_HWCAP2 entries.
23158         (_dl_string_hwcap): Use _dl_hwcap_string.
23160 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23162         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23164 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
23166         * README: Do not mention ports directory.
23168         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
23169         Remove macro.
23170         * sysdeps/unix/sysv/linux/futimes.c: Do not include
23171         <kernel-features.h>.
23172         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
23173         conditional variable definition.
23174         (__futimes): Update comment.
23175         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
23176         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
23178         [BZ #16560]
23179         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
23180         arguments close to 0.
23181         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
23182         Likewise.
23183         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
23184         Likewise.
23185         * math/auto-libm-test-in: Add more tests of exp10.
23186         * math/auto-libm-test-out: Regenerated.
23187         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23189         * sysdeps/unix/sysv/linux/kernel-features.h
23190         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
23191         * sysdeps/unix/sysv/linux/readv.c: Do not include
23192         <kernel-features.h>.
23193         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
23194         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
23195         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
23196         unconditional.
23197         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
23198         conditional code.
23199         * sysdeps/unix/sysv/linux/writev.c: Do not include
23200         <kernel-features.h>.
23201         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
23202         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
23203         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
23204         unconditional.
23205         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
23206         conditional code.
23208 2014-06-25  Will Newton  <will.newton@linaro.org>
23210         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
23211         comment changes throughout the file.  Remove checks
23212         for HAVE_*_H definitions that are not required.
23213         (__gen_tempname): Call abort if an unknown kind value is
23214         passed.
23216 2014-06-25  Andreas Schwab  <schwab@suse.de>
23218         [BZ #17086]
23219         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
23220         scalbln, scalblnf, scalblnl in libc.
23222 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23224         [BZ #17086]
23225         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
23226         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
23227         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
23229 2014-06-24  Roland McGrath  <roland@hack.frob.com>
23231         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
23232         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
23233         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
23234         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
23235         Update #include.
23236         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
23237         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
23238         Update #include.
23239         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
23240         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
23241         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
23242         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
23243         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
23244         * sysdeps/x86/bits/pthreadtypes.h: ... here.
23245         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
23246         * sysdeps/x86/bits/semaphore.h: ... here.
23247         * sysdeps/x86/nptl/elide.h: Moved ...
23248         * sysdeps/x86/elide.h: ... here.
23249         * sysdeps/x86_64/nptl/Implies: File removed.
23250         * sysdeps/i386/nptl/Implies: File removed.
23252 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
23254         [BZ #16539]
23255         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
23256         return the argument for normal arguments with exponent below -64.
23257         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
23258         Likewise.
23259         * math/auto-libm-test-in: Add another test of expm1.
23260         * math/auto-libm-test-out: Regenerated.
23262         [BZ #16287]
23263         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
23264         calling __erfcl for arguments at least 16.
23265         * math/auto-libm-test-in: Add more tests of erf.
23266         * math/auto-libm-test-out: Regenerated.
23268         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
23269         individual architectures.
23270         * sysdeps/unix/sysv/linux/configure: Regenerated.
23271         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
23272         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
23273         * sysdeps/unix/sysv/linux/powerpc/configure.ac
23274         (ldd_rewrite_script): Define variable.
23275         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
23277         file.
23278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
23279         generated file.
23280         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
23281         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
23282         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
23283         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
23284         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
23285         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
23286         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
23287         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
23289 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23291         [BZ #17084]
23292         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
23293         Rename member __data.d to __data.__elision_data.
23295 2014-06-24  Wilco  <wdijkstr@arm.com>
23297         * NEWS: Add 16918 to fixed bug list.
23299 2014-06-24  Wilco  <wdijkstr@arm.com>
23301         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
23303 2014-06-24  Wilco  <wdijkstr@arm.com>
23305         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
23306         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
23307         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
23308         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
23309         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
23310         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
23311         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
23312         Use _FPU_MASK_RM.
23314 2014-06-24  Wilco  <wdijkstr@arm.com>
23316         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
23318 2014-06-24  Wilco  <wdijkstr@arm.com>
23320         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
23321         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
23322         * sysdeps/arm/fesetround.c (fesetround): Remove space.
23323         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
23325 2014-06-24  Wilco  <wdijkstr@arm.com>
23327         [BZ #16918]
23328         * sysdeps/arm/feupdateenv.c (feupdateenv):
23329         Rewrite to reduce FPSCR accesses and fix return value.
23331 2014-06-24  Wilco  <wdijkstr@arm.com>
23333         * sysdeps/arm/fclrexcpt.c (feclearexcept):
23334         Optimize to avoid unnecessary FPSCR writes.
23335         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
23336         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
23337         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
23338         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
23340 2014-06-24  Wilco  <wdijkstr@arm.com>
23342         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
23343         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
23344         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
23345         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
23346         Call libc_fetestexcept_vfp.
23347         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
23348         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
23349         __SOFTFP__ ifdef so that they can be built for softfp.
23351 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23353         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
23354         argument type signed char.
23356         * Makerules (check-abi): Dump diff of symlist if the test
23357         fails.
23359 2014-06-23  Roland McGrath  <roland@hack.frob.com>
23361         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
23362         using abort.
23364         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
23365         Remove unused variable ST.
23367 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
23369         [BZ #16354]
23370         [BZ #17061]
23371         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
23372         small arguments before calling __expm1.
23373         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
23374         small arguments before calling __expm1f.
23375         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
23376         small arguments before calling __expm1l.
23377         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
23378         Likewise.
23379         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
23380         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
23381         spurious underflow for some cosh tests.
23382         * math/auto-libm-test-out: Regenerated.
23383         * sysdeps/i386/fpu/libm-test-ulps: Update.
23385         [BZ #17050]
23386         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
23387         (__ieee754_y1): Set errno if return value overflows.
23388         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
23389         (__ieee754_y1f): Set errno if return value overflows.
23390         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
23391         (__ieee754_y1l): Set errno if return value overflows.
23392         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
23393         (__ieee754_y1l): Set errno if return value overflows.
23394         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
23395         * math/auto-libm-test-out: Regenerated.
23397         * math/gen-auto-libm-tests.c: Document use of
23398         ignore-zero-inf-sign.
23399         (input_flag_type): Add value flag_ignore_zero_inf_sign.
23400         (input_flags): Add ignore-zero-inf-sign.
23401         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
23402         * math/gen-libm-test.pl (generate_testfile): Handle
23403         ignore-zero-inf-sign.
23404         * math/auto-libm-test-in: Mark some cpow tests with
23405         ignore-zero-inf-sign and some with xfail-rounding.
23406         * math/auto-libm-test-out: Regenerated.
23407         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
23408         * sysdeps/i386/fpu/libm-test-ulps: Update.
23409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23411         [BZ #16315]
23412         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
23413         overflowing or underflowing operations take place with sign of
23414         result.
23415         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23416         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
23417         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
23418         (__ieee754_pow): Recompute overflowing and underflowing results in
23419         original rounding mode.
23420         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
23421         (__powl_helper): Allow negative argument X and scale negated value
23422         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
23423         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
23424         overflowing or underflowing operations take place with sign of
23425         result.
23426         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
23427         Include <math.h>.
23428         * math/auto-libm-test-in: Add more tests of pow.
23429         * math/auto-libm-test-out: Regenerated.
23430         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
23431         (pow_tonearest_test_data): Remove.
23432         (pow_test_tonearest): Likewise.
23433         (pow_towardzero_test_data): Likewise.
23434         (pow_test_towardzero): Likewise.
23435         (pow_downward_test_data): Likewise.
23436         (pow_test_downward): Likewise.
23437         (pow_upward_test_data): Likewise.
23438         (pow_test_upward): Likewise.
23439         (main): Don't call removed functions.
23440         * sysdeps/i386/fpu/libm-test-ulps: Update.
23441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23443 2014-06-23  Roland McGrath  <roland@hack.frob.com>
23445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
23446         Moved ...
23447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
23448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23449         Moved ...
23450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
23451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
23452         Moved ...
23453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
23454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
23455         Moved ...
23456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
23457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
23458         File removed.
23459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
23460         File removed.
23461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
23462         File removed.
23463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
23464         File removed.
23465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
23466         File removed.
23467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
23468         File removed.
23469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
23470         File removed.
23471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23472         File removed.
23473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
23474         File removed.
23475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
23476         File removed.
23477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
23478         File removed.
23479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
23480         File removed.
23481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
23482         Moved ...
23483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
23484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
23485         Moved ...
23486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
23487         ... here.
23488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
23489         Moved ...
23490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
23491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
23492         Moved ...
23493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
23494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
23495         Moved ...
23496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
23497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
23498         Moved ...
23499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
23500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
23501         Moved ...
23502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
23503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
23504         Moved ...
23505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
23506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
23507         Moved ...
23508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
23509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
23510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
23511         ... here.
23512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
23513         Moved ...
23514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
23515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
23516         Moved ...
23517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
23518         ... here.
23519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
23520         Moved ...
23521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
23522         ... here.
23523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23524         Moved ...
23525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
23526         ... here.
23527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
23528         Moved ...
23529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
23530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
23531         Moved ...
23532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
23533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
23534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
23535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
23536         Moved ...
23537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
23538         ... here.
23539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
23540         Moved ...
23541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
23542         ... here.
23543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
23544         Moved ...
23545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
23546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
23547         Moved ...
23548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
23549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
23550         Moved ...
23551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
23552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23553         Moved ...
23554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
23555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
23556         Moved ...
23557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
23558         ... here.
23559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
23560         Moved ...
23561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
23562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
23563         Moved ...
23564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
23565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
23566         Moved ...
23567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
23568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
23569         Moved ...
23570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
23571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
23572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
23573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
23574         Moved ...
23575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
23576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
23577         Moved ...
23578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
23579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
23580         Moved ...
23581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
23582         ... here.
23583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23584         Moved ...
23585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
23586         ... here.
23587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
23588         Moved ...
23589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
23590         ... here.
23591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
23592         Moved ...
23593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
23594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
23595         Moved ...
23596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
23597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
23598         Moved ...
23599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
23600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
23601         Moved ...
23602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
23603         ... here.
23604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
23605         Moved ...
23606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
23607         ... here.
23608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
23609         Moved ...
23610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
23611         ... here.
23612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
23613         Moved ...
23614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
23615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
23616         Moved ...
23617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
23619 2014-06-23  Will Newton  <will.newton@linaro.org>
23620             Wilco  <wdijkstr@arm.com>
23622         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
23623         implementation.  Include get-rounding-mode.h.
23624         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
23625         [!libc_feholdsetround_noex_ctx]: Define
23626         libc_feholdsetround_noex_ctx.
23627         [!libc_feholdsetround_noexf_ctx]: Define
23628         libc_feholdsetround_noexf_ctx.
23629         [!libc_feholdsetround_noexl_ctx]: Define
23630         libc_feholdsetround_noexl_ctx.
23631         (libc_feholdsetround_ctx): New function.
23632         (libc_feresetround_ctx): New function.
23633         (libc_feholdsetround_noex_ctx): New function.
23634         (libc_feresetround_noex_ctx): New function.
23636 2014-06-23  Roland McGrath  <roland@hack.frob.com>
23638         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
23639         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
23640         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
23641         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
23642         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
23643         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
23645         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
23646         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
23647         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
23648         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
23649         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
23650         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
23651         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
23652         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
23653         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
23654         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
23655         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
23656         Moved ...
23657         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
23658         ... here.
23659         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
23660         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
23661         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
23662         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
23663         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
23664         Moved ...
23665         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
23666         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
23667         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
23668         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
23669         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
23670         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
23671         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
23672         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
23673         Moved ...
23674         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
23675         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
23676         Moved ...
23677         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
23678         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
23679         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
23680         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
23681         Moved ...
23682         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
23683         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
23684         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
23685         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
23686         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
23687         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
23688         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
23689         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
23690         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
23691         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
23692         Moved ...
23693         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
23694         ... here.
23695         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
23696         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
23697         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
23698         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
23699         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
23700         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
23701         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
23702         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
23703         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
23704         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
23705         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
23706         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
23707         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
23708         Moved ...
23709         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
23710         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
23711         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
23712         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
23713         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
23714         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
23715         Moved ...
23716         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
23717         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
23718         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
23719         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
23720         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
23722         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
23723         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
23724         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
23725         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
23726         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
23727         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
23728         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
23729         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
23730         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
23731         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
23732         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
23733         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
23734         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
23735         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
23736         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
23737         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
23738         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
23739         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
23740         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
23741         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
23742         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
23743         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
23744         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
23745         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
23746         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
23747         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
23748         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
23749         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
23751 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
23753         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
23754         (FALLOC_FL_COLLAPSE_RANGE): New macro.
23755         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
23756         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
23757         (IPV6_PMTUDISC_INTERFACE): Likewise.
23758         (IPV6_PMTUDISC_OMIT): Likewise.
23760 2014-06-23  Andreas Schwab  <schwab@suse.de>
23762         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
23763         Remove unused errout label.
23765 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23767         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
23768         macro: hardware supports Vector Crypto instructions.
23770 2014-06-23  Will Newton  <will.newton@linaro.org>
23772         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
23773         rather than __builtin_expect.
23775         * elf/dl-lookup.c (undefined_msg): Remove variable.
23776         (_dl_lookup_symbol_x): Replace undefined_msg with string
23777         literal.
23779         * elf/dl-lookup.c (do_lookup_unique): New function.
23780         (do_lookup_x): Move STB_GNU_UNIQUE handling code
23781         to a separate function.
23783 2014-06-23  Andreas Schwab  <schwab@suse.de>
23785         [BZ #17079]
23786         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
23787         before reading the next line.
23789 2014-06-23  Will Newton  <will.newton@linaro.org>
23791         * test-skeleton.c (signal_handler): Use printf and %m
23792         rather than perror.  Use printf rather than fprintf to
23793         stderr.  Use puts rather than fputs to stderr.
23794         (main): Likewise.
23796 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
23798         * nscd/nscd.c (thread_info_t): Remove typedef.
23799         (thread_info): Remove variable.
23801 2014-06-21  Allan McRae  <allan@archlinux.org>
23803         * NEWS: Mention CVE-2014-4043.
23805 2014-06-20  Roland McGrath  <roland@hack.frob.com>
23807         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
23808         * nptl/smp.h: ... here.
23810         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
23812         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
23813         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
23814         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
23815         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
23817         * nptl/allocatestack.c: Include <stack-aliasing.h>.
23818         * nptl/stack-aliasing.h: New file.
23819         * sysdeps/i386/i686/stack-aliasing.h: New file.
23820         * sysdeps/i386/i686/nptl/Makefile: File removed.
23821         * sysdeps/x86_64/stack-aliasing.h: New file.
23822         * sysdeps/x86_64/nptl/Makefile
23823         (CFLAGS-pthread_create.c): Variable removed.
23825         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
23826         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
23827         old file.
23828         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
23829         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
23830         old file.
23832 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
23834         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23835         (__ASSUME_SIGFRAME_V2): Remove macro.
23836         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
23837         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
23838         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
23839         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
23840         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
23841         Declare as function.  Remove conditional macro definitions.
23842         (__default_rt_sa_restorer): Likewise.
23843         (__default_sa_restorer_v1): Remove declaration.
23844         (__default_sa_restorer_v2): Likewise.
23845         (__default_rt_sa_restorer_v1): Likewise.
23846         (__default_rt_sa_restorer_v2): Likewise.
23847         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
23848         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
23849         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
23851 2014-06-20  Roland McGrath  <roland@hack.frob.com>
23853         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
23854         (libpthread-routines): Add sysdep.
23855         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
23856         * sysdeps/unix/sysv/linux/sparc/Versions
23857         (libpthread: GLIBC_2.3.3): New version set.
23858         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
23859         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
23860         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
23861         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
23862         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
23863         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
23864         Moved ...
23865         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
23866         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
23867         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
23868         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
23869         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
23870         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
23871         * sysdeps/sparc/nptl/sem_init.c: ... here.
23872         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
23873         * sysdeps/sparc/nptl/sem_post.c: ... here.
23874         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
23875         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
23876         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
23877         * sysdeps/sparc/nptl/sem_wait.c: ... here.
23878         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
23879         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
23880         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
23881         (libpthread-routines): Add cpu_relax.
23882         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
23883         File removed.
23884         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
23885         (librt: GLIBC_2.3.3): New version set.
23886         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
23887         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
23888         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
23889         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
23890         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
23891         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
23892         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
23893         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
23894         Moved ...
23895         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
23896         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
23897         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
23898         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
23899         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
23900         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
23901         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
23902         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
23903         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
23904         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
23905         Moved ...
23906         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
23907         Update #include.
23908         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
23909         Moved ...
23910         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
23911         Update #include.
23912         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
23913         Moved ...
23914         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
23915         Update #include.
23916         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
23917         Moved ...
23918         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
23919         Update #include.
23920         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
23921         Moved ...
23922         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
23923         Update #include.
23924         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
23925         Moved ...
23926         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
23927         Update #include.
23928         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
23929         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
23930         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
23931         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
23932         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
23933         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
23934         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
23935         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
23936         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
23937         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
23938         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
23939         Moved ...
23940         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
23941         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
23942         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
23943         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
23944         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
23946 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
23948         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
23949         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
23950         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
23951         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
23952         * nscd/nscd.c: Likewise.
23953         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
23954         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
23955         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
23956         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
23958         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
23959         <kernel-features.h>.
23960         (init_mq_netlink): Remove conditional have_sock_cloexec
23961         definitions.  Remove code conditional on have_sock_cloexec < 0.
23962         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
23963         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
23964         * sysdeps/unix/sysv/linux/opensock.c: Do not include
23965         <kernel-features.h>.
23966         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
23967         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
23969 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
23971         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23972         Add tests for memset_chk and memset.
23974         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
23975         with AVX2_Usable.
23977 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
23979         [BZ #16046]
23980         * elf/tst-dl-iter-static.c: New file.
23981         * elf/Makefile (tests-static): Add tst-dl-iter-static.
23983         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
23984         error.
23986 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
23988         * sysdeps/unix/sysv/linux/kernel-features.h
23989         (__ASSUME_F_GETOWN_EX): Remove macro.
23990         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
23991         <kernel-features.h>.
23992         (miss_F_GETOWN_EX): Remove variable or macro.
23993         (do_fcntl): Do not check miss_F_GETOWN_EX.
23994         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
23996         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
23997         Remove macro.
23998         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
23999         [!__ASSUME_AT_RANDOM]: Remove conditional code.
24000         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
24002         * sysdeps/unix/sysv/linux/kernel-features.h
24003         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
24004         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
24005         [ADJ_OFFSET_SS_READ]: Make code unconditional.
24006         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
24008 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
24010         [BZ #17075]
24011         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
24012         Fix calculation of the symbol's value.
24013         * sysdeps/arm/tst-armtlsdescloc.c: New file.
24014         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
24015         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
24016         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
24017         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
24018         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
24019         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
24020         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
24021         (modules-names): Add `tst-armtlsdescmod',
24022         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
24023         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
24024         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
24025         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
24026         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
24027         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
24028         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
24029         ($(objpfx)tst-armtlsdescloc): New dependency.
24030         ($(objpfx)tst-armtlsdescextnow): Likewise.
24031         ($(objpfx)tst-armtlsdescextlazy): Likewise.
24032         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
24033         TLS scheme support.
24034         * sysdeps/arm/configure: Regenerate.
24036 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
24038         * include/fcntl.h (__atfct_seterrno): Remove prototype.
24039         (__atfct_seterrno_2): Likewise.
24040         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
24041         <kernel-features.h>.
24042         (__ASSUME_ATFCTS): Do not undefine and redefine.
24043         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
24044         (__have_atfcts): Remove conditional definition.
24045         (__fxstatat([__NR_fstatat64]: Make code unconditional.
24046         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
24047         unreachable if [__ASSUME_ATFCTS].
24048         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
24049         not undefine and redefine.
24050         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
24051         <kernel-features.h>.
24052         (faccessat) [__NR_faccessat]: Make code unconditional.
24053         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
24054         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
24055         <kernel-features.h>.
24056         (fchmodat) [__NR_fchmodat]: Make code unconditional.
24057         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
24058         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
24059         <kernel-features.h>.
24060         (fchownat) [__NR_fchownat]: Make code unconditional.
24061         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
24062         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
24063         <kernel-features.h>.
24064         (futimesat) [__NR_futimesat]: Make code unconditional.
24065         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
24066         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24067         <kernel-features.h>.
24068         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
24069         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
24070         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24071         <kernel-features.h>.
24072         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
24073         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
24074         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
24075         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24076         <kernel-features.h>.
24077         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
24078         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
24079         * sysdeps/unix/sysv/linux/linkat.c: Do not include
24080         <kernel-features.h>.
24081         (linkat) [__NR_linkat]: Make code unconditional.
24082         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
24083         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
24084         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
24085         <kernel-features.h>.
24086         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
24087         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
24088         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
24089         <kernel-features.h>.
24090         (mkdirat) [__NR_mkdirat]: Make code unconditional.
24091         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
24092         * sysdeps/unix/sysv/linux/openat.c: Do not include
24093         <kernel-features.h>.
24094         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
24095         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
24096         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
24097         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
24098         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
24099         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
24100         <kernel-features.h>.
24101         (readlinkat) [__NR_readlinkat]: Make code unconditional.
24102         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
24103         result of INLINE_SYSCALL directly, not via int variable.
24104         * sysdeps/unix/sysv/linux/renameat.c: Do not include
24105         <kernel-features.h>.
24106         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
24107         (renameat) [__NR_renameat]: Make code unconditional.
24108         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
24109         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
24110         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
24111         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
24112         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
24113         (__ASSUME_ATFCTS): Do not undefine and redefine.
24114         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
24115         <kernel-features.h>.
24116         (symlinkat) [__NR_symlinkat]: Make code unconditional.
24117         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
24118         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
24119         <kernel-features.h>.
24120         (unlinkat) [__NR_unlinkat]: Make code unconditional.
24121         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
24122         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
24123         (__ASSUME_ATFCTS): Do not undefine and redefine.
24124         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24125         <kernel-features.h>.
24126         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
24127         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
24128         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24129         <kernel-features.h>.
24130         (__xmknodat) [__NR_mknodat]: Make code unconditional.
24131         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
24133 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
24135         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
24137 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
24139         [BZ #17069]
24140         * posix/regcomp.c (parse_reg_exp): Deallocate partially
24141         constructed tree before returning error.
24142         * posix/bug-regexp36.c: Expand test case.
24144 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
24146         [BZ #6803]
24147         * math/libm-test.inc (scalbln_test_date):
24148         Add errno expectations.
24149         * math/w_scalblnf.c: New File.
24150         Add wrapper which checks for setting errno to ERANGE.
24151         Add weak_alias for corresponding scalbln function.
24152         * math/w_scalbln.c: Likewise.
24153         * math/w_scalblnl.c: Likewise.
24154         * math/Makefile (libm-calls): Add w_scalbln.
24155         * sysdeps/ieee754/flt-32/s_scalblnf.c:
24156         Remove weak_alias for corresponding scalbln function.
24157         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24158         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
24159         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24160         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24161         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
24162         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
24163         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
24164         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
24165         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
24166         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
24167         Remove long_double_symbol for scalblnl function in libm, libc.
24168         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
24169         Add wrapper which checks for setting errno to ERANGE.
24170         Add long_double_symbol for scalblnl function in libm, libc.
24171         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
24172         Remove long_double_symbol for scalblnl in libm.
24173         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
24174         Add wrapper which checks for setting errno to ERANGE.
24175         Add long_double_symbol for scalblnl function in libm.
24176         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
24177         Do not use wrapper because of own implementation.
24179 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
24181         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
24182         3 bytes for __pad1 for x32.
24183         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
24185 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
24186             H.J. Lu  <hongjiu.lu@intel.com>
24188         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
24189         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
24190         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24191         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24192         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
24194 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
24196         [BZ #17069]
24197         * posix/regcomp.c (parse_expression): Deallocate partially
24198         constructed tree before returning error.
24199         * posix/Makefile.c (tests): Add bug-regex36.
24200         (generated): Add bug-regex36.mtrace.
24201         (tests-special): Add $(objpfx)bug-regex36-mem.out
24202         (bug-regex36-ENV): New variable.
24203         ($(objpfx)bug-regex36-mem.out): New rule.
24204         * posix/bug-regex36.c: New file.
24206 2014-06-19  Will Newton  <will.newton@linaro.org>
24208         * malloc/malloc.c (systrim): If extra is zero then return
24209         early.
24211 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24213         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
24215 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
24217         * sysdeps/aarch64/strchr.S: New file.
24219 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
24221         [BZ #17022]
24222         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
24223         from arguments -2 or below.
24224         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
24225         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
24227 2014-06-18  Andreas Schwab  <schwab@suse.de>
24229         [BZ #17062]
24230         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
24231         of a bracket expr not to run off the end of the string.
24232         * posix/Makefile (tests): Add tst-fnmatch3.
24233         * posix/tst-fnmatch3.c: New file.
24235 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
24237         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
24238         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
24239         [$(cross-compiling) = no]: Likewise.
24240         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
24241         [$(cross-compiling) = no]: Likewise.
24243 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24245         [BZ #17031]
24246         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
24247         double, adjusted for any remainder from the high double.
24248         * math/libm-test.inc (nearbyint): Add tests.
24249         (rint): Likewise.
24251 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24253         * nptl/sysdeps/powerpc/Makefile: Moved ...
24254         * sysdeps/powerpc/nptl/Makefile: ... here.
24255         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
24256         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
24257         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
24258         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
24259         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
24260         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
24261         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
24262         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
24263         * nptl/sysdeps/powerpc/tls.h: Moved ...
24264         * sysdeps/powerpc/nptl/tls.h: ... here.
24266 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
24268         [BZ #16681]
24269         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
24270         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
24271         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
24272         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
24273         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
24274         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
24275         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
24276         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
24277         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
24279 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
24281         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
24283 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
24285         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
24286         defined operator.
24288         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
24289         $TIMEOUTFACTOR.
24291 2014-06-16  Florian Weimer  <fweimer@redhat.com>
24293         [BZ #17058]
24294         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
24295         non-executed part of the test.
24297 2014-06-16  Andreas Schwab  <schwab@suse.de>
24299         * string/bits/string2.h (strdup, strndup): Update feature guard.
24301 2014-06-14  David S. Miller  <davem@davemloft.net>
24303         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24305 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
24307         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
24308         that was previously under [RESET_PID].
24309         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
24311         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
24312         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
24313         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
24314         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
24315         (__libc_vfork): New strong alias.
24316         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
24318 2014-06-14 Andi Kleen  <ak@linux.intel.com>
24320         * sysdeps/generic/elide.h: New file.
24322 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24324         * Makefile (installed-headers): Adjust path of pthread.h header.
24326 2014-06-13  Roland McGrath  <roland@hack.frob.com>
24328         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
24329         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
24330         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
24331         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
24333         * nptl/sysdeps/s390/Makefile: Moved ...
24334         * sysdeps/s390/nptl/Makefile: ... here.
24335         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
24336         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
24337         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
24338         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
24339         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
24340         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
24341         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
24342         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
24343         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
24344         * sysdeps/s390/nptl/pthreaddef.h: ... here.
24345         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
24346         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
24347         * nptl/sysdeps/s390/tls.h: Moved ...
24348         * sysdeps/s390/nptl/tls.h: ... here.
24350         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
24351         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
24353 2014-06-13  David S. Miller  <davem@davemloft.net>
24355         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
24356         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
24357         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
24358         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
24359         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
24360         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
24361         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
24362         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
24363         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
24364         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
24365         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
24366         Remove RESET_PID cpp guards.
24367         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
24368         Remove RESET_PID cpp guards.
24369         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
24371 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
24373         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
24374         __sp to uintptr_t.
24376 2014-06-13  Andi Kleen  <ak@linux.intel.com>
24378         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
24379         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
24380         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
24381         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
24382         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
24383         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
24384         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
24385         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
24386         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
24387         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
24388         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
24389         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
24390         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
24391         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
24392         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
24393         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
24394         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
24395         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
24396         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
24397         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
24399         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
24400         (pthread_rwlock_rdlock): Add elision.
24401         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
24402         (pthread_rwlock_wrlock): Add elision.
24403         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
24404         (pthread_rwlock_trywrlock): Add elision.
24405         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
24406         (pthread_rwlock_tryrdlock): Add elision.
24407         * nptl/pthread_rwlock_unlock.c: Include elide.h.
24408         (pthread_rwlock_tryrdlock): Add elision unlock.
24409         * nptl/sysdeps/pthread/pthread.h:
24410         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
24411         (PTHREAD_RWLOCK_INITIALIZER,
24412         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
24413         Handle new elision field.
24414         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
24415         * sysdeps/arm/nptl/bits/pthreadtypes.h
24416         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24417         * sysdeps/sh/nptl/bits/pthreadtypes.h
24418         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24419         * sysdeps/tile/nptl/bits/pthreadtypes.h
24420         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24421         * sysdeps/a/nptl/bits/pthreadtypes.h
24422         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24423         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
24424         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24425         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
24426         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24427         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
24428         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24429         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
24430         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24431         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
24432         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24433         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
24434         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24435         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
24436         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24437         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
24438         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24439         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
24440         (elision_init): Set try_xbegin to zero when no RTM.
24441         * sysdeps/x86/nptl/bits/pthreadtypes.h
24442         (pthread_rwlock_t): Change __pad1 to __rwelision.
24443         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24445 2014-06-13  Andi Kleen  <ak@linux.intel.com>
24447         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
24448         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
24449         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
24450         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
24452 2014-06-13  Meador Inge  <meadori@codesourcery.com>
24454         [BZ #16996]
24455         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
24456         that the cached result has been set before returning it.
24458 2014-06-12  Roland McGrath  <roland@hack.frob.com>
24460         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
24461         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
24462         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
24463         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
24464         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
24465         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
24467         * nptl/sysdeps/sparc/Makefile: Moved ...
24468         * sysdeps/sparc/nptl/Makefile: ... here.
24469         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
24470         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
24471         * nptl/sysdeps/sparc/tls.h: Moved ...
24472         * sysdeps/sparc/nptl/tls.h: ... here.
24473         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
24474         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
24475         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
24476         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
24477         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
24478         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
24479         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
24480         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
24481         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
24482         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
24483         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
24484         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
24485         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
24486         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
24487         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
24488         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
24489         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
24490         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
24491         Update #include.
24492         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
24493         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
24494         Update #include.
24495         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
24496         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
24497         Update #include.
24498         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
24499         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
24500         Update #include.
24502         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
24504         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
24505         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
24507         * sysdeps/pthread/posix-timer.h: Include <list.h>.
24508         (struct list_links): Type removed.
24509         (struct thread_node, struct timer_node): Replace struct list_links
24510         with struct list_head.
24511         (list_unlink_ip): Likewise.
24512         * sysdeps/pthread/timer_routines.c
24513         (timer_free_list, thread_free_list, thread_active_list): Likewise.
24514         (list_append, list_insbefore): Likewise.
24515         (list_init): Function removed.
24516         (thread_init, init_module): Use INIT_LIST_HEAD instead.
24517         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
24518         * sysdeps/pthread/Makefile: ... here, new file.
24520         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
24521         * sysdeps/nptl/Implies: ... here.
24522         * sysdeps/unix/sysv/linux/Implies: Add nptl.
24523         * nptl/sysdeps/pthread/list.h: Moved ...
24524         * include/list.h: ... here.
24525         * nptl/sysdeps/pthread/createthread.c: Moved ...
24526         * nptl/createthread.c: ... here.
24527         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
24528         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
24529         * nptl/pt-longjmp.c: ... here.
24530         * nptl/sysdeps/pthread/Makefile: Moved ...
24531         * sysdeps/nptl/Makefile: ... here.
24532         * nptl/sysdeps/pthread/Subdirs: Moved ...
24533         * sysdeps/nptl/Subdirs: ... here.
24534         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
24535         * sysdeps/nptl/aio_misc.h: ... here.
24536         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
24537         * sysdeps/nptl/bits/libc-lock.h: ... here.
24538         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
24539         * sysdeps/nptl/bits/libc-lockP.h: ... here.
24540         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
24541         * sysdeps/nptl/bits/stdio-lock.h: ... here.
24542         * nptl/sysdeps/pthread/configure: Moved ...
24543         * sysdeps/nptl/configure: ... here.
24544         * nptl/sysdeps/pthread/configure.ac: Moved ...
24545         * sysdeps/nptl/configure.ac: ... here.
24546         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
24547         * sysdeps/nptl/gai_misc.h: ... here.
24548         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
24549         * sysdeps/nptl/librt-cancellation.c: ... here.
24550         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
24551         * sysdeps/nptl/malloc-machine.h: ... here.
24552         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
24553         * sysdeps/nptl/pthread-functions.h: ... here.
24554         * nptl/sysdeps/pthread/pthread.h: Moved ...
24555         * sysdeps/nptl/pthread.h: ... here.
24556         * nptl/sysdeps/pthread/setxid.h: Moved ...
24557         * sysdeps/nptl/setxid.h: ... here.
24558         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
24559         * sysdeps/nptl/sigfillset.c: ... here.
24560         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
24561         * sysdeps/nptl/tcb-offsets.h: ... here.
24562         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
24563         * sysdeps/nptl/tst-mqueue8x.c: ... here.
24564         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
24565         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
24566         * nptl/sysdeps/pthread/allocalim.h: Moved ...
24567         * sysdeps/pthread/allocalim.h: ... here.
24568         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
24569         * sysdeps/pthread/bits/sigthread.h: ... here.
24570         * nptl/sysdeps/pthread/flockfile.c: Moved ...
24571         * sysdeps/pthread/flockfile.c: ... here.
24572         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
24573         * sysdeps/pthread/ftrylockfile.c: ... here.
24574         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
24575         * sysdeps/pthread/funlockfile.c: ... here.
24576         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
24577         * sysdeps/pthread/posix-timer.h: ... here.
24578         * nptl/sysdeps/pthread/timer_create.c: Moved ...
24579         * sysdeps/pthread/timer_create.c: ... here.
24580         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
24581         * sysdeps/pthread/timer_delete.c: ... here.
24582         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
24583         * sysdeps/pthread/timer_getoverr.c: ... here.
24584         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
24585         * sysdeps/pthread/timer_gettime.c: ... here.
24586         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
24587         * sysdeps/pthread/timer_routines.c: ... here.
24588         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
24589         * sysdeps/pthread/timer_settime.c: ... here.
24590         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
24591         * sysdeps/pthread/tst-timer.c: ... here.
24592         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
24593         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
24595         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
24596         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
24598         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
24599         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
24600         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
24601         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
24602         Update #include target.
24603         * nptl/sysdeps/i386/i686/Makefile: Moved ...
24604         * sysdeps/i386/i686/nptl/Makefile: ... here.
24605         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
24606         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
24607         Update #include target.
24608         * nptl/sysdeps/i386/i686/tls.h: Moved ...
24609         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
24610         * nptl/sysdeps/i386/Makefile: Moved ...
24611         * sysdeps/i386/nptl/Makefile: ... here.
24612         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
24613         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
24614         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
24615         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
24616         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
24617         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
24618         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
24619         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
24620         * sysdeps/i386/nptl/pthreaddef.h: ... here.
24621         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
24622         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
24623         * nptl/sysdeps/i386/tls.h: Moved ...
24624         * sysdeps/i386/nptl/tls.h: ... here.
24626         * sysdeps/sh/Makefile [$(subdir) = csu]
24627         (gen-as-const-headers): Add tcb-offsets.sym.
24628         * nptl/sysdeps/sh/Makefile: File removed.
24629         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
24630         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
24631         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
24632         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
24633         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
24634         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
24635         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
24636         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
24637         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
24638         * sysdeps/sh/nptl/pthreaddef.h: ... here.
24639         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
24640         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
24641         * nptl/sysdeps/sh/tls.h: Moved ...
24642         * sysdeps/sh/nptl/tls.h: ... here.
24643         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
24644         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
24645         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
24646         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
24647         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
24648         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
24649         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
24650         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
24651         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
24652         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
24653         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
24654         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
24655         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
24656         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
24657         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
24658         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
24659         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
24660         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
24661         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
24662         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
24663         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
24664         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
24665         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
24666         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
24667         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
24668         Moved ...
24669         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
24670         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
24671         Moved ...
24672         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
24673         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
24674         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
24675         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
24676         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
24677         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
24678         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
24679         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
24680         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
24681         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
24682         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
24683         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
24684         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
24685         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
24686         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
24687         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
24688         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
24689         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
24690         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
24692 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24694         * posix/spawn_faction_addopen.c: Include string.h.
24696 2014-06-11  Roland McGrath  <roland@hack.frob.com>
24698         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
24699         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
24700         * nptl/sysdeps/x86_64/Makefile: Moved ...
24701         * sysdeps/x86_64/nptl/Makefile: ... here.
24702         * nptl/sysdeps/x86_64/configure: Moved ...
24703         * sysdeps/x86_64/nptl/configure: ... here.
24704         * nptl/sysdeps/x86_64/configure.ac: Moved ...
24705         * sysdeps/x86_64/nptl/configure.ac: ... here.
24706         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
24707         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
24708         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
24709         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
24710         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
24711         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
24712         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
24713         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
24714         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
24715         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
24716         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
24717         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
24718         * nptl/sysdeps/x86_64/tls.h: Moved ...
24719         * sysdeps/x86_64/nptl/tls.h: ... here.
24720         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
24721         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
24722         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
24723         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
24725         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
24727 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24729         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24731 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
24733         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
24734         type.
24735         [POSIX] (off_t): Likewise.
24736         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
24737         [POSIX] (S_ISBLK): Require macro.
24738         [POSIX] (S_ISCHR): Likewise.
24739         [POSIX] (S_ISDIR): Likewise.
24740         [POSIX] (S_ISFIFO): Likewise.
24741         [POSIX] (S_ISREG): Likewise.
24742         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
24743         optional-macro.
24744         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
24745         type.
24746         [POSIX] (time_t): Likewise.
24747         [POSIX] (timer_t): Likewise.
24749 2014-06-11  Florian Weimer  <fweimer@redhat.com>
24751         [BZ #17048]
24752         * posix/spawn_int.h (struct __spawn_action): Make the path string
24753         non-const to support deallocation.
24754         * posix/spawn_faction_addopen.c
24755         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
24756         * posix/spawn_faction_destroy.c
24757         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
24758         path in all spawn_do_open actions.
24759         * posix/tst-spawn.c (do_test): Exercise the copy operation in
24760         posix_spawn_file_actions_addopen.
24762 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
24764         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
24765         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
24766         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
24767         conditional code always true.
24768         (__libc_vfork): New alias.
24770 2014-06-11  Roland McGrath  <roland@hack.frob.com>
24772         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24773         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
24775         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
24777         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24778         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
24780         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
24781         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
24783         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24784         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
24786 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
24788         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
24789         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
24790         multiarch strcmp for PPC64.
24791         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
24792         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
24793         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
24794         multiarch optimizations.
24795         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24796         (__libc_ifunc_impl_list): Likewise.
24798 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24800         * benchtests/scripts/validate_benchout.py: New script.
24801         * benchtests/Makefile (bench-func): Call it.
24802         * benchtests/scripts/benchout.schema.json: New file.
24804 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
24806         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
24807         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
24808         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
24809         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
24810         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
24811         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
24812         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
24813         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
24814         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
24815         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
24816         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
24817         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
24818         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
24819         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
24820         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
24821         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
24822         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
24823         Moved ...
24824         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
24825         ... here.
24826         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
24827         Moved ...
24828         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
24829         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
24830         Moved ...
24831         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
24832         ... here.
24833         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
24834         Moved ...
24835         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
24836         ... here.
24837         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
24838         Moved ...
24839         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
24840         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
24841         Moved ...
24842         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
24843         ... here.
24844         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
24845         Moved ...
24846         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
24847         ... here.
24848         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
24849         Moved ...
24850         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
24851         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
24852         Moved ...
24853         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
24854         ... here.
24855         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
24856         Moved ...
24857         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
24858         ... here.
24859         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
24860         Moved ...
24861         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
24862         ... here.
24863         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
24864         Moved ...
24865         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
24866         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
24867         Moved ...
24868         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
24869         ... here.
24870         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
24871         Moved ...
24872         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
24873         ... here.
24874         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
24875         Moved ...
24876         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
24877         ... here.
24878         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
24879         Moved ...
24880         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
24881         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
24882         Moved ...
24883         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
24884         ... here.
24885         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
24886         Moved ...
24887         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
24888         ... here.
24889         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
24890         Moved ...
24891         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
24892         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
24893         Moved ...
24894         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
24895         ... here.
24896         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
24897         Moved ...
24898         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
24899         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
24900         Moved ...
24901         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
24902         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
24903         Moved ...
24904         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
24905         ... here.
24906         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
24907         Moved ...
24908         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
24909         ... here.
24910         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
24911         Moved ...
24912         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
24913         ... here.
24914         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
24915         Moved ...
24916         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
24917         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
24918         Moved ...
24919         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
24920         ... here.
24921         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
24922         Moved ...
24923         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
24924         ... here.
24925         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
24926         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
24927         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
24928         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
24929         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
24930         Moved ...
24931         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
24932         ... here.
24933         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
24934         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
24935         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
24936         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
24937         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
24938         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
24939         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
24940         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
24941         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
24942         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
24943         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
24944         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
24945         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
24946         Moved ...
24947         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
24948         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
24949         Moved ...
24950         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
24951         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
24952         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
24953         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
24954         Moved ...
24955         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
24956         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
24957         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
24958         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
24959         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
24960         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
24961         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
24963 2014-06-10  Wilco  <wdijkstr@arm.com>
24965         * math/test-fenv-return.c: New file.
24966         * math/Makefile: Add new test test-fenv-return.
24968 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
24970         [BZ #17042]
24971         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
24972         when x - 1 is zero.
24973         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
24974         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
24975         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
24976         0.0L for an argument of 1.0L.
24977         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
24978         Likewise.
24979         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
24980         value when x - 1 is zero.
24981         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
24982         * sysdeps/i386/fpu/libm-test-ulps: Update.
24983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24985 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
24987         [BZ #15119]
24988         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
24990 2014-06-09  Roland McGrath  <roland@hack.frob.com>
24992         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
24993         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
24995 2014-06-09  Roland McGrath  <roland@hack.frob.com>
24997         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24998         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
25000         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25001         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
25003         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25004         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
25006         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25007         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
25009         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
25010         if not already defined.
25011         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
25012         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
25013         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
25014         (TLS_INIT_TP): Use it.
25015         (TLS_DEFINE_INIT_TP): New macro.
25016         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
25018 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
25020         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
25021         constant.
25022         [POSIX] (IXANY): Likewise.
25023         [POSIX] (OLCUC): Likewise.
25024         [POSIX || POSIX2008] (CBAUD): Do not allow.
25025         [POSIX || POSIX2008] (DEFECHO): Likewise.
25026         [POSIX || POSIX2008] (ECHOCTL): Likewise.
25027         [POSIX || POSIX2008] (ECHOKE): Likewise.
25028         [POSIX || POSIX2008] (ECHOPRT): Likewise.
25029         [POSIX || POSIX2008] (EXTA): Likewise.
25030         [POSIX || POSIX2008] (EXTB): Likewise.
25031         [POSIX || POSIX2008] (FLUSHO): Likewise.
25032         [POSIX || POSIX2008] (LOBLK): Likewise.
25033         [POSIX || POSIX2008] (PENDIN): Likewise.
25034         [POSIX || POSIX2008] (SWTCH): Likewise.
25035         [POSIX || POSIX2008] (VDISCARD): Likewise.
25036         [POSIX || POSIX2008] (VDSUSP): Likewise.
25037         [POSIX || POSIX2008] (VLNEXT): Likewise.
25038         [POSIX || POSIX2008] (VREPRINT): Likewise.
25039         [POSIX || POSIX2008] (VSTATUS): Likewise.
25040         [POSIX || POSIX2008] (VWERASE): Likewise.
25041         (B*): Change to B[0123456789]*.
25042         * conform/data/time.h-data [POSIX || UNIX98]
25043         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
25044         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25045         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
25046         [POSIX] (tm_*): Do not allow.
25048 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
25050         * Makefile (install): Don't set LANGUAGE.
25051         * Makefile.in (install): Likewise.
25052         * assert/Makefile (test-assert-ENV): Remove variable.
25053         (test-assert-perr-ENV): Likewise.
25054         * elf/Makefile (neededtest4-ENV): Likewise.
25055         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
25056         [$(cross-compiling) = no]: Don't set LANGUAGE.
25057         * io/ftwtest-sh (LANG): Remove variable.
25058         * libio/Makefile (tst-widetext-ENV): Likewise.
25059         * manual/install.texi (Running make install): Don't refer to
25060         environment settings for make install.
25061         * INSTALL: Regenerated.
25062         * nptl/tst-tls6.sh: Don't set LANG.
25063         * posix/globtest.sh (LANG): Remove variable.
25064         * string/Makefile (tester-ENV): Likewise.
25065         (inl-tester-ENV): Likewise.
25066         (noinl-tester-ENV): Likewise.
25067         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
25068         [$(cross-compiling) = no]: Don't set LANGUAGE.
25069         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
25070         without explicit environment settings.
25072 2014-06-06  Roland McGrath  <roland@hack.frob.com>
25074         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
25075         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
25076         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
25077         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
25079 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
25081         * crypt/crypt-private.h [DOS]: Add some includes taken from the
25082         other files in the crypt directory.
25083         * crypt/crypt.c: Remove duplicate includes.
25084         * crypt/crypt-entry.c: Likewise.
25085         * crypt/crypt_util.c: Likewise.
25087 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
25089         * Makeconfig (run-program-env): New variable.
25090         (run-program-prefix-before-env): Likewise.
25091         (run-program-prefix-after-env): Likewise.
25092         (run-program-prefix): Define in terms of new variables.
25093         (built-program-cmd-before-env): New variable.
25094         (built-program-cmd-after-env): Likewise.
25095         (built-program-cmd): Define in terms of new variables.
25096         (test-program-prefix-before-env): New variable.
25097         (test-program-prefix-after-env): Likewise.
25098         (test-program-prefix): Define in terms of new variables.
25099         (test-program-cmd-before-env): New variable.
25100         (test-program-cmd-after-env): Likewise.
25101         (test-program-cmd): Define in terms of new variables.
25102         * Rules (make-test-out): Use $(run-program-env).
25103         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
25104         (help): Do not mention environment variables.  Mention
25105         --timeoutfactor option.
25106         (timeoutfactor): New variable.
25107         (blacklist_exports): Remove function.
25108         (exports): Remove variable.
25109         (command): Do not include ${exports}.
25110         * manual/install.texi (Configuring and compiling): Do not mention
25111         test wrappers preserving environment variables.  Mention that last
25112         assignment to a variable must take precedence.
25113         * INSTALL: Regenerated.
25114         * benchtests/Makefile (run-bench): Use $(run-program-env).
25115         * catgets/Makefile ($(objpfx)test1.cat): Use
25116         $(built-program-cmd-before-env), $(run-program-env) and
25117         $(built-program-cmd-after-env).
25118         ($(objpfx)test2.cat): Do not specify environment variables
25119         explicitly.
25120         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
25121         $(run-program-env) and $(built-program-cmd-after-env).
25122         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
25123         $(run-program-env) and $(test-program-cmd-after-env).
25124         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
25125         explicitly.
25126         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
25127         run_program_env and test_program_cmd_after_env arguments.
25128         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
25129         * elf/tst-pathopt.sh: Use run_program_env argument.
25130         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
25131         $(test-wrapper-env) and $(run-program-env).
25132         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
25133         run_program_env arguments.
25134         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
25135         * intl/Makefile ($(objpfx)tst-gettext.out): Use
25136         $(test-program-prefix-before-env), $(run-program-env) and
25137         $(test-program-prefix-after-env).
25138         ($(objpfx)tst-gettext2.out): Likewise.
25139         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
25140         run_program_env and test_program_prefix_after_env arguments.
25141         * intl/tst-gettext2.sh: Likewise.
25142         * intl/tst-gettext4.sh: Do not set environment variables
25143         explicitly.
25144         * intl/tst-gettext6.sh: Likewise.
25145         * intl/tst-translit.sh: Likewise.
25146         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
25147         $(test-program-prefix-before-env), $(run-program-env) and
25148         $(test-program-prefix-after-env).
25149         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
25150         run_program_env and test_program_prefix_after_env arguments.
25151         * math/Makefile (run-regen-ulps): Use $(run-program-env).
25152         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
25153         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
25154         explicitly with each use of ${test_wrapper_env}.
25155         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
25156         $(test-program-prefix-before-env), $(run-program-env) and
25157         $(test-program-prefix-after-env).
25158         * posix/tst-getconf.sh: Do not set environment variables
25159         explicitly.
25160         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
25161         run_program_env and test_program_prefix_after_env arguments.
25162         * stdio-common/tst-printf.sh: Do not set environment variables
25163         explicitly.
25164         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
25165         $(test-program-prefix-before-env), $(run-program-env) and
25166         $(test-program-prefix-after-env).
25167         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
25168         run_program_env and test_program_prefix_after_env arguments.
25169         Split $test calls into $test_pre and $test.
25170         * timezone/Makefile (build-testdata): Use
25171         $(built-program-cmd-before-env), $(run-program-env) and
25172         $(built-program-cmd-after-env).
25174 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25176         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
25177         strlen for non SHARED builds.
25179 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25181         * nptl/allocatestack.c (check_list): Inlined function...
25182         (__reclaim_stacks): ... here.
25184 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
25186         [BZ #15698]
25187         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
25188         memory overrun.
25190 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
25192         * Rules (make-test-out): Include
25193         LOCPATH=$(common-objpfx)localedata in default environment.
25194         * debug/Makefile (tst-chk1-ENV): Remove variable.
25195         (tst-chk2-ENV): Likewise.
25196         (tst-chk3-ENV): Likewise.
25197         (tst-chk4-ENV): Likewise.
25198         (tst-chk5-ENV): Likewise.
25199         (tst-chk6-ENV): Likewise.
25200         (tst-lfschk1-ENV): Likewise.
25201         (tst-lfschk2-ENV): Likewise.
25202         (tst-lfschk3-ENV): Likewise.
25203         (tst-lfschk4-ENV): Likewise.
25204         (tst-lfschk5-ENV): Likewise.
25205         (tst-lfschk6-ENV): Likewise.
25206         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
25207         (tst-iconv7-ENV): Likewise.
25208         * intl/Makefile (LOCPATH-ENV): Likewise.
25209         (tst-codeset-ENV): Likewise.
25210         (tst-gettext3-ENV): Likewise.
25211         (tst-gettext5-ENV): Likewise.
25212         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
25213         (tst-fopenloc-ENV): Likewise.
25214         (tst-fgetws-ENV): Remove variable.
25215         (tst-ungetwc1-ENV): Likewise.
25216         (tst-ungetwc2-ENV): Likewise.
25217         (bug-ungetwc2-ENV): Likewise.
25218         (tst-swscanf-ENV): Likewise.
25219         (bug-ftell-ENV): Likewise.
25220         (tst-fgetwc-ENV): Likewise.
25221         (tst-fseek-ENV): Likewise.
25222         (tst-ftell-partial-wide-ENV): Likewise.
25223         (tst-ftell-active-handler-ENV): Likewise.
25224         (tst-ftell-append-ENV): Likewise.
25225         * posix/Makefile (tst-fnmatch-ENV): Likewise.
25226         (tst-regexloc-ENV): Likewise.
25227         (bug-regex1-ENV): Likewise.
25228         (tst-regex-ENV): Likewise.
25229         (tst-regex2-ENV): Likewise.
25230         (bug-regex5-ENV): Likewise.
25231         (bug-regex6-ENV): Likewise.
25232         (bug-regex17-ENV): Likewise.
25233         (bug-regex18-ENV): Likewise.
25234         (bug-regex19-ENV): Likewise.
25235         (bug-regex20-ENV): Likewise.
25236         (bug-regex22-ENV): Likewise.
25237         (bug-regex23-ENV): Likewise.
25238         (bug-regex25-ENV): Likewise.
25239         (bug-regex26-ENV): Likewise.
25240         (bug-regex30-ENV): Likewise.
25241         (bug-regex32-ENV): Likewise.
25242         (bug-regex33-ENV): Likewise.
25243         (bug-regex34-ENV): Likewise.
25244         (bug-regex35-ENV): Likewise.
25245         (tst-rxspencer-ENV): Likewise.
25246         (tst-rxspencer-no-utf8-ENV): Likewise.
25247         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
25248         (tst-sscanf-ENV): Likewise.
25249         (tst-swprintf-ENV): Likewise.
25250         (tst-swscanf-ENV): Likewise.
25251         (test-vfprintf-ENV): Likewise.
25252         (scanf13-ENV): Likewise.
25253         (bug14-ENV): Likewise.
25254         (tst-grouping-ENV): Likewise.
25255         * stdlib/Makefile (tst-strtod-ENV): Likewise.
25256         (tst-strtod3-ENV): Likewise.
25257         (tst-strtod4-ENV): Likewise.
25258         (tst-strtod5-ENV): Likewise.
25259         (testmb2-ENV): Likewise./
25260         * string/Makefile (tst-strxfrm-ENV): Likewise.
25261         (tst-strxfrm2-ENV): Likewise.
25262         (bug-strcoll1-ENV): Likewise.
25263         (test-strcasecmp-ENV): Likewise.
25264         (test-strncasecmp-ENV): Likewise.
25265         * time/Makefile (tst-strptime-ENV): Likewise.
25266         (tst-ftime_l-ENV): Likewise.
25267         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
25268         (tst-mbrtowc-ENV): Likewise.
25269         (tst-wcrtomb-ENV): Likewise.
25270         (tst-mbrtowc2-ENV): Likewise.
25271         (tst-c16c32-1-ENV): Likewise.
25272         (tst-mbsnrtowcs-ENV): Likewise.
25274 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
25276         * manual/resource.texi (How to get information about the memory
25277         subsystem?): Fix typo.
25278         Reported by Peon de la Parra Ivan <peon@keba.com>
25280 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
25282         [BZ #16882]
25283         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
25284         (pthread_spin_lock): Branch out of spin loop to proper location.
25285         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
25286         (pthread_spin_lock): Likewise.
25288         * nptl/tst-spin4.c: New test.
25289         * nptl/Makefile (tests): Add tst-spin4.
25291 2014-06-03  Andreas Schwab  <schwab@suse.de>
25293         [BZ #15946]
25294         * resolv/res_send.c (send_dg): Reload file descriptor after
25295         calling reopen.
25297 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
25299         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25301 2014-06-03  Richard Henderson  <rth@redhat.com>
25303         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
25304         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
25305         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
25306         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
25307         in the SAVE_PID block.
25308         (__libc_vfork): New alias.
25309         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
25311         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
25312         child in registers, not on the stack.  Remove RESET_PID conditionals.
25313         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
25315 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
25317         * sysdeps/aarch64/libm-test-ulps: Regenerate.
25319 2014-06-03  Wilco  <wdijkstr@arm.com>
25321         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
25322         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
25323         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
25324         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
25325         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
25326         Likewise.
25328 2014-06-03  Wilco  <wdijkstr@arm.com>
25330         * sysdeps/aarch64/fpu/math_private.h
25331         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
25332         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
25333         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
25334         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
25335         Fix declarations.
25337 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25339         * crypt/crypt-private.h: Include ufc-crypt.h.
25340         (__b64_from_24bit): Declare extern.
25341         * crypt/crypt_util.c(__b64_from_24bit): New function.
25342         (b64t): New static const variable.
25343         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
25344         (b64t): Remove variable.
25345         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
25346         * crypt/sha256-crypt.c: Include crypt-private.h.
25347         (b64t): Remove variable.
25348         (__sha256_crypt_r): Remove b64_from_24bit and replace
25349         with __b64_from_24bit.
25350         * crypt/sha512-crypt.c: Likewise.
25352 2014-06-02  Roland McGrath  <roland@hack.frob.com>
25354         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
25355         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
25356         Label the code __libc_vfork rather than __vfork.
25357         [!NOT_IN_libc] (vfork): Define as weak alias.
25358         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
25359         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
25360         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
25362 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25364         * malloc/malloc.c (malloc_info): Fix format specifier for
25365         n_mmaps.
25367 2014-06-02  Wilco  <wdijkstr@arm.com>
25369         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
25370         FPCR write.
25372 2014-06-02  Wilco  <wdijkstr@arm.com>
25374         [BZ #17009]
25375         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
25376         Rewrite to reduce FPCR/FPSR accesses.
25378 2014-06-01  David S. Miller  <davem@davemloft.net>
25380         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25382 2014-05-31  David S. Miller  <davem@davemloft.net>
25384         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
25385         to occur in round to nearest mode when |x| >= 2.0
25387 2014-05-30  Richard Henderson  <rth@twiddle.net>
25389         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
25390         (PSEUDO_RET_NOERRNO): Remove.
25391         (ret): Don't redefine.
25392         (ret_NOERRNO): Define in terms of ret.
25393         (ret_ERRVAL): Likewise.
25395         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
25396         use of PSEUDO_RET; perform the error check directly.
25398 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
25400         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
25401         with __int128_t.
25403 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25405         * malloc/malloc (malloc_info): Fix formatting.
25407 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25408             Roland McGrath  <roland@hack.frob.com>
25410         * malloc/malloc (malloc_info): Also print mmapped statistics.
25412 2014-05-30  Roland McGrath  <roland@hack.frob.com>
25414         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
25415         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
25417 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
25419         * malloc/malloc.c (malloc_info): Inline mi_arena.
25421 2014-05-29  Richard Henderson  <rth@twiddle.net>
25423         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
25424         Remove comma before expanding ASM_ARGS_##nr.
25425         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
25426         Make _x0 a strict output; make _x8 a strict input; adjust expansion
25427         of ASM_ARGS_##nr.
25428         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
25429         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
25430         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
25431         (ASM_ARGS_1): Add leading comma.
25433         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
25434         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
25435         to __errno_location.
25436         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
25437         Remove the expected plt for __errno_location.
25439         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
25440         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
25441         call to __read_tp.
25443         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
25444         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
25445         it and break it down.
25446         (DOCARGS_0, DOCARGS_1): Do nothing.
25447         (DOCARGS_2): Update to store into the new stack frame.
25448         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
25449         (UNDOCARGS_1): Update to restore from the new stack frame.
25450         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
25451         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
25453         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
25454         (SINGLE_THREAD_P): New parameter for result regno.
25455         (PSEUDO): Update to match; use cbz instead of beq.
25457         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
25458         Use ENTRY to define the _nocancel entry point.  Share the syscall
25459         and syscall error check paths with the cancel path.
25460         (PSEUDO_END): New.
25462         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
25463         whitespace; tabs before and after asm mnemonics.
25465 2014-05-29  Eric Wong  <normalperson@yhbt.net>
25467         [BZ #15132]
25468         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25469         Call fstat64 or stat64 internally, depending on arguments passed.
25470         Replace stat buffer argument with file descriptor argument.
25471         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
25472         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
25473         Pass fd to __internal_statvfs instead of calling fstat64.
25474         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
25475         Pass fd to __internal_statvfs64 instead of calling fstat64.
25476         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
25477         Pass -1 to __internal_statvfs instead of calling stat64.
25478         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
25479         Pass -1 to __internal_statvfs64 instead of calling stat64.
25481 2014-05-28  Roland McGrath  <roland@hack.frob.com>
25483         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
25484         that was previously under [RESET_PID].
25485         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
25487         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
25488         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
25490 2014-05-27  Roland McGrath  <roland@hack.frob.com>
25492         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
25494         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
25495         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
25497 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
25499         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
25501 2014-05-27  Andreas Schwab  <schwab@suse.de>
25503         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
25504         TLS_INIT_TP macro.
25505         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
25506         * elf/rtld.c (init_tls, dl_main): Likewise.
25507         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
25508         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
25509         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
25510         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
25511         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
25512         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
25513         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
25514         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
25515         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
25516         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
25517         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
25518         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
25519         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
25520         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
25521         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
25522         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
25523         * sysdeps/generic/tls.h: Update description.
25525 2014-05-27  Will Newton  <will.newton@linaro.org>
25527         [BZ #16990]
25528         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
25529         and restore r2 rather than just restoring.
25531 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25533         [BZ #16724]
25534         * libio/tst-ftell-append.c: New test case.
25535         * libio/Makefile (tests): Add test case.
25536         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
25537         append mode.
25538         * libio/wfileops.c (do_ftell_wide): Likewise.
25540 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25542         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25544         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
25545         ...
25546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
25547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
25548         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
25549         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
25550         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
25551         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
25552         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
25553         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
25554         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
25555         Moved ...
25556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
25557         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
25558         Moved ...
25559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
25560         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
25561         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
25562         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
25563         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
25564         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
25565         ...
25566         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
25567         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
25568         Moved ...
25569         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
25570         here.
25571         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
25572         ...
25573         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
25574         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
25575         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
25577         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
25578         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
25579         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
25580         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
25582         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
25583         merge into ...
25584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
25585         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
25586         ...
25587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
25588         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
25589         ...
25590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
25591         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
25592         Moved ...
25593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
25594         here.
25595         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
25596         Moved ...
25597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
25598         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
25599         Moved ...
25600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
25602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
25603         conditional [RESET_PID].
25604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
25605         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
25606         removed.
25607         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
25608         removed.
25610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
25611         <tcb-offsets.h>.
25612         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
25613         (__libc_vfork): New strong alias.
25614         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
25615         removed.
25616         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
25617         Removed.
25619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
25620         <tcb-offsets.h>.
25621         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
25622         (__libc_vfork): New strong alias.
25623         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
25624         removed.
25625         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
25626         removed.
25628 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
25630         * malloc/malloc.c (mi_arena): New function.
25631         (malloc_info): Remove nested function mi_arena. Call non-nosted
25632         function mi_arena.
25634 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25636         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
25637         by insrwi.
25638         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
25639         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
25640         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
25641         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
25642         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
25643         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
25644         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
25646 2014-05-26  Andreas Schwab  <schwab@suse.de>
25648         [BZ #16984]
25649         * locale/programs/repertoire.c (repertoire_read): Add slash
25650         between I18NPATH element and file name.
25651         * locale/programs/locfile.c (locfile_read): Likewise.
25653 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
25655         * nptl/pthread_mutexattr_settype.c
25656         (__pthread_mutexattr_settype):
25657         Disable lock elision for PTHREAD_MUTEX_NORMAL.
25659 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
25661         * nptl/tst-mutex5 (do_test):
25662         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
25664 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25666         * benchtests/README: Document 'init' directive.
25667         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
25668         BENCH_INIT.
25669         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
25670         (parse_file): Recognize 'init' directive.
25672 2014-05-26  Kyle McMartin  <kyle@redhat.com>
25674         [BZ #16796]
25675         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
25676         alignment of struct pthread.
25678 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25680         [BZ #16878]
25681         * nscd/netgroupcache.c (addgetnetgrentX): Look for
25682         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
25683         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
25684         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
25686 2014-05-25  Richard Henderson  <rth@twiddle.net>
25688         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
25689         (SINGLE_THREAD_P_PIC): Remove.
25690         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
25691         (SINGLE_THREAD_P_PIC): Remove.
25693         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
25694         branch to syscall error ...
25695         (PSEUDO): ... here.
25696         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
25697         from __local_syscall_error to .Lsyscall_error.
25698         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
25699         (SYSCALL_ERROR): Update label name.
25701         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
25702         Do not use DOARGS/UNDOARGS.
25703         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
25704         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
25705         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
25706         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
25707         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
25709         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
25710         block comment.
25712         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
25713         define if !NOT_IN_libc.
25714         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
25715         define with non-default symbol versions.
25717 2014-05-23  Richard Henderson  <rth@twiddle.net>
25719         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
25720         (vfork, __vfork): Define via compat_symbol.
25722         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
25723         [!HAVE_IFUNC] (vfork_compat): Remove.
25724         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
25726 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
25728         [BZ #16978]
25729         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
25730         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
25731         variable.
25733 2014-05-23  Richard Henderson  <rth@twiddle.net>
25735         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
25736         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
25737         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
25738         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
25740         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
25741         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
25742         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
25743         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
25744         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
25745         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
25746         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
25747         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
25748         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
25749         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
25750         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
25751         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
25752         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
25753         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
25754         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
25755         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
25756         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
25757         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
25758         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
25759         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
25760         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
25761         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
25762         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
25763         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
25764         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
25765         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
25766         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
25767         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
25768         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
25769         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
25770         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
25771         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
25772         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
25773         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
25774         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
25775         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
25776         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
25777         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
25778         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
25779         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
25780         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
25781         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
25782         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
25783         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
25784         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
25785         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
25786         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
25787         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
25788         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
25789         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
25790         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
25791         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
25792         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
25793         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
25794         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
25795         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
25797         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
25798         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
25799         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
25800         before exiting on error.
25801         (__libc_vfork): New strong alias.
25802         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
25803         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
25805         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
25806         that was previously under [RESET_PID].
25807         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
25809         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
25811 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
25813         [BZ #16977]
25814         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
25815         value when x - 1 is zero.
25816         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
25817         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
25818         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
25819         0.0L for an argument of 1.0L.
25820         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
25821         Likewise.
25822         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
25823         value when x - 1 is zero.
25824         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
25825         * sysdeps/i386/fpu/libm-test-ulps: Update.
25826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25828 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
25830         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
25831         alphasort and versionsort.
25833 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25835         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
25836         macro.
25837         [copysignf]: Likewise.
25839 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
25841         * crypt/md5-crypt.c: Fix formatting.
25843 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25845         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
25846         (b64_from_24bit): New function.
25848 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25850         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
25851         libc_hidden_builtin_def to ifunc.
25852         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
25853         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
25855 2014-05-21  Roland McGrath  <roland@hack.frob.com>
25857         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
25858         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
25860 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
25862         * nscd/Depend (linuxthreads): Remove.
25863         (nptl): Add.
25864         * resolv/Depend (linuxthreads): Remove.
25865         * rt/Depend (linuxthreads): Remove.
25867         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
25868         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
25869         $(common-objpfx)elf/.
25870         (link-libc-before-gnulib): Likewise.
25871         (elfobjdir): Remove variable.
25872         * Makefile (install): Use $(elf-objpfx) instead of
25873         $(common-objpfx)elf/.
25874         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
25875         $(elfobjdir)/.
25876         (link-libc-deps): Likewise.
25877         ($(common-objpfx)libc.so): Likewise.
25878         ($(common-objpfx)linkobj/libc.so): Likewise.
25879         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
25880         instead of $(common-objpfx)elf/.
25881         (symbolic-link-list): Likewise.
25882         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
25883         [$(cross-compiling) = no]: Likewise.
25884         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
25885         $(elfobjdir)/.
25886         (static-gnulib-arch): Likewise.
25887         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
25888         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
25889         $(common-objpfx)elf/.
25891 2014-05-21  Richard Henderson  <rth@redhat.com>
25893         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
25894         (SINGLE_THREAD_P): Use the correct width load.  Fold
25895         into the ldr offset.
25897         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
25898         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
25900 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
25902         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
25903         (libgcc_s_resume): Use __attribute_used__.
25904         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
25905         Likewise.
25907 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25909         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
25910         optimization when used with float constants.
25912         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25914 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
25916         [BZ #16915]
25917         * locale/nl_langinfo_l.c: Make direct reference to every
25918         _nl_current_CATEGORY symbol.
25919         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
25920         (tests-static): Add tst-langinfo-static.
25921         (tests-special): Add tst-langinfo-static.out.
25922         ($(objpfx)tst-langinfo.out): Redirect output.
25923         ($(objpfx)tst-langinfo-static.out): New.
25924         * localedata/tst-langinfo.sh: Send output to stdout.
25925         * localedata/tst-langinfo-static.c: New file.
25927         [BZ #16965]
25928         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
25929         when the shift amount is modulo the limb size.
25931 2014-05-20  Richard Henderson  <rth@redhat.com>
25933         [BZ #16967]
25934         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
25935         Change type of sa_flags from unsigned int to int.
25937         [BZ #16966]
25938         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
25940         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
25942 2014-05-20  Will Newton  <will.newton@linaro.org>
25944         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
25945         Test the return value of the system call in the nocancel case.
25947 2014-05-20  Will Newton  <will.newton@linaro.org>
25948             Yvan Roux  <yvan.roux@linaro.org>
25950         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
25951         #include of asm/ptrace.h.
25952         (PTRACE_GET_THREAD_AREA): Remove #undef.
25953         (PTRACE_GETHBPREGS): Likewise.
25954         (PTRACE_SETHBPREGS): Likewise.
25955         (struct user_regs_struct): New structure.
25956         (struct user_fpsimd_struct): New structure.
25957         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
25958         #include of asm/ptrace.h and second #include of sys/user.h.
25959         (PTRACE_GET_THREAD_AREA): Remove #undef.
25960         (PTRACE_GETHBPREGS): Likewise.
25961         (PTRACE_SETHBPREGS): Likewise.
25962         (ELF_NGREG): Use new struct user_regs_struct.
25963         (elf_fpregset_t): Use new struct user_fpsimd_struct.
25965 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25967         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
25968         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
25970 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
25972         [BZ #16958]
25973         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
25974         membar to avoid block loads/stores to overlap previous stores.
25976 2014-05-17  Richard Henderson  <rth@redhat.com>
25978         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
25979         Create the __##syscall_name##_nocancel entry point.
25980         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
25981         Remove; let the sysdep-cancel.h code create it.
25983 2014-05-17  David S. Miller  <davem@davemloft.net>
25985         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
25986         Protect with __USE_GNU.
25987         (TIOCSET_TEMPT): Likewise.
25988         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
25989         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
25990         these are already provided in bits/ioctl-types.h
25992 2014-05-16  Roland McGrath  <roland@hack.frob.com>
25994         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
25995         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
25997         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
25998         Use wait4 regardless of [__NR_waitpid].
26000 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
26002         PR libgcc/60166
26003         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
26004         (_FP_NANSIGN_Q): Set the quiet bit.
26006 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
26008         * benchtests/Makefile
26009         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
26010         not $(common-objpfx)math/libm.so.
26011         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
26012         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
26013         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
26014         $(common-objpfx)dlfcn/libdl.so.
26015         ($(objpfx)tst-audit8): Depend on $(libm), not
26016         $(common-objpfx)math/libm.so.
26017         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
26018         not $(common-objpfx)dlfcn/libdl.so.
26019         * math/Makefile
26020         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
26021         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
26022         [$(build-shared) = yes].
26023         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
26024         $(common-objpfx)nptl/libpthread.so.
26025         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
26026         $(common-objpfx)math/libm.so$(libm.so-version) or
26027         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
26028         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
26029         $(common-objpfx)dlfcn/libdl.so.
26030         * setjmp/Makefile (link-libm): Remove variable.
26031         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
26032         * stdio-common/Makefile (link-libm): Remove variable.
26033         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
26034         * stdlib/Makefile (link-libm): Remove variable.
26035         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
26036         ($(objpfx)tst-strtod-round): Likewise.
26037         ($(objpfx)tst-tininess): Likewise.
26038         ($(objpfx)tst-strtod-underflow): Likewise.
26039         ($(objpfx)tst-strtod6): Likewise.
26040         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
26041         $(libdl), not $(common-objpfx)nptl/libpthread.so and
26042         $(common-objpfx)dlfcn/libdl.so.
26044 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26046         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
26047         BSD terminal modes definitions.
26049 2014-05-16  Roland McGrath  <roland@hack.frob.com>
26051         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
26052         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
26054         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
26055         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
26056         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
26057         Don't do #include_next.
26058         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
26059         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
26060         Don't do #include_next.
26061         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
26062         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
26063         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
26064         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
26066 2014-05-16  Allan McRae  <allan@archlinux.org>
26068         * po/sv.po: Update Swedish translation from translation project.
26070         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
26071         in sed expression.
26073 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
26075         [BZ #16917]
26076         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
26077         errno if the TIOCGPTN ioctl fails with an error different than
26078         EINVAL.
26079         * login/tst-ptsname.c: New file.
26080         * login/Makefile (tests): Add tst-ptsname.
26082         [BZ #16943]
26083         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
26084         and prlimit64.
26086 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26088         [BZ #16849]
26089         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
26090         herrno to return EAI_AGAIN.
26092 2014-05-14  Roland McGrath  <roland@hack.frob.com>
26094         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
26095         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
26096         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
26097         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
26098         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
26099         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
26100         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
26101         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
26102         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
26103         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
26104         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
26105         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
26106         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
26107         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
26108         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
26109         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
26110         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
26111         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
26112         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
26113         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
26114         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
26115         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
26116         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
26117         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
26118         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
26119         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
26120         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
26121         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
26122         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
26123         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
26124         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
26125         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
26126         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
26127         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
26128         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
26129         Moved ...
26130         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
26131         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
26132         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
26133         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
26134         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
26135         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
26136         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
26137         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
26138         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
26139         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
26140         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
26141         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
26142         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
26143         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
26144         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
26145         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
26146         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
26147         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
26148         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
26149         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
26150         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
26151         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
26152         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
26153         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
26154         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
26155         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
26156         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
26157         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
26158         Moved ...
26159         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
26160         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
26161         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
26162         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
26163         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
26164         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
26165         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
26166         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
26167         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
26168         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
26169         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
26170         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
26171         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
26172         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
26173         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
26174         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
26175         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
26176         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
26177         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
26178         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
26179         Moved ...
26180         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
26181         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
26182         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
26184         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
26185         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
26186         (libpthread-sysdep_routines): Add elision-related stuff here instead.
26187         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
26188         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
26189         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
26190         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
26191         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
26192         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
26193         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
26194         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
26195         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
26196         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
26197         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
26198         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
26199         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
26200         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
26201         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
26202         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
26203         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
26204         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
26205         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
26206         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
26207         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
26208         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
26209         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
26210         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
26211         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
26212         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
26213         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
26214         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
26216         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
26217         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
26219         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
26220         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
26221         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
26222         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
26223         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
26224         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
26225         Moved ...
26226         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
26227         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
26228         Moved ...
26229         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
26230         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
26231         Moved ...
26232         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
26233         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
26234         Moved ...
26235         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
26236         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
26237         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
26238         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
26239         Moved ...
26240         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
26241         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
26242         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
26243         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
26244         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
26245         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
26246         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
26247         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
26248         Moved ...
26249         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
26250         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
26251         Moved ...
26252         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
26253         ... here.
26254         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
26255         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
26256         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
26257         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
26258         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
26259         Moved ...
26260         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
26261         ... here.
26262         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
26263         Moved ...
26264         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
26265         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
26266         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
26267         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
26268         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
26269         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
26270         Moved ...
26271         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
26272         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
26273         Moved ...
26274         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
26275         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
26276         Moved ...
26277         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
26278         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
26279         Moved ...
26280         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
26281         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
26282         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
26283         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
26284         Moved ...
26285         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
26286         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
26287         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
26288         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
26289         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
26290         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
26291         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
26292         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
26293         Moved ...
26294         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
26295         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
26296         Moved ...
26297         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
26298         ... here.
26299         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
26300         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
26301         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
26302         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
26303         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
26304         Moved ...
26305         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
26306         ... here.
26307         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
26308         Moved ...
26309         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
26310         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
26311         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
26312         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
26313         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
26314         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
26315         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
26316         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
26317         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
26318         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
26319         Moved ...
26320         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
26321         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
26322         Moved ...
26323         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
26324         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
26325         Moved ...
26326         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
26327         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
26328         Moved ...
26329         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
26330         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
26331         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
26332         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
26333         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
26334         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
26335         Moved ...
26336         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
26337         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
26338         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
26339         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
26340         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
26341         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
26342         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
26343         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
26344         Moved ...
26345         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
26346         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
26347         Moved ...
26348         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
26349         ... here.
26350         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
26351         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
26352         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
26353         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
26354         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
26355         Moved ...
26356         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
26357         ... here.
26358         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
26359         Moved ...
26360         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
26361         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
26362         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
26363         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
26364         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
26365         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
26366         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
26367         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
26368         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
26369         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
26370         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
26372         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
26373         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
26375         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
26376         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
26378         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
26379         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
26380         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
26381         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
26382         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
26383         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
26384         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
26385         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
26386         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
26387         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
26388         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
26389         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
26390         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
26391         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
26392         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
26393         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
26394         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
26395         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
26396         Moved ...
26397         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
26398         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
26399         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
26400         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
26401         Moved ...
26402         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
26403         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
26404         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
26405         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
26406         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
26407         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
26408         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
26409         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
26410         Moved ...
26411         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
26412         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
26413         Moved ...
26414         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
26415         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
26416         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
26417         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
26418         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
26419         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
26420         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
26421         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
26422         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
26423         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
26424         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
26425         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
26426         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
26427         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
26428         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
26429         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
26430         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
26432         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
26433         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
26434         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
26435         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
26436         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
26438         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
26439         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
26440         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
26441         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
26442         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
26443         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
26444         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
26445         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
26446         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
26447         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
26449         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
26450         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
26452         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
26453         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
26454         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
26455         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
26456         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
26457         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
26458         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
26459         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
26460         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
26461         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
26462         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
26463         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
26464         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
26465         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
26466         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
26467         Update #include.
26468         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
26469         Likewise.
26470         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
26471         Likewise.
26472         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
26473         Likewise.
26474         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
26475         Likewise.
26476         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
26477         Likewise.
26478         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
26479         Likewise.
26480         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
26481         Likewise.
26482         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
26483         Likewise.
26484         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
26485         Likewise.
26486         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
26487         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
26488         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
26489         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
26490         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
26491         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
26492         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
26493         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
26494         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
26495         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
26496         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
26497         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
26498         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
26499         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
26500         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
26502         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
26503         that was previously under [RESET_PID].
26504         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26505         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
26506         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
26508         * sysdeps/i386/nptl/Implies: New file.
26509         * sysdeps/x86_64/nptl/Implies: New file.
26510         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
26511         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
26512         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
26513         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
26515         * sysdeps/unix/sysv/linux/i386/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         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
26519         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
26521         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
26522         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
26523         (__libc_vfork): New strong alias.
26524         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
26525         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
26527         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
26528         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
26529         (__libc_vfork): New strong alias.
26530         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
26531         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
26532         * nptl/pt-vfork.c: New file.
26533         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
26534         (libpthread: GLIBC_2.20): New version set (empty).
26536 2014-05-14  Will Newton  <will.newton@linaro.org>
26538         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
26539         rather than #if.
26541 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
26543         [BZ #16564]
26544         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
26545         arguments with exponent 65 or above.
26546         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
26547         arguments 0x1p113L or above.
26548         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
26549         to arguments 0x1p107L or above.
26550         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
26551         positive arguments with exponent 65 or above.
26552         * math/auto-libm-test-in: Add more tests of log1p.
26553         * math/auto-libm-test-out: Regenerated.
26555         [BZ #16928]
26556         * math/s_cacos.c (__cacos): Ensure zero real part of result from
26557         non-finite arguments is +0.
26558         * math/s_cacosf.c (__cacosf): Likewise.
26559         * math/s_cacosl.c (__cacosl): Likewise.
26560         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
26561         * sysdeps/i386/fpu/libm-test-ulps: Update.
26562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26564         [BZ #16927]
26565         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
26566         value.
26567         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
26568         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
26569         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
26570         for explicit high bit of mantissa when testing for argument equal
26571         to 1.
26572         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
26573         * sysdeps/i386/fpu/libm-test-ulps: Update.
26574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26576         [BZ #16516]
26577         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
26578         (__erf): Scale by 16 instead of 8 in potentially underflowing
26579         case.  Ensure exception if result actually underflows.
26580         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
26581         (__erff): Scale by 16 instead of 8 in potentially underflowing
26582         case.  Ensure exception if result actually underflows.
26583         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
26584         (efx8): Remove variable.
26585         (__erfl): Scale by 16 instead of 8 in potentially underflowing
26586         case.  Ensure exception if result actually underflows.
26587         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
26588         (efx8): Remove variable.
26589         (__erfl): Scale by 16 instead of 8 in potentially underflowing
26590         case.  Ensure exception if result actually underflows.
26591         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
26592         (efx8): Remove variable.
26593         (__erfl): Scale by 16 instead of 8 in potentially underflowing
26594         case.  Ensure exception if result actually underflows.
26595         * math/auto-libm-test-in: Add more tests of erf.
26596         * math/auto-libm-test-out: Regenerated.
26598 2014-05-14  Andreas Schwab  <schwab@suse.de>
26600         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
26601         Remove code conditionalized on USE___THREAD.
26603         * config.h.in (HAVE_PT_CHOWN): Define as 0.
26604         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
26605         not definedness.
26607 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
26609         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
26610         Define unconditionally.
26611         (__ASSUME_O_CLOEXEC): Likewise.
26612         (__ASSUME_SOCK_CLOEXEC): Likewise.
26613         (__ASSUME_IN_NONBLOCK): Likewise.
26614         (__ASSUME_PIPE2): Likewise.
26615         (__ASSUME_EVENTFD2): Likewise.
26616         (__ASSUME_SIGNALFD4): Likewise.
26617         (__ASSUME_DUP3): Likewise.
26618         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26619         (__ASSUME_DUP3): Do not define.
26620         (__ASSUME_EVENTFD2): Likewise.
26621         (__ASSUME_IN_NONBLOCK): Likewise.
26622         (__ASSUME_O_CLOEXEC): Likewise.
26623         (__ASSUME_PIPE2): Likewise.
26624         (__ASSUME_SIGNALFD4): Likewise.
26625         (__ASSUME_SOCK_CLOEXEC): Likewise.
26626         (__ASSUME_UTIMES): Undefine.
26627         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26628         (__ASSUME_UTIMES): Do not define.
26629         (__ASSUME_O_CLOEXEC): Likewise.
26630         (__ASSUME_SOCK_CLOEXEC): Likewise.
26631         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
26632         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
26633         0x020621].
26634         (__ASSUME_PIPE2): Likewise.
26635         (__ASSUME_EVENTFD2): Likewise.
26636         (__ASSUME_SIGNALFD4): Likewise.
26637         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
26638         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
26639         Do not define.
26640         (__ASSUME_EVENTFD2): Likewise.
26641         (__ASSUME_SIGNALFD4): Likewise.
26642         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26643         (__ASSUME_32BITUIDS): Likewise.
26644         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
26645         (__ASSUME_IPC64): Likewise.
26646         (__ASSUME_ST_INO_64_BIT): Likewise.
26647         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
26648         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
26649         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26650         (__ASSUME_UTIMES): Do not define.
26651         (__ASSUME_PSELECT): Likewise.
26652         (__ASSUME_PPOLL): Likewise.
26653         (__ASSUME_O_CLOEXEC): Likewise.
26654         (__ASSUME_SOCK_CLOEXEC): Likewise.
26655         (__ASSUME_IN_NONBLOCK): Likewise.
26656         (__ASSUME_PIPE2): Likewise.
26657         (__ASSUME_EVENTFD2): Likewise.
26658         (__ASSUME_SIGNALFD4): Likewise.
26659         (__ASSUME_DUP3): Likewise.
26660         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
26661         (__ASSUME_UTIMES): Likewise.
26662         (__ASSUME_O_CLOEXEC): Likewise.
26663         (__ASSUME_SOCK_CLOEXEC): Likewise.
26664         (__ASSUME_IN_NONBLOCK): Likewise.
26665         (__ASSUME_PIPE2): Likewise.
26666         (__ASSUME_EVENTFD2): Likewise.
26667         (__ASSUME_SIGNALFD4): Likewise.
26668         (__ASSUME_DUP3): Likewise.
26669         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26670         (__ASSUME_UTIMES): Likewise.
26671         (__ASSUME_O_CLOEXEC): Likewise.
26672         (__ASSUME_SOCK_CLOEXEC): Likewise.
26673         (__ASSUME_IN_NONBLOCK): Likewise.
26674         (__ASSUME_PIPE2): Likewise.
26675         (__ASSUME_EVENTFD2): Likewise.
26676         (__ASSUME_SIGNALFD4): Likewise.
26677         (__ASSUME_DUP3): Likewise.
26678         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
26679         Likewise.
26680         (__ASSUME_UTIMES): Likewise.
26681         (__ASSUME_EVENTFD2): Likewise.
26682         (__ASSUME_SIGNALFD4): Likewise.
26683         * sysdeps/unix/sysv/linux/tile/kernel-features.h
26684         (__ASSUME_O_CLOEXEC): Likewise.
26685         (__ASSUME_SOCK_CLOEXEC): Likewise.
26686         (__ASSUME_IN_NONBLOCK): Likewise.
26687         (__ASSUME_PIPE2): Likewise.
26688         (__ASSUME_EVENTFD2): Likewise.
26689         (__ASSUME_SIGNALFD4): Likewise.
26690         (__ASSUME_DUP3): Likewise.
26691         (__ASSUME_UTIMES): Undefine.
26693         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
26694         feclearexcept.  Remove symbol versioning code.
26695         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
26696         symbol versioning code.
26697         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
26698         symbol versioning code.
26699         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
26700         feupdateenv.  Remove symbol versioning code.
26701         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
26702         fegetexceptflag.  Remove symbol versioning code.
26703         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
26704         fesetexceptflag.  Remove symbol versioning code.
26705         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
26706         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
26707         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
26708         (__posix_fadvise64_l32): Remove prototype.
26709         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
26710         code.
26712 2014-05-13  Roland McGrath  <roland@hack.frob.com>
26714         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
26715         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
26716         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
26717         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
26719 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
26721         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
26722         current working directory
26724 2014-05-13  Roland McGrath  <roland@hack.frob.com>
26726         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
26727         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
26728         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
26729         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
26730         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
26731         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
26732         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
26733         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
26734         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
26735         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
26736         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
26737         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
26738         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
26739         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
26740         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
26741         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
26742         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
26743         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
26744         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
26745         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
26746         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
26747         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
26748         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
26749         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
26750         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
26751         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
26752         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
26753         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
26754         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
26755         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
26756         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
26757         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
26758         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
26759         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
26760         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
26761         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
26762         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
26763         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
26764         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
26765         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
26766         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
26767         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
26769         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
26770         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
26772         * sysdeps/unix/sysv/linux/arm/Makefile
26773         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
26774         Add rt-aeabi_unwind_cpp_pr1.
26775         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
26776         Add nptl-aeabi_unwind_cpp_pr1.
26777         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
26778         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
26779         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
26780         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
26781         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
26782         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
26784         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
26785         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
26786         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
26787         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
26789         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
26790         Deconditionalize the code that was previously under [RESET_PID].
26791         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
26793         * sysdeps/generic/exit-thread.h: New file.
26794         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
26795         * include/unistd.h (__exit_thread): Remove declaration.
26796         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
26797         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
26798         * csu/libc-start.c: Include <exit-thread.h>.
26799         (LIBC_START_MAIN): Pass no argument to __exit_thread.
26800         * nptl/pthread_create.c: Include <exit-thread.h>.
26801         (start_thread): Call __exit_thread in place of __exit_thread_inline.
26802         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
26803         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
26804         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
26805         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
26806         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
26807         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
26808         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
26809         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
26810         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
26811         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
26812         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
26813         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
26814         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
26815         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
26816         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
26817         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
26819 2014-05-13  Andreas Schwab  <schwab@suse.de>
26821         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
26823 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
26825         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
26826         (__ASSUME_UTIMES): Do not condition on kernel version.
26827         (__ASSUME_PSELECT): Define unconditionally.
26828         (__ASSUME_PPOLL): Likewise.
26829         (__ASSUME_ATFCTS): Likewise.
26830         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
26831         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
26832         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
26833         (__ASSUME_UTIMENSAT): Define unconditionally.
26834         (__ASSUME_PRIVATE_FUTEX): Likewise.
26835         (__ASSUME_FALLOCATE): Likewise.
26836         (__ASSUME_O_CLOEXEC): Likewise.
26837         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
26838         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
26839         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
26840         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
26841         (__ASSUME_IN_NONBLOCK): Likewise.
26842         (__ASSUME_PIPE2): Likewise.
26843         (__ASSUME_EVENTFD2): Likewise.
26844         (__ASSUME_SIGNALFD4): Likewise.
26845         (__ASSUME_DUP3): Likewise.
26846         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
26847         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
26848         (__ASSUME_AT_RANDOM): Likewise.
26849         (__ASSUME_PREADV): Likewise.
26850         (__ASSUME_PWRITEV): Likewise.
26851         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
26852         (__ASSUME_F_GETOWN_EX): Define unconditionally.
26853         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
26854         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
26855         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
26856         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26857         (__ASSUME_O_CLOEXEC): Define unconditionally.
26858         (__ASSUME_PSELECT): Do not undefine conditionally.
26859         (__ASSUME_PPOLL): Likewise.
26860         (__ASSUME_ATFCTS): Likewise.
26861         (__ASSUME_SET_ROBUST_LIST): Likewise.
26862         (__ASSUME_UTIMENSAT): Likewise.
26863         (__ASSUME_FDATASYNC): Define unconditionally.
26864         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26865         (__ASSUME_SIGFRAME_V2): Likewise.
26866         )__ASSUME_EVENTFD2): Likewise.
26867         (__ASSUME_SIGNALFD4): Likewise.
26868         (__ASSUME_PSELECT): Do not undefine conditionally.
26869         (__ASSUME_PPOLL): Likewise.
26870         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26871         (__ASSUME_PSELECT): Define unconditionally.
26872         (__ASSUME_PPOLL): Likewise.
26873         (__ASSUME_O_CLOEXEC): Likewise.
26874         (__ASSUME_SOCK_CLOEXEC): Likewise.
26875         (__ASSUME_IN_NONBLOCK): Likewise.
26876         (__ASSUME_PIPE2): Likewise.
26877         (__ASSUME_EVENTFD2): Likewise.
26878         (__ASSUME_SIGNALFD4): Likewise.
26879         (__ASSUME_DUP3): Likewise.
26880         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
26881         (__ASSUME_O_CLOEXEC): Likewise.
26882         (__ASSUME_SOCK_CLOEXEC): Likewise.
26883         (__ASSUME_IN_NONBLOCK): Likewise.
26884         (__ASSUME_PIPE2): Likewise.
26885         (__ASSUME_EVENTFD2): Likewise.
26886         (__ASSUME_SIGNALFD4): Likewise.
26887         (__ASSUME_DUP3): Likewise.
26888         * sysdeps/unix/sysv/linux/mips/kernel-features.h
26889         (__ASSUME_EVENTFD2): Likewise.
26890         (__ASSUME_SIGNALFD4): Likewise.
26891         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
26893 2014-05-12  Andreas Schwab  <schwab@suse.de>
26895         [BZ #16932]
26896         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
26897         (_nss_nis_gethostbyname4_r): Return error if item length is larger
26898         than maximum RPC packet size.
26899         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
26900         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
26901         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
26902         (_nss_nis_getservbyport_r): Likewise.
26904 2014-05-12  Will Newton  <will.newton@linaro.org>
26906         * malloc/Makefile (tests): Add tst-mallopt.
26907         * malloc/tst-mallopt.c: New file.
26909 2014-05-09  Roland McGrath  <roland@hack.frob.com>
26911         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
26912         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
26914 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26916         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
26917         (tst-tlsmod6.so): Likewise.
26919 2014-05-09  Roland McGrath  <roland@hack.frob.com>
26921         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
26923 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
26925         [BZ #16064]
26926         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
26927         and <dl-procinfo.h>.
26928         (__fegetenv): Save SSE state in envp->__eip if supported.
26929         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
26930         envp->__eip if supported.
26931         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
26932         and <dl-procinfo.h>.
26933         (__fesetenv): Always set __eip, __cs_selector, __opcode,
26934         __data_offset and __data_selector in environment to 0.  Set SSE
26935         state if supported.
26936         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
26937         test-fenv-sse.
26938         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
26939         -mfpmath=sse.
26940         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
26942 2014-05-09  Will Newton  <will.newton@linaro.org>
26944         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
26945         and libc_relro_required for ARM.
26946         * sysdeps/arm/preconfigure: Regenerate.
26948 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
26949             Stefan Liebler  <stli@linux.vnet.ibm.com>
26951         * config.make.in (enable-lock-elision): New Makefile variable.
26952         * configure.ac: Likewise.
26953         * configure: Regenerate.
26954         * sysdeps/s390/configure.ac:
26955         Add check for gcc transactions support.
26956         * sysdeps/s390/configure: Regenerate.
26957         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
26958         Build elision files if enabled.
26959         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
26960         Add lock elision support for s390.
26961         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
26962         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
26963         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
26964         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
26965         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
26966         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
26967         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
26968         Likewise.
26969         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
26970         Likewise.
26971         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
26972         Likewise.
26973         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
26974         Likewise.
26975         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
26976         (__lll_timedlock_elision, __lll_lock_elision)
26977         (__lll_unlock_elision, __lll_trylock_elision)
26978         (lll_timedlock_elision, lll_lock_elision)
26979         (lll_unlock_elision, lll_trylock_elision): Add.
26980         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
26981         (pthread_mutex_t): Add lock elision support for s390.
26983 2014-05-14  Wilco  <wdijkstr@arm.com>
26985         * sysdeps/arm/fclrexcpt.c: Cleanup.
26986         * sysdeps/arm/fedisblxcpt.c: Cleanup.
26987         * sysdeps/arm/feenablxcpt.c: Cleanup.
26988         * sysdeps/arm/fegetenv.c: Cleanup.
26989         * sysdeps/arm/fegetexcept.c: Cleanup.
26990         * sysdeps/arm/fegetround.c: Cleanup.
26991         * sysdeps/arm/feholdexcpt.c: Cleanup.
26992         * sysdeps/arm/fesetenv.c: Cleanup.
26993         * sysdeps/arm/fesetround.c: Cleanup.
26994         * sysdeps/arm/feupdateenv.c: Cleanup.
26995         * sysdeps/arm/fgetexcptflg.c: Cleanup.
26996         * sysdeps/arm/fraiseexcpt.c: Cleanup.
26997         * sysdeps/arm/fsetexcptflg.c: Cleanup.
26998         * sysdeps/arm/ftestexcept.c: Cleanup.
26999         * sysdeps/arm/get-rounding-mode.h: Cleanup.
27000         * sysdeps/arm/setfpucw.c: Cleanup.
27002 2014-05-09  Will Newton  <will.newton@linaro.org>
27004         * sysdeps/arm/armv7/strcmp.S: New file.
27005         * NEWS: Mention addition of ARMv7 optimized strcmp.
27007 2014-05-08  Roland McGrath  <roland@hack.frob.com>
27009         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
27010         look for %.ac rather than %.in.
27012         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
27013         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
27014         * sysdeps/mach/hurd/configure: Regenerated.
27015         * sysdeps/unix/sysv/linux/configure: Regenerated.
27017         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
27019 2014-05-07  Steve Ellcey  <sellcey@mips.com>
27021         [BZ# 16922]
27022         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
27023         (LONG_SUB): Ditto.
27024         (PTR_SUB): Ditto.
27026 2014-05-07  Andreas Schwab  <schwab@suse.de>
27028         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
27029         when skipping over non-matching result from nscd.
27031 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
27033         [BZ #16876]
27034         * nptl/sockperf.c (client): Check socket return value.
27036         [BZ #16877]
27037         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
27038         nscd security class.
27040 2014-05-06  Roland McGrath  <roland@hack.frob.com>
27042         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
27043         * sysdeps/arm/unwind.h: ... here.
27045 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
27047         [BZ# 16916]
27048         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
27049         Define.
27051 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27053         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
27054         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
27055         multiarch strncpy for PPC64.
27056         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
27057         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
27058         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
27059         multiarch optimizations.
27060         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27061         (__libc_ifunc_impl_list): Likewise.
27062         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
27063         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
27064         multiarch stpncpy for PPC64.
27065         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
27066         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
27068 2014-05-06  Andreas Schwab  <schwab@suse.de>
27070         [BZ #16912]
27071         * gmon/mcount.c (_MCOUNT_DECL): Use
27072         atomic_compare_and_exchange_bool_acq instead of
27073         catomic_compare_and_exchange_bool_acq.
27075 2014-05-05  Roland McGrath  <roland@hack.frob.com>
27077         * elf/Makefile (others, install-bin): Remove pldd.
27078         (pldd-modules): Variable removed.
27079         ($(objpfx)pldd): Target removed.
27080         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
27081         (others, install-bin): Append pldd here.
27082         ($(objpfx)pldd): New target.
27084         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
27085         to 0, so the first #if test emitted later doesn't see it undefined.
27086         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
27087         * sysdeps/gnu/errlist.c: Regenerated.
27089 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27091         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
27092         [libc_hidden_builtin_def]: Define to empty value.
27093         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
27094         [libc_hidden_builtin_def]: Likewise.
27095         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
27096         [libc_hidden_builtin_def]: Likewise.
27097         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
27098         [libc_hidden_builtin_def]: Likewise.
27099         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
27100         __redirect_memcpy and define ifunc as default hidden symbol.
27101         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
27102         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
27104 2014-05-04  Adam Conrad  <adconrad@0c3.net>
27106         * locale/iso-4217.def: Reintroduce XDR currency.
27108 2014-05-04  Allan McRae  <allan@archlinux.org>
27110         * po/eo.po: Update Esperanto translation from translation project.
27112 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
27114         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
27115         and FEATURE_INDEX_MAX to 1.
27116         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
27118 2014-05-01  Steve Ellcey  <sellcey@mips.com>
27120         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
27121         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
27122         * iconvdata/big5.c (ONE_DIRECTION): Define.
27123         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
27124         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
27125         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
27126         * iconvdata/cp932.c (ONE_DIRECTION): Define.
27127         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
27128         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
27129         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
27130         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
27131         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
27132         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
27133         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
27134         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
27135         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
27136         * iconvdata/gbk.c (ONE_DIRECTION): Define.
27137         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
27138         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
27139         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
27140         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
27141         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
27142         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
27143         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
27144         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
27145         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
27146         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
27147         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
27148         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
27149         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
27150         * iconvdata/iso646.c (ONE_DIRECTION): Define.
27151         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
27152         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
27153         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
27154         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
27155         * iconvdata/johab.c (ONE_DIRECTION): Define.
27156         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
27157         * iconvdata/sjis.c (ONE_DIRECTION): Define.
27158         * iconvdata/t.61.c (ONE_DIRECTION): Define.
27159         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
27160         * iconvdata/tscii.c (ONE_DIRECTION): Define.
27161         * iconvdata/uhc.c (ONE_DIRECTION): Define.
27162         * iconvdata/unicode.c (ONE_DIRECTION): Define.
27163         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
27164         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
27165         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
27167 2014-05-01  Roland McGrath  <roland@hack.frob.com>
27169         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
27170         (_IO_JUMPS_OFFSET): Define to 0.
27172         * nptl/sysdeps/pthread/bits/libc-lock.h
27173         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
27174         (__libc_lock_define_initialized_recursive): Always define using
27175         initializer.  Modern compilers treat uninitialized (implicit zero) and
27176         explicit zero initializers the same (i.e. put the datum in bss).
27178 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
27180         * nscd/nscd-client.h: Include <string.h>.
27182 2014-05-01  David S. Miller  <davem@davemloft.net>
27184         [BZ #16885]
27185         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
27186         multiple zero bytes exist at the end of a string.
27187         Reported by Aurelien Jarno <aurelien@aurel32.net>
27189         * string/test-strcmp.c (check): Add explicit test for situations where
27190         there are multiple zero bytes after the first.
27192 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
27194         [BZ #16890]
27195         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
27196         when compiling wprintf.
27197         * stdio-common/tstdiomisc.c (t3): New function.
27198         (main): Call it.
27200 2014-05-01  Steve Ellcey  <sellcey@mips.com>
27202         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
27203         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
27204         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
27205         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
27207 2014-05-01  Steve Ellcey  <sellcey@mips.com>
27209         * stdlib/longlong.h: Updated from GCC.
27211 2014-05-01  Will Newton  <will.newton@linaro.org>
27212             Bernard Ogden  <bernie.ogden@linaro.org>
27214         * NEWS: Update fixed bug list.
27216         [BZ #15119]
27217         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
27219 2014-04-30  David S. Miller  <davem@davemloft.net>
27221         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
27222         (libc_feholdexcept_setround_sparc_ctx): New function.
27223         (libc_fesetenv_sparc_ctx): Likewise.
27224         (libc_feupdateenv_sparc_ctx): Likewise.
27225         (libc_feholdsetround_sparc_ctx): Likewise.
27226         (libc_feholdexcept_setround_ctx): Define.
27227         (libc_feholdexcept_setroundf_ctx): Likewise.
27228         (libc_feholdexcept_setroundl_ctx): Likewise.
27229         (libc_fesetenv_ctx): Likewise.
27230         (libc_fesetenvf_ctx): Likewise.
27231         (libc_fesetenvl_ctx): Likewise.
27232         (libc_feupdateenv_ctx): Likewise.
27233         (libc_feupdateenvf_ctx): Likewise.
27234         (libc_feupdateenvl_ctx): Likewise.
27235         (libc_feresetround_ctx): Likewise.
27236         (libc_feresetroundf_ctx): Likewise.
27237         (libc_feresetroundl_ctx): Likewise.
27238         (libc_feholdsetround_ctx): Likewise.
27239         (libc_feholdsetroundf_ctx): Likewise.
27240         (libc_feholdsetroundl_ctx): Likewise.
27242         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
27243         with __USE_GNU instead of XOPEN cpp guards.
27245         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
27246         0.
27248         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
27249         with XOPEN cpp guards.
27251 2014-04-30  Julian Brown  <julian@codesourcery.com>
27253         [BZ #16888]
27254         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
27255         handling.
27257 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
27259         [BZ #9894]
27260         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
27261         Change to 2.6.32.
27262         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
27263         * sysdeps/unix/sysv/linux/configure: Regenerated.
27264         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
27265         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
27266         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
27267         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
27268         * README: Update reference to required Linux kernel version.
27269         * manual/install.texi (Linux): Update reference to required Linux
27270         kernel headers version.
27271         * INSTALL: Regenerated.
27273         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
27274         header inclusion.
27275         [POSIX] (limits.h): Likewise.
27276         [POSIX] (math.h): Likewise.
27277         [POSIX] (sys/wait.h): Likewise.
27278         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
27279         function.
27280         [POSIX] (stddef.h): Do not allow header inclusion.
27282 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27284         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
27286 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
27288         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
27289         Return immediately after lll_futex_wake.
27291 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27293         [BZ #16791]
27294         * nscd/nscd-client.h (datahead_init_common): Initialize entire
27295         structure.
27296         (datahead_init_pos): Call datahead_init_common early.
27297         (datahead_init_neg): Likewise.
27299         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
27300         datahead_init_neg): New functions.
27301         * nscd/aicache.c (addhstaiX): Use them.
27302         * nscd/grpcache.c (cache_addgr): Likewise.
27303         * nscd/hstcache.c (cache_addhst): Likewise.
27304         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27305         * nscd/netgroupcache.c (do_notfound): Likewise.
27306         (addgetnetgrentX): Likewise.
27307         (addinnetgrX): Likewise.
27308         * nscd/pwdcache.c (cache_addpw): Likewise.
27309         * nscd/servicescache.c (cache_addserv): Likewise.
27311 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27312             Atsushi Onoe  <atsushi@onoe.org>
27314         [BZ #14308]
27315         [BZ #12994]
27316         [BZ #13651]
27317         * resolv/res_query.c (__libc_res_nsearch): Return if at least
27318         one response is valid.
27319         * resolv/res_send.c (send_dg): Check for validity of other
27320         response if the current response is a referral.
27322 2014-04-29  Steve Ellcey  <sellcey@mips.com>
27324         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
27326 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
27328         [BZ #16823]
27329         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
27330         Always divide by positive zero when computing -Inf result.
27331         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
27332         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
27334 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27336         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
27337         FPSCR if value do not change.
27338         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27339         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
27340         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
27341         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
27342         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
27343         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
27344         function.
27346 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
27348         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
27349         * sysdeps/unix/sysv/linux/hppa: Move directory from
27350         ports/systeps/unix/sysv/linux/hppa.
27351         * README: Update listing for hppa-*-linux-gnu.
27353 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
27355         [BZ #16754]
27356         * manual/stdio.texi (Hook functions): Fix types of stream hook
27357         functions.
27358         [BZ #16854]
27359         * socket/sys/socket.h: Fix typo in comment.
27361 2014-04-28  Wilco  <wdijkstr@arm.com>
27363         * sysdeps/arm/fenv_private.h: New file.
27364         * sysdeps/arm/math_private.h: New file.
27365         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
27367 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
27369         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
27370         with __int128_t.
27371         (La_x86_64_retval): Likewise.
27373 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
27375         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
27376         fpsr if value didn't change.
27377         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
27378         to fpcr if value didn't change.
27379         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
27380         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
27381         fpsr or fpcr if value didn't change.
27382         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
27383         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
27384         fpcr if value didn't change.
27385         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
27386         to fpsr if value didn't change.
27388 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
27390         * nptl/tst-sem3.c: Use test-skeleton.c
27391         (main): Rename to do_test.  Use return instead of
27392         exit.
27393         * nptl/tst-sem4.c: Use test-skeleton.c
27394         (main): Rename to do_test.
27396 2014-04-22  David S. Miller  <davem@davemloft.net>
27398         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
27399         (struct sigaction): New struct member __glibc_reserved0, change
27400         type of sa_flags to int.
27402 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
27404         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
27405         (COUNT_LEADING_ZEROS_0): Define for AArch64.
27407 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27409         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
27410         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
27412 2014-04-22  Will Newton  <will.newton@linaro.org>
27413             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
27415         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
27416         (__longjmp): Add longjmp and longjmp_target SystemTap
27417         probes.
27418         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
27419         (__sigsetjmp): Add setjmp SystemTap probe.
27421 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
27423         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
27424         match manual order.
27426 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27428         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
27430         * sysdeps/powerpc/fpu/fenv_private.h
27431         (libc_feholdexcept_setroundl_ctx): Define to
27432         libc_feholdexcept_setround_ppc_ctx.
27433         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
27434         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
27435         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
27436         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
27438 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
27440         * sysdeps/aarch64/math-tests.h: New file.
27442 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
27444         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
27445         New.
27446         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27447         Check and set bit_AVX2_Usable.
27448         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
27449         macro.
27450         (bit_AVX2): Likewise.
27451         (index_AVX2_Usable): Likewise.
27452         (CPUID_AVX2): Likewise.
27453         (HAS_AVX2): Likewise.
27455 2014-04-17  Will Newton  <will.newton@linaro.org>
27457         * manual/setjmp.texi (System V contexts): Add note that
27458         calling setcontext on a context created by a call to a
27459         signal handler is undefined.  Update text to note that
27460         setcontext from a signal handler is possible but not
27461         recommended.
27463         [BZ #16629]
27464         * stdlib/tst-setcontext.c: Include signal.h.
27465         (main): Check that the signal stack before and
27466         after swapcontext is the same.
27468         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
27469         Re-implement to restore registers in user code and avoid
27470         rt_sigreturn system call.
27472 2014-04-17  Wilco  <wdijkstr@arm.com>
27474         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
27475         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
27476         * math/test-fenv.c: Skip exception trap tests on targets which only
27477         support non-stop mode.
27479 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
27480             Wilco Dijkstra  <wilco.dijkstra@arm.com>
27482         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
27483         (libc_feholdsetround_aarch64_ctx)
27484         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
27485         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
27486         (libc_feresetround_ctx, libc_feresetroundf_ctx)
27487         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
27488         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
27489         (libc_feresetround_noexl_ctx): Define.
27491 2014-04-16  Richard Henderson  <rth@redhat.com>
27493         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
27495         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
27496         unwind tables.
27498         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
27499         const from the non-libc, non-ldso copy.
27501         * sysdeps/alpha/libm-test-ulps: Regenerate.
27503 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
27504             Wilco Dijkstra  <wilco.dijkstra@arm.com>
27506         * sysdeps/aarch64/fpu/math_private.h: New file.
27508 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
27510         * sysdeps/aarch64/libm-test-ulps: Regenerate.
27512 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
27514         [BZ #16275]
27515         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
27516         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
27517         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
27518         Intel MPX bound registers before _dl_profile_fixup.
27519         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
27520         registers after _dl_profile_fixup.  Save and restore bound
27521         registers bnd0/bnd1 when calling _dl_call_pltexit.
27522         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
27523         (LR_BND_OFFSET): Likewise.
27524         (LRV_BND0_OFFSET): Likewise.
27525         (LRV_BND1_OFFSET): Likewise.
27527 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27529         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
27530         to...
27531         * sysdeps/mach/hurd/i386/tls.h: ... here.
27532         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
27533         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
27534         fields.
27536 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27538         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
27540 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
27542         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27544 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
27546         [BZ #14770]
27547         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
27548         * sysdeps/s390/configure: Regenerate.
27550         [BZ #16824]
27551         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
27552         Set round-to-nearest internally to reduce error accumulation.
27554 2014-04-16  Alan Modra  <amodra@gmail.com>
27556         [BZ #16740]
27557         [BZ #16619]
27558         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
27559         * math/libm-test.inc (frexp_test_data): Add tests.
27560         * NEWS: Update fixed bug list.
27562 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27564         * benchtests/Makefile: Depend on libraries in build directory.
27565         (bench-math): Separate out math tests.
27566         (bench-pthread): Separate out pthread tests.
27567         (bench): Include math and pthread tests.
27569 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
27571         [BZ #16831]
27572         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
27573         _dl_debug_initialize.
27575         * configure.ac: Remove SELinux header check.
27576         * configure: Regenerate.
27577         * nscd/selinux.c (perms): Array of const char* to permission names.
27578         (nscd_request_avc_has_perm): Call security_deny_unknown to find
27579         default policy. Call string_to_security_class and string_to_av_perm to
27580         translate strings. Enforce default policy and call avs_has_perm with
27581         results of translated strings.
27583 2014-04-13  David S. Miller  <davem@davemloft.net>
27585         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27587 2014-04-12  Allan McRae  <allan@archlinux.org>
27589         [BZ #16838]
27590         * manual/string.texi (Collation Functions): Fix qsort argument
27591         order in example.
27592         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
27594 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
27596         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
27597         Make the test a no-op if there are no exceptions defined.
27599 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
27601         * elf/Makefile (tests): make tst-dlopen-aout conditional on
27602         enable-hardcoded-path-in-tests
27604 2014-04-11  Will Newton  <will.newton@linaro.org>
27606         * benchtests/Makefile (extra-objs): Add json-lib.o.
27607         (bench-func): Tidy up JSON output.
27608         * benchtests/bench-skeleton.c: Include json-lib.h.
27609         (main): Use JSON library functions to do output of
27610         benchmark results.
27611         * benchtests/bench-timing-type.c (main): Output the
27612         timing type simply, leaving formatting to the user.
27613         * benchtests/json-lib.c: New file.
27614         * benchtests/json-lib.h: Likewise.
27616 2014-04-11  Torvald Riegel  <triegel@redhat.com>
27618         [BZ #15215]
27619         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
27620         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
27621         memory barriers.  Add comments.
27622         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
27623         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
27624         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
27625         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
27626         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
27627         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
27629 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
27631         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
27632         * sysdeps/s390/s390-64/configure.ac: ... this ...
27633         * sysdeps/s390/configure.ac: ... to here.
27634         * sysdeps/s390/s390-32/configure: Delete file.
27635         * sysdeps/s390/s390-64/configure: Delete file.
27636         * sysdeps/s390/configure: Regenerate.
27638 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
27640         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
27642 2014-04-11  Will Newton  <will.newton@linaro.org>
27644         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
27645         to zero if it is not defined elsewhere.  (mtrim): Test
27646         the value of MALLOC_DEBUG with #if rather than #ifdef.
27648 2014-04-10 Torvald Riegel  <triegel@redhat.com>
27650         * benchtests/pthread_once-inputs: New file.
27651         * benchtests/pthread_once-source.c: New file.
27652         * benchtests/README: Update documentation.
27654 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
27655             H.J. Lu  <hongjiu.lu@intel.com>
27657         [BZ #16275]
27658         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
27659         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
27660         * sysdeps/x86_64/configure: Regenerated.
27661         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
27662         macro.
27663         (REGISTER_SAVE_RAX): Likewise.
27664         (REGISTER_SAVE_RCX): Likewise.
27665         (REGISTER_SAVE_RDX): Likewise.
27666         (REGISTER_SAVE_RSI): Likewise.
27667         (REGISTER_SAVE_RDI): Likewise.
27668         (REGISTER_SAVE_R8): Likewise.
27669         (REGISTER_SAVE_R9): Likewise.
27670         (REGISTER_SAVE_BND0): Likewise.
27671         (REGISTER_SAVE_BND1): Likewise.
27672         (REGISTER_SAVE_BND2): Likewise.
27673         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
27674         bound registers when calling _dl_fixup.
27676 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27678         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
27679         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
27680         of its definition.
27681         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
27682         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
27683         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
27684         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
27685         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
27686         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
27687         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
27689 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
27691         [BZ #15514]
27692         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
27693         pathconf(_PC_NAME_MAX).
27695 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27697         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
27698         Remove macro usage.
27699         (__PTHREAD_SPINS): Move definition to ...
27700         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
27701         (__PTHREAD_SPINS): ... here.
27702         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
27703         (__PTHREAD_SPIN): Likewise.
27704         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
27705         (__PTHREAD_SPIN): Likewise.
27706         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
27707         (__PTHREAD_SPIN): Likewise.
27708         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
27709         (__PTHREAD_SPIN): Likewise.
27710         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
27711         (__PTHREAD_SPIN): Likewise.
27712         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
27713         (__PTHREAD_SPIN): Likewise.
27714         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
27715         (__PTHREAD_SPIN): Likewise.
27716         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
27717         (__PTHREAD_SPIN): Likewise.
27718         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
27719         (__PTHREAD_SPIN): Likewise.
27720         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
27721         (__PTHREAD_SPIN): Likewise.
27722         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
27723         (__PTHREAD_SPIN): Likewise.
27724         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
27725         (__PTHREAD_SPIN): Likewise.
27727         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
27728         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
27729         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
27730         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
27731         imply folder.
27732         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
27733         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
27734         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
27735         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
27736         correct imply path.
27737         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
27738         strlen symbol for non multi-arch builds.
27739         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
27740         missing hidden_def and weak_alias.
27742 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
27744         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
27746 2014-04-07  Will Newton  <will.newton@linaro.org>
27748         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
27749         and contents.  [!_LIBC] Remove #ifndef and contents.
27750         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
27751         * string/memccpy.c (__memccpy): Use ANSI prototype.
27752         * string/memfrob.c (memfrob): Likewise.
27753         * string/strcoll.c (STRCOLL): Likewise.
27754         * string/strlen.c (strlen): Likewise.
27755         * string/strtok.c (STRTOK): Likewise.
27756         * string/strcat.c: Remove unused #include of memcopy.h.
27757         (strcat): Use ANSI prototype.
27758         * string/strchr.c: Remove unused #include of memcopy.h.
27759         (strchr): Use ANSI prototype.
27760         * string/strcmp.c: Remove unused #include of memcopy.h.
27761         (strcmp): Use ANSI prototype.
27762         * string/strcpy.c: Remove unused #include of memcopy.h.
27763         (strcpy): Use ANSI prototype.
27765 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27767         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
27768         * config.make.in (config-extra-cppflags): Set it from
27769         libc_extra_cppflags.
27770         * configure.ac (libc_extra_cflags): Make it accumulate over
27771         configure fragments.
27772         (libc_extra_cppflags): New flag.
27773         * configure. Regenerate.
27774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
27775         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
27776         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
27777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
27779         [BZ #16815]
27780         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
27781         result for FE_DOWNWARD rounding mode.
27782         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
27783         Likewise.
27784         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27786 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
27788         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
27789         in function argument name.
27791 2014-04-03  David Svoboda  <svoboda@cert.org>
27793         [BZ #5666]
27794         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
27795         explicitly.
27797 2014-04-03  Roland McGrath  <roland@hack.frob.com>
27799         * elf/dl-unmap-segments.h: New file.
27800         * sysdeps/generic/ldsodefs.h
27801         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
27802         * elf/dl-close.c: Include <dl-unmap-segments.h>.
27803         * elf/dl-fptr.c: Likewise.
27804         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
27805         * sysdeps/aarch64/tlsdesc.c: Likewise.
27806         * sysdeps/arm/tlsdesc.c: Likewise.
27807         * sysdeps/i386/tlsdesc.c: Likewise.
27808         * sysdeps/tile/dl-runtime.c: Likewise.
27809         * sysdeps/x86_64/tlsdesc.c: Likewise.
27810         * elf/dl-load.h: New file.
27811         * elf/dl-load.c: Include it.
27812         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
27813         Macros moved to dl-load.h.
27814         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
27815         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
27816         Use _dl_unmap_segments in place of __munmap.
27817         Break out segment-mapping loop into ...
27818         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
27820 2014-04-03  Will Newton  <will.newton@linaro.org>
27822         * elf/dl-lookup.c (do_lookup_x): Remove comment
27823         referring to nested function and move variable
27824         declarations down to before first use.
27826 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
27828         [BZ #16799]
27829         [BZ #16800]
27830         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
27831         with 0 numerator.
27832         * math/s_catanf.c (__catanf): Likewise.
27833         * math/s_catanh.c (__catanh): Likewise.
27834         * math/s_catanhf.c (__catanhf): Likewise.
27835         * math/s_catanhl.c (__catanhl): Likewise.
27836         * math/s_catanl.c (__catanl): Likewise.
27837         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
27838         by positive zero when computing -Inf result.
27839         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
27840         (catanh_test): Likewise.
27841         * sysdeps/i386/fpu/libm-test-ulps: Update.
27842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27844         [BZ #16789]
27845         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
27846         instead of using underflowing value in computing result.
27847         * math/s_clog10.c (__clog10): Likewise.
27848         * math/s_clog10f.c (__clog10f): Likewise.
27849         * math/s_clog10l.c (__clog10l): Likewise.
27850         * math/s_clogf.c (__clogf): Likewise.
27851         * math/s_clogl.c (__clogl): Likewise.
27852         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
27853         (clog10_test): Likewise.
27854         * sysdeps/i386/fpu/libm-test-ulps: Update.
27855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27857 2014-04-02  Alan Modra  <amodra@gmail.com>
27859         [BZ #16739]
27860         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
27861         output when value is near a power of two.  Use int64_t for lx and
27862         remove casts.  Use decimal rather than hex exponent constants.
27863         Don't use long double multiplication when double will suffice.
27864         * math/libm-test.inc (nextafter_test_data): Add tests.
27865         * NEWS: Add 16739 and 16786 to bug list.
27867         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
27869         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
27871 2014-04-01  Will Newton  <will.newton@linaro.org>
27873         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
27874         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
27876 2014-04-01  Florian Weimer  <fweimer@redhat.com>
27878         [BZ #13347]
27879         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
27880         * nptl/tst-setuid2.c: New file.
27881         * nptl/Makefile (xtests): Add tst-setuid2.
27883 2014-04-01  Alan Modra  <amodra@gmail.com>
27885         [BZ #16786]
27886         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
27888 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
27890         [BZ #6803]
27891         [BZ #6804]
27892         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
27893         set errno as appropriate.
27894         * math/w_scalbf.c (__scalbf): Likewise.
27895         * math/w_scalbl.c (__scalbl): Likewise.
27896         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
27897         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
27898         * math/libm-test.inc (scalb_test_data): Add errno expectations.
27899         Add more NaN tests.
27901         [BZ #16349]
27902         * math/w_atan2.c: Include <errno.h>.
27903         (__atan2): Set errno for result underflowing to zero.
27904         * math/w_atan2f.c: Include <errno.h>.
27905         (__atan2f): Set errno for result underflowing to zero.
27906         * math/w_atan2l.c: Include <errno.h>.
27907         (__atan2l): Set errno for result underflowing to zero.
27908         * math/auto-libm-test-in: Don't allow missing errno for some atan2
27909         tests.
27910         * math/auto-libm-test-out: Regenerated.
27912 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27914         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
27915         Encode instruction correctly in little endian.
27916         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
27917         Likewise.
27918         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
27919         Likewise.
27920         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
27921         Likewise.
27922         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
27923         Likewise.
27925 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
27927         [BZ #9894]
27928         * sysdeps/unix/sysv/linux/kernel-features.h
27929         [__sparc__ && !__arch64__ && !__sparc_v9__]
27930         (__ASSUME_SET_ROBUST_LIST): Do not define.
27931         [__sparc__ && !__arch64__ && !__sparc_v9__]
27932         (__ASSUME_FUTEX_LOCK_PI): Likewise.
27933         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
27934         Likewise.
27935         * sysdeps/unix/sysv/linux/arm/kernel-features.h
27936         (__ASSUME_FUTEX_LOCK_PI): Undefine.
27937         (__ASSUME_REQUEUE_PI): Likewise.
27938         (__ASSUME_SET_ROBUST_LIST): Likewise.
27939         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
27940         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
27941         Undefine.
27942         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27943         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
27944         Likewise.
27945         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
27946         Likewise.
27947         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
27948         Likewise.
27949         * sysdeps/unix/sysv/linux/mips/kernel-features.h
27950         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
27951         Undefine.
27952         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
27953         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
27954         Likewise.
27956         [BZ #16648]
27957         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27958         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
27959         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
27961 2014-03-31  Will Newton  <will.newton@linaro.org>
27963         * benchtests/Makefile (bench): Add ffs and ffsll to list
27964         of tests.
27965         * benchtests/ffs-inputs: New file.
27966         * benchtests/ffsll-inputs: Likewise.
27968 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
27970         [BZ #16770]
27971         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
27972         too large before casting to int.
27973         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
27974         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
27975         * math/libm-test.inc (scalb_test_data): Add more tests.
27977 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27979         * benchtests/Makefile (DETAILED_OPT): New make option.
27980         (bench-func): Run benchmark program with -d if DETAILED_OPT is
27981         set.
27982         * benchtests/bench-skeleton.c: Include stdbool.h.
27983         (main): Store and print timings per input.
27984         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
27985         member to each argument value.
27986         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
27987         (_print_arg_data): Initialize per-input timing to 0.
27989         * benchtests/Makefile (timing-type): New binary.
27990         (bench-clean): Also remove bench-timing-type.
27991         (bench): New target for timing-type.
27992         (bench-func): Print output in JSON format.
27993         * benchtests/bench-skeleton.c (main): Print output in JSON
27994         format.
27995         * benchtests/bench-timing-type.c: New file.
27996         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
27997         (TIMING_PRINT_STATS): Remove.
27998         * benchtests/scripts/bench.py (_print_arg_data): Store variant
27999         name separately.
28001         * benchtests/bench-modf.c: Remove.
28002         * benchtests/modf-inputs: New inputs file.
28004 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
28006         [BZ #16362]
28007         * math/s_clog10.c (M_PI_LOG10E): New macro.
28008         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
28009         imaginary parts are 0.
28010         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
28011         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
28012         imaginary parts are 0.
28013         * math/s_clog10l.c (M_PI_LOG10El): New macro.
28014         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
28015         imaginary parts are 0.
28016         * math/libm-test.inc (clog10_test_data): Update expected results
28017         for when real and imaginary parts are 0.
28019 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
28021         * elf/dl-load.c: Finish conversion of __builtin_expect into
28022         __glibc_{un}likely.
28024 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
28026         [BZ #16348]
28027         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
28028         1+x for argument with exponent below -67.
28029         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
28030         Likewise.
28031         * math/auto-libm-test-in: Add more tests of exp.
28032         * math/auto-libm-test-out: Regenerated.
28034 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28036         [BZ #16759]
28037         * inet/getnetgrent_r.c (get_nonempty_val): New function.
28038         (nscd_getnetgrent): Use it.
28040         [BZ #16760]
28041         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
28042         of stpcpy.
28044 2014-03-27  Andi Kleen  <ak@linux.intel.com>
28046         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
28047         (lll_robust_lock, lll_cond_lock, lll_timedlock)
28048         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
28049         (lll_robust_unlock): Remove out of line section. Use cfi
28050         intrinsics.
28051         (LLL_STUB_UNWIND_INFO*): Remove.
28052         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
28053         (lll_robust_lock, lll_cond_lock, lll_timedlock)
28054         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
28055         (lll_robust_unlock): Remove out of line section. Use cfi
28056         intrinsics.
28057         (LLL_STUB_UNWIND_INFO*): Remove.
28059 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28061         [BZ #16758]
28062         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
28063         blank values.
28065 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
28067         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
28069 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
28071         [BZ #16198]
28072         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
28073         fnstenv.
28074         * math/test-fenv-preserve.c: New file.
28075         * math/Makefile (tests): Add test-fenv-preserve.
28077 2014-03-26  Will Newton <will.newton@linaro.org>
28079         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
28081 2014-03-25  Roland McGrath  <roland@hack.frob.com>
28083         * scripts/versionlist.awk: Partition the version sets and emit all
28084         GLIBC_* (sorted) before all others (sorted).
28086 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
28088         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
28089         GLIBC_2.2.5 version.
28091 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28093         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
28094         calls.
28096         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
28097         previous change.
28099         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28101 2014-03-25  Andreas Schwab  <schwab@suse.de>
28103         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
28104         label to be used after in6ailist is initialized.
28106 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28108         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
28109         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
28111 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
28113         [BZ #16357]
28114         [BZ #16599]
28115         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
28116         min_plus_half.
28117         (fp_formats): Update initializers.
28118         (init_fp_formats): Initialize new field.
28119         (output_for_one_input_case): Allow underflow for results up to
28120         min_plus_half.
28121         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
28122         * math/auto-libm-test-in: Don't mark some underflows from asin and
28123         atanh as spurious.
28124         * math/auto-libm-test-out: Regenerated.
28125         * sysdeps/i386/fpu/libm-test-ulps: Update.
28126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28128 2014-03-25  Andreas Schwab  <schwab@suse.de>
28130         * libio/Makefile (tst-ftell-partial-wide-ENV)
28131         (tst-ftell-active-handler-ENV): Define.
28133 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
28135         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
28137 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
28139         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
28141 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
28143         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
28144         * sysdeps/x86_64/fpu/multiarch/e_exp.c
28145         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28147 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
28149         [BZ #16634]
28150         * elf/dl-load.c (open_verify): Add mode parameter.
28151         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
28152         (open_path): Change from boolean 'secure' to complete flag 'mode'
28153         (_dl_map_object): Adjust.
28154         * elf/Makefile (tests): Add tst-dlopen-aout.
28155         * elf/tst-dlopen-aout.c: New test.
28157 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
28159         [BZ #16714]
28160         * sysdeps/unix/sysv/linux/s390/bits/stat.h
28161         (struct stat): Rename member pad0 to __glibc_reserved0.
28163         [BZ #16712]
28164         * sysdeps/s390/s390-32/bits/wordsize.h
28165         (__WORDSIZE32_SIZE_ULONG): New define.
28166         * sysdeps/s390/s390-64/bits/wordsize.h
28167         (__WORDSIZE32_SIZE_ULONG): Likewise.
28168         * sysdeps/generic/stdint.h (SIZE_MAX):
28169         Define as UL if __WORDSIZE32_SIZE_ULONG.
28171         [BZ #16713]
28172         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
28173         (__glibc_reserved0): New variable.
28174         (sa_flags): Change type to int.
28176         * posix/Makefile (before-compile): Use += before-compile instead
28177         of a :=.
28179         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
28180         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
28182 2014-03-20  Andreas Schwab  <schwab@suse.de>
28184         [BZ #16743]
28185         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
28186         non-matching result from nscd.
28188 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28190         * scripts/bench.py: Moved to ...
28191         * benchtests/scripts/bench.py: ... here.
28192         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
28194 2014-03-24  Andreas Schwab  <schwab@suse.de>
28196         [BZ #16002]
28197         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
28198         alloca_account and account alloca use for struct in6ailist.
28200 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
28202         [BZ #16284]
28203         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
28204         rounding mode to recompute results that overflow to infinity or
28205         underflow to zero.
28206         * math/auto-libm-test-in: Don't mark tests as expected to fail for
28207         bug 16284.
28208         * math/auto-libm-test-out: Regenerated.
28209         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
28210         (ccosh_test): Likewise.
28211         (csin_test_data): Use plus_oflow.
28212         (csin_test): Use ALL_RM_TEST.
28213         (csinh_test_data): Use plus_oflow.
28214         (csinh_test): Use ALL_RM_TEST.
28215         * sysdeps/i386/fpu/libm-test-ulps: Update.
28216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28218 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
28220         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
28221         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
28222         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
28224         [BZ #16731]
28225         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
28226         when x - 1 is zero.
28227         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
28228         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
28229         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
28230         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
28231         argument is 1.
28232         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
28233         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
28234         zero.
28235         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
28236         * sysdeps/i386/fpu/libm-test-ulps: Update.
28237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28239 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28241         * scripts/bench.pl: Remove file.
28242         * scripts/bench.py: New benchmark script.
28243         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
28244         * benchtests/README: Mention python dependency.
28245         * scripts/pylintrc: New file.
28246         * scripts/pylint: New file.
28248         * bits/mathdef.h: Use #ifdef instead of #if.
28249         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
28250         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
28251         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
28252         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
28253         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
28254         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
28256 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28257             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28259         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
28260         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
28261         and strpbrk-ppc64 objects.
28262         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28263         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
28264         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
28265         multiarch strpbrk for POWER7.
28266         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
28267         multiarch strpbrk for PPC64.
28268         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
28269         ifunc selector.
28270         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
28271         strpbrk for POWER7.
28273 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
28275         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
28276         (atan_test): Likewise.
28277         (atanh_test_data): Use NO_TEST_INLINE for two tests.
28278         (atanh_test): Use ALL_RM_TEST.
28279         (atan2_test_data): Likewise.
28280         (cabs_test): Likewise.
28281         (cacosh_test): Likewise.
28282         (carg_test): Likewise.
28283         (casin_test): Likewise.
28284         (casinh_test): Likewise.
28285         (cbrt_test): Likewise.
28286         (csqrt_test): Likewise.
28287         (erf_test): Likewise.
28288         (erfc_test): Likewise.
28289         (pow10_test): Likewise.
28290         (exp2_test): Likewise.
28291         (hypot_test): Likewise.
28292         (j0_test): Likewise.
28293         (j1_test): Likewise.
28294         (lgamma_test): Likewise.
28295         (gamma_test): Likewise.
28296         (sincos_test): Likewise.
28297         (tanh_test): Likewise.
28298         (y0_test): Likewise.
28299         (y1_test): Likewise.
28300         * sysdeps/i386/fpu/libm-test-ulps: Update.
28301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28303 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28305         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
28306         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
28307         and strcspn-ppc64 objects.
28308         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28309         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
28310         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
28311         multiarch strcspn for POWER7.
28312         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
28313         multiarch strcspn for PPC64.
28314         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
28315         ifunc selector.
28316         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
28317         strcspn for POWER7.
28319 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
28321         * math/gen-libm-test.pl (generate_testfile): Expect only function
28322         name as argument to AUTO_TESTS_* and pass results for all rounding
28323         modes to parse_args.
28324         (parse_auto_input): Separate inputs of automatic tests from
28325         outputs before storing in %auto_tests.
28326         * math/libm-test.inc (acos_test_data): Update call to
28327         AUTO_TESTS_f_f.
28328         (acos_test): Use ALL_RM_TEST.
28329         (acos_tonearest_test_data): Remove.
28330         (acos_test_tonearest): Likewise.
28331         (acos_towardzero_test_data): Likewise.
28332         (acos_test_towardzero): Likewise.
28333         (acos_downward_test_data): Likewise.
28334         (acos_test_downward): Likewise.
28335         (acos_upward_test_data): Likewise.
28336         (acos_test_upward): Likewise.
28337         (acosh_test_data): Update call to AUTO_TESTS_f_f.
28338         (asin_test_data): Likewise.
28339         (asin_test): Use ALL_RM_TEST.
28340         (asin_tonearest_test_data): Remove.
28341         (asin_test_tonearest): Likewise.
28342         (asin_towardzero_test_data): Likewise.
28343         (asin_test_towardzero): Likewise.
28344         (asin_downward_test_data): Likewise.
28345         (asin_test_downward): Likewise.
28346         (asin_upward_test_data): Likewise.
28347         (asin_test_upward): Likewise.
28348         (asinh_test_data): Update call to AUTO_TESTS_f_f.
28349         (atan_test_data): Likewise.
28350         (atanh_test_data): Likewise.
28351         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
28352         (cabs_test_data): Update call to AUTO_TESTS_c_f.
28353         (carg_test_data): Likewise.
28354         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
28355         (ccos_test_data): Update call to AUTO_TESTS_c_c.
28356         (ccosh_test_data): Likewise.
28357         (cexp_test_data): Likewise.
28358         (clog_test_data): Likewise.
28359         (clog10_test_data): Likewise.
28360         (cos_test_data): Update call to AUTO_TESTS_f_f.
28361         (cos_test): Use ALL_RM_TEST.
28362         (cos_tonearest_test_data): Remove.
28363         (cos_test_tonearest): Likewise.
28364         (cos_towardzero_test_data): Likewise.
28365         (cos_test_towardzero): Likewise.
28366         (cos_downward_test_data): Likewise.
28367         (cos_test_downward): Likewise.
28368         (cos_upward_test_data): Likewise.
28369         (cos_test_upward): Likewise.
28370         (cosh_test_data): Update call to AUTO_TESTS_f_f.
28371         (cosh_test): Use ALL_RM_TEST.
28372         (cosh_tonearest_test_data): Remove.
28373         (cosh_test_tonearest): Likewise.
28374         (cosh_towardzero_test_data): Likewise.
28375         (cosh_test_towardzero): Likewise.
28376         (cosh_downward_test_data): Likewise.
28377         (cosh_test_downward): Likewise.
28378         (cosh_upward_test_data): Likewise.
28379         (cosh_test_upward): Likewise.
28380         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
28381         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
28382         (ctan_test_data): Likewise.
28383         (ctan_test): Use ALL_RM_TEST.
28384         (ctan_tonearest_test_data): Remove.
28385         (ctan_test_tonearest): Likewise.
28386         (ctan_towardzero_test_data): Likewise.
28387         (ctan_test_towardzero): Likewise.
28388         (ctan_downward_test_data): Likewise.
28389         (ctan_test_downward): Likewise.
28390         (ctan_upward_test_data): Likewise.
28391         (ctan_test_upward): Likewise.
28392         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
28393         (ctanh_test): Use ALL_RM_TEST.
28394         (ctanh_tonearest_test_data): Remove.
28395         (ctanh_test_tonearest): Likewise.
28396         (ctanh_towardzero_test_data): Likewise.
28397         (ctanh_test_towardzero): Likewise.
28398         (ctanh_downward_test_data): Likewise.
28399         (ctanh_test_downward): Likewise.
28400         (ctanh_upward_test_data): Likewise.
28401         (ctanh_test_upward): Likewise.
28402         (erf_test_data): Update call to AUTO_TESTS_f_f.
28403         (erfc_test_data): Likewise.
28404         (exp_test_data): Likewise.
28405         (exp_test): Use ALL_RM_TEST.
28406         (exp_tonearest_test_data): Remove.
28407         (exp_test_tonearest): Likewise.
28408         (exp_towardzero_test_data): Likewise.
28409         (exp_test_towardzero): Likewise.
28410         (exp_downward_test_data): Likewise.
28411         (exp_test_downward): Likewise.
28412         (exp_upward_test_data): Likewise.
28413         (exp_test_upward): Likewise.
28414         (exp10_test_data): Update call to AUTO_TESTS_f_f.
28415         (exp10_test): Use ALL_RM_TEST.
28416         (exp10_tonearest_test_data): Remove.
28417         (exp10_test_tonearest): Likewise.
28418         (exp10_towardzero_test_data): Likewise.
28419         (exp10_test_towardzero): Likewise.
28420         (exp10_downward_test_data): Likewise.
28421         (exp10_test_downward): Likewise.
28422         (exp10_upward_test_data): Likewise.
28423         (exp10_test_upward): Likewise.
28424         (exp2_test_data): Update call to AUTO_TESTS_f_f.
28425         (expm1_test_data): Likewise.
28426         (expm1_test): Use ALL_RM_TEST.
28427         (expm1_tonearest_test_data): Remove.
28428         (expm1_test_tonearest): Likewise.
28429         (expm1_towardzero_test_data): Likewise.
28430         (expm1_test_towardzero): Likewise.
28431         (expm1_downward_test_data): Likewise.
28432         (expm1_test_downward): Likewise.
28433         (expm1_upward_test_data): Likewise.
28434         (expm1_test_upward): Likewise.
28435         (fma_test_data): Update call to AUTO_TESTS_fff_f.
28436         (fma_test): Use ALL_RM_TEST.
28437         (fma_towardzero_test_data): Remove.
28438         (fma_test_towardzero): Likewise.
28439         (fma_downward_test_data): Likewise.
28440         (fma_test_downward): Likewise.
28441         (fma_upward_test_data): Likewise.
28442         (fma_test_upward): Likewise.
28443         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
28444         (j0_test_data): Update call to AUTO_TESTS_f_f.
28445         (j1_test_data): Likewise.
28446         (jn_test_data): Update call to AUTO_TESTS_if_f.
28447         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
28448         (log_test_data): Update call to AUTO_TESTS_f_f.
28449         (log10_test_data): Likewise.
28450         (log1p_test_data): Likewise.
28451         (log2_test_data): Likewise.
28452         (pow_test_data): Update call to AUTO_TESTS_ff_f.
28453         (pow_tonearest_test_data): Likewise.
28454         (sin_test_data): Update call to AUTO_TESTS_f_f.
28455         (sin_test): Use ALL_RM_TEST.
28456         (sin_tonearest_test_data): Remove.
28457         (sin_test_tonearest): Likewise.
28458         (sin_towardzero_test_data): Likewise.
28459         (sin_test_towardzero): Likewise.
28460         (sin_downward_test_data): Likewise.
28461         (sin_test_downward): Likewise.
28462         (sin_upward_test_data): Likewise.
28463         (sin_test_upward): Likewise.
28464         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
28465         (sinh_test_data): Update call to AUTO_TESTS_f_f.
28466         (sinh_test): Use ALL_RM_TEST.
28467         (sinh_tonearest_test_data): Remove.
28468         (sinh_test_tonearest): Likewise.
28469         (sinh_towardzero_test_data): Likewise.
28470         (sinh_test_towardzero): Likewise.
28471         (sinh_downward_test_data): Likewise.
28472         (sinh_test_downward): Likewise.
28473         (sinh_upward_test_data): Likewise.
28474         (sinh_test_upward): Likewise.
28475         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
28476         (sqrt_test): Use ALL_RM_TEST.
28477         (sqrt_tonearest_test_data): Remove.
28478         (sqrt_test_tonearest): Likewise.
28479         (sqrt_towardzero_test_data): Likewise.
28480         (sqrt_test_towardzero): Likewise.
28481         (sqrt_downward_test_data): Likewise.
28482         (sqrt_test_downward): Likewise.
28483         (sqrt_upward_test_data): Likewise.
28484         (sqrt_test_upward): Likewise.
28485         (tan_test_data): Update call to AUTO_TESTS_f_f.
28486         (tan_test): Use ALL_RM_TEST.
28487         (tan_tonearest_test_data): Remove.
28488         (tan_test_tonearest): Likewise.
28489         (tan_towardzero_test_data): Likewise.
28490         (tan_test_towardzero): Likewise.
28491         (tan_downward_test_data): Likewise.
28492         (tan_test_downward): Likewise.
28493         (tan_upward_test_data): Likewise.
28494         (tan_test_upward): Likewise.
28495         (tanh_test_data): Update call to AUTO_TESTS_f_f.
28496         (tgamma_test_data): Likewise.
28497         (y0_test_data): Likewise.
28498         (y1_test_data): Likewise.
28499         (yn_test_data): Update call to AUTO_TESTS_if_f.
28500         (main): Do not call removed functions.
28502 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
28504         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
28505         (ldexp_test_data): Remove.
28506         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
28507         scalbn_test_data.
28508         (scalb_test): Use ALL_RM_TEST.
28510 2014-03-19  Andreas Schwab  <schwab@suse.de>
28512         * nscd/nscd.service: Also invalidate netgroup cache on reload.
28514 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
28516         [BZ #16649]
28517         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28518         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
28519         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
28520         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28521         (__ASSUME_PREADV): Undefine.
28522         (__ASSUME_PWRITEV): Likewise.
28524 2014-03-18  Roland McGrath  <roland@hack.frob.com>
28526         * bits/mman-linux.h: Add comment about non-Linux use.
28527         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
28528         bits/mman-linux.h resting place.
28530         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
28531         * bits/mman-linux.h: ... here.
28533 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28535         * conform/conformtest.pl: Add standard definition when calling C
28536         preprocessor on data files.
28537         (checknamespace): Remove unused variable.
28539 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
28541         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
28542         minus_oflow, plus_uflow and minus_uflow in expected results.
28543         * math/libm-test.inc (scalbn_test_data): Add more tests of
28544         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
28545         minus_uflow.
28546         (scalbn_test): Use ALL_RM_TEST.
28547         (scalbln_test_data): Add more tests of negative arguments.  Use
28548         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
28549         (scalbln_test): Use ALL_RM_TEST.
28551 2014-03-18  Roland McGrath  <roland@hack.frob.com>
28553         * scripts/abilist.awk: Ignore symbols marked with .hidden.
28555 2014-03-18  Will Newton  <will.newton@linaro.org>
28557         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
28558         inaccurate comment.
28560 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
28562         * Makerules [!subdir] (check-abi): Exit with error status if a
28563         test failed.
28565 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
28567         * math/libm-test.inc (nearbyint_test_data): Include all tests used
28568         for rint.  Include results for all rounding modes.
28569         (nearbyint_test): Use ALL_RM_TEST.
28570         (rint_test_data): Include all tests used for nearbyint.
28572 2014-03-17  Will Newton  <will.newton@linaro.org>
28574         * nptl/sysdeps/pthread/pthread.h: Revert previous
28575         change.
28577         * sysdeps/generic/ldsodefs.h: Revert previous
28578         change.
28580         * libio/genops.c: Revert previous change.
28581         * libio/libioP.h: Likewise.
28582         * stdio-common/vfprintf.c: Likewise.
28584         * sysdeps/generic/math_private.h: Revert previous
28585         change.
28587         * sysdeps/generic/math_private.h: Check whether
28588         HAVE_RM_CTX is defined with #ifdef rather
28589         than #if.
28591         * argp/argp-fmtstream.h: Check whether
28592         __STRICT_ANSI__ is defined with #ifdef rather
28593         than #if.
28594         * argp/argp.h: Likewise.
28596         * libio/genops.c: Check whether
28597         _IO_JUMPS_OFFSET is defined with #ifdef rather
28598         than #if.
28599         * libio/libioP.h: Likewise.
28600         * stdio-common/vfprintf.c: Likewise.
28602         * sysdeps/generic/ldsodefs.h: Check whether
28603         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
28604         than #if.
28606         * nptl/sysdeps/pthread/pthread.h: Check
28607         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
28608         its value.
28610 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28612         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
28613         setting O_APPEND.
28614         * libio/tst-ftell-active-handler.c (do_append_test): Add a
28615         test case.
28617         [BZ #16680]
28618         * libio/fileops.c (_IO_file_open): Seek to end of file but
28619         don't cache the offset.
28620         (get_file_offset): Remove function.
28621         (do_ftell): Use cached offset when available.
28622         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
28623         don't cache the offset.
28624         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
28625         case.
28626         (do_one_test): Call it.
28627         (do_ftell_test): Fix up expected old offset for a+ mode.
28628         * libio/wfileops.c (do_ftell_wide): Used cached offset when
28629         available.
28631         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
28632         up test status with function return status.
28633         (do_write_test): Likewise.
28634         (do_append_test): Likewise.
28636         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
28637         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
28638         Remove.
28640 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
28642         * math/gen-libm-test.pl (parse_args): Handle results specified for
28643         each rounding mode separately.
28644         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
28645         tests and results from lrint_tonearest_test_data,
28646         lrint_towardzero_test_data, lrint_downward_test_data and
28647         lrint_upward_test_data.
28648         (lrint_test): Use ALL_RM_TEST.
28649         (lrint_tonearest_test_data): Remove.
28650         (lrint_test_tonearest): Likewise.
28651         (lrint_towardzero_test_data): Likewise.
28652         (lrint_test_towardzero): Likewise.
28653         (lrint_downward_test_data): Likewise.
28654         (lrint_test_downward): Likewise.
28655         (lrint_upward_test_data): Likewise.
28656         (lrint_test_upward): Likewise.
28657         (llrint_test_data): Merge in per-rounding-mode tests and results
28658         from llrint_tonearest_test_data, llrint_towardzero_test_data,
28659         llrint_downward_test_data and llrint_upward_test_data.
28660         (llrint_test): Use ALL_RM_TEST.
28661         (llrint_tonearest_test_data): Remove.
28662         (llrint_test_tonearest): Likewise.
28663         (llrint_towardzero_test_data): Likewise.
28664         (llrint_test_towardzero): Likewise.
28665         (llrint_downward_test_data): Likewise.
28666         (llrint_test_downward): Likewise.
28667         (llrint_upward_test_data): Likewise.
28668         (llrint_test_upward): Likewise.
28669         (rint_test_data): Merge in per-rounding-mode tests and results
28670         from rint_tonearest_test_data, rint_towardzero_test_data,
28671         rint_downward_test_data and rint_upward_test_data.  Add
28672         per-rounding-mode results for tests not in those arrays.
28673         (rint_test): Use ALL_RM_TEST.
28674         (rint_tonearest_test_data): Remove.
28675         (rint_test_tonearest): Likewise.
28676         (rint_towardzero_test_data): Likewise.
28677         (rint_test_towardzero): Likewise.
28678         (rint_downward_test_data): Likewise.
28679         (rint_test_downward): Likewise.
28680         (rint_upward_test_data): Likewise.
28681         (rint_test_upward): Likewise.
28682         (main): Don't call removed functions.
28684 2014-03-14  Roland McGrath  <roland@hack.frob.com>
28686         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
28687         "Compiled on ..." crapola.  It is anti-useful.
28689 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
28691         * scripts/evaluate-test.sh: Handle fourth argument to determine
28692         whether test run should stop on failure.
28693         * Makeconfig (stop-on-test-failure): New variable.
28694         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
28695         $(stop-on-test-failure).
28696         * Makefile (tests): Give a summary of results from testing and
28697         exit with failure status if they include an ERROR or FAIL.
28698         (xtests): Likewise.
28699         * manual/install.texi (Configuring and compiling): Mention
28700         stop-on-test-failure=y.
28701         * INSTALL: Regenerated.
28703 2014-03-14  Roland McGrath  <roland@hack.frob.com>
28705         * scripts/versionlist.awk: New file.
28706         * Makerules [$(build-shared) = yes]
28707         (postclean-generated): Add Versions.def, not Versions.def.v and
28708         Versions.def.v.i.
28709         ($(common-objpfx)Versions.def.v.i): Target removed.
28710         ($(common-objpfx)Versions.def): New target.
28711         ($(common-objpfx)Versions.all): Depend on that rather that
28712         $(common-objpfx)Versions.def.v.
28713         * Versions.def: File removed.
28715         * Makeconfig (+gccwarn): Add -Wundef.
28716         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
28717         a dl-sysdep.h breaking its contract.
28718         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
28719         * include/stackinfo.h: New file.
28720         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
28721         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
28722         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
28723         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
28724         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
28725         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
28726         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28727         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28728         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28729         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28730         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28731         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
28732         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28733         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28734         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28736 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28738         [BZ #16707]
28739         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
28740         implementation.
28741         * math/libm-test.inc (round_test_data): Add more tests.
28743         [BZ #16706]
28744         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
28745         implementation.
28746         * math/libm-test.inc (nearbyint_test_data): Add more tests.
28748         [BZ #16701]
28749         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
28750         implementation.
28751         * math/libm-test.inc (ceil_test_data): Add more tests.
28753         * math/libm-test.inc (trunc_test_data): Add more tests related to
28754         BZ#16414.
28756 2014-03-14  Roland McGrath  <roland@hack.frob.com>
28758         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
28759         with #if rather than #ifdef.
28760         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
28762 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
28764         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
28765         first.  Disable AVX-512 GCC support if assembler doesn't support
28766         it.
28767         * sysdeps/x86_64/configure: Regenerated.
28769 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
28771         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
28772         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
28773         (__old_pthread_attr_setstack): Likewise.
28774         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
28775         [!_STACK_GROWS_DOWN]: Likewise.
28777 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
28779         * config.make.in (have-bash2): Delete.
28780         * configure.ac (libc_cv_have_bash2): Delete.
28781         * configure: Regenerate.
28782         * elf/Makefile (common-ldd-rewrite): Rename to ...
28783         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
28784         (sh-ldd-rewrite): Delete.
28785         (bash-ldd-rewrite): Delete.
28786         (have-bash2): Delete checks.
28787         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
28788         ldd-rewrite.
28790         * config.make.in (have-ksh): Delete.
28791         (KSH): Delete.
28792         * configure.ac (libc_cv_have_ksh): Delete.
28793         * configure: Regenerate.
28795         * elf/Makefile: Delete $(have-ksh) check.
28796         ($(objpfx)sotruss): Change KSH to BASH.
28797         * elf/sotruss.ksh: Rename to ...
28798         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
28799         function style to match POSIX.  Drop ksh vim mode setting.
28801         * manual/time.texi (Specifying the Time Zone with TZ): Change
28802         Tuesday to Thursday.
28804         * debug/tst-longjmp_chk2.c: Update header comment.
28805         (stackoverflow_handler): Add comment.  Call assert on pass value.
28807 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
28809         [BZ #16194]
28810         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
28811         (HAVE_AVX512_ASM_SUPPORT): Likewise.
28812         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
28813         (La_x86_64_vector): Add zmm.
28814         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
28815         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
28816         ($(objpfx)tst-audit10): New target.
28817         ($(objpfx)tst-audit10.out): Likewise.
28818         (tst-audit10-ENV): New.
28819         (AVX512-CFLAGS): Likewise.
28820         (CFLAGS-tst-audit10.c): Likewise.
28821         (CFLAGS-tst-auditmod10a.c): Likewise.
28822         (CFLAGS-tst-auditmod10b.c): Likewise.
28823         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
28824         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
28825         * sysdeps/x86_64/configure: Regenerated.
28826         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
28827         AVX-512 zmm register support.
28828         (_dl_x86_64_save_sse): Likewise.
28829         (_dl_x86_64_restore_sse): Likewise.
28830         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
28831         size vector registers.
28832         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
28833         (ZMM_SIZE): Likewise.
28834         * sysdeps/x86_64/tst-audit10.c: New file.
28835         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
28836         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
28838 2014-03-13  Roland McGrath  <roland@hack.frob.com>
28840         * configure.ac (HAVE_EHDR_START): New check.
28841         * configure: Regenerated.
28842         * config.h.in (HAVE_EHDR_START): New #undef.
28843         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
28844         assuming the lowest-addressed segment maps the start of the file.
28846 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
28848         * INSTALL: Regenerated.
28850 2014-03-13  Will Newton  <will.newton@linaro.org>
28852         * manual/setjmp.texi (System V contexts): Improve
28853         clarity and grammar of documentation.
28855 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
28857         [BZ #16381]
28858         * elf/Makefile (tests): Add tst-pie2.
28859         (tests-pie): Add tst-pie2.
28860         * elf/tst-pie2.c: New file.
28861         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
28862         for ET_EXEC.
28863         * elf/rtld.c (map_doit): Load executable as lt_executable.
28864         (dl_main): Likewise.
28866 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
28868         [BZ #16642]
28869         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28870         (__ASSUME_PSELECT): Undefine.
28872 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28874         [BZ #16689]
28875         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
28876         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
28877         static build.
28878         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
28879         selector for static builds.
28881 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28883         [BZ #16695]
28884         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
28885         key in the buffer.
28887 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28889         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
28890         IFUNC selector for static builds.
28892 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
28894         * sysdeps/mips/math_private.h [__mips_hard_float]
28895         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
28896         libc_feresetround_mips_ctx.
28897         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
28898         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
28899         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
28901         [BZ #16677]
28902         * math/s_nextafter.c (__nextafter): Do not return value from
28903         overflowing computation.
28904         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
28905         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
28906         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
28907         Likewise.
28908         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
28909         Likewise.
28910         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
28911         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
28913 2014-03-11  Roland McGrath  <roland@hack.frob.com>
28915         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
28916         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
28917         Move sfi_sp use from the load-multiple (that no longer sets sp) to
28918         the new mov targetting sp.
28920 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28922         [BZ #16683]
28923         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
28924         Define it for static builds as well.
28925         (NO_BZERO_IMPL): Likewise.
28927 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28929         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
28930         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
28931         multiarch strspn for PPC64.
28932         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
28933         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
28934         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28935         (__libc_ifunc_impl_list): Likewise.
28936         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
28937         multiarch optimizations
28938         * string/strspn.c (strspn): Using macro to redefine symbol name.
28940 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28941             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28943         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
28944         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
28945         multiarch strncat for PPC64.
28946         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
28947         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
28948         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28949         (__libc_ifunc_impl_list): Likewise.
28950         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
28951         multiarch optimizations
28953 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28955         [BZ #16639]
28956         * nscd/nscd.service: Make service type forking.
28958 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28960         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
28961         sign in non default rounding modes.
28962         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
28964 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
28966         * math/libm-test.inc (ALL_RM_TEST): New macro.
28967         (ceil_test): Use ALL_RM_TEST.
28968         (cimag_test): Likewise.
28969         (conj_test): Likewise.
28970         (copysign_test): Likewise.
28971         (cproj_test): Likewise.
28972         (creal_test): Likewise.
28973         (fabs_test): Likewise.
28974         (floor_test): Likewise.
28975         (fmax_test): Likewise.
28976         (fmin_test): Likewise.
28977         (fmod_test): Likewise.
28978         (fpclassify_test): Likewise.
28979         (frexp_test): Likewise.
28980         (ilogb_test): Likewise.
28981         (isfinite_test): Likewise.
28982         (finite_test): Likewise.
28983         (isgreater_test): Likewise.
28984         (isgreaterequal_test): Likewise.
28985         (isinf_test): Likewise.
28986         (isless_test): Likewise.
28987         (islessequal_test): Likewise.
28988         (islessgreater_test): Likewise.
28989         (isnan_test): Likewise.
28990         (isnormal_test): Likewise.
28991         (issignaling_test): Likewise.
28992         (isunordered_test): Likewise.
28993         (logb_test): Likewise.
28994         (logb_downward_test_data): Remove.
28995         (logb_test_downward): Likewise.
28996         (lround_test): Use ALL_RM_TEST.
28997         (llround_test): Likewise.
28998         (modf_test): Likewise.
28999         (nexttoward_test): Likewise.
29000         (remainder_test): Likewise.
29001         (drem_test): Likewise.
29002         (remainder_tonearest_test_data): Likewise.
29003         (remainder_test_tonearest): Likewise.
29004         (drem_test_tonearest): Likewise.
29005         (remainder_towardzero_test_data): Likewise.
29006         (remainder_test_towardzero): Likewise.
29007         (drem_test_towardzero): Likewise.
29008         (remainder_downward_test_data): Likewise.
29009         (remainder_test_downward): Likewise.
29010         (drem_test_downward): Likewise.
29011         (remainder_upward_test_data): Likewise.
29012         (remainder_test_upward): Likewise.
29013         (drem_test_upward): Likewise.
29014         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
29015         (round_test): Use ALL_RM_TEST.
29016         (signbit_test): Likewise.
29017         (trunc_test): Likewise.
29018         (significand_test): Likewise.
29019         (main): Don't call removed functions.
29021 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
29023         [BZ #16674]
29024         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
29025         || __USE_XOPEN2K8].
29026         (ILL_ILLOPN): Likewise.
29027         (ILL_ILLADR): Likewise.
29028         (ILL_ILLTRP): Likewise.
29029         (ILL_PRVOPC): Likewise.
29030         (ILL_PRVREG): Likewise.
29031         (ILL_COPROC): Likewise.
29032         (ILL_BADSTK): Likewise.
29033         (FPE_INTDIV): Likewise.
29034         (FPE_INTOVF): Likewise.
29035         (FPE_FLTDIV): Likewise.
29036         (FPE_FLTOVF): Likewise.
29037         (FPE_FLTUND): Likewise.
29038         (FPE_FLTRES): Likewise.
29039         (FPE_FLTINV): Likewise.
29040         (FPE_FLTSUB): Likewise.
29041         (SEGV_MAPERR): Likewise.
29042         (SEGV_ACCERR): Likewise.
29043         (BUS_ADRALN): Likewise.
29044         (BUS_ADRERR): Likewise.
29045         (BUS_OBJERR): Likewise.
29046         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29047         (TRAP_TRACE): Likewise.
29048         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29049         __USE_XOPEN2K8].
29050         (CLD_KILLED): Likewise.
29051         (CLD_DUMPED): Likewise.
29052         (CLD_TRAPPED): Likewise.
29053         (CLD_STOPPED): Likewise.
29054         (CLD_CONTINUED): Likewise.
29055         (POLL_IN): Likewise.
29056         (POLL_OUT): Likewise.
29057         (POLL_MSG): Likewise.
29058         (POLL_ERR): Likewise.
29059         (POLL_PRI): Likewise.
29060         (POLL_HUP): Likewise.
29061         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
29062         Likewise.
29063         (ILL_ILLOPN): Likewise.
29064         (ILL_ILLADR): Likewise.
29065         (ILL_ILLTRP): Likewise.
29066         (ILL_PRVOPC): Likewise.
29067         (ILL_PRVREG): Likewise.
29068         (ILL_COPROC): Likewise.
29069         (ILL_BADSTK): Likewise.
29070         (FPE_INTDIV): Likewise.
29071         (FPE_INTOVF): Likewise.
29072         (FPE_FLTDIV): Likewise.
29073         (FPE_FLTOVF): Likewise.
29074         (FPE_FLTUND): Likewise.
29075         (FPE_FLTRES): Likewise.
29076         (FPE_FLTINV): Likewise.
29077         (FPE_FLTSUB): Likewise.
29078         (SEGV_MAPERR): Likewise.
29079         (SEGV_ACCERR): Likewise.
29080         (BUS_ADRALN): Likewise.
29081         (BUS_ADRERR): Likewise.
29082         (BUS_OBJERR): Likewise.
29083         (BUS_MCEERR_AR): Likewise.
29084         (BUS_MCEERR_AO): Likewise.
29085         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29086         (TRAP_TRACE): Likewise.
29087         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29088         __USE_XOPEN2K8].
29089         (CLD_KILLED): Likewise.
29090         (CLD_DUMPED): Likewise.
29091         (CLD_TRAPPED): Likewise.
29092         (CLD_STOPPED): Likewise.
29093         (CLD_CONTINUED): Likewise.
29094         (POLL_IN): Likewise.
29095         (POLL_OUT): Likewise.
29096         (POLL_MSG): Likewise.
29097         (POLL_ERR): Likewise.
29098         (POLL_PRI): Likewise.
29099         (POLL_HUP): Likewise.
29100         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
29101         (ILL_ILLOPN): Likewise.
29102         (ILL_ILLADR): Likewise.
29103         (ILL_ILLTRP): Likewise.
29104         (ILL_PRVOPC): Likewise.
29105         (ILL_PRVREG): Likewise.
29106         (ILL_COPROC): Likewise.
29107         (ILL_BADSTK): Likewise.
29108         (FPE_INTDIV): Likewise.
29109         (FPE_INTOVF): Likewise.
29110         (FPE_FLTDIV): Likewise.
29111         (FPE_FLTOVF): Likewise.
29112         (FPE_FLTUND): Likewise.
29113         (FPE_FLTRES): Likewise.
29114         (FPE_FLTINV): Likewise.
29115         (FPE_FLTSUB): Likewise.
29116         (SEGV_MAPERR): Likewise.
29117         (SEGV_ACCERR): Likewise.
29118         (BUS_ADRALN): Likewise.
29119         (BUS_ADRERR): Likewise.
29120         (BUS_OBJERR): Likewise.
29121         (BUS_MCEERR_AR): Likewise.
29122         (BUS_MCEERR_AO): Likewise.
29123         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29124         (TRAP_TRACE): Likewise.
29125         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29126         __USE_XOPEN2K8].
29127         (CLD_KILLED): Likewise.
29128         (CLD_DUMPED): Likewise.
29129         (CLD_TRAPPED): Likewise.
29130         (CLD_STOPPED): Likewise.
29131         (CLD_CONTINUED): Likewise.
29132         (POLL_IN): Likewise.
29133         (POLL_OUT): Likewise.
29134         (POLL_MSG): Likewise.
29135         (POLL_ERR): Likewise.
29136         (POLL_PRI): Likewise.
29137         (POLL_HUP): Likewise.
29138         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
29139         Likewise.
29140         (ILL_ILLOPN): Likewise.
29141         (ILL_ILLADR): Likewise.
29142         (ILL_ILLTRP): Likewise.
29143         (ILL_PRVOPC): Likewise.
29144         (ILL_PRVREG): Likewise.
29145         (ILL_COPROC): Likewise.
29146         (ILL_BADSTK): Likewise.
29147         (ILL_BADIADDR): Likewise.
29148         (ILL_BREAK): Likewise.
29149         (FPE_INTDIV): Likewise.
29150         (FPE_INTOVF): Likewise.
29151         (FPE_FLTDIV): Likewise.
29152         (FPE_FLTOVF): Likewise.
29153         (FPE_FLTUND): Likewise.
29154         (FPE_FLTRES): Likewise.
29155         (FPE_FLTINV): Likewise.
29156         (FPE_FLTSUB): Likewise.
29157         (FPE_DECOVF): Likewise.
29158         (FPE_DECDIV): Likewise.
29159         (FPE_DECERR): Likewise.
29160         (FPE_INVASC): Likewise.
29161         (FPE_INVDEC): Likewise.
29162         (SEGV_MAPERR): Likewise.
29163         (SEGV_ACCERR): Likewise.
29164         (SEGV_PSTKOVF): Likewise.
29165         (BUS_ADRALN): Likewise.
29166         (BUS_ADRERR): Likewise.
29167         (BUS_OBJERR): Likewise.
29168         (BUS_MCEERR_AR): Likewise.
29169         (BUS_MCEERR_AO): Likewise.
29170         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29171         (TRAP_TRACE): Likewise.
29172         (TRAP_BRANCH): Likewise.
29173         (TRAP_HWBKPT): Likewise.
29174         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29175         __USE_XOPEN2K8].
29176         (CLD_KILLED): Likewise.
29177         (CLD_DUMPED): Likewise.
29178         (CLD_TRAPPED): Likewise.
29179         (CLD_STOPPED): Likewise.
29180         (CLD_CONTINUED): Likewise.
29181         (POLL_IN): Likewise.
29182         (POLL_OUT): Likewise.
29183         (POLL_MSG): Likewise.
29184         (POLL_ERR): Likewise.
29185         (POLL_PRI): Likewise.
29186         (POLL_HUP): Likewise.
29187         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
29188         (ILL_ILLOPN): Likewise.
29189         (ILL_ILLADR): Likewise.
29190         (ILL_ILLTRP): Likewise.
29191         (ILL_PRVOPC): Likewise.
29192         (ILL_PRVREG): Likewise.
29193         (ILL_COPROC): Likewise.
29194         (ILL_BADSTK): Likewise.
29195         (FPE_INTDIV): Likewise.
29196         (FPE_INTOVF): Likewise.
29197         (FPE_FLTDIV): Likewise.
29198         (FPE_FLTOVF): Likewise.
29199         (FPE_FLTUND): Likewise.
29200         (FPE_FLTRES): Likewise.
29201         (FPE_FLTINV): Likewise.
29202         (FPE_FLTSUB): Likewise.
29203         (SEGV_MAPERR): Likewise.
29204         (SEGV_ACCERR): Likewise.
29205         (BUS_ADRALN): Likewise.
29206         (BUS_ADRERR): Likewise.
29207         (BUS_OBJERR): Likewise.
29208         (BUS_MCEERR_AR): Likewise.
29209         (BUS_MCEERR_AO): Likewise.
29210         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29211         (TRAP_TRACE): Likewise.
29212         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29213         __USE_XOPEN2K8].
29214         (CLD_KILLED): Likewise.
29215         (CLD_DUMPED): Likewise.
29216         (CLD_TRAPPED): Likewise.
29217         (CLD_STOPPED): Likewise.
29218         (CLD_CONTINUED): Likewise.
29219         (POLL_IN): Likewise.
29220         (POLL_OUT): Likewise.
29221         (POLL_MSG): Likewise.
29222         (POLL_ERR): Likewise.
29223         (POLL_PRI): Likewise.
29224         (POLL_HUP): Likewise.
29225         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
29226         (ILL_ILLOPN): Likewise.
29227         (ILL_ILLADR): Likewise.
29228         (ILL_ILLTRP): Likewise.
29229         (ILL_PRVOPC): Likewise.
29230         (ILL_PRVREG): Likewise.
29231         (ILL_COPROC): Likewise.
29232         (ILL_BADSTK): Likewise.
29233         (FPE_INTDIV): Likewise.
29234         (FPE_INTOVF): Likewise.
29235         (FPE_FLTDIV): Likewise.
29236         (FPE_FLTOVF): Likewise.
29237         (FPE_FLTUND): Likewise.
29238         (FPE_FLTRES): Likewise.
29239         (FPE_FLTINV): Likewise.
29240         (FPE_FLTSUB): Likewise.
29241         (SEGV_MAPERR): Likewise.
29242         (SEGV_ACCERR): Likewise.
29243         (BUS_ADRALN): Likewise.
29244         (BUS_ADRERR): Likewise.
29245         (BUS_OBJERR): Likewise.
29246         (BUS_MCEERR_AR): Likewise.
29247         (BUS_MCEERR_AO): Likewise.
29248         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29249         (TRAP_TRACE): Likewise.
29250         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29251         __USE_XOPEN2K8].
29252         (CLD_KILLED): Likewise.
29253         (CLD_DUMPED): Likewise.
29254         (CLD_TRAPPED): Likewise.
29255         (CLD_STOPPED): Likewise.
29256         (CLD_CONTINUED): Likewise.
29257         (POLL_IN): Likewise.
29258         (POLL_OUT): Likewise.
29259         (POLL_MSG): Likewise.
29260         (POLL_ERR): Likewise.
29261         (POLL_PRI): Likewise.
29262         (POLL_HUP): Likewise.
29263         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
29264         (ILL_ILLOPN): Likewise.
29265         (ILL_ILLADR): Likewise.
29266         (ILL_ILLTRP): Likewise.
29267         (ILL_PRVOPC): Likewise.
29268         (ILL_PRVREG): Likewise.
29269         (ILL_COPROC): Likewise.
29270         (ILL_BADSTK): Likewise.
29271         (FPE_INTDIV): Likewise.
29272         (FPE_INTOVF): Likewise.
29273         (FPE_FLTDIV): Likewise.
29274         (FPE_FLTOVF): Likewise.
29275         (FPE_FLTUND): Likewise.
29276         (FPE_FLTRES): Likewise.
29277         (FPE_FLTINV): Likewise.
29278         (FPE_FLTSUB): Likewise.
29279         (SEGV_MAPERR): Likewise.
29280         (SEGV_ACCERR): Likewise.
29281         (BUS_ADRALN): Likewise.
29282         (BUS_ADRERR): Likewise.
29283         (BUS_OBJERR): Likewise.
29284         (BUS_MCEERR_AR): Likewise.
29285         (BUS_MCEERR_AO): Likewise.
29286         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29287         (TRAP_TRACE): Likewise.
29288         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29289         __USE_XOPEN2K8].
29290         (CLD_KILLED): Likewise.
29291         (CLD_DUMPED): Likewise.
29292         (CLD_TRAPPED): Likewise.
29293         (CLD_STOPPED): Likewise.
29294         (CLD_CONTINUED): Likewise.
29295         (POLL_IN): Likewise.
29296         (POLL_OUT): Likewise.
29297         (POLL_MSG): Likewise.
29298         (POLL_ERR): Likewise.
29299         (POLL_PRI): Likewise.
29300         (POLL_HUP): Likewise.
29301         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
29302         (ILL_ILLOPN): Likewise.
29303         (ILL_ILLADR): Likewise.
29304         (ILL_ILLTRP): Likewise.
29305         (ILL_PRVOPC): Likewise.
29306         (ILL_PRVREG): Likewise.
29307         (ILL_COPROC): Likewise.
29308         (ILL_BADSTK): Likewise.
29309         (ILL_DBLFLT): Likewise.
29310         (ILL_HARDWALL): Likewise.
29311         (FPE_INTDIV): Likewise.
29312         (FPE_INTOVF): Likewise.
29313         (FPE_FLTDIV): Likewise.
29314         (FPE_FLTOVF): Likewise.
29315         (FPE_FLTUND): Likewise.
29316         (FPE_FLTRES): Likewise.
29317         (FPE_FLTINV): Likewise.
29318         (FPE_FLTSUB): Likewise.
29319         (SEGV_MAPERR): Likewise.
29320         (SEGV_ACCERR): Likewise.
29321         (BUS_ADRALN): Likewise.
29322         (BUS_ADRERR): Likewise.
29323         (BUS_OBJERR): Likewise.
29324         (BUS_MCEERR_AR): Likewise.
29325         (BUS_MCEERR_AO): Likewise.
29326         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29327         (TRAP_TRACE): Likewise.
29328         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29329         __USE_XOPEN2K8].
29330         (CLD_KILLED): Likewise.
29331         (CLD_DUMPED): Likewise.
29332         (CLD_TRAPPED): Likewise.
29333         (CLD_STOPPED): Likewise.
29334         (CLD_CONTINUED): Likewise.
29335         (POLL_IN): Likewise.
29336         (POLL_OUT): Likewise.
29337         (POLL_MSG): Likewise.
29338         (POLL_ERR): Likewise.
29339         (POLL_PRI): Likewise.
29340         (POLL_HUP): Likewise.
29341         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
29342         (ILL_ILLOPN): Likewise.
29343         (ILL_ILLADR): Likewise.
29344         (ILL_ILLTRP): Likewise.
29345         (ILL_PRVOPC): Likewise.
29346         (ILL_PRVREG): Likewise.
29347         (ILL_COPROC): Likewise.
29348         (ILL_BADSTK): Likewise.
29349         (FPE_INTDIV): Likewise.
29350         (FPE_INTOVF): Likewise.
29351         (FPE_FLTDIV): Likewise.
29352         (FPE_FLTOVF): Likewise.
29353         (FPE_FLTUND): Likewise.
29354         (FPE_FLTRES): Likewise.
29355         (FPE_FLTINV): Likewise.
29356         (FPE_FLTSUB): Likewise.
29357         (SEGV_MAPERR): Likewise.
29358         (SEGV_ACCERR): Likewise.
29359         (BUS_ADRALN): Likewise.
29360         (BUS_ADRERR): Likewise.
29361         (BUS_OBJERR): Likewise.
29362         (BUS_MCEERR_AR): Likewise.
29363         (BUS_MCEERR_AO): Likewise.
29364         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29365         (TRAP_TRACE): Likewise.
29366         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29367         __USE_XOPEN2K8].
29368         (CLD_KILLED): Likewise.
29369         (CLD_DUMPED): Likewise.
29370         (CLD_TRAPPED): Likewise.
29371         (CLD_STOPPED): Likewise.
29372         (CLD_CONTINUED): Likewise.
29373         (POLL_IN): Likewise.
29374         (POLL_OUT): Likewise.
29375         (POLL_MSG): Likewise.
29376         (POLL_ERR): Likewise.
29377         (POLL_PRI): Likewise.
29378         (POLL_HUP): Likewise.
29379         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
29380         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
29382         [BZ #16670]
29383         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
29384         before #include of <time.h>.
29385         [!__USE_XOPEN2K] (__need_timespec): Likewise.
29386         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
29387         (test-xfail-UNIX98/sched.h/conform): Likewise.
29389 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
29391         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
29392         error absence of trapping exception support.
29393         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
29395 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
29397         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
29398         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
29399         * timezone/Makefile (testdata): Move definition above include of
29400         Rules.
29401         (test-zones): New variable.
29402         (tests-special): Add zone files.
29403         (build-testdata): Use $(evaluate-test).
29405         * elf/Makefile (tests-special): Rename tests to end with .out.
29406         ($(objpfx)noload-mem): Likewise.
29407         ($(objpfx)tst-leaks1-mem): Likewise.
29408         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
29409         * iconv/Makefile (xtests-special): Change test-iconvconfig to
29410         $(objpfx)test-iconvconfig.out.
29411         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
29412         set -e inside subshell and redirect output to file.
29413         * iconvdata/Makefile (generated): Rename tests to end with .out.
29414         Correct type.
29415         (tests-special): Rename tests to end with .out.
29416         ($(objpfx)mtrace-tst-loading): Likewise.
29417         * intl/Makefile (generated): Likewise.
29418         (tests-special): Likewise.
29419         ($(objpfx)mtrace-tst-gettext): Likewise.
29420         * misc/Makefile (generated): Likewise.
29421         (tests-special): Likewise.
29422         ($(objpfx)tst-error1-mem): Likewise.
29423         * nptl/Makefile (tests-special): Likewise.
29424         ($(objpfx)tst-stack3-mem): Likewise.
29425         (generated): Likewise.
29426         * posix/Makefile (generated): Likewise.
29427         (tests-special): Likewise.
29428         (xtests-special): Likewise.
29429         ($(objpfx)tst-fnmatch-mem): Likewise.
29430         ($(objpfx)bug-regex2-mem): Likewise.
29431         ($(objpfx)bug-regex14-mem): Likewise.
29432         ($(objpfx)bug-regex21-mem): Likewise.
29433         ($(objpfx)bug-regex31-mem): Likewise.
29434         ($(objpfx)tst-vfork3-mem): Likewise.
29435         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
29436         ($(objpfx)tst-pcre-mem): Likewise.
29437         ($(objpfx)tst-boost-mem): Likewise.
29438         ($(objpfx)bug-ga2-mem): Likewise.
29439         ($(objpfx)bug-glob2-mem): Likewise.
29440         * resolv/Makefile (generate): Likewise.
29441         (tests-special): Likewise.
29442         (xtests-special): Likewise.
29443         (generated): Likewise.
29444         ($(objpfx)mtrace-tst-leaks): Likewise.
29445         ($(objpfx)mtrace-tst-leaks2): Likewise.
29447         * scripts/merge-test-results.sh: New file.
29448         * Makefile (tests-special-notdir): New variable.
29449         (tests): Run merge-test-results.sh.
29450         (xtests): Likewise.
29451         * Rules (tests-special-notdir): New variable.
29452         (xtests-special-notdir): Likewise.
29453         (tests): Run merge-test-results.sh
29454         (xtests): Likewise.
29456         * Makeconfig (test-xfail-name): New variable.
29457         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
29458         compute variable name for expected failures.
29459         * conform/Makefile (conformtest-headers-data): New variable.
29460         (conformtest-standards): Likewise.
29461         (conformtest-headers-ISO): Likewise.
29462         (conformtest-headers-ISO99): Likewise.
29463         (conformtest-headers-ISO11): Likewise.
29464         (conformtest-headers-POSIX): Likewise.
29465         (conformtest-headers-XPG3): Likewise.
29466         (conformtest-headers-XPG4): Likewise.
29467         (conformtest-headers-UNIX98): Likewise.
29468         (conformtest-headers-XOPEN2K): Likewise.
29469         (conformtest-headers-POSIX2008): Likewise.
29470         (conformtest-headers-XOPEN2K8): Likewise.
29471         (conformtest-header-list-base): Likewise.
29472         (conformtest-header-list-tests): Likewise.
29473         (conformtest-header-base): Likewise.
29474         (conformtest-header-tests): Likewise.
29475         (tests-special): Add $(conformtest-header-list-tests).  If
29476         [$(fast-check) && !$(cross-compiling)], add
29477         $(conformtest-header-tests) instead of
29478         $(objpfx)run-conformtest.out.
29479         (generated): Add $(conformtest-header-list-base).  If
29480         [$(fast-check) && !$(cross-compiling)], add
29481         $(conformtest-header-base).  Remove previous setting.
29482         ($(conformtest-header-list-tests)): New target.
29483         (test-xfail-run-conformtest): Remove variable.
29484         ($(objpfx)run-conformtest.out): Remove target.
29485         (test-xfail-ISO11/complex.h/conform): New variable.
29486         (test-xfail-ISO11/stdalign.h/conform): Likewise.
29487         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
29488         (test-xfail-XPG3/varargs.h/conform): Likewise.
29489         (test-xfail-XPG4/varargs.h/conform): Likewise.
29490         (test-xfail-UNIX98/varargs.h/conform): Likewise.
29491         (test-xfail-XPG4/ndbm.h/conform): Likewise.
29492         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
29493         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
29494         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
29495         (test-xfail-XPG3/fcntl.h/conform): Likewise.
29496         (test-xfail-XPG3/ftw.h/conform): Likewise.
29497         (test-xfail-XPG3/grp.h/conform): Likewise.
29498         (test-xfail-XPG3/langinfo.h/conform): Likewise.
29499         (test-xfail-XPG3/limits.h/conform): Likewise.
29500         (test-xfail-XPG3/pwd.h/conform): Likewise.
29501         (test-xfail-XPG3/search.h/conform): Likewise.
29502         (test-xfail-XPG3/signal.h/conform): Likewise.
29503         (test-xfail-XPG3/stdio.h/conform): Likewise.
29504         (test-xfail-XPG3/stdlib.h/conform): Likewise.
29505         (test-xfail-XPG3/string.h/conform): Likewise.
29506         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
29507         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
29508         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
29509         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
29510         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
29511         (test-xfail-XPG3/sys/types.h/conform): Likewise.
29512         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
29513         (test-xfail-XPG3/termios.h/conform): Likewise.
29514         (test-xfail-XPG3/time.h/conform): Likewise.
29515         (test-xfail-XPG3/unistd.h/conform): Likewise.
29516         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
29517         (test-xfail-XPG4/fcntl.h/conform): Likewise.
29518         (test-xfail-XPG4/langinfo.h/conform): Likewise.
29519         (test-xfail-XPG4/netdb.h/conform): Likewise.
29520         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
29521         (test-xfail-XPG4/signal.h/conform): Likewise.
29522         (test-xfail-XPG4/stdio.h/conform): Likewise.
29523         (test-xfail-XPG4/stdlib.h/conform): Likewise.
29524         (test-xfail-XPG4/stropts.h/conform): Likewise.
29525         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
29526         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
29527         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
29528         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
29529         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
29530         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
29531         (test-xfail-XPG4/sys/time.h/conform): Likewise.
29532         (test-xfail-XPG4/sys/types.h/conform): Likewise.
29533         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
29534         (test-xfail-XPG4/termios.h/conform): Likewise.
29535         (test-xfail-XPG4/ucontext.h/conform): Likewise.
29536         (test-xfail-XPG4/unistd.h/conform): Likewise.
29537         (test-xfail-XPG4/utmpx.h/conform): Likewise.
29538         (test-xfail-POSIX/sched.h/conform): Likewise.
29539         (test-xfail-POSIX/signal.h/conform): Likewise.
29540         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
29541         (test-xfail-POSIX/tar.h/conform): Likewise.
29542         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
29543         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
29544         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
29545         (test-xfail-UNIX98/netdb.h/conform): Likewise.
29546         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
29547         (test-xfail-UNIX98/sched.h/conform): Likewise.
29548         (test-xfail-UNIX98/signal.h/conform): Likewise.
29549         (test-xfail-UNIX98/stdio.h/conform): Likewise.
29550         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
29551         (test-xfail-UNIX98/stropts.h/conform): Likewise.
29552         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
29553         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
29554         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
29555         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
29556         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
29557         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
29558         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
29559         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
29560         (test-xfail-UNIX98/unistd.h/conform): Likewise.
29561         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
29562         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
29563         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
29564         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
29565         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
29566         (test-xfail-XOPEN2K/math.h/conform): Likewise.
29567         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
29568         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
29569         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
29570         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
29571         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
29572         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
29573         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
29574         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
29575         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
29576         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
29577         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
29578         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
29579         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
29580         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
29581         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
29582         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
29583         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
29584         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
29585         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
29586         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
29587         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
29588         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
29589         (test-xfail-POSIX2008/signal.h/conform): Likewise.
29590         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
29591         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
29592         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
29593         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
29594         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
29595         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
29596         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
29597         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
29598         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
29599         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
29600         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
29601         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
29602         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
29603         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
29604         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
29605         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
29606         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
29607         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
29608         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
29609         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
29610         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
29611         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
29612         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
29613         (conformtest-cc-flags): Likewise.
29614         ($(conformtest-header-tests): New target.
29615         * conform/check-header-lists.sh: New file.
29616         * conform/run-conformtest.sh: Remove.
29618         * conform/conformtest.pl: Allow ' and \ in values given for
29619         constants.
29620         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
29621         inclusion.
29622         [POSIX] (sys/types.h): Likewise.
29623         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
29624         inclusion.
29625         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
29626         inclusion.
29627         * conform/data/signal.h-data (SIGIO): Remove expectation.
29628         [XPG3] (SIGBUS): Do not expect.
29629         [POSIX || XPG3] (SIGPOLL): Likewise.
29630         [POSIX || XPG3] (SIGPROF): Likewise.
29631         [POSIX || XPG3] (SIGSYS): Likewise.
29632         [XPG3] (SIGTRAP): Likewise.
29633         [POSIX || XPG3] (SIGURG): Likewise.
29634         [POSIX || XPG3] (SIGVTALRM): Likewise.
29635         [POSIX || XPG3] (SIGXCPU): Likewise.
29636         [POSIX || XPG3] (SIGXFSZ): Likewise.
29637         [POSIX] (SA_SIGINFO): Expect.
29638         [XPG3] (siginfo_t): Do not expect type or contents.
29639         [POSIX] (si_pid): Do not expect element.
29640         [POSIX] (si_uid): Likewise.
29641         [POSIX] (si_addr): Likewise.
29642         [POSIX] (si_status): Likewise.
29643         [POSIX] (si_band): Likewise.
29644         [XPG4] (si_value): Likewise.
29645         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
29646         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
29647         [POSIX || XPG3] (ILL_ILLADR): Likewise.
29648         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
29649         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
29650         [POSIX || XPG3] (ILL_PRVREG): Likewise.
29651         [POSIX || XPG3] (ILL_COPROC): Likewise.
29652         [POSIX || XPG3] (ILL_BADSTK): Likewise.
29653         [POSIX || XPG3] (FPE_INTDIV): Likewise.
29654         [POSIX || XPG3] (FPE_INTOVF): Likewise.
29655         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
29656         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
29657         [POSIX || XPG3] (FPE_FLTUND): Likewise.
29658         [POSIX || XPG3] (FPE_FLTRES): Likewise.
29659         [POSIX || XPG3] (FPE_FLTINV): Likewise.
29660         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
29661         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
29662         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
29663         [POSIX || XPG3] (BUS_ADRALN): Likewise.
29664         [POSIX || XPG3] (BUS_ADRERR): Likewise.
29665         [POSIX || XPG3] (BUS_OBJERR): Likewise.
29666         [POSIX || XPG3] (CLD_EXITED): Likewise.
29667         [POSIX || XPG3] (CLD_KILLED): Likewise.
29668         [POSIX || XPG3] (CLD_DUMPED): Likewise.
29669         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
29670         [POSIX || XPG3] (CLD_STOPPED): Likewise.
29671         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
29672         [POSIX || XPG3] (POLL_IN): Likewise.
29673         [POSIX || XPG3] (POLL_OUT): Likewise.
29674         [POSIX || XPG3] (POLL_MSG): Likewise.
29675         [POSIX || XPG3] (POLL_ERR): Likewise.
29676         [POSIX || XPG3] (POLL_PRI): Likewise.
29677         [POSIX || XPG3] (POLL_HUP): Likewise.
29678         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
29679         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
29680         (SIG*): Do not allow.
29681         [XPG3] (si_*): Likewise.
29682         [XPG3] (SI_*): Likewise.
29683         [XPG3 || XPG4] (sigev_*): Likewise.
29684         [XPG3 || XPG4] (SIGEV_*): Likewise.
29685         [XPG3 || XPG4] (sival_*): Likewise.
29686         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
29687         [POSIX || XPG3] (BUS_*): Likewise.
29688         [POSIX || XPG3] (CLD_*): Likewise.
29689         [POSIX || XPG3] (FPE_*): Likewise.
29690         [POSIX || XPG3] (ILL_*): Likewise.
29691         [POSIX || XPG3] (POLL_*): Likewise.
29692         [POSIX || XPG3] (SEGV_*): Likewise.
29693         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
29694         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
29695         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
29696         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
29697         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
29698         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
29699         Specify type and value.
29700         (TVERSLEN): Likewise.
29701         (REGTYPE): Likewise.
29702         (AREGTYPE): Likewise.
29703         (LNKTYPE): Likewise.
29704         (SYMTYPE): Likewise.
29705         (CHRTYPE): Likewise.
29706         (BLKTYPE): Likewise.
29707         (DIRTYPE): Likewise.
29708         (FIFOTYPE): Likewise.
29709         (CONTTYPE): Likewise.
29710         (TSUID): Likewise.
29711         (TSGID): Likewise.
29712         (TSVTX): Likewise.
29713         (TUREAD): Likewise.
29714         (TUWRITE): Likewise.
29715         (TUEXEC): Likewise.
29716         (TGREAD): Likewise.
29717         (TGWRITE): Likewise.
29718         (TGEXEC): Likewise.
29719         (TOREAD): Likewise.
29720         (TOWRITE): Likewise.
29721         (TOEXEC): Likewise.
29722         [POSIX] (TSVTX): Expect constant.
29724 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
29726         * Makefile (tests): Change dependencies to ....
29727         (tests-special): ... additions to this variable.
29728         (tests): Depend on $(tests-special).
29729         * Makerules (check-abi-list): New variable.
29730         (check-abi): Depend on $(check-abi-list).
29731         [$(subdir) = elf] (tests-special): Add
29732         $(objpfx)check-abi-libc.out.
29733         [$(build-shared) = yes && subdir] (tests-special): Add
29734         $(check-abi-list).
29735         [$(build-shared) = yes && subdir] (tests): Do not depend on
29736         check-abi.
29737         * Rules (tests): Depend on $(tests-special).
29738         (xtests): Depend on $(xtests-special).
29739         * catgets/Makefile (tests): Change dependencies to ....
29740         (tests-special): ... additions to this variable.
29741         * conform/Makefile (tests): Change dependencies to ....
29742         (tests-special): ... additions to this variable.
29743         * elf/Makefile (tests): Change dependencies to ....
29744         (tests-special): ... additions to this variable.
29745         * grp/Makefile (tests): Change dependencies to ....
29746         (tests-special): ... additions to this variable.
29747         * iconv/Makefile (xtests): Change dependencies to ....
29748         (xtests-special): ... additions to this variable.
29749         * iconvdata/Makefile (tests): Change dependencies to ....
29750         (tests-special): ... additions to this variable.
29751         * intl/Makefile (tests): Change dependencies to ....
29752         (tests-special): ... additions to this variable.  Also add
29753         $(objpfx)tst-gettext.out.
29754         * io/Makefile (tests): Change dependencies to ....
29755         (tests-special): ... additions to this variable.
29756         * libio/Makefile (tests): Change dependencies to ....
29757         (tests-special): ... additions to this variable.
29758         * malloc/Makefile (tests): Change dependencies to ....
29759         (tests-special): ... additions to this variable.
29760         * misc/Makefile (tests): Change dependencies to ....
29761         (tests-special): ... additions to this variable.
29762         * nptl/Makefile (tests): Change dependencies to ....
29763         (tests-special): ... additions to this variable.
29764         * nptl_db/Makefile (tests): Change dependencies to ....
29765         (tests-special): ... additions to this variable.
29766         * posix/Makefile (tests): Change dependencies to ....
29767         (tests-special): ... additions to this variable.
29768         (xtests): Change dependencies to ....
29769         (xtests-special): ... additions to this variable.
29770         * resolv/Makefile (tests): Change dependencies to ....
29771         (tests-special): ... additions to this variable.
29772         (xtests): Change dependencies to ....
29773         (xtests-special): ... additions to this variable.
29774         * stdio-common/Makefile (tests): Change dependencies to ....
29775         (tests-special): ... additions to this variable.
29776         (do-tst-unbputc): Remove target.
29777         (do-tst-printf): Likewise.
29778         * stdlib/Makefile (tests): Change dependencies to ....
29779         (tests-special): ... additions to this variable.
29780         * string/Makefile (tests): Change dependencies to ....
29781         (tests-special): ... additions to this variable.
29782         * sysdeps/x86/Makefile (tests): Change dependencies to ....
29783         (tests-special): ... additions to this variable.
29785         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
29786         whole file.
29787         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
29788         whole file.
29789         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
29790         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
29792         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
29793         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
29794         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
29795         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
29796         * conform/data/libgen.h-data [XPG3]: Likewise.
29797         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
29798         * conform/data/ndbm.h-data [XPG3]: Likewise.
29799         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
29800         * conform/data/netdb.h-data [XPG3]: Likewise.
29801         * conform/data/netinet/in.h-data [XPG3]: Likewise.
29802         * conform/data/poll.h-data [XPG3]: Likewise.
29803         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
29804         * conform/data/strings.h-data [XPG3]: Likewise.
29805         * conform/data/stropts.h-data [XPG3]: Likewise.
29806         * conform/data/sys/mman.h-data [XPG3]: Likewise.
29807         * conform/data/sys/resource.h-data [XPG3]: Likewise.
29808         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
29809         Likewise.
29810         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
29811         * conform/data/sys/time.h-data [XPG3]: Likewise.
29812         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
29813         * conform/data/sys/uio.h-data [XPG3]: Likewise.
29814         * conform/data/sys/un.h-data [XPG3]: Likewise.
29815         * conform/data/syslog.h-data [XPG3]: Likewise.
29816         * conform/data/ucontext.h-data [XPG3]: Likewise.
29817         * conform/data/utmpx.h-data [XPG3]: Likewise.
29818         * conform/data/varargs.h-data [UNIX98]: Enable file.
29820         * manual/Makefile (INSTALL_INFO): Remove variable setting.
29822         * math/libm-test.inc (struct test_f_f_data): Move expected results
29823         into structure for each rounding mode.
29824         (struct test_ff_f_data): Likewise.
29825         (struct test_ff_f_data_nexttoward): Likewise.
29826         (struct test_fi_f_data): Likewise.
29827         (struct test_fl_f_data): Likewise.
29828         (struct test_if_f_data): Likewise.
29829         (struct test_fff_f_data): Likewise.
29830         (struct test_c_f_data): Likewise.
29831         (struct test_f_f1_data): Likewise.
29832         (struct test_fF_f1_data): Likewise.
29833         (struct test_ffI_f1_data): Likewise.
29834         (struct test_c_c_data): Likewise.
29835         (struct test_cc_c_data): Likewise.
29836         (struct test_f_i_data): Likewise.
29837         (struct test_ff_i_data): Likewise.
29838         (struct test_f_l_data): Likewise.
29839         (struct test_f_L_data): Likewise.
29840         (struct test_fFF_11_data): Likewise.
29841         (RM_): New macro.
29842         (RM_FE_DOWNWARD): Likewise.
29843         (RM_FE_TONEAREST): Likewise.
29844         (RM_FE_TOWARDZERO): Likewise.
29845         (RM_FE_UPWARD): Likewise.
29846         (RUN_TEST_LOOP_f_f): Update references to expected results.
29847         (RUN_TEST_LOOP_2_f): Likewise.
29848         (RUN_TEST_LOOP_fff_f): Likewise.
29849         (RUN_TEST_LOOP_c_f): Likewise.
29850         (RUN_TEST_LOOP_f_f1): Likewise.
29851         (RUN_TEST_LOOP_fF_f1): Likewise.
29852         (RUN_TEST_LOOP_fI_f1): Likewise.
29853         (RUN_TEST_LOOP_ffI_f1): Likewise.
29854         (RUN_TEST_LOOP_c_c): Likewise.
29855         (RUN_TEST_LOOP_cc_c): Likewise.
29856         (RUN_TEST_LOOP_f_i): Likewise.
29857         (RUN_TEST_LOOP_f_i_tg): Likewise.
29858         (RUN_TEST_LOOP_ff_i_tg): Likewise.
29859         (RUN_TEST_LOOP_f_b): Likewise.
29860         (RUN_TEST_LOOP_f_b_tg): Likewise.
29861         (RUN_TEST_LOOP_f_l): Likewise.
29862         (RUN_TEST_LOOP_f_L): Likewise.
29863         (RUN_TEST_LOOP_fFF_11): Likewise.
29864         * math/gen-libm-test.pl (parse_args): Output four copies of
29865         expected results for each test.
29867         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
29868         (__ASSUME_UTIMES): Remove.
29869         * sysdeps/unix/sysv/linux/tile/kernel-features.h
29870         (__ASSUME_UTIMES): Likewise.
29872         * math/gen-auto-libm-tests.c: Update comment on output format.
29873         (output_for_one_input_case): Generate before-rounding and
29874         after-rounding information as conditions on output flags not
29875         floating-point format.
29876         * math/auto-libm-test-out: Regenerated.
29877         * math/gen-libm-test.pl (cond_value): New function.
29878         (or_cond_value): Use cond_value.
29879         (generate_testfile): Handle conditional exceptions.
29881 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
29883         * math/libm-test.inc (max_valid_error): New variable.
29884         (init_max_error): Take new argument specifying whether function
29885         results are exactly determined.  Set max_valid_error and bound
29886         other variables for errors based on this argument.
29887         (set_max_error): Do not record results above max_valid_error.
29888         (check_float_internal): Only accept errors of up to 0.5ulps if
29889         also at most max_valid_error.
29890         (START): Take new argument EXACT and pass it to init_max_error.
29891         (acos_test): Update call to START.
29892         (acos_test_tonearest): Likewise.
29893         (acos_test_towardzero): Likewise.
29894         (acos_test_downward): Likewise.
29895         (acos_test_upward): Likewise.
29896         (acosh_test): Likewise.
29897         (asin_test): Likewise.
29898         (asin_test_tonearest): Likewise.
29899         (asin_test_towardzero): Likewise.
29900         (asin_test_downward): Likewise.
29901         (asin_test_upward): Likewise.
29902         (asinh_test): Likewise.
29903         (atan_test): Likewise.
29904         (atanh_test): Likewise.
29905         (atan2_test): Likewise.
29906         (cabs_test): Likewise.
29907         (cacos_test): Likewise.
29908         (cacosh_test): Likewise.
29909         (carg_test): Likewise.
29910         (casin_test): Likewise.
29911         (casinh_test): Likewise.
29912         (catan_test): Likewise.
29913         (catanh_test): Likewise.
29914         (cbrt_test): Likewise.
29915         (ccos_test): Likewise.
29916         (ccosh_test): Likewise.
29917         (ceil_test): Likewise.
29918         (cexp_test): Likewise.
29919         (cimag_test): Likewise.
29920         (clog_test): Likewise.
29921         (clog10_test): Likewise.
29922         (conj_test): Likewise.
29923         (copysign_test): Likewise.
29924         (cos_test): Likewise.
29925         (cos_test_tonearest): Likewise.
29926         (cos_test_towardzero): Likewise.
29927         (cos_test_downward): Likewise.
29928         (cos_test_upward): Likewise.
29929         (cosh_test): Likewise.
29930         (cosh_test_tonearest): Likewise.
29931         (cosh_test_towardzero): Likewise.
29932         (cosh_test_downward): Likewise.
29933         (cosh_test_upward): Likewise.
29934         (cpow_test): Likewise.
29935         (cproj_test): Likewise.
29936         (creal_test): Likewise.
29937         (csin_test): Likewise.
29938         (csinh_test): Likewise.
29939         (csqrt_test): Likewise.
29940         (ctan_test): Likewise.
29941         (ctan_test_tonearest): Likewise.
29942         (ctan_test_towardzero): Likewise.
29943         (ctan_test_downward): Likewise.
29944         (ctan_test_upward): Likewise.
29945         (ctanh_test): Likewise.
29946         (ctanh_test_tonearest): Likewise.
29947         (ctanh_test_towardzero): Likewise.
29948         (ctanh_test_downward): Likewise.
29949         (ctanh_test_upward): Likewise.
29950         (erf_test): Likewise.
29951         (erfc_test): Likewise.
29952         (exp_test): Likewise.
29953         (exp_test_tonearest): Likewise.
29954         (exp_test_towardzero): Likewise.
29955         (exp_test_downward): Likewise.
29956         (exp_test_upward): Likewise.
29957         (exp10_test): Likewise.
29958         (exp10_test_tonearest): Likewise.
29959         (exp10_test_towardzero): Likewise.
29960         (exp10_test_downward): Likewise.
29961         (exp10_test_upward): Likewise.
29962         (pow10_test): Likewise.
29963         (exp2_test): Likewise.
29964         (expm1_test): Likewise.
29965         (expm1_test_tonearest): Likewise.
29966         (expm1_test_towardzero): Likewise.
29967         (expm1_test_downward): Likewise.
29968         (expm1_test_upward): Likewise.
29969         (fabs_test): Likewise.
29970         (fdim_test): Likewise.
29971         (floor_test): Likewise.
29972         (fma_test): Likewise.
29973         (fma_test_towardzero): Likewise.
29974         (fma_test_downward): Likewise.
29975         (fma_test_upward): Likewise.
29976         (fmax_test): Likewise.
29977         (fmin_test): Likewise.
29978         (fmod_test): Likewise.
29979         (fpclassify_test): Likewise.
29980         (frexp_test): Likewise.
29981         (hypot_test): Likewise.
29982         (ilogb_test): Likewise.
29983         (isfinite_test): Likewise.
29984         (finite_test): Likewise.
29985         (isgreater_test): Likewise.
29986         (isgreaterequal_test): Likewise.
29987         (isinf_test): Likewise.
29988         (isless_test): Likewise.
29989         (islessequal_test): Likewise.
29990         (islessgreater_test): Likewise.
29991         (isnan_test): Likewise.
29992         (isnormal_test): Likewise.
29993         (issignaling_test): Likewise.
29994         (isunordered_test): Likewise.
29995         (j0_test): Likewise.
29996         (j1_test): Likewise.
29997         (jn_test): Likewise.
29998         (ldexp_test): Likewise.
29999         (lgamma_test): Likewise.
30000         (gamma_test): Likewise.
30001         (lrint_test): Likewise.
30002         (lrint_test_tonearest): Likewise.
30003         (lrint_test_towardzero): Likewise.
30004         (lrint_test_downward): Likewise.
30005         (lrint_test_upward): Likewise.
30006         (llrint_test): Likewise.
30007         (llrint_test_tonearest): Likewise.
30008         (llrint_test_towardzero): Likewise.
30009         (llrint_test_downward): Likewise.
30010         (llrint_test_upward): Likewise.
30011         (log_test): Likewise.
30012         (log10_test): Likewise.
30013         (log1p_test): Likewise.
30014         (log2_test): Likewise.
30015         (logb_test): Likewise.
30016         (logb_test_downward): Likewise.
30017         (lround_test): Likewise.
30018         (llround_test): Likewise.
30019         (modf_test): Likewise.
30020         (nearbyint_test): Likewise.
30021         (nextafter_test): Likewise.
30022         (nexttoward_test): Likewise.
30023         (pow_test): Likewise.
30024         (pow_test_tonearest): Likewise.
30025         (pow_test_towardzero): Likewise.
30026         (pow_test_downward): Likewise.
30027         (pow_test_upward): Likewise.
30028         (remainder_test): Likewise.
30029         (drem_test): Likewise.
30030         (remainder_test_tonearest): Likewise.
30031         (drem_test_tonearest): Likewise.
30032         (remainder_test_towardzero): Likewise.
30033         (drem_test_towardzero): Likewise.
30034         (remainder_test_downward): Likewise.
30035         (drem_test_downward): Likewise.
30036         (remainder_test_upward): Likewise.
30037         (drem_test_upward): Likewise.
30038         (remquo_test): Likewise.
30039         (rint_test): Likewise.
30040         (rint_test_tonearest): Likewise.
30041         (rint_test_towardzero): Likewise.
30042         (rint_test_downward): Likewise.
30043         (rint_test_upward): Likewise.
30044         (round_test): Likewise.
30045         (scalb_test): Likewise.
30046         (scalbn_test): Likewise.
30047         (scalbln_test): Likewise.
30048         (signbit_test): Likewise.
30049         (sin_test): Likewise.
30050         (sin_test_tonearest): Likewise.
30051         (sin_test_towardzero): Likewise.
30052         (sin_test_downward): Likewise.
30053         (sin_test_upward): Likewise.
30054         (sincos_test): Likewise.
30055         (sinh_test): Likewise.
30056         (sinh_test_tonearest): Likewise.
30057         (sinh_test_towardzero): Likewise.
30058         (sinh_test_downward): Likewise.
30059         (sinh_test_upward): Likewise.
30060         (sqrt_test): Likewise.
30061         (sqrt_test_tonearest): Likewise.
30062         (sqrt_test_towardzero): Likewise.
30063         (sqrt_test_downward): Likewise.
30064         (sqrt_test_upward): Likewise.
30065         (tan_test): Likewise.
30066         (tan_test_tonearest): Likewise.
30067         (tan_test_towardzero): Likewise.
30068         (tan_test_downward): Likewise.
30069         (tan_test_upward): Likewise.
30070         (tanh_test): Likewise.
30071         (tgamma_test): Likewise.
30072         (trunc_test): Likewise.
30073         (y0_test): Likewise.
30074         (y1_test): Likewise.
30075         (yn_test): Likewise.
30076         (significand_test): Likewise.
30078         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
30079         individual tests in comment.
30080         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
30081         (prev_max_error): New variable.
30082         (prev_real_max_error): Likewise.
30083         (prev_imag_max_error): Likewise.
30084         (compare_ulp_data): Don't refer to test names in comment.
30085         (find_test_ulps): Remove function.
30086         (find_function_ulps): Likewise.
30087         (find_complex_function_ulps): Likewise.
30088         (init_max_error): Take function name as argument.  Look up ulps
30089         for that function.
30090         (print_ulps): Remove function.
30091         (print_max_error): Use prev_max_error instead of calling
30092         find_function_ulps.
30093         (print_complex_max_error): Use prev_real_max_error and
30094         prev_imag_max_error instead of calling find_complex_function_ulps.
30095         (check_float_internal): Take max_ulp parameter instead of calling
30096         find_test_ulps.  Don't call print_ulps.
30097         (check_float): Update call to check_float_internal.
30098         (check_complex): Update calls to check_float_internal.
30099         (START): Pass argument to init_max_error.
30100         * math/gen-libm-test.pl (%results): Don't include "kind"
30101         information.
30102         (parse_ulps): Don't handle ulps of individual tests.
30103         (print_ulps_file): Likewise.
30104         (output_ulps): Likewise.
30105         * math/README.libm-test: Update.
30106         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
30107         individual tests.
30108         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
30109         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
30110         * sysdeps/arm/libm-test-ulps: Likewise.
30111         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
30112         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
30113         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
30114         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
30115         * sysdeps/microblaze/libm-test-ulps: Likewise.
30116         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
30117         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30118         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30119         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
30120         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30121         * sysdeps/sh/libm-test-ulps: Likewise.
30122         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30123         * sysdeps/tile/libm-test-ulps: Likewise.
30124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30126 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
30128         * math/libm-test.inc (print_complex_max_error): Check separately
30129         whether real and imaginary errors are within allowed range and
30130         pass 0 to print_complex_function_ulps instead of value within
30131         allowed range.
30133 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30135         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
30136         formatting.
30137         (get_handles_fopen): Likewise.
30138         (do_write_test): Likewise.
30140         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
30142         * libio/fileops.c (do_ftell): Use cached offset when
30143         available.
30144         * libio/iofwide.c (do_ftell_wide): Likewise.
30145         * libio/iofdopen.c (_IO_new_fdopen): Don't use
30146         _IO_file_attach.
30147         * libio/wfileops.c (_IO_fwide): Don't cache offset.
30149         [BZ #16532]
30150         * libio/libioP.h (get_file_offset): New function.
30151         * libio/fileops.c (get_file_offset): Likewise.
30152         (do_ftell): Likewise.
30153         (_IO_new_file_seekoff): Split out ftell logic.
30154         * libio/wfileops.c (do_ftell_wide): Likewise.
30155         (_IO_wfile_seekoff): Split out ftell logic.
30156         * libio/tst-ftell-active-handler.c: New test case.
30157         * libio/Makefile (tests): Add it.
30159 2014-03-03  Roland McGrath  <roland@hack.frob.com>
30161         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
30162         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
30164 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
30166         [BZ #16639]
30167         * nscd/connections.c (nscd_init): Call do_exit.
30168         (start_threads): Call do_exit and notify_parent.
30169         (begin_drop_privileges): Call do_exit.
30170         (finish_drop_privileges): Likewise.
30171         * nscd/selinux.c (preserve_capabilities): Likewise.
30172         (install_real_capabilities): Likewise.
30173         (nscd_selinux_enabled): Likewise.
30174         (avc_create_thread): Likewise.
30175         (avc_alloc_lock): Likewise.
30176         (nscd_avc_init): Likewise.
30177         * nscd/nscd.c (parent_fd): New static variable.
30178         (main): Create a pipe between parent and child processes.
30179         Skip closing parent_fd.
30180         (monitor_child): New function.
30181         (do_exit): Likewise.
30182         (notify_parent): Likewise.
30183         * nscd/nscd.h (notify_parent): Likewise.
30184         (do_exit): Likewise.
30186 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
30188         * malloc/malloc.c (__libc_calloc): Revert last change.
30190 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30192         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30194 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30196         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
30197         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
30198         implementation.
30199         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30200         (__libc_ifunc_impl_list): Likewise.
30201         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
30202         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
30203         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
30204         * string/strrchr.c: Define STRRCHR.
30206 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
30208         * benchtest/bench-strtok.c (simple_strtok): Delete.
30209         (strtok_string): Use as benchmark.
30210         * string/strtok (STRTOK): New macro.
30212 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
30214         * manual/threads.texi: Add header and standard comments to all
30215         functions.
30217         * elf/dl-lookup.c (check_match): New function.
30218         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
30219         (do_lookup_x): Remove nested function check_match. Use non-nested
30220         function check_match.
30222 2014-02-28  Roland McGrath  <roland@hack.frob.com>
30224         * csu/Makefile (generated, before-compile): Use += rather than =.
30225         * catgets/Makefile (generated, generated-dirs): Likewise.
30226         * debug/Makefile (generated): Likewise.
30227         * dlfcn/Makefile (generated): Likewise.
30228         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
30229         * iconvdata/Makefile (before-compile, generated): Likewise.
30230         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
30231         * libio/Makefile (generated): Likewise.
30232         * malloc/Makefile (generated): Likewise.
30233         * manual/Makefile (generated, generated-dirs): Likewise.
30234         * misc/Makefile (generated): Likewise.
30235         * posix/Makefile (generated): Likewise.
30236         * resolv/Makefile (generated): Likewise.
30237         * sunrpc/Makefile (generated, generated-dirs): Likewise.
30238         * timezone/Makefile (generated, generated-dirs): Likewise.
30240         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
30242 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30244         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
30245         power8 implementation.
30246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
30247         file: POWER8 llround ifunc implementation.
30248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
30249         (__lllround): Add POWER8 implementation.
30250         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
30251         POWER8 llround implementation.
30253         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
30254         power8 implementation.
30255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
30256         file: POWER8 llrint ifunc implementation.
30257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
30258         Add POWER8 implementation.
30259         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
30260         POWER8 llrint implementation.
30262         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
30263         power8 implementation.
30264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
30265         file: POWER8 finite ifunc implementation.
30266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
30267         Add POWER8 implementation.
30268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
30269         Likewise.
30270         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
30271         POWER8 finite implementation.
30272         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
30274         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
30275         power8 implementation.
30276         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
30277         file: POWER8 isinf ifunc implementation.
30278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
30279         POWER8 implementation.
30280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
30281         Likewise.
30282         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
30283         isinf implementation.
30284         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
30286         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
30287         (INIT_ARCH): Add hwcap2 initialization.
30288         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
30289         power8 implementation.
30290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
30291         file: POWER8 isnan ifunc implementation.
30292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
30293         POWER8 implementation.
30294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
30295         Likewise.
30296         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
30297         isnan implementation.
30298         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
30300 2014-02-27  Joey Ye  <joey.ye@arm.com>
30302         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
30303         (_FP_NANFRAC_Q): Set to zero.
30305 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30307         [BZ #16623]
30308         * math/auto-libm-test-in: New test inputs.
30309         * math/auto-libm-test-out: Regenerate.
30310         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
30311         and DA.
30312         (__cos): Likewise.
30313         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
30315 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
30317         * scripts/evaluate-test.sh: Take new argument indicating whether
30318         failure is expected.
30319         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
30320         indicating whether failure is expected.
30321         * conform/Makefile (test-xfail-run-conformtest): New variable.
30322         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
30323         level.
30324         * posix/Makefile (test-xfail-annexc): New variable.
30325         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
30327 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
30329         * argp/Makefile: Include Makeconfig immediately after defining
30330         subdir.
30331         * assert/Makefile: Likewise.
30332         * benchtests/Makefile: Likewise.
30333         * catgets/Makefile: Likewise.
30334         * conform/Makefile: Likewise.
30335         * crypt/Makefile: Likewise.
30336         * csu/Makefile: Likewise.
30337         (all): Remove target.
30338         * ctype/Makefile: Include Makeconfig immediately after defining
30339         subdir.
30340         * debug/Makefile: Likewise.
30341         * dirent/Makefile: Likewise.
30342         * dlfcn/Makefile: Likewise.
30343         * gmon/Makefile: Likewise.
30344         * gnulib/Makefile: Likewise.
30345         * grp/Makefile: Likewise.
30346         * gshadow/Makefile: Likewise.
30347         * hesiod/Makefile: Likewise.
30348         * hurd/Makefile: Likewise.
30349         (all): Remove target.
30350         * iconvdata/Makefile: Include Makeconfig immediately after
30351         defining subdir.
30352         * inet/Makefile: Likewise.
30353         * intl/Makefile: Likewise.
30354         * io/Makefile: Likewise.
30355         * libio/Makefile: Likewise.
30356         (all): Remove target.
30357         * locale/Makefile: Include Makeconfig immediately after defining
30358         subdir.
30359         * login/Makefile: Likewise.
30360         * mach/Makefile: Likewise.
30361         (all): Remove target.
30362         * malloc/Makefile: Include Makeconfig immediately after defining
30363         subdir.
30364         (all): Remove target.
30365         * manual/Makefile: Include Makeconfig immediately after defining
30366         subdir.
30367         * math/Makefile: Likewise.
30368         * misc/Makefile: Likewise.
30369         * nis/Makefile: Likewise.
30370         * nss/Makefile: Likewise.
30371         * po/Makefile: Likewise.
30372         (all): Remove target.
30373         * posix/Makefile: Include Makeconfig immediately after defining
30374         subdir.
30375         * pwd/Makefile: Likewise.
30376         * resolv/Makefile: Likewise.
30377         * resource/Makefile: Likewise.
30378         * rt/Makefile: Likewise.
30379         * setjmp/Makefile: Likewise.
30380         * shadow/Makefile: Likewise.
30381         * signal/Makefile: Likewise.
30382         * socket/Makefile: Likewise.
30383         * soft-fp/Makefile: Likewise.
30384         * stdio-common/Makefile: Likewise.
30385         * stdlib/Makefile: Likewise.
30386         * streams/Makefile: Likewise.
30387         * string/Makefile: Likewise.
30388         * sunrpc/Makefile: Likewise.
30389         (all): Remove target.
30390         * sysvipc/Makefile: Include Makeconfig immediately after defining
30391         subdir.
30392         * termios/Makefile: Likewise.
30393         * time/Makefile: Likewise.
30394         * timezone/Makefile: Likewise.
30395         (all): Remove target.
30396         * wcsmbs/Makefile: Include Makeconfig immediately after defining
30397         subdir.
30398         * wctype/Makefile: Likewise.
30400 2014-02-26  Steve Ellcey  <sellcey@mips.com>
30402         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
30403         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
30404         (libc_feholdexcept_setround_mips): Ditto.
30405         (libc_feholdsetround): New.
30406         (libc_feholdsetroundf): New.
30407         (libc_feholdsetroundl): New.
30408         (libc_feupdateenv_test_mips): New.
30409         (libc_feupdateenv_test): New.
30410         (libc_feupdateenv_testf): New.
30411         (libc_feupdateenv_testl): New.
30412         (libc_feresetround): New.
30413         (libc_feresetroundf): New.
30414         (libc_feresetroundl): New.
30415         (libc_fetestexcept_mips): New.
30416         (libc_fetestexcept): New.
30417         (libc_fetestexceptf): New.
30418         (libc_fetestexceptl): New.
30419         (HAVE_RM_CTX): New.
30420         (libc_feholdexcept_setround_mips_ctx): New.
30421         (libc_feholdexcept_setround_ctx): New.
30422         (libc_feholdexcept_setroundf_ctx): New.
30423         (libc_feholdexcept_setroundl_ctx): New.
30424         (libc_fesetenv_mips_ctx): New.
30425         (libc_fesetenv_ctx): New.
30426         (libc_fesetenv_ctxf): New.
30427         (libc_fesetenv_ctxl): New.
30428         (libc_feupdateenv_mips_ctx): New.
30429         (libc_feupdateenv_ctx): New.
30430         (libc_feupdateenvf_ctx): New.
30431         (libc_feupdateenvl_ctx): New.
30432         (libc_feholdsetround_mips_ctx): New.
30433         (libc_feholdsetround_ctx): New.
30434         (libc_feholdsetroundf_ctx): New.
30435         (libc_feholdsetroundl_ctx): New.
30436         (libc_feresetround_mips_ctx): New.
30437         (libc_feresetround_ctx): New.
30438         (libc_feresetroundf_ctx): New.
30439         (libc_feresetroundl_ctx): New.
30441 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
30443         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
30445         * manual/ipc.texi: New file.
30446         * manual/Makefile (chapters): Add ipc.
30447         * manual/job.texi: Add "Inter-Process Communication" to next.
30448         * manual/process.texi: Add "Inter-Process Communication" to prev.
30450 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30452         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30454 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
30456         * malloc/malloc.c (__libc_calloc): Simplify implementation.
30458         * manual/arith.texi: Fix spaces after sentences.
30459         * manual/charset.texi: Likewise.
30460         * manual/errno.texi: Likewise.
30461         * manual/install.texi: Likewise.
30462         * manual/llio.texi: Likewise.
30463         * manual/locale.texi: Likewise.
30464         * manual/maint.texi: Likewise.
30465         * manual/math.texi: Likewise.
30466         * manual/memory.texi: Likewise.
30467         * manual/message.texi: Likewise.
30468         * manual/probes.texi: Likewise.
30469         * manual/resource.texi: Likewise.
30470         * manual/signal.texi: Likewise.
30471         * manual/socket.texi: Likewise.
30472         * manual/stdio.texi: Likewise.
30473         * manual/string.texi: Likewise.
30474         * manual/time.texi: Likewise.
30475         * manual/users.texi: Likewise.
30477 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
30479         [BZ #16632]
30480         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
30481         _DEFAULT_SOURCE is defined.
30483 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
30484             Carlos O'Donell  <carlos@redhat.com>
30486         [BZ #16613]
30487         * elf/dl-tls.c (_dl_count_modids): New function.
30488         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
30489         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
30490         audit library and increment generation counter.
30491         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
30492         * elf/tst-audit9.c: New file.
30493         * elf/tst-auditmod9a.c: New file.
30494         * elf/tst-auditmod9b.c: New file.
30495         * elf/Makefile: Add rules to build and run tst-audit9.
30497 2014-02-25  Florian Weimer  <fweimer@redhat.com>
30499         [BZ #15347]
30500         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
30502 2014-02-25  Will Newton  <will.newton@linaro.org>
30504         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
30505         (__longjmp): Restore sp and lr before restoring callee
30506         saved registers.  Add longjmp and longjmp_target
30507         SystemTap probe point.
30508         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
30509         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
30510         Define to zero to match jmpbuf layout.
30511         * sysdeps/arm/setjmp.S: Include stap-probe.h.
30512         (__sigsetjmp): Save sp and lr before saving callee
30513         saved registers.  Add setjmp SystemTap probe point.
30515 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
30517         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30519 2014-02-24  Andreas Schwab  <schwab@suse.de>
30521         [BZ #15804]
30522         * elf/pldd.c (wait_for_ptrace_stop): New function.
30523         (main): Call it after attaching.
30525 2014-02-22  Roland McGrath  <roland@hack.frob.com>
30527         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
30528         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
30529         Versions files is now verboten.
30530         * hurd/Versions (libc: GLIBC_2.0):
30531         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
30532         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
30533         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
30534         * mach/Versions: Likewise.
30536         * csu/Versions: Remove unused %include.
30537         * resolv/Versions: Likewise.
30539 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
30541         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
30542         ($(objpfx)check-local-headers.out): Likewise.
30543         ($(objpfx)begin-end-check.out): Likewise.
30544         * Makerules (check-abi-%.out): Likewise.
30545         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
30546         ($(objpfx)test2.cat): Likewise.
30547         ($(objpfx)de/libc.cat): Likewise.
30548         ($(objpfx)test-gencat.out): Likewise.
30549         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
30550         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
30551         ($(objpfx)noload-mem): Likewise.
30552         ($(objpfx)tst-pathopt.out): Likewise.
30553         ($(objpfx)tst-rtld-load-self.out): Likewise.
30554         ($(objpfx)tst-array1-cmp.out): Likewise.
30555         ($(objpfx)tst-array1-static-cmp.out): Likewise.
30556         ($(objpfx)tst-array2-cmp.out): Likewise.
30557         ($(objpfx)tst-array3-cmp.out): Likewise.
30558         ($(objpfx)tst-array4-cmp.out): Likewise.
30559         ($(objpfx)tst-array5-cmp.out): Likewise.
30560         ($(objpfx)tst-array5-static-cmp.out): Likewise.
30561         ($(objpfx)check-textrel.out): Likewise.
30562         ($(objpfx)check-execstack.out): Likewise.
30563         ($(objpfx)check-localplt.out): Likewise.
30564         ($(objpfx)order2-cmp.out): Likewise.
30565         ($(objpfx)tst-leaks1-mem): Likewise.
30566         ($(objpfx)tst-leaks1-static-mem): Likewise.
30567         ($(objpfx)tst-initorder-cmp.out): Likewise.
30568         ($(objpfx)tst-initorder2-cmp.out): Likewise.
30569         ($(objpfx)tst-unused-dep.out): Likewise.
30570         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
30571         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
30572         * iconv/Makefile (test-iconvconfig): Likewise.
30573         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
30574         ($(objpfx)iconv-test.out): Likewise.
30575         ($(objpfx)tst-tables.out): Likewise.
30576         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
30577         ($(objpfx)tst-gettext.out): Likewise.
30578         ($(objpfx)tst-translit.out): Likewise.
30579         ($(objpfx)tst-gettext2.out): Likewise.
30580         ($(objpfx)tst-gettext4.out): Likewise.
30581         ($(objpfx)tst-gettext6.out): Likewise.
30582         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
30583         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
30584         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
30585         ($(objpfx)tst-fopenloc-mem.out): Likewise.
30586         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
30587         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
30588         * posix/Makefile ($(objpfx)globtest.out): Likewise.
30589         ($(objpfx)wordexp-tst.out): Likewise.
30590         ($(objpfx)annexc.out): Likewise.
30591         ($(objpfx)tst-fnmatch-mem): Likewise.
30592         ($(objpfx)bug-regex2-mem): Likewise.
30593         ($(objpfx)bug-regex14-mem): Likewise.
30594         ($(objpfx)bug-regex21-mem): Likewise.
30595         ($(objpfx)bug-regex31-mem): Likewise.
30596         ($(objpfx)tst-vfork3-mem): Likewise.
30597         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
30598         ($(objpfx)tst-pcre-mem): Likewise.
30599         ($(objpfx)tst-boost-mem): Likewise.
30600         ($(objpfx)tst-getconf.out): Likewise.
30601         ($(objpfx)bug-ga2-mem): Likewise.
30602         ($(objpfx)bug-glob2-mem): Likewise.
30603         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
30604         ($(objpfx)mtrace-tst-leaks2): Likewise.
30605         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
30606         ($(objpfx)tst-printf.out): Likewise.
30607         ($(objpfx)tst-setvbuf1.out): Likewise.
30608         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
30609         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
30610         ($(objpfx)tst-fmtmsg.out): Likewise.
30611         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
30612         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
30614         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
30615         * bits/sigaction.h [__USE_MISC]: Likewise.
30616         * bits/waitstatus.h: Update #endif comments.
30617         * ctype/ctype.h: Likewise.
30618         * dirent/dirent.h: Likewise.
30619         [__USE_MISC]: Remove redundant conditionals.
30620         * grp/grp.h: Update #endif comments.
30621         [__USE_GNU]: Remove redundant conditionals.
30622         [__USE_MISC]: Likewise.
30623         * inet/netinet/in.h [__USE_GNU]: Likewise.
30624         * io/sys/stat.h [__USE_MISC]: Likewise.
30625         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
30626         * libio/bits/stdio.h: Update #endif comments.
30627         [__USE_MISC]: Remove redundant conditionals.
30628         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
30629         * libio/stdio.h: Update #endif comments.
30630         [__USE_MISC]: Remove redundant conditionals.
30631         * math/bits/math-finite.h [__USE_MISC]: Likewise.
30632         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
30633         * math/math.h: Update #else and #endif comments.
30634         [__USE_MISC]: Remove redundant conditionals.
30635         * misc/sys/uio.h: Update #endif comments.
30636         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
30637         * posix/glob.h [__USE_MISC]: Likewise.
30638         * posix/sys/types.h: Update #endif comments.
30639         [__USE_MISC]: Remove redundant conditionals.
30640         * posix/sys/wait.h: Update #endif comments.
30641         [__USE_MISC]: Remove redundant conditionals.
30642         * posix/unistd.h: Update #endif comments.
30643         [__USE_MISC]: Remove redundant conditionals.
30644         * pwd/pwd.h [__USE_GNU]: Likewise.
30645         [__USE_MISC]: Likewise.
30646         * resolv/netdb.h [__USE_GNU]: Likewise.
30647         * signal/signal.h: Update #endif comments.
30648         [__USE_MISC]: Remove redundant conditionals.
30649         * stdlib/stdlib.h: Update #else and #endif comments.
30650         [__USE_MISC]: Remove redundant conditionals.
30651         [__USE_GNU]: Likewise.
30652         * string/bits/string2.h [__USE_MISC]: Likewise.
30653         * string/string.h: Update #endif comments.
30654         [__USE_MISC]: Remove redundant conditionals.
30655         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
30656         Likewise.
30657         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
30658         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
30659         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
30660         Likewise.
30661         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
30662         Likewise.
30663         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
30664         comments.
30665         [__USE_MISC]: Remove redundant conditionals.
30666         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
30667         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
30668         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
30669         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
30670         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
30671         Likewise.
30672         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
30673         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
30674         Likewise.
30675         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
30676         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
30677         Likewise.
30678         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
30679         Likewise.
30680         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
30681         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
30682         Likewise.
30683         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
30684         Likewise.
30685         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
30686         * sysdeps/x86/bits/string.h: Update #endif comments.
30687         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
30688         conditionals.
30689         * time/sys/time.h: Update #endif comments.
30690         * time/time.h: Likewise.
30691         [__USE_MISC]: Remove redundant conditionals.
30693 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
30695         [BZ #16600]
30696         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
30698 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
30700         * Versions.def (librt): Add GLIBC_2.17.
30702 2014-02-21  Adam Conrad  <adconrad@0c3.net>
30704         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
30705         synonym for _SYS_AUXV_H to allow direct inclusion.
30706         * sysdeps/sparc/bits/hwcap.h: Likewise.
30707         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
30708         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
30709         * sysdeps/sparc/sysdep.h: Likewise.
30711 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30713         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
30715 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30717         * benchtests/bench-strrchr.c: Print length instead of position.
30719 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
30721         [BZ #16611]
30722         * sysdeps/unix/sysv/linux/kernel-features.h
30723         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
30724         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
30725         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
30726         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
30727         Likewise.
30728         [__i386__ || __powerpc__ || __sh__ || __sparc__]
30729         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30730         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
30731         (__ASSUME_SENDMMSG): Define instead of using previous
30732         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
30733         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30734         (__ASSUME_SENDMMSG_SYSCALL): Define.
30735         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30736         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
30737         Likewise.
30738         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30739         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
30740         Likewise.
30741         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
30742         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
30743         Likewise.
30744         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
30745         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
30746         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
30747         [__ASSUME_SENDMMSG]: Change conditionals to
30748         [__ASSUME_SENDMMSG_SOCKETCALL].
30749         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30750         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
30751         Define.
30752         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30753         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
30754         Likewise.
30755         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
30756         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
30757         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
30758         [!__ASSUME_SENDMMSG]: Change conditional to
30759         [!__ASSUME_SENDMMSG_SOCKETCALL].
30760         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30761         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
30762         Define.
30764         [BZ #16610]
30765         * sysdeps/unix/sysv/linux/kernel-features.h
30766         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
30767         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
30768         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
30769         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
30770         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30771         [__i386__ || __sparc__]
30772         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30773         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
30774         (__ASSUME_RECVMMSG): Define instead of using previous
30775         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
30776         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30777         (__ASSUME_RECVMMSG_SYSCALL): Define.
30778         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30779         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30780         Likewise.
30781         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30782         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30783         Likewise.
30784         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
30785         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30786         Likewise.
30787         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__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/microblaze/kernel-features.h
30793         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30794         Define.
30795         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30796         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30797         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30798         Likewise.
30799         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
30800         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
30801         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
30802         [!__ASSUME_RECVMMSG]: Change condition to
30803         [!__ASSUME_RECVMMSG_SOCKETCALL].
30804         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30805         (__ASSUME_RECVMMSG_SYSCALL): Define.
30807         [BZ #16609]
30808         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
30809         __powerpc__ || __s390__ || __sh__ || __sparc__]
30810         (__ASSUME_SOCKETCALL): Define.
30811         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
30812         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
30813         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
30814         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
30815         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
30816         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
30817         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
30818         (__ASSUME_ACCEPT4): Define instead of using previous
30819         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
30820         __powerpc__ || __sparc__ || __s390__)] condition.
30821         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30822         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
30823         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
30824         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
30825         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
30826         [!__ASSUME_ACCEPT4]: Change condition to
30827         [!__ASSUME_ACCEPT4_SOCKETCALL].
30828         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30829         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
30830         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
30831         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30832         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
30833         __ASSUME_ACCEPT4_SYSCALL.
30834         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
30835         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
30836         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
30837         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
30838         __ASSUME_ACCEPT4_SYSCALL.
30839         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
30840         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
30841         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
30842         [__ASSUME_ACCEPT4]: Change condition to
30843         [__ASSUME_ACCEPT4_SOCKETCALL].
30844         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
30845         (__ASSUME_SOCKETCALL): Define.
30846         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
30847         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30848         (__ASSUME_SOCKETCALL): Define.
30849         (__ASSUME_ACCEPT4): Remove.
30850         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
30851         Define.
30852         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30853         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
30854         Likewise.
30855         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30856         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
30858         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
30859         macro.
30860         (HWCAP_ARM_LPAE): Likewise.
30861         (HWCAP_ARM_EVTSTRM): Likewise.
30862         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
30863         Add vpfd32, lpae and evtstrm.
30864         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
30865         Increase to 22.
30867 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
30869         * math/auto-libm-test-in: Add tests of clog10.
30870         * math/auto-libm-test-out: Regenerated.
30871         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
30872         * sysdeps/i386/fpu/libm-test-ulps: Update.
30873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30875 2014-02-18  Andreas Schwab  <schwab@suse.de>
30877         [BZ #16574]
30878         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
30879         Store non-zero if the second buffer was newly allocated.
30880         (send_dg): Likewise.
30881         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
30882         to send_vc and send_dg.
30883         (res_nsend): Pass NULL for ansp2_malloced.
30884         * resolv/res_query.c (__libc_res_nquery): Add parameter
30885         answerp2_malloced and pass it down to __libc_res_nsend.
30886         (res_nquery): Pass additional NULL to __libc_res_nquery.
30887         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
30888         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
30889         second answer buffer if answerp2_malloced was set.
30890         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
30891         (__libc_res_nquerydomain): Add parameter
30892         answerp2_malloced and pass it down to __libc_res_nquery.
30893         (res_nquerydomain): Pass additional NULL to
30894         __libc_res_nquerydomain.
30895         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
30896         additional NULL to __libc_res_nsend and __libc_res_nquery.
30897         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
30898         additional NULL to __libc_res_nsearch.
30899         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
30900         parameter of __libc_res_nsearch to check for separately allocated
30901         second buffer.
30902         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
30903         __libc_res_nquery.
30904         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
30905         additional NULL to __libc_res_nquery.
30906         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
30907         __libc_res_nsearch.
30908         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
30909         * include/resolv.h: Update prototypes of __libc_res_nquery,
30910         __libc_res_nsearch, __libc_res_nsend.
30912 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
30914         * math/auto-libm-test-in: Add tests of fma.
30915         * math/auto-libm-test-out: Regenerated.
30916         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
30917         (fma_towardzero_test_data): Likewise.
30918         (fma_downward_test_data): Likewise.
30919         (fma_upward_test_data): Likewise.
30920         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
30921         mpc_mode.
30922         (rounding_modes): Add values for new field.
30923         (func_calc_method): Add value mpfr_fff_f.
30924         (func_calc_desc): Add mpfr_fff_f union field.
30925         (test_function): Add field exact_args.
30926         (FUNC): Add macro argument EXACT_ARGS.
30927         (FUNC_mpfr_f_f): Update call to FUNC.
30928         (FUNC_mpfr_f_f): Likewise.
30929         (FUNC_mpfr_ff_f): Likewise.
30930         (FUNC_mpfr_if_f): Likewise.
30931         (FUNC_mpc_c_f): Likewise.
30932         (FUNC_mpc_c_c): Likewise.
30933         (test_functions): Add fma.  Update calls to FUNC.
30934         (handle_input_arg): Add argument exact_args.
30935         (add_test): Update call to handle_input_arg.
30936         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
30937         (output_for_one_input_case): Update call to calc_generic_results.
30938         Recalculate exact zero results in each rounding mode.
30940         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
30941         non-negative before setting low bit.
30942         * math/auto-libm-test-in: Mark one asin test possibly having
30943         spurious underflow.
30944         * math/auto-libm-test-out: Regenerated.
30945         * sysdeps/i386/fpu/libm-test-ulps: Update.
30946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30948 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
30950         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
30951         * sysdeps/unix/sysv/linux/microblaze: Move directory from
30952         ports/sysdeps/unix/sysv/linux/microblaze.
30953         * README: Add missing listing for microblaze*-*-linux-gnu.
30955 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
30957         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
30958         duplicate code
30960 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
30962         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
30963         * sysdeps/unix/sysv/linux/ia64: Move directory from
30964         ports/sysdeps/unix/sysv/linux/ia64.
30965         * README: Update listing for ia64-*-linux-gnu.
30967 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
30968             Joseph Myers  <joseph@codesourcery.com>
30970         * Makeconfig (test-name): New variable.
30971         (evaluate-test): Likewise.
30972         * Makerules (do-test-clean): Remove .test-result files.
30973         (common-mostlyclean): Likewise.
30974         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
30975         * scripts/evaluate-test.sh: New file.
30977 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
30979         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
30980         separate $(objpfx)tst-fopenloc-cmp.out and
30981         $(objpfx)tst-fopenloc-mem.out targets.
30982         (tests): Update dependencies.
30983         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
30984         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
30985         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
30986         (tst-rxspencer-no-utf8-ARGS): New variable.
30987         (tst-rxspencer-no-utf8-ENV): Likewise.
30988         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
30989         instead of $(objpfx)tst-rxspencer-mem.
30990         ($(objpfx)tst-rxspencer-mem): Change target to
30991         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
30992         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
30993         * posix/tst-rxspencer-no-utf8.c: New file.
30995         * elf/Makefile ($(objpfx)order.out): Remove rule.
30996         [$(run-built-tests) = yes] (tests): Depend on
30997         $(objpfx)order-cmp.out.
30998         ($(objpfx)order-cmp.out): New rule.
30999         [$(run-built-tests) = yes] (tests): Depend on
31000         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
31001         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
31002         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
31003         $(objpfx)tst-array5-static-cmp.out.
31004         ($(objpfx)tst-array1.out): Remove rule.
31005         ($(objpfx)tst-array1-cmp.out): New rule.
31006         ($(objpfx)tst-array1-static.out): Remove rule.
31007         ($(objpfx)tst-array1-static-cmp.out): New rule.
31008         ($(objpfx)tst-array2.out): Remove rule.
31009         ($(objpfx)tst-array2-cmp.out): New rule.
31010         ($(objpfx)tst-array3.out): Remove rule.
31011         ($(objpfx)tst-array3-cmp.out): New rule.
31012         ($(objpfx)tst-array4.out): Remove rule.
31013         ($(objpfx)tst-array4-cmp.out): New rule.
31014         ($(objpfx)tst-array5.out): Remove rule.
31015         ($(objpfx)tst-array5-cmp.out): New rule.
31016         ($(objpfx)tst-array5-static.out): Remove rule.
31017         ($(objpfx)tst-array5-static-cmp.out): New rule.
31018         [$(run-built-tests) = yes] (tests): Depend on
31019         $(objpfx)order2-cmp.out.
31020         ($(objpfx)order2.out): Remove rule.
31021         ($(objpfx)order2-cmp.out): New rule.
31022         ($(objpfx)tst-initorder.out): Remove rule.
31023         [$(run-built-tests) = yes] (tests): Depend on
31024         $(objpfx)tst-initorder-cmp.out.
31025         ($(objpfx)tst-initorder-cmp.out): New rule.
31026         ($(objpfx)tst-initorder2.out): Remove rule.
31027         [$(run-built-tests) = yes] (tests): Depend on
31028         $(objpfx)tst-initorder2-cmp.out.
31029         ($(objpfx)tst-initorder2-cmp.out): New rule.
31030         [$(run-built-tests) = yes] (tests): Depend on
31031         $(objpfx)tst-unused-dep-cmp.out.
31032         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
31033         ($(objpfx)tst-unused-dep-cmp.out): New rule.
31034         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
31035         on $(objpfx)tst-setvbuf1-cmp.out.
31036         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
31037         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
31038         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
31039         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
31040         ($(objpfx)tst-svc.out): Remove rule.
31041         ($(objpfx)tst-svc-cmp.out): New rule.
31043 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
31045         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
31046         * ctype/ctype.h [__USE_MISC]: Likewise.
31047         * dirent/dirent.h [__USE_MISC]: Likewise.
31048         * grp/grp.h [__USE_MISC]: Likewise.
31049         * io/fcntl.h [__USE_MISC]: Likewise.
31050         * io/sys/stat.h [__USE_MISC]: Likewise.
31051         * libio/stdio.h [__USE_MISC]: Likewise.
31052         * posix/unistd.h [__USE_MISC]: Likewise.
31053         * pwd/pwd.h [__USE_MISC]: Likewise.
31054         * stdlib.h [__USE_MISC]: Likewise.
31055         * string/bits/string2.h [__USE_MISC]: Likewise.
31056         * string/string.h [__USE_MISC]: Likewise.
31057         * time/time.h [__USE_MISC]: Likewise.
31059 2014-02-13  Andreas Schwab  <schwab@suse.de>
31061         [BZ #16574]
31062         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
31063         second answer buffer if it was separately allocated.
31065 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
31067         * sysdeps/mips/math-tests.h: Include <features.h>.
31068         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
31069         (ROUNDING_TESTS_long_double): Do not define.
31070         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
31071         (EXCEPTION_TESTS_long_double): Likewise.
31072         * sysdeps/mips/mips64/libm-test-ulps: Update.
31074         * include/features.h (__USE_BSD): Remove macro definitions.
31075         (__USE_SVID): Likewise.
31076         (_BSD_SOURCE): Likewise.
31077         (_SVID_SOURCE): Likewise.
31078         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
31079         from definition of _DEFAULT_SOURCE.
31080         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
31081         [_DEFAULT_SOURCE].
31082         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
31083         * bits/mman.h [__USE_BSD]: Likewise.
31084         * bits/termios.h [__USE_BSD]: Likewise.
31085         * bits/waitstatus.h [__USE_BSD]: Likewise.
31086         * ctype/ctype.h [__USE_SVID]: Likewise.
31087         * dirent/dirent.h [__USE_BSD]: Likewise.
31088         * grp/grp.h [__USE_SVID]: Likewise.
31089         [__USE_BSD]: Likewise.
31090         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
31091         * io/fcntl.h [__USE_BSD]: Likewise.
31092         * io/ftw.h [__USE_BSD]: Likewise.
31093         * io/sys/stat.h [__USE_BSD]: Likewise.
31094         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
31095         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
31096         * libio/stdio.h [__USE_SVID]: Likewise.
31097         [__USE_BSD]: Likewise.
31098         * math/math.h [__USE_SVID]: Likewise.
31099         [__USE_BSD]: Likewise.
31100         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
31101         * misc/bits/syslog.h [__USE_BSD]: Likewise.
31102         * misc/search.h [__USE_SVID]: Likewise.
31103         * misc/sys/mman.h [__USE_BSD]: Likewise.
31104         * misc/sys/syslog.h [__USE_BSD]: Likewise.
31105         * misc/sys/uio.h [__USE_BSD]: Likewise.
31106         * posix/bits/unistd.h [__USE_BSD]: Likewise.
31107         * posix/glob.h [__USE_BSD]: Likewise.
31108         * posix/regex.h [__USE_BSD]: Likewise.
31109         * posix/sys/types.h [__USE_BSD]: Likewise.
31110         [__USE_SVID]: Likewise.
31111         * posix/sys/utsname.h [__USE_SVID]: Likewise.
31112         * posix/sys/wait.h [__USE_BSD]: Likewise.
31113         [__USE_SVID]: Likewise.
31114         * posix/unistd.h [__USE_BSD]: Likewise.
31115         [__USE_SVID]: Likewise.
31116         * pwd/pwd.h [__USE_SVID]: Likewise.
31117         * resolv/netdb.h [__USE_BSD]: Likewise.
31118         * setjmp/setjmp.h [__USE_BSD]: Likewise.
31119         * signal/signal.h [__USE_BSD]: Likewise.
31120         [__USE_SVID]: Likewise.
31121         * socket/sys/socket.h [__USE_BSD]: Likewise.
31122         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
31123         * stdlib/stdlib.h [__USE_BSD]: Likewise.
31124         [__USE_SVID]: Likewise.
31125         * string/bits/string2.h [__USE_BSD]: Likewise.
31126         [__USE_SVID]: Likewise.
31127         * string/bits/string3.h [__USE_BSD]: Likewise.
31128         * string/endian.h [__USE_BSD]: Likewise.
31129         * string/string.h [__USE_SVID]: Likewise.
31130         [__USE_BSD]: Likewise.
31131         * string/strings.h [__USE_BSD]: Likewise.
31132         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
31133         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
31134         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
31135         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
31136         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
31137         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
31138         Likewise.
31139         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
31140         Likewise.
31141         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
31142         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
31143         Likewise.
31144         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
31145         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
31146         Likewise.
31147         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
31148         Likewise.
31149         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
31150         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
31151         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
31152         Likewise.
31153         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
31154         Likewise.
31155         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
31156         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
31157         * termios/termios.h [__USE_BSD]: Likewise.
31158         * time/sys/time.h [__USE_BSD]: Likewise.
31159         * time/time.h [__USE_BSD]: Likewise.
31160         [__USE_SVID]: Likewise.
31162         * Makefile (subdir_targets): Remove subdir_lint.out.
31164         * stdio-common/Makefile (do-tst-unbputc): Remove target.
31165         (do-tst-printf): Likewise.
31166         (tests): Depend directly on $(objpfx)tst-unbputc.out and
31167         $(objpfx)tst-printf.out.
31169         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
31171         * Makerules (check-abi-%): Change target to
31172         $(objpfx)check-abi-%.out.
31173         (check-abi target): Update dependencies.
31174         (check-abi-pattern variable): Redirect output of diff to $@.
31175         (check-abi variable): Likewise.
31176         * elf/Makefile (check-abi): Update dependencies.
31178         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
31179         unused.
31180         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
31181         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
31182         subnormal range.
31183         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
31184         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
31185         value has largest subnormal exponent.
31186         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
31187         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
31188         * sysdeps/aarch64/soft-fp/sfp-machine.h
31189         (_FP_TININESS_AFTER_ROUNDING): New macro.
31190         * sysdeps/alpha/soft-fp/sfp-machine.h
31191         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31192         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
31193         Likewise.
31194         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
31195         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31196         * sysdeps/mips/soft-fp/sfp-machine.h
31197         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31198         * sysdeps/powerpc/soft-fp/sfp-machine.h
31199         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31200         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
31201         Likewise.
31202         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
31203         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31204         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
31205         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31206         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
31207         Likewise.
31209 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
31211         [BZ #16545]
31212         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
31213         model 1.
31215 2014-02-12  Richard Henderson  <rth@redhat.com>
31217         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
31218         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
31219         * sysdeps/unix/sysv/linux/alpha: Move directory from
31220         ports/sysdeps/unix/sysv/linux/alpha.
31221         * README: Update listing for alpha-*-linux-gnu.
31223 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
31225         * include/features.h: Update comment documenting feature test
31226         macros.
31227         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
31228         _DEFAULT_SOURCE.
31229         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
31230         (_SVID_SOURCE): Likewise.
31231         (_DEFAULT_SOURCE): Update description of default features.
31232         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
31233         with _GNU_SOURCE.
31234         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
31235         (S_ISVTX): Likewise.
31236         * manual/math.texi (Mathematical Constants): Likewise.
31237         * manual/signal.texi (Interrupted Primitives): Likewise.
31238         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
31239         * math/test-matherr.c (_SVID_SOURCE): Do not define.
31240         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
31241         Don't refer to _SVID_SOURCE in warning text.
31243         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31245         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
31246         already defined.
31247         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
31248         * sysdeps/mips/dl-lookup.c: Remove.
31249         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
31251 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
31253         [BZ #16447]
31254         * math/auto-libm-test-in: Add testcase for expl.
31255         * math/auto-libm-test-out: Regenerate.
31256         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
31257         calculation of unsafe.
31258         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
31260 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
31262         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
31263         * sysdeps/unix/sysv/linux/aarch64: Move directory from
31264         ports/sysdeps/unix/sysv/linux/aarch64.
31265         * README: Update listing for aarch64*-*-linux-gnu.
31267 2014-02-11  Will Newton  <will.newton@linaro.org>
31269         * manual/probes.texi (Mathematical Function Probes): Use
31270         "triggered" instead of "hit".
31272         * manual/probes.texi (Internal Probes): Add documentation
31273         of setjmp, longjmp and longjmp_target probes.
31275         * include/stap-probe.h: Add comment about probe argument
31276         format.
31278         * malloc/mtrace.c (attribute_hidden): Remove unused macro
31279         definition.  (tr_where, tr_freehook, tr_mallochook,
31280         tr_reallochook, tr_memalignhook): Use ANSI protoype.
31282 2014-02-11  David S. Miller  <davem@davemloft.net>
31284         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
31285         processing int_tests.
31287 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
31289         * sysdeps/mips: Move directory from ports/sysdeps/mips.
31290         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
31291         * sysdeps/unix/sysv/linux/mips: Move directory from
31292         ports/sysdeps/unix/sysv/linux/mips.
31293         * README: Update listing for mips-*-linux-gnu and
31294         mips64-*-linux-gnu.
31296 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
31298         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
31299         * sysdeps/unix/sysv/linux/m68k: Move directory from
31300         ports/sysdeps/unix/sysv/linux/m68k.
31301         * README: Update listing for m68k-*-linux-gnu.
31303 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
31305         * sysdeps/tile: Move directory from ports/sysdeps/tile.
31306         * sysdeps/unix/sysv/linux/generic: Move directory from
31307         ports/sysdeps/unix/sysv/linux/generic.
31308         * sysdeps/unix/sysv/linux/tile: Move directory from
31309         ports/sysdeps/unix/sysv/linux/tile.
31310         * README: Update listing for tile*-*-linux-gnu.
31312 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
31314         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
31315         __builtin_expect.
31316         * benchtests/bench-memmem.c (simple_memmem): Likewise.
31317         * catgets/open_catalog.c (__open_catalog): Likewise.
31318         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
31319         * debug/confstr_chk.c: Likewise.
31320         * debug/fread_chk.c (__fread_chk): Likewise.
31321         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
31322         * debug/getgroups_chk.c: Likewise.
31323         * debug/mbsnrtowcs_chk.c: Likewise.
31324         * debug/mbsrtowcs_chk.c: Likewise.
31325         * debug/mbstowcs_chk.c: Likewise.
31326         * debug/memcpy_chk.c: Likewise.
31327         * debug/memmove_chk.c: Likewise.
31328         * debug/mempcpy_chk.c: Likewise.
31329         * debug/memset_chk.c: Likewise.
31330         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
31331         * debug/strcat_chk.c (__strcat_chk): Likewise.
31332         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
31333         * debug/strncat_chk.c (__strncat_chk): Likewise.
31334         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
31335         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
31336         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
31337         * debug/wcpncpy_chk.c: Likewise.
31338         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
31339         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
31340         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
31341         * debug/wcsncpy_chk.c: Likewise.
31342         * debug/wcsnrtombs_chk.c: Likewise.
31343         * debug/wcsrtombs_chk.c: Likewise.
31344         * debug/wcstombs_chk.c: Likewise.
31345         * debug/wmemcpy_chk.c: Likewise.
31346         * debug/wmemmove_chk.c: Likewise.
31347         * debug/wmempcpy_chk.c: Likewise.
31348         * debug/wmemset_chk.c: Likewise.
31349         * dirent/scandirat.c (SCANDIRAT): Likewise.
31350         * dlfcn/dladdr1.c (dladdr1): Likewise.
31351         * dlfcn/dladdr.c (dladdr): Likewise.
31352         * dlfcn/dlclose.c (dlclose_doit): Likewise.
31353         * dlfcn/dlerror.c (__dlerror): Likewise.
31354         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
31355         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
31356         * dlfcn/dlopen.c (dlopen_doit): Likewise.
31357         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
31358         * dlfcn/dlsym.c (dlsym_doit): Likewise.
31359         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
31360         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
31361         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
31362         Likewise.
31363         * elf/dl-conflict.c: Likewise.
31364         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
31365         * elf/dl-dst.h: Likewise.
31366         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
31367         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
31368         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
31369         * elf/dl-init.c (call_init, _dl_init): Likewise.
31370         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
31371         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
31372         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
31373         Likewise.
31374         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
31375         Likewise.
31376         * elf/dl-minimal.c (__libc_memalign): Likewise.
31377         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
31378         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
31379         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
31380         * elf/dl-sym.c (do_sym): Likewise.
31381         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
31382         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
31383         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
31384         * elf/dl-writev.h (_dl_writev): Likewise.
31385         * elf/ldconfig.c (search_dir): Likewise.
31386         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
31387         (dl_main): Likewise.
31388         * elf/setup-vdso.h (setup_vdso): Likewise.
31389         * grp/compat-initgroups.c (compat_call): Likewise.
31390         * grp/fgetgrent.c (fgetgrent): Likewise.
31391         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
31392         * grp/putgrent.c (putgrent): Likewise.
31393         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
31394         Likewise.
31395         * hurd/hurdinit.c: Likewise.
31396         * iconvdata/8bit-gap.c (struct): Likewise.
31397         * iconvdata/ansi_x3.110.c : Likewise.
31398         * iconvdata/big5.c : Likewise.
31399         * iconvdata/big5hkscs.c : Likewise.
31400         * iconvdata/cp1255.c: Likewise.
31401         * iconvdata/cp1258.c : Likewise.
31402         * iconvdata/cp932.c : Likewise.
31403         * iconvdata/euc-cn.c: Likewise.
31404         * iconvdata/euc-jisx0213.c : Likewise.
31405         * iconvdata/euc-jp.c: Likewise.
31406         * iconvdata/euc-jp-ms.c : Likewise.
31407         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
31408         * iconvdata/gb18030.c : Likewise.
31409         * iconvdata/gbbig5.c (const): Likewise.
31410         * iconvdata/gbgbk.c: Likewise.
31411         * iconvdata/gbk.c : Likewise.
31412         * iconvdata/ibm1364.c : Likewise.
31413         * iconvdata/ibm930.c : Likewise.
31414         * iconvdata/ibm932.c: Likewise.
31415         * iconvdata/ibm933.c : Likewise.
31416         * iconvdata/ibm935.c : Likewise.
31417         * iconvdata/ibm937.c : Likewise.
31418         * iconvdata/ibm939.c : Likewise.
31419         * iconvdata/ibm943.c: Likewise.
31420         * iconvdata/iso_11548-1.c: Likewise.
31421         * iconvdata/iso-2022-cn.c : Likewise.
31422         * iconvdata/iso-2022-cn-ext.c : Likewise.
31423         * iconvdata/iso-2022-jp-3.c: Likewise.
31424         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
31425         * iconvdata/iso-2022-kr.c : Likewise.
31426         * iconvdata/iso646.c (gconv_end): Likewise.
31427         * iconvdata/iso_6937-2.c : Likewise.
31428         * iconvdata/iso_6937.c : Likewise.
31429         * iconvdata/iso8859-1.c: Likewise.
31430         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
31431         * iconvdata/shift_jisx0213.c : Likewise.
31432         * iconvdata/sjis.c : Likewise.
31433         * iconvdata/t.61.c : Likewise.
31434         * iconvdata/tcvn5712-1.c : Likewise.
31435         * iconvdata/tscii.c: Likewise.
31436         * iconvdata/uhc.c : Likewise.
31437         * iconvdata/unicode.c (gconv_end): Likewise.
31438         * iconvdata/utf-16.c (gconv_end): Likewise.
31439         * iconvdata/utf-32.c (gconv_end): Likewise.
31440         * iconvdata/utf-7.c (base64): Likewise.
31441         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
31442         * iconv/gconv_close.c (__gconv_close): Likewise.
31443         * iconv/gconv_open.c (__gconv_open): Likewise.
31444         * iconv/gconv_simple.c (internal_ucs4_loop_single)
31445         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
31446         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
31447         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
31448         (ucs4le_internal_loop_single): Likewise.
31449         * iconv/iconv.c (iconv): Likewise.
31450         * iconv/iconv_close.c: Likewise.
31451         * iconv/loop.c (SINGLE): Likewise.
31452         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
31453         * include/atomic.h: Likewise.
31454         * inet/inet6_option.c (option_alloc): Likewise.
31455         * intl/bindtextdom.c (set_binding_values): Likewise.
31456         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
31457         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
31458         * intl/localealias.c (read_alias_file): Likewise.
31459         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
31460         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
31461         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
31462         * libio/fmemopen.c (fmemopen): Likewise.
31463         * libio/iofgets.c (_IO_fgets): Likewise.
31464         * libio/iofgets_u.c (fgets_unlocked): Likewise.
31465         * libio/iofgetws.c (fgetws): Likewise.
31466         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
31467         * libio/iogetdelim.c (_IO_getdelim): Likewise.
31468         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
31469         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
31470         * locale/findlocale.c (_nl_find_locale): Likewise.
31471         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31472         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
31473         Likewise.
31474         * locale/setlocale.c (setlocale): Likewise.
31475         * login/programs/pt_chown.c (main): Likewise.
31476         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
31477         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
31478         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
31479         (mmap, mmap64, mremap, munmap): Likewise.
31480         * math/e_exp2l.c: Likewise.
31481         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
31482         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
31483         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
31484         * math/s_catan.c (__catan): Likewise.
31485         * math/s_catanf.c (__catanf): Likewise.
31486         * math/s_catanh.c (__catanh): Likewise.
31487         * math/s_catanhf.c (__catanhf): Likewise.
31488         * math/s_catanhl.c (__catanhl): Likewise.
31489         * math/s_catanl.c (__catanl): Likewise.
31490         * math/s_ccosh.c (__ccosh): Likewise.
31491         * math/s_ccoshf.c (__ccoshf): Likewise.
31492         * math/s_ccoshl.c (__ccoshl): Likewise.
31493         * math/s_cexp.c (__cexp): Likewise.
31494         * math/s_cexpf.c (__cexpf): Likewise.
31495         * math/s_cexpl.c (__cexpl): Likewise.
31496         * math/s_clog10.c (__clog10): Likewise.
31497         * math/s_clog10f.c (__clog10f): Likewise.
31498         * math/s_clog10l.c (__clog10l): Likewise.
31499         * math/s_clog.c (__clog): Likewise.
31500         * math/s_clogf.c (__clogf): Likewise.
31501         * math/s_clogl.c (__clogl): Likewise.
31502         * math/s_csin.c (__csin): Likewise.
31503         * math/s_csinf.c (__csinf): Likewise.
31504         * math/s_csinh.c (__csinh): Likewise.
31505         * math/s_csinhf.c (__csinhf): Likewise.
31506         * math/s_csinhl.c (__csinhl): Likewise.
31507         * math/s_csinl.c (__csinl): Likewise.
31508         * math/s_csqrt.c (__csqrt): Likewise.
31509         * math/s_csqrtf.c (__csqrtf): Likewise.
31510         * math/s_csqrtl.c (__csqrtl): Likewise.
31511         * math/s_ctan.c (__ctan): Likewise.
31512         * math/s_ctanf.c (__ctanf): Likewise.
31513         * math/s_ctanh.c (__ctanh): Likewise.
31514         * math/s_ctanhf.c (__ctanhf): Likewise.
31515         * math/s_ctanhl.c (__ctanhl): Likewise.
31516         * math/s_ctanl.c (__ctanl): Likewise.
31517         * math/w_pow.c: Likewise.
31518         * math/w_powf.c: Likewise.
31519         * math/w_powl.c: Likewise.
31520         * math/w_scalb.c (sysv_scalb): Likewise.
31521         * math/w_scalbf.c (sysv_scalbf): Likewise.
31522         * math/w_scalbl.c (sysv_scalbl): Likewise.
31523         * misc/error.c (error_tail): Likewise.
31524         * misc/pselect.c (__pselect): Likewise.
31525         * nis/nis_callback.c (__nis_create_callback): Likewise.
31526         * nis/nis_call.c (__nisfind_server): Likewise.
31527         * nis/nis_creategroup.c (nis_creategroup): Likewise.
31528         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
31529         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
31530         * nis/nis_getservlist.c (nis_getservlist): Likewise.
31531         * nis/nis_lookup.c (nis_lookup): Likewise.
31532         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
31533         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
31534         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
31535         * nis/nis_xdr.c (xdr_endpoint): Likewise.
31536         * nis/nss_compat/compat-grp.c (getgrent_next_file)
31537         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
31538         * nis/nss_compat/compat-initgroups.c (add_group)
31539         (internal_getgrent_r): Likewise.
31540         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
31541         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
31542         * nis/nss_compat/compat-spwd.c (getspent_next_file)
31543         (internal_getspnam_r): Likewise.
31544         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
31545         (_nss_nis_getaliasbyname_r): Likewise.
31546         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
31547         (_nss_nis_getntohost_r): Likewise.
31548         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
31549         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
31550         (_nss_nis_getgrgid_r): Likewise.
31551         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
31552         (internal_nis_gethostent_r, internal_gethostbyname2_r)
31553         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
31554         (_nss_nis_gethostbyname4_r): Likewise.
31555         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
31556         (initgroups_netid): Likewise.
31557         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
31558         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
31559         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
31560         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
31561         (_nss_nis_getprotobynumber_r): Likewise.
31562         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
31563         (_nss_nis_getsecretkey): Likewise.
31564         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
31565         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
31566         (_nss_nis_getpwuid_r): Likewise.
31567         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
31568         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
31569         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
31570         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
31571         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
31572         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
31573         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
31574         Likewise.
31575         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
31576         (_nss_nisplus_getntohost_r): Likewise.
31577         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
31578         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
31579         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
31580         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
31581         Likewise.
31582         * nis/nss_nisplus/nisplus-initgroups.c
31583         (_nss_nisplus_initgroups_dyn): Likewise.
31584         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
31585         (_nss_nisplus_getnetbyaddr_r): Likewise.
31586         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
31587         (_nss_nisplus_getprotobynumber_r): Likewise.
31588         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
31589         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
31590         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
31591         Likewise.
31592         * nis/nss_nisplus/nisplus-service.c
31593         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
31594         (_nss_nisplus_getservbyport_r): Likewise.
31595         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
31596         (_nss_nisplus_getspnam_r): Likewise.
31597         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
31598         Likewise.
31599         * nscd/aicache.c (addhstaiX): Likewise.
31600         * nscd/cache.c (cache_search, prune_cache): Likewise.
31601         * nscd/connections.c (register_traced_file, send_ro_fd)
31602         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
31603         (main_loop_epoll): Likewise.
31604         * nscd/grpcache.c (addgrbyX): Likewise.
31605         * nscd/hstcache.c (addhstbyX): Likewise.
31606         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31607         * nscd/mem.c (gc, mempool_alloc): Likewise.
31608         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
31609         (addinnetgrX): Likewise.
31610         * nscd/nscd-client.h (__nscd_acquire_maplock)
31611         (__nscd_drop_map_ref): Likewise.
31612         * nscd/nscd_getai.c (__nscd_getai): Likewise.
31613         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31614         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
31615         Likewise.
31616         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31617         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31618         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
31619         (__nscd_get_map_ref): Likewise.
31620         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
31621         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
31622         Likewise.
31623         * nscd/pwdcache.c (addpwbyX): Likewise.
31624         * nscd/selinux.c (preserve_capabilities): Likewise.
31625         * nscd/servicescache.c (addservbyX): Likewise.
31626         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
31627         * posix/fnmatch.c (fnmatch): Likewise.
31628         * posix/getopt.c (_getopt_internal_r): Likewise.
31629         * posix/glob.c (glob, glob_in_dir): Likewise.
31630         * posix/wordexp.c (exec_comm_child): Likewise.
31631         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
31632         (getanswer_r, gaih_getanswer_slice): Likewise.
31633         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
31634         * resolv/res_init.c: Likewise.
31635         * resolv/res_mkquery.c (res_nmkquery): Likewise.
31636         * resolv/res_query.c (__libc_res_nquery): Likewise.
31637         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
31638         Likewise.
31639         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
31640         * stdio-common/perror.c (perror): Likewise.
31641         * stdio-common/printf_fp.c (___printf_fp): Likewise.
31642         * stdio-common/tmpnam.c (tmpnam): Likewise.
31643         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
31644         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
31645         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
31646         Likewise.
31647         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
31648         * stdlib/putenv.c (putenv): Likewise.
31649         * stdlib/setenv.c (__add_to_environ): Likewise.
31650         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
31651         * stdlib/strtol_l.c (INTERNAL): Likewise.
31652         * string/memmem.c (memmem): Likewise.
31653         * string/strerror.c (strerror): Likewise.
31654         * string/strnlen.c (__strnlen): Likewise.
31655         * string/test-memmem.c (simple_memmem): Likewise.
31656         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
31657         * sunrpc/pm_getport.c (__get_socket): Likewise.
31658         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
31659         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
31660         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
31661         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
31662         Likewise.
31663         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
31664         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
31665         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
31666         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
31667         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
31668         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
31669         Likewise.
31670         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
31671         Likewise.
31672         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
31673         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
31674         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
31675         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
31676         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
31677         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
31678         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
31679         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
31680         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
31681         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
31682         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
31683         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
31684         Likewise.
31685         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
31686         Likewise.
31687         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
31688         Likewise.
31689         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
31690         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31691         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
31692         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
31693         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
31694         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
31695         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
31696         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
31697         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
31698         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
31699         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
31700         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31701         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
31702         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
31703         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31704         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
31705         Likewise.
31706         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
31707         Likewise.
31708         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
31709         Likewise.
31710         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
31711         Likewise.
31712         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31713         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31714         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
31715         Likewise.
31716         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
31717         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
31718         * sysdeps/posix/opendir.c (__opendirat): Likewise.
31719         * sysdeps/posix/sleep.c: Likewise.
31720         * sysdeps/posix/tempname.c: Likewise.
31721         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
31722         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
31723         Likewise.
31724         * sysdeps/powerpc/powerpc32/dl-machine.h
31725         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
31726         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
31727         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31728         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
31729         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
31730         Likewise.
31731         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
31732         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
31733         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
31734         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
31735         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
31736         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
31737         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
31738         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
31739         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31740         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
31741         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
31742         (elf_machine_lazy_rel): Likewise.
31743         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
31744         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
31745         (elf_machine_lazy_rel): Likewise.
31746         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
31747         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
31748         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
31749         * sysdeps/unix/grantpt.c (grantpt): Likewise.
31750         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
31751         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
31752         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
31753         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31754         Likewise.
31755         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
31756         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
31757         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
31758         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
31759         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
31760         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
31761         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
31762         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
31763         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
31764         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
31765         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
31766         Likewise.
31767         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
31768         (__posix_fallocate64_l64): Likewise.
31769         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
31770         (posix_fallocate): Likewise.
31771         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
31772         Likewise.
31773         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31774         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
31775         (getifaddrs_internal): Likewise.
31776         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
31777         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
31778         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
31779         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
31780         * sysdeps/unix/sysv/linux/posix_fallocate64.c
31781         (__posix_fallocate64_l64): Likewise.
31782         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
31783         Likewise.
31784         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
31785         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
31786         (__get_clockfreq): Likewise.
31787         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
31788         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
31789         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
31790         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31791         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31792         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
31793         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
31794         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
31795         Likewise.
31796         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
31797         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
31798         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
31799         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
31800         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31801         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
31802         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
31803         Likewise.
31804         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31805         (posix_fallocate): Likewise.
31806         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31807         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
31808         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
31809         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
31810         (elf_machine_rela, elf_machine_rela_relative)
31811         (elf_machine_lazy_rel): Likewise.
31812         * time/asctime.c (asctime_internal): Likewise.
31813         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
31814         * time/tzset.c (__tzset_parse_tz): Likewise.
31815         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
31816         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
31817         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
31818         * wcsmbs/wcsmbsload.h: Likewise.
31820         [BZ #15894]
31821         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
31823         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
31824         (arena_get2): Remove THREAD_STATS conditionals.
31825         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
31826         (__malloc_stats, int): Likewise.
31828 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
31830         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
31831         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
31833         * manual/setjmp.texi: Fix typos/grammar errors.
31835         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
31836         Only return early when n is <= 0.  Delete unused return statement.
31838         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
31839         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
31840         * debug/tst-longjmp_chk3.c: New file.
31842         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
31843         (test_main): Replace code with set_fortify_handler call.
31844         * debug/test-strcpy_chk.c: Likewise.
31845         * debug/tst-chk1.c: Likewise.
31846         * debug/tst-longjmp_chk.c: Likewise.
31847         * test-skeleton.c: Include fcntl.h & paths.h
31848         (set_fortify_handler): Define.
31850         * debug/tst-longjmp_chk.c: Add header comment and include
31851         ../test-skeleton.c.
31852         (do_test): Mark static.
31853         (TEST_FUNCTION): Define.
31855         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
31856         (IP_PMTUDISC_INTERFACE): Likewise.
31857         (IP_MULTICAST_IF): Likewise.
31858         (IP_MULTICAST_TTL): Likewise.
31859         (IP_MULTICAST_LOOP): Likewise.
31860         (IP_ADD_MEMBERSHIP): Likewise.
31861         (IP_DROP_MEMBERSHIP): Likewise.
31862         (IP_UNBLOCK_SOURCE): Likewise.
31863         (IP_BLOCK_SOURCE): Likewise.
31864         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
31865         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
31866         (IP_MSFILTER): Likewise.
31867         (MCAST_JOIN_GROUP): Likewise.
31868         (MCAST_BLOCK_SOURCE): Likewise.
31869         (MCAST_UNBLOCK_SOURCE): Likewise.
31870         (MCAST_LEAVE_GROUP): Likewise.
31871         (MCAST_JOIN_SOURCE_GROUP): Likewise.
31872         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
31873         (MCAST_MSFILTER): Likewise.
31874         (IP_MULTICAST_ALL): Likewise.
31875         (IP_UNICAST_IF): Likewise.
31877         * timezone/Makefile: Delete $(have-ksh) check.
31878         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
31879         * timezone/tzselect.ksh: Add +x mode bits.
31881         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
31882         (ANON_INODE_FS_MAGIC): Likewise.
31883         (BDEVFS_MAGIC): Likewise.
31884         (BINFMTFS_MAGIC): Likewise.
31885         (BTRFS_TEST_MAGIC): Likewise.
31886         (CRAMFS_MAGIC_WEND): Likewise.
31887         (DEBUGFS_MAGIC): Likewise.
31888         (ECRYPTFS_SUPER_MAGIC): Likewise.
31889         (EXT3_SUPER_MAGIC): Likewise.
31890         (EXT4_SUPER_MAGIC): Likewise.
31891         (FUTEXFS_SUPER_MAGIC): Likewise.
31892         (HOSTFS_SUPER_MAGIC): Likewise.
31893         (HUGETLBFS_MAGIC): Likewise.
31894         (MINIX3_SUPER_MAGIC): Likewise.
31895         (MTD_INODE_FS_MAGIC): Likewise.
31896         (NILFS_SUPER_MAGIC): Likewise.
31897         (OPENPROM_SUPER_MAGIC): Likewise.
31898         (PIPEFS_MAGIC): Likewise.
31899         (PSTOREFS_MAGIC): Likewise.
31900         (QNX6_SUPER_MAGIC): Likewise.
31901         (RAMFS_MAGIC): Likewise.
31902         (REISERFS_SUPER_MAGIC_STRING): Likewise.
31903         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
31904         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
31905         (SECURITYFS_MAGIC): Likewise.
31906         (SELINUX_MAGIC): Likewise.
31907         (SMACK_MAGIC): Likewise.
31908         (SOCKFS_MAGIC): Likewise.
31909         (SQUASHFS_MAGIC): Likewise.
31910         (STACK_END_MAGIC): Likewise.
31911         (TMPFS_MAGIC): Likewise.
31912         (USBDEVICE_SUPER_MAGIC): Likewise.
31913         (V9FS_MAGIC): Likewise.
31914         (XENFS_SUPER_MAGIC): Likewise.
31915         (CRAMFS_MAGIC): Fix typo in comment.
31916         (EXT2_SUPER_MAGIC): Update comment.
31917         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
31919 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
31921         * sysdeps/arm: Move directory from ports/sysdeps/arm.
31922         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
31923         * sysdeps/unix/sysv/linux/arm: Move directory from
31924         ports/sysdeps/unix/sysv/linux/arm.
31925         * README: Update listing for arm-*-linux-gnueabi.
31927         * README: Remove mention of am33.
31929 2014-02-07  Roland McGrath  <roland@hack.frob.com>
31931         * bits/sigset.h (__sigemptyset): Use a statement expression rather
31932         than the comma operator, to avoid "rhs of comma has no effect"
31933         compiler warnings.
31934         (__sigfillset, __sigandset, __sigorset): Likewise.
31935         * include/signal.h (__sigemptyset): Likewise.
31936         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
31938 2014-02-07  Allan McRae  <allan@archlinux.org>
31940         * version.h (RELEASE): Set to "development".
31941         (VERSION): Set to "2.19.90"
31942         * NEWS: Add 2.20 section.
31944 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
31946         [BZ #16529]
31947         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
31949 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
31951         * manual/contrib.texi: Update entry for Carlos O'Donell,
31952         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
31954 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
31956         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
31958         * sysdeps/unix/sysv/linux/kernel-features.h
31959         [__LINUX_KERNEL_VERSION >= 0x020621]
31960         (__ASSUME_PROC_PID_TASK_COMM): Define.
31962 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31964         [BZ #16398]
31965         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
31966         conversion when destination buffer does not have enough space.
31967         * libio/tst-ftell-partial-wide.c: New test case.
31968         * libio/Makefile (tests): Add tst-ftell-partial-wide.
31970         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
31971         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
31972         Leonard and Allan McRae.
31974 2014-02-04  David S. Miller  <davem@davemloft.net>
31976         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
31977         32-bit.
31979 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
31982         New file
31983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
31984         New file
31985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
31986         New file.
31987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
31988         New file.
31989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
31990         New file.
31991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
31992         New file.
31993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
31994         New file.
31995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
31996         New file.
31997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
31998         New file.
31999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
32000         New file.
32001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
32002         New file.
32003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
32004         New file.
32005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
32006         New file.
32008 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32010         * nptl/shlib-versions: Change powerpc*le start to 2.17.
32011         * shlib-versions: Likewise.
32013 2014-02-04  Roland McGrath  <roland@hack.frob.com>
32014             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32016         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
32017         (abilist-pattern): New variable, set to %-le.abilist.
32019         * Makerules (abilist-pattern): New variable.
32020         (vpath): Use $(abilist-pattern) in place of %.abilist.
32021         (check-abi-% pattern rule): Likewise.
32022         (check-abi, update-abi): Likewise.
32024 2014-02-04  Eric Wong  <normalperson@yhbt.net>
32026         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32028 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
32030         * manual/startup.texi: Add next, previous, and top entries for
32031         the `Program Arguments' and `Environment Variables' nodes.
32033 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
32035         * manual/macros.texi: Add comments before MTASC-safety macros.
32037         * manual/users.texi: Document MTASC-safety properties.
32039         * manual/threads.texi (pthread_key_create, pthread_key_delete)
32040         (pthread_getspecific, pthread_setspecific): Format with
32041         @deftypefun, and add @safety note.
32042         * manual/signal.texi: Move comments that analyze the above
32043         functions to their home place.
32045 2014-02-03  Allan McRae  <allan@archlinux.org>
32047         * po/sl.po: Update Slovenian translation from translation project.
32049 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
32051         * manual/time.texi (timegm): Add missing blank after @c.
32052         Reported by Joseph Myers <joseph@codesourcery.com>.
32054 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
32056         * manual/check-safety.sh: New.
32057         * manual/Makefile ($(objpfx)stamp-summary): Run it.
32059         * manual/terminal.texi: Document MTASC-safety properties.
32061         * manual/filesys.texi: Document MTASC-safety properties.
32063         * manual/errno.texi: Document MTASC-safety properties.
32065         * manual/intro.texi: Document safety identifiers and
32066         conditionals.
32068         * manual/string.texi (wcstok): Fix prototype.
32069         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
32071         * manual/time.texi: Document MTASC-safety properties.
32073         * manual/string.texi: Document MTASC-safety properties.
32075         * manual/threads.texi: Document MTASC-safety properties.
32077         * manual/stdio.texi: Document MTASC-safety properties.
32079         * manual/syslog.texi: Document MTASC-safety properties.
32081         * manual/sysinfo.texi: Document MTASC-safety properties.
32083         * manual/startup.texi: Document MTASC-safety properties.
32085         * manual/socket.texi: Document MTASC-safety properties.
32087         * manual/signal.texi: Document MTASC-safety properties.
32089 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
32091         * manual/setjmp.texi: Document MTASC-safety properties.
32093         * manual/search.texi: Document MTASC-safety properties.
32095         * manual/resource.texi: Document MTASC-safety properties.
32097         * manual/process.texi: Document MTASC-safety properties.
32099         * manual/platform.texi: Document MTASC-safety properties.
32101         * manual/pipe.texi: Document MTASC-safety properties.
32103         * manual/pattern.texi: Document MTASC-safety properties.
32105         * manual/message.texi: Document MTASC-safety properties.
32107         [BZ #12751]
32108         * manual/memory.texi: Document MTASC-safety properties.
32110         * manual/math.texi: Document MTASC-safety properties.
32112         * manual/locale.texi: Document MTASC-safety properties.
32114         * manual/llio.texi: Document MTASC-safety properties.
32116         * manual/libdl.texi: New.
32118         * manual/lang.texi: Document MTASC-safety properties.
32120         * manual/job.texi: Document MTASC-safety properties.
32122         * manual/getopt.texi: Document MTASC-safety properties.
32124         * manual/ctype.texi: Document MTASC-safety properties.
32126 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
32128         [BZ #16046]
32129         * csu/libc-tls.c (static_map): Remove variable.
32130         (__libc_setup_tls): Use main executable's link map for TLS data.
32131         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
32132         casing for LM_ID_BASE and GL(dl_nns).
32133         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
32134         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
32135         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
32136         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
32137         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
32138         member.
32139         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
32140         l_phnum members.
32142 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
32144         * manual/debug.texi: Document MTASC-safety properties.
32146 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
32148         [BZ #16510]
32149         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
32150         of __x86_64__ when disabling x87 inline functions.
32152 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
32154         * manual/charset.texi: Document MTASC-safety properties.
32156         * manual/crypt.texi: Document MTASC-safety properties.
32158         * manual/conf.texi: Document MTASC-safety properties.
32160         * manual/arith.texi: Document MTASC-safety properties.
32162         * manual/argp.texi: Document MTASC-safety properties.
32164         * manual/macros.texi: Introduce macros to document multi
32165         thread, asynchronous signal and asynchronous cancellation
32166         safety properties.
32167         * manual/intro.texi: Introduce the properties themselves.
32169 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32171         * sysdeps/sh/sh4/Makefile: New file.
32173 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
32175         * math/gen-libm-test.pl ($srcdir): New variable.
32176         ($auto_input): Use it.
32178 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32180         [BZ #16506]
32181         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
32182         access beyond array bounds when parsing netgroups file.
32184         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
32185         the old buffer before realloc.
32187 2014-01-27  Allan McRae  <allan@archlinux.org>
32189         * po/fr.po: Update French translation from translation project.
32191 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32193         * sysdeps/sh/libm-test-ulps: Regenerate.
32195 2014-01-24  David S. Miller  <davem@davemloft.net>
32197         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
32199 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32201         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
32202         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
32204 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32206         [BZ #16474]
32207         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
32208         string pointers after reallocation.
32210 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32212         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
32213         __SH4A__ instead of __SH_FPU_ANY__.
32215 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32217         * sysdeps/sh/fpu_control.h: New file.
32218         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
32219         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
32220         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
32221         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
32222         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
32223         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
32224         * sysdeps/sh/sys/ucontext.h: Remove.
32225         * sysdeps/sh/sys: Remove directory.
32227 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32229         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
32230         s390/sys/ucontext.h.
32231         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
32232         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
32234 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
32236         [BZ #15605]
32237         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
32239 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32241         [BZ#16431]
32242         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
32243         Adjust the vDSO correctly for internal calls.
32244         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
32246 2014-01-20  Allan McRae  <allan@archlinux.org>
32248         * po/ca.po: Update Catalan translation from translation project.
32250 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
32252         * sysdeps/s390/sotruss-lib.c: New file.
32254 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32256         [BZ#16430]
32257         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
32258         (__GI___gettimeofday): Alias for a different internal symbol to avoid
32259         local calls issues by not having a PLT stub required for IFUNC calls.
32260         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
32262 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
32264         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
32265         * math/test-fpucw-static.c: Likewise.
32267 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32269         [BZ #16453]
32270         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
32272 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32274         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
32275         implementation for powerpc.
32277 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
32279         [BZ #14782]
32280         * sysdeps/posix/system.c (__libc_system): Do not enable
32281         asynchronous cancellation.
32283 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32285         [BZ #16427]
32286         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
32287         handling only for numbers special also in the IEEE case.
32289 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32291         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32293 2014-01-11  Allan McRae  <allan@archlinux.org>
32295         * po/bg.po: Update Bulgarian translation from translation project.
32297         * po/de.po: Update German translation from translation project.
32299 2014-01-10  Roland McGrath  <roland@hack.frob.com>
32301         * sysdeps/generic/gcc-compat.h: New file.
32303 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32305         * benchtests/asin-inputs: Correct slow inputs.
32306         * benchtests/acos-inputs: Likewise.
32308 2014-01-10  Allan McRae  <allan@archlinux.org>
32310         * po:sv.po: Update Swedish translation from translation project.
32312         * po/vi.po: Update Vietnamese translation from translation project.
32314         * po/eo.po: Update Esperanto translation from translation project.
32316         * po/cs.po: Update Czech translation from translation project.
32318         * po/nl.po: Update Dutch translation from translation project.
32320         * po/pl.po: Update Polish translation from translation project.
32322         * po/ru.po: Update Russian translation from translation project.
32324         * po/uk.po: Update Ukrainian translation from translation project.
32326 2014-01-08  Brooks Moses  <bmoses@google.com>
32328         * elf/dl-load.c: Fix comment typo.
32330 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
32332         * po/header.pot: Rename to...
32333         * po/pot.header: ... this.
32334         * po/Makefile: Use pot.header.
32336 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
32337             Maxim Kuvyrkov  <maxim@kugelworks.com>
32339         [BZ #16394]
32340         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
32341         SRC and DEST against LEN.
32343 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32345         [BZ #16414]
32346         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
32347         implementation.
32348         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
32350 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32352         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32354 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
32356         [BZ #16408]
32357         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
32358         for large positive arguments.
32360 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
32362         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
32364         * math/auto-libm-test-in: Mark various tests with
32365         xfail-rounding:ldbl-128ibm.
32366         * math/auto-libm-test-out: Regenerated.
32368         [BZ #16407]
32369         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
32370         Increase overflow threshold.
32372 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
32374         [BZ #14286]
32375         * stdio-common/vfprintf.c: Check for integer overflow.
32377 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32379         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
32380         the first argument and return value of __tls_get_addr_internal.
32382 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32384         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
32385         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
32387 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32389         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
32390         * sysdeps/s390/rtld-global-offsets.sym: New file.
32391         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
32392         GLIBC_2.19 symbol.
32393         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
32394         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
32395         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
32396         ... this.
32397         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
32398         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
32399         ... this.
32400         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32401         Regenerate.
32402         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32403         Regenerate.
32404         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
32405         halfs of GPRs for high_gprs contexts.
32406         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
32407         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
32408         field.
32409         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
32410         uc_flags field.
32411         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
32412         64 bit versions:
32413         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
32414         for high GPRs (uc_high_gprs) and for future extensions
32415         (__reserved).
32416         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
32417         for future extensions (__reserved).
32418         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
32419         64 bit versions:
32420         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
32421         SC_HIGHGPRS offset definition.
32422         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
32423         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
32425         * Versions.def: Add GLIBC_2.19 for libpthread.
32426         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
32427         siglongjmp for libpthread with GLIBC_2.19 symver.
32428         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
32429         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
32430         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
32431         * sysdeps/s390/__longjmp.c: New file.
32432         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
32433         * sysdeps/s390/longjmp.c: New file.
32434         * sysdeps/s390/setjmp.S: New file.
32435         * sysdeps/s390/sigjmp.S: New file.
32436         * sysdeps/s390/v1-longjmp.c: New file.
32437         * sysdeps/s390/v1-setjmp.h: New file.
32438         * sysdeps/s390/v1-sigjmp.c: New file.
32439         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
32440         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
32441         GLIBC_2.19 version.
32442         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
32443         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
32444         versioned symbols for ____longjmp_chk.
32445         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
32446         Likewise.
32447         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32448         Regenerate.
32449         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32450         Regenerate.
32451         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32452         Regenerate.
32453         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32454         Regenerate.
32455         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
32456         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
32457         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
32458         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
32459         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
32460         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
32461         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
32462         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
32463         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
32464         * sysdeps/s390/rtld-__longjmp.c: New file.
32465         * sysdeps/s390/rtld-setjmp.S: New file.
32467 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
32469         [BZ #16400]
32470         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
32471         Return -__logl (x) for small positive arguments without evaluating
32472         a polynomial.
32474 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
32476         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
32477         Rename to ...
32478         (__ptrace_peeksiginfo_args): ... this.
32479         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32480         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32481         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32483 2014-01-06  Allan McRae  <allan@archlinux.org>
32485         * inet/netinet/in.h: Fix typo in comment.
32487 2014-01-05  Andreas Jaeger  <aj@suse.de>
32489         * sysdeps/i386/fpu/libm-test-ulps: Update.
32491 2014-01-05  Allan McRae  <allan@archlinux.org>
32493         * po/libc.pot: Regenerated.
32495         * malloc/memusagestat.c: Fix gettext call formatting.
32497 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
32499         * nscd/nscd.c: Improve usage() output.
32501 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
32503         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
32504         * sysdeps/unix/sysv/linux/configure: Regenerated.
32505         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
32506         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
32508 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
32510         [BZ #16390]
32511         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
32512         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
32514 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32516         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
32517         extra tokens at end of #undef directive.
32518         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
32519         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
32520         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
32522 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
32524         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
32526         * math/auto-libm-test-in: Mark various tests with
32527         xfail-rounding:ldbl-128ibm.
32528         * math/auto-libm-test-out: Regenerated.
32530 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
32532         [BZ #16386]
32533         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
32534         numbers with subnormal high part when calculating exponent.
32536         [BZ #16385]
32537         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
32538         fabs.
32540         [BZ #16384]
32541         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
32542         M_LN2l.
32543         (__ieee754_acoshl): Use __log1pl not __log1p.
32545 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
32547         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
32548         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
32549         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
32550         (grow_heap, heap_trim, _int_new_arena, get_free_list)
32551         (reused_arena, arena_get2): Convert to GNU style.
32552         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
32553         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
32554         (memalign_check, __malloc_set_state): Likewise.
32555         * malloc/mallocbug.c (main): Likewise.
32556         * malloc/malloc.c (__malloc_assert, malloc_init_state)
32557         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
32558         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
32559         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
32560         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
32561         (__posix_memalign, malloc_info): Likewise.
32562         * malloc/malloc.h: Likewise.
32563         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
32564         (mallochook, memalignhook, reallochook, mabort): Likewise.
32565         * malloc/mcheck.h: Likewise.
32566         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
32567         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
32568         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
32569         * malloc/morecore.c (__default_morecore): Likewise.
32570         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
32571         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
32572         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
32573         (print_and_abort): Likewise.
32574         * malloc/obstack.h: Likewise.
32575         * malloc/set-freeres.c (__libc_freeres): Likewise.
32576         * malloc/tst-mallocstate.c (main): Likewise.
32577         * malloc/tst-mtrace.c (main): Likewise.
32578         * malloc/tst-realloc.c (do_test): Likewise.
32580 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32582         [BZ #16366]
32583         * nscd/netgroupcache.c (do_notfound): New function.
32584         (addgetnetgrentX): Use it.
32586         [BZ # 16365]
32587         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
32588         NSS_STATUS_NOTFOUND.
32590 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
32592         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
32593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32595 2014-01-01  Allan McRae  <allan@archlinux.org>
32597         * scripts/update-copyrights: Update configure input file suffix.
32599         * NEWS: Update copyright year.
32600         * catgets/gencat.c: Likewise.
32601         * csu/version.c: Likewise.
32602         * debug/catchsegv.sh: Likewise.
32603         * debug/pcprofiledump.c: Likewise.
32604         * debug/xtrace.sh: Likewise.
32605         * elf/ldconfig.c: Likewise.
32606         * elf/ldd.bash.in: Likewise.
32607         * elf/pldd.c: Likewise.
32608         * elf/sotruss.ksh: Likewise.
32609         * elf/sprof.c: Likewise.
32610         * iconv/iconv_prog.c: Likewise.
32611         * iconv/iconvconfig.c: Likewise.
32612         * locale/programs/locale.c: Likewise.
32613         * locale/programs/localedef.c: Likewise.
32614         * login/programs/pt_chown.c: Likewise.
32615         * malloc/memusage.sh: Likewise.
32616         * malloc/memusagestat.c: Likewise.
32617         * malloc/mtrace.pl: Likewise.
32618         * manual/libc.texinfo: Likewise.
32619         * nscd/nscd.c: Likewise.
32620         * nss/getent.c: Likewise.
32621         * nss/makedb.c: Likewise.
32622         * posix/getconf.c: Likewise.
32623         * scripts/test-installation.pl: Likewise.
32625         * All files with FSF copyright notices: Update copyright dates
32626         using scripts/update-copyrights.
32627         * intl/plural.c: Regenerated.
32628         * locale/programs/charmap-kw.h: Likewise.
32629         * locale/programs/locfile-kw.h: Likewise.
32631 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
32633         * sysdeps/unix/sysv/linux/configure: Regenerated.
32634         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
32635         the linux/fanotify.h header.
32636         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
32637         HAVE_LINUX_FANOTIFY_H is defined.
32639 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
32641         * benchtests/cos-inputs: New inputs.
32642         * benchtests/sin-inputs: Likewise.
32644         * benchtests/atan-inputs: New inputs. Fix name of multiple
32645         precision fallback inputs.
32647         * benchtests/atanh-inputs: New inputs.
32648         * benchtests/tanh-inputs: Likewise.
32650         * benchtests/acosh-inputs: New inputs.
32651         * benchtests/asinh-inputs: Likewise.
32653         * benchtests/cosh-inputs: New inputs.
32654         * benchtests/sinh-inputs: Likewise.
32656         * benchtests/acos-inputs: Add more inputs.
32657         * benchtests/asin-inputs: Likewise.
32659 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
32661         [BZ #16375]
32662         * manual/arith.texi: Fix spelling.
32663         * manual/charset.texi: Likewise.
32664         * manual/errno.texi: Likewise.
32665         * manual/filesys.texi: Likewise.
32666         * manual/lang.texi: Likewise.
32667         * manual/llio.texi: Likewise.
32668         * manual/locale.texi: Likewise.
32669         * manual/message.texi: Likewise.
32670         * manual/resource.texi: Likewise.
32671         * manual/search.texi: Likewise.
32672         * manual/setjmp.texi: Likewise.
32673         * manual/stdio.texi: Likewise.
32674         * manual/string.texi: Likewise.
32675         * manual/sysinfo.texi: Likewise.
32676         * manual/time.texi: Likewise.
32678 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
32680         * po/sl.po: New file.
32682 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
32684         * .gitignore: Add core/.gdbinit/.gdb_history.
32686 2013-12-27  Allan McRae  <allan@archlinux.org>
32688         [BZ #16369]
32689         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
32690         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
32692 2013-12-24  Brooks Moses  <bmoses@google.com>
32694         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
32695         all compilers that claim C++98 compliance, not just GCC.
32696         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
32697         Likewise.
32699 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
32701         * NEWS: Restore accidentally deleted bug-fix entries.
32703 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
32704             Ondřej Bílka  <neleai@seznam.cz>
32706         [BZ #15073]
32707         * malloc/malloc.c (_int_free): Perform sanity check only if we
32708         have_lock.
32710 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
32712         [BZ #12986]
32713         * manual/stdio.texi (String Input Conversions): Clarify that character
32714         classes are not supported.
32716 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32718         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32720 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
32722         [BZ #16337]
32723         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
32724         Calculate results for small negative arguments directly rather
32725         than using reflection formula with special underflow handling.
32727         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
32728         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
32729         sysdeps/unix/bsd/bsd4.4/syscalls.list.
32730         (fchflags): Likewise.
32731         (revoke): Likewise.
32732         (setlogin): Likewise.
32733         (sigaltstack): Likewise.
32734         (wait4): Likewise.
32735         (sigblock): Remove.
32736         (sigsetmask): Likewise.
32737         (wait3): Likewise.
32738         (waitpid): Likewise.
32739         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
32740         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
32741         file.
32742         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
32743         * sysdeps/unix/bsd/Makefile: ... here.
32744         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
32745         * sysdeps/unix/bsd/Versions: ... here.
32746         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
32747         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
32748         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
32749         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
32750         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
32751         * sysdeps/unix/bsd/sigblock.c: ... here.
32752         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
32753         * sysdeps/unix/bsd/sigsetmask.c: ... here.
32754         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
32755         * sysdeps/unix/bsd/sigvec.c: ... here.
32756         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
32757         * sysdeps/unix/bsd/tcdrain.c: ... here.
32758         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
32759         * sysdeps/unix/bsd/tcgetattr.c: ... here.
32760         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
32761         * sysdeps/unix/bsd/tcsetattr.c: ... here.
32762         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
32763         * sysdeps/unix/bsd/wait.c: ... here.
32764         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
32765         * sysdeps/unix/bsd/wait3.c: ... here.
32766         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
32767         * sysdeps/unix/bsd/waitpid.c: ... here.
32769 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
32771         [BZ #16356]
32772         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
32773         round-to-nearest for [!USE_AS_EXPM1L].
32774         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
32775         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
32776         more tests of exp and exp10.  Expect some exp10 tests to miss
32777         exceptions or fail in directed rounding modes.
32778         * math/auto-libm-test-out: Regenerated.
32779         * math/libm-test.inc (exp10_tonearest_test_data): New array.
32780         (exp10_test_tonearest): New function.
32781         (exp10_towardzero_test_data): New array.
32782         (exp10_test_towardzero): New function.
32783         (exp10_downward_test_data): New array.
32784         (exp10_test_downward): New function.
32785         (exp10_upward_test_data): New array.
32786         (exp10_test_upward): New function.
32787         (main): Call the new functions.
32788         * sysdeps/i386/fpu/libm-test-ulps: Update.
32789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32791 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
32793         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
32794         asinh, atan, atan2, atanh, cbrt, cos and cosh.
32795         * math/auto-libm-test-out: Regenerated.
32796         * math/libm-test.inc (acosh_test_data): Add more tests.
32797         (atanh_test_data): Likewise.
32798         (ceil_test_data): Likewise.
32799         (copysign_test_data): Likewise.
32800         * sysdeps/i386/fpu/libm-test-ulps: Update.
32801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32803         * timezone/checktab.awk: Update from tzcode 2013i.
32804         * timezone/private.h: Likewise.
32805         * timezone/scheck.c: Likewise.
32806         * timezone/tzfile.h: Likewise.
32807         * timezone/tzselect.ksh: Likewise.
32808         * timezone/zdump.c: Likewise.
32809         * timezone/zic.c: Likewise.
32811         * math/auto-libm-test-in: Add tests of cpow.
32812         * math/auto-libm-test-out: Regenerated.
32813         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
32814         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32815         mpc_cc_c.
32816         (func_calc_desc): Add mpc_cc_c union field.
32817         (test_functions): Add cpow.
32818         (special_fill_2pi): New function.
32819         (special_real_inputs): Add 2pi.
32820         (calc_generic_results): Handle mpc_cc_c.
32821         * sysdeps/i386/fpu/libm-test-ulps: Update.
32822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32824         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
32825         csqrt, ctan and ctanh.
32826         * math/auto-libm-test-out: Regenerated.
32827         * math/libm-test.inc (TEST_COND_x86_64): New macro.
32828         (TEST_COND_x86): Likewise.
32829         (ccos_test_data): Use AUTO_TESTS_c_c.
32830         (ccosh_test_data): Likewise.
32831         (cexp_test_data): Likewise.
32832         (clog_test_data): Likewise.
32833         (csqrt_test_data): Likewise.
32834         (ctan_test_data): Likewise.
32835         (ctan_tonearest_test_data): Likewise.
32836         (ctan_towardzero_test_data): Likewise.
32837         (ctan_downward_test_data): Likewise.
32838         (ctan_upward_test_data): Likewise.
32839         (ctanh_test_data): Likewise.
32840         (ctanh_tonearest_test_data): Likewise.
32841         (ctanh_towardzero_test_data): Likewise.
32842         (ctanh_downward_test_data): Likewise.
32843         (ctanh_upward_test_data): Likewise.
32844         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32845         mpc_c_c.
32846         (func_calc_desc): Add mpc_c_c union field.
32847         (FUNC_mpc_c_c): New macro.
32848         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
32849         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
32850         ctanh.
32851         (special_fill_min_subnorm_p120): New function.
32852         (special_real_inputs): Add min_subnorm_p120.
32853         (calc_generic_results): Handle mpc_c_c.
32854         * sysdeps/i386/fpu/libm-test-ulps: Update.
32855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32857 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
32859         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
32860         (do_sin_slow): New functions.
32861         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
32862         (cslow2, csloww1, csloww2): Use the new functions.
32864         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
32865         Use M to change sign of result instead of X.  Assume X is
32866         positive.
32867         (csloww1): Likewise.
32868         (__sin): Adjust.
32869         (__cos): Adjust.
32871         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
32872         arguments A and DA.
32873         (__sin): Adjust.
32874         (__cos): Likewise.
32876         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
32877         (__cos): Likewise.
32878         (sloww1): Don't adjust sign of DX.
32879         (csloww1): Likewise.
32880         (sloww2): Use X directly and don't adjust sign of DX.
32881         (csloww2): Likewise.
32883 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
32885         * math/auto-libm-test-in: Add tests of cabs and carg.
32886         * math/auto-libm-test-out: Regenerated.
32887         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
32888         (carg_test_data): Likewise.
32889         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32890         mpc_c_f.
32891         (func_calc_desc): Add mpc_c_f union field.
32892         (test_functions): Add cabs and carg.
32893         (calc_generic_results): Handle mpc_c_f.
32895         * sysdeps/powerpc/powerpc32/libgcc-compat.S
32896         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
32897         as a macro and a compat symbol.
32898         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
32899         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
32900         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
32901         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
32902         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
32903         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
32904         not use .hidden.
32905         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
32906         Likewise.
32907         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
32908         Likewise.
32909         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
32910         Likewise.
32911         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
32912         Likewise.
32913         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
32914         Likewise.
32915         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
32916         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
32917         from GLIBC_2.3.2.
32919 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32921         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32923 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
32925         * manual/texinfo.tex: Update to version 2013-11-26.10 with
32926         trailing whitespace removed.
32927         * scripts/config.guess: Update to version 2013-11-29.
32928         * scripts/config.sub: Update to version 2013-10-01.
32930         * math/auto-libm-test-in: Add tests of sincos.
32931         * math/auto-libm-test-out: Regenerated.
32932         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
32933         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32934         mpfr_f_11.
32935         (func_calc_desc): Add mpfr_f_11 union field.
32936         (test_functions): Add sincos.
32937         (calc_generic_results): Handle mpfr_f_11.
32938         * sysdeps/i386/fpu/libm-test-ulps: Update.
32939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32941 2013-12-19  Andreas Schwab  <schwab@suse.de>
32943         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
32944         CALL_MCOUNT.
32945         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
32946         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
32947         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
32949 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
32951         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
32952         * sysdeps/i386/fpu/libm-test-ulps: Update.
32953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32955         [BZ #16293]
32956         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
32957         round-to-nearest mode when using frndint.
32958         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
32959         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32960         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
32961         Likewise.
32962         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
32963         sinh test to fail.
32964         * math/auto-libm-test-out: Regenerated.
32965         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
32966         (TEST_COND_x86): Likewise.
32967         (expm1_tonearest_test_data): New array.
32968         (expm1_test_tonearest): New function.
32969         (expm1_towardzero_test_data): New array.
32970         (expm1_test_towardzero): New function.
32971         (expm1_downward_test_data): New array.
32972         (expm1_test_downward): New function.
32973         (expm1_upward_test_data): New array.
32974         (expm1_test_upward): New function.
32975         (main): Run the new test functions.
32976         * sysdeps/i386/fpu/libm-test-ulps: Update.
32977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32979         * include/features.h: Update comment documenting feature test
32980         macros.  Mention _DEFAULT_SOURCE in comment.
32981         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
32982         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
32983         _BSD_SOURCE and _SVID_SOURCE.
32984         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
32985         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
32986         !_SVID_SOURCE]: Likewise.
32987         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
32988         (__USE_POSIX_IMPLICITLY): Define.
32989         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
32990         (_POSIX_SOURCE): Undefine and redefine.
32991         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
32992         (_POSIX_C_SOURCE): Likewise.
32993         * manual/creature.texi (_DEFAULT_SOURCE): Document.
32994         (Feature Test Macros): Update documentation of default features.
32996 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32998         * benchtests/Makefile: Add bench-strtok.
32999         * benchtests/bench-strtok.c: New file: strtok benchtest.
33001 2013-12-19  Allan McRae  <allan@archlinux.org>
33003         * manual/install.texi: Suppress menu for plain text output.
33004         * INSTALL: Regenerated.
33006 2013-12-18  Brooks Moses  <bmoses@google.com>
33008         [BZ #15846]
33009         * misc/getauxval.c: Include errno.h.
33010         (__getauxval): Set errno to ENOENT if the requested type is not
33011         found.
33012         * misc/sys/auxv.h (getauxval): Document that it may set errno;
33013         don't declare with __attribute_const__.
33014         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
33015         * manual/startup.texi: Document that getauxval sets errno.
33017 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
33019         * math/auto-libm-test-in: Add tests of jn and yn.
33020         * math/auto-libm-test-out: Regenerated.
33021         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
33022         (yn_test_data): Likewise.
33023         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33024         mpfr_if_f.
33025         (func_calc_desc): Add mpfr_if_f union field.
33026         (FUNC_mpfr_if_f): New macro.
33027         (test_functions): Add jn and yn.
33028         (calc_generic_results): Assert type of second input for
33029         mpfr_ff_f.  Handle mpfr_if_f.
33030         (output_for_one_input_case): Disable all checking for arguments
33031         fitting floating-point types in case of an integer argument.
33032         * sysdeps/i386/fpu/libm-test-ulps: Update.
33033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
33036         Don't expect fegetround reference in libm.so.
33038 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33040         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
33041         $(config-cflags-nofma).
33043 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
33045         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
33046         * math/auto-libm-test-out: Regenerated.
33048         [BZ #16338]
33049         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
33050         to determine exponent and adjust argument to have exponent of -1.
33051         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
33052         log2.
33053         * math/auto-libm-test-out: Regenerated.
33054         * sysdeps/i386/fpu/libm-test-ulps: Update.
33055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33057 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
33059         * manual/probes.texi: Remove cases when per-thread arenas are
33060         disabled.
33062 2013-12-18  Andreas Schwab  <schwab@suse.de>
33064         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
33065         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
33066         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
33067         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
33068         * sysdeps/i386/i686/multiarch/Makefile: Update.
33069         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
33071 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
33073         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
33074         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
33076 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
33078         [BZ #15968]
33079         Support TZ transition times < 00:00:00.
33080         This is needed for version-3 tz-format files; it supports time
33081         stamps past 2037 for America/Godthab (the only entry in the tz
33082         database for which this change is relevant).
33083         * manual/time.texi (TZ Variable): Document transition times
33084         from -167:59:59 through -00:00:01.
33085         * time/tzset.c (tz_rule): Time of day is now signed.
33086         (__tzset_parse_tz): Parse negative time of day.
33088         Document TZ transition times >= 25:00:00.
33089         * manual/time.texi (TZ Variable): Document transition times from
33090         25:00:00 through 167:59:59.  These are already supported, and this
33091         support will help with version-3 tz-format files.
33093         * manual/time.texi (TZ Variable): Modernize North America example
33094         to reflect current (i.e., 2007-and-later) daylight saving rules.
33096         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
33098 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
33100         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
33101         * sysdeps/unix/bsd/bits/stat.h: Likewise.
33102         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
33103         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33104         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
33105         * sysdeps/unix/bsd/bsdstat.h: Likewise.
33106         * sysdeps/unix/bsd/clock.c: Likewise.
33107         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
33108         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
33109         * sysdeps/unix/bsd/init-posix.c: Likewise.
33110         * sysdeps/unix/bsd/poll.c: Likewise.
33111         * sysdeps/unix/bsd/ptsname.c: Likewise.
33112         * sysdeps/unix/bsd/seekdir.c: Likewise.
33113         * sysdeps/unix/bsd/setegid.c: Likewise.
33114         * sysdeps/unix/bsd/seteuid.c: Likewise.
33115         * sysdeps/unix/bsd/setgid.c: Likewise.
33116         * sysdeps/unix/bsd/setrgid.c: Likewise.
33117         * sysdeps/unix/bsd/setruid.c: Likewise.
33118         * sysdeps/unix/bsd/setsid.c: Likewise.
33119         * sysdeps/unix/bsd/setuid.c: Likewise.
33120         * sysdeps/unix/bsd/sigaction.c: Likewise.
33121         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
33122         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
33123         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
33124         * sysdeps/unix/bsd/telldir.c: Likewise.
33125         * sysdeps/unix/bsd/times.c: Likewise.
33126         * sysdeps/unix/bsd/usleep.c: Likewise.
33128         * misc/Makefile (install-lib): Remove libbsd-compat.a.
33129         ($(objpfx)libbsd-compat.a): Remove rule.
33131         * include/features.h (__FAVOR_BSD): Do not define.
33132         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
33133         features conflicting with POSIX.
33134         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
33135         (_BSD_SOURCE): Remove description of not being a subset of other
33136         feature test macros.
33137         * manual/job.texi (getpgrp): Do not document BSD version.
33138         (getpgid): Do not document by reference to BSD getpgrp.
33139         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
33140         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
33141         * signal/signal.h [__FAVOR_BSD]: Likewise.
33142         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
33143         instead of making contents conditional on [__FAVOR_BSD].
33144         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
33146 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33148         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33150 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
33152         [BZ #16314]
33153         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
33154         values below 2**-450, not 2**-500.
33155         * math/auto-libm-test-in: Don't allow spurious underflow from
33156         hypot.
33157         * math/auto-libm-test-out: Regenerated.
33159         [BZ #16316]
33160         [BZ #16330]
33161         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
33162         values of ha and hb and sort them after adjusting subnormal
33163         arguments.
33164         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
33165         Likewise.
33166         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
33167         values of ea and eb and sort them after adjusting subnormal
33168         arguments.
33169         * math/auto-libm-test-in: Do not expect some hypot tests of
33170         subnormals to fail.  Add more hypot tests.
33171         * math/auto-libm-test-out: Regenerated.
33173 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33175         [BZ #13304]
33176         * sysdeps/sh/s_fma.c: New file.
33177         * sysdeps/sh/s_fmaf.c: New file.
33178         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
33179         version.
33180         * sysdeps/sh/Implies: Add sh/soft-fp.
33182 2013-12-16  Roland McGrath  <roland@hack.frob.com>
33184         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
33185         level of indirection to members `objname', `errstring', `malloced'.
33186         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
33187         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
33188         it as the __longjmp argument (just pass 1 instead).
33189         (_dl_catch_error): Initialize C with argument pointers and address of
33190         volatile local ERRCODE rather than copying values out of C at return.
33192 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
33194         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
33195         * math/auto-libm-test-out: Regenerated.
33196         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
33197         (hypot_test_data): Likewise.
33198         (pow_test_data): Likewise.
33199         (pow_tonearest_test_data): Likewise.
33200         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33201         mpfr_ff_f.
33202         (func_calc_desc): Add mpfr_ff_f union field.
33203         (FUNC_mpfr_ff_f): New macro.
33204         (test_functions): Add atan2, hypot and pow.
33205         (special_fill_min): New function.
33206         (special_fill_minus_min): Likewise.
33207         (special_fill_min_subnorm): Likewise.
33208         (special_fill_minus_min_subnorm): Likewise.
33209         (special_real_inputs): Add min, -min, min_subnorm and
33210         -min_subnorm.
33211         (calc_generic_results): Handle mpfr_ff_f.
33212         * sysdeps/i386/fpu/libm-test-ulps: Update.
33213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33215 2013-12-16  Will Newton  <will.newton@linaro.org>
33217         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
33218         (Aligned Memory Blocks): Add documentation for aligned_alloc
33219         and suggest it as an alternative to posix_memalign.
33220         (Hooks for Malloc): Document __memalign_hook is also called
33221         for aligned_alloc.  (Summary of Malloc): Add summary for
33222         aligned alloc.  Document __memalign_hook is also called
33223         for aligned_alloc.
33225 2013-12-16  Will Newton  <will.newton@linaro.org>
33227         * manual/memory.texi (Malloc Examples): Clarify default
33228         alignment documentation.  Suggest posix_memalign rather
33229         than memalign or valloc.
33230         (Aligned Memory Blocks): Remove suggestion to use memalign
33231         or valloc.  Remove obsolete comment about BSD.
33232         Document memalign errno values and mark the function obsolete.
33233         Document posix_memalign returned error codes.  Mark valloc
33234         as obsolete.  (Hooks for Malloc): __memalign_hook is also
33235         called for posix_memalign and valloc.
33236         (Summary of Malloc): Add posix_memalign to function summary.
33237         __memalign_hook is also called for posix_memalign and valloc.
33239 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33241         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
33242         TAYLOR_SIN.
33243         (__sin): Adjust.
33244         (__cos): Likewise.
33245         (sloww): Use mynumber union.  Expand ternary operator into
33246         if-else statements.
33247         (cslow): use mynumber union.
33249 2013-12-16  Allan McRae  <allan@archlinux.org>
33251         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
33252         * configure: Regenerated.
33254         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
33256         [BZ #14120]
33257         * configure.ac: Added --enable-maintainer-mode. Check for
33258         autoconf when enabled.
33259         * configure: Regenerated.
33261         * nscd/nscd.service: New file.
33262         * nscd/nscd.tmpfiles: New file.
33264 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
33266         [BZ #12100]
33267         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
33268         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
33269         * sysdeps/x86_64/multiarch/strstr.c: ... here.
33270         (strstr): Add __strstr_sse2_unaligned ifunc.
33271         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
33272         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
33273         (strcasestr): Remove __strcasestr_sse42 ifunc.
33274         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
33275         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
33276         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
33278 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33280         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
33281         * sysdeps/sh/bits/fenv.h: ... here.
33282         * sysdeps/sh/sh4/fpu/bits: Remove directory.
33284 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33286         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
33288         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
33289         hypotf multiarch implementations.
33290         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
33291         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
33292         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
33293         multiarch hypot for PPC64.
33294         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
33295         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
33296         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
33297         multiarch hypotf for PPC64.
33299         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
33300         modff multiarch implementations.
33301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
33302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
33303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
33304         multiarch modf for PPC64.
33305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
33306         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
33307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
33308         multiarch modff for PPC64.
33310         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
33311         and logl multiarch implementations.
33312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
33313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
33314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
33315         multiarch logb for PPC64.
33316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
33317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
33318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
33319         multiarch logb for PPC64.
33320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
33321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
33322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
33323         multiarch logb for PPC64.
33325         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
33326         isinff multiarch implementation.
33327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
33328         file.
33329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
33330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
33331         multiarch isinf for PPC64.
33332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
33333         file.
33334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
33335         multiarch isinff for PPC64.
33337         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
33338         finitef multiarch implementation.
33339         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
33340         file.
33341         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
33342         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
33343         multiarch finite for PPC64.
33344         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
33345         file.
33346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
33347         multiarch finitef for PPC64.
33349         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
33350         lrint multiarch implementation.
33351         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
33352         file.
33353         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
33354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
33355         multiarch llrint for PPC64.
33356         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
33357         multiarch lrint for PPC64.
33359         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
33360         copysignf multiarch implementation.
33361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
33362         file.
33363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
33364         file.
33365         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
33366         multiarch copysign for PPC64.
33367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
33368         multiarch copysignf for PPC64.
33370         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
33371         multiarch implementation.
33372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
33373         file.
33374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
33375         file.
33376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
33377         file.
33378         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
33379         file.
33380         multiarch llround for PPC64.
33381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
33382         multiarch trunc for PPC64.
33383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
33384         multiarch truncf for PPC64.
33386         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
33387         multiarch implementation.
33388         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
33389         file.
33390         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
33391         file.
33392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
33393         file.
33394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
33395         file.
33396         multiarch llround for PPC64.
33397         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
33398         multiarch round for PPC64.
33399         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
33400         multiarch roundf for PPC64.
33402         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
33403         multiarch implementation.
33404         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
33405         file.
33406         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
33407         file.
33408         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
33409         file.
33410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
33411         file.
33412         multiarch llround for PPC64.
33413         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
33414         multiarch floor for PPC64.
33415         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
33416         multiarch floorf for PPC64.
33418         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
33419         multiarch implementation.
33420         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
33421         file.
33422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
33423         file.
33424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
33425         file.
33426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
33427         file.
33428         multiarch llround for PPC64.
33429         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
33430         multiarch ceil for PPC64.
33431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
33432         multiarch ceilf for PPC64.
33434         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
33435         multiarch implementation.
33436         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
33437         file.
33438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
33439         file.
33440         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
33441         file.
33442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
33443         multiarch llround for PPC64.
33444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
33445         multiarch lround for PPC64.
33447         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
33448         multiarch implementation.
33449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
33450         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
33451         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
33452         file.
33453         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
33454         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
33455         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
33456         multiarch isnan for PPC64.
33457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
33458         multiarch isnanf for PPC64.
33460         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
33461         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
33462         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
33463         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
33464         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
33465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
33467         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
33468         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33469         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33470         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33472         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
33473         multiarch implementations.
33474         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33475         (__libc_ifunc_impl_list): Likewise.
33476         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
33477         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
33478         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
33479         multiarch stpcpy for PPC64.
33481         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
33482         multiarch implementations.
33483         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33484         (__libc_ifunc_impl_list): Likewise.
33485         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
33486         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
33487         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
33488         multiarch strcpy for PPC64.
33490         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
33491         redefine function name.
33492         (_wordcopy_fwd_dest_aligned): Likewise.
33493         (_wordcopy_bwd_aligned): Likewise.
33494         (_wordcopy_bwd_dest_aligned): Likewise.
33495         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
33496         multiarch implementations.
33497         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33498         (__libc_ifunc_impl_list): Likewise.
33499         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
33500         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
33501         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
33502         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
33503         multiarch wcscpy for PPC64.
33505         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
33506         multiarch implementations.
33507         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33508         (__libc_ifunc_impl_list): Likewise.
33509         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
33510         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
33511         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
33512         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
33513         multiarch wcscpy for PPC64.
33515         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
33516         multiarch implementations.
33517         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33518         (__libc_ifunc_impl_list): Likewise.
33519         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
33520         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
33521         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
33522         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
33523         multiarch wcsrchr for PPC64.
33525         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
33526         multiarch implementations.
33527         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33528         (__libc_ifunc_impl_list): Likewise.
33529         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
33530         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
33531         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
33532         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
33533         multiarch wcschr for PPC64.
33535         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
33536         multiarch implementations.
33537         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33538         (__libc_ifunc_impl_list): Likewise.
33539         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
33540         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
33541         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
33542         multiarch strchrnul for PPC64.
33544         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
33545         implementations.
33546         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33547         (__libc_ifunc_impl_list): Likewise.
33548         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
33549         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
33550         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
33551         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
33552         strchr for PPC64.
33554         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
33555         implementations.
33556         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33557         (__libc_ifunc_impl_list): Likewise.
33558         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
33559         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
33560         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
33561         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
33562         strncmp for PPC64.
33564         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
33565         multiarch implementations.
33566         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33567         (__libc_ifunc_impl_list): Likewise.
33568         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
33569         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
33570         strncasecmp for PPC64.
33571         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
33572         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
33573         multiarch strncasecmp_l for PPC64.
33575         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
33576         multiarch implementations.
33577         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33578         (__libc_ifunc_impl_list): Likewise.
33579         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
33580         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
33581         multiarch strcasecmp for PPC64.
33582         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
33583         file.
33584         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
33585         multiarch strcasecmp_l for PPC64.
33587         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
33588         implementations.
33589         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33590         (__libc_ifunc_impl_list): Likewise.
33591         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
33592         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
33593         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
33594         strnlen for PPC64.
33596         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
33597         implementations.
33598         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33599         (__libc_ifunc_impl_list): Likewise.
33600         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
33601         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
33602         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
33603         strlen for PPC64.
33605         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
33606         implementations.
33607         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33608         (__libc_ifunc_impl_list): Likewise.
33609         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
33610         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
33611         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
33612         rawmemrchr for PPC64.
33614         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
33615         implementation.
33616         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33617         (__libc_ifunc_impl_list): Likewise.
33618         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
33619         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
33620         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
33621         memrchr for PPC64.
33623         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
33624         implementation.
33625         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33626         (__libc_ifunc_impl_list): Likewise.
33627         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
33628         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
33629         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
33630         memchr for PPC64.
33632         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
33633         implementation.
33634         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33635         (__libc_ifunc_impl_list): Likewise.
33636         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
33637         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
33638         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
33639         mempcpy for PPC64.
33641         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
33642         avoid cretion of __bzero symbol.
33643         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
33644         Likewise.
33645         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
33646         Likewise.
33647         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
33648         Likewise.
33649         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
33650         multiarch implementations.
33651         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33652         (__libc_ifunc_impl_list): Likewise.
33653         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
33654         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
33655         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
33656         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
33657         bzero for PPC32.
33658         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
33659         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
33660         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
33661         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
33662         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
33663         memset for PPC64.
33664         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
33666         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
33667         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
33668         implementations.
33669         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33670         (__libc_ifunc_impl_list): Likewise.
33671         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
33672         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
33673         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
33674         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
33675         memcmp for PPC64.
33677         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
33678         multiarch for POWER/PPC64.
33679         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
33680         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
33681         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
33682         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
33683         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
33684         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
33685         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
33686         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
33687         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
33688         memcpy for PPC64.
33690         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
33691         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
33692         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
33693         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
33694         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
33695         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
33696         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
33697         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
33698         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
33699         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
33700         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
33701         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
33702         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
33703         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
33704         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
33705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
33706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
33707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
33708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
33709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
33710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
33711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
33713 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33715         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
33717 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33719         * benchtests/Makefile (bench): Add exp2 and log2.
33720         (LDLIBS-bench-exp2): Add -lm.
33721         (LDLIBS-bench-log2): Likewise.
33722         * benchtests/exp2-inputs: New inputs file.
33723         * benchtests/log2-inputs: New inputs file.
33724         * benchtests/log-inputs: Add new inputs.
33725         * benchtests/tan-inputs: Likewise.
33727 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33729         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
33730         definition...
33731         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
33732         (csloww2): ... from here.
33734         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
33735         instead of structures.
33736         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
33737         (POLYNOMIAL): Likewise.
33738         (TAYLOR_SLOW): Likewise.
33739         (__sin): Likewise.
33740         (__cos): Likewise.
33741         (slow1): Likewise.
33742         (slow2): Likewise.
33743         (sloww): Likewise.
33744         (sloww1); Likewise.
33745         (sloww2): Likewise.
33746         (bsloww1): Likewise.
33747         (bsloww2): Likewise.
33748         (cslow2): Likewise.
33749         (csloww): Likewise.
33750         (csloww1): Likewise.
33751         (csloww2): Likewise.
33753 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
33755         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
33756         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
33757         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
33758         * malloc/hooks.c (realloc_check): Likewise.
33760         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
33761         * malloc/arena.c: Remove PER_THREAD conditional.
33762         [!PER_THREAD]: Remove code.
33763         (ptmalloc_unlock_all2): Likewise.
33764         (ptmalloc_init): Likewise.
33765         (_int_new_arena): Likewise.
33766         (arena_get2): Likewise.
33767         * malloc/hooks.c (__malloc_get_state): Likewise.
33768         (__malloc_set_state): Likewise.
33769         * malloc/malloc.c: Likewise.
33770         (struct malloc_state): Likewise.
33771         (struct malloc_par): Likewise.
33772         (__libc_realloc): Likewise.
33773         (__libc_mallopt): Likewise.
33775 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33777         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
33779 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
33781         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
33782         macro to a function.  Check for zero perturb_byte.
33783         (_int_malloc, _int_free): Remove zero perturb_byte checks.
33785         * malloc/malloc.c: (force_reg): Remove.
33786         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
33787         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
33788         force_reg by atomic_forced_read.
33789         * malloc/arena.c (ptmalloc_init): Likewise.
33790         * malloc/hooks.c (top_check): Likewise.
33792 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33794         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33796 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
33798         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33800 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
33802         * math/auto-libm-test-in: Add tests of lgamma.
33803         * math/auto-libm-test-out: Regenerated.
33804         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
33805         (M_LOG_2_SQRT_PIl): Likewise.
33806         (lgamma_test_data): Use AUTO_TESTS_f_f1.
33807         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33808         mpfr_f_f1.
33809         (func_calc_desc): Add mpfr_f_f1 union field.
33810         (ARGS1): New macro.
33811         (ARGS2): Likewise.
33812         (ARGS3): Likewise.
33813         (ARGS4): Likewise.
33814         (RET1): Likewise.
33815         (RET2): Likewise.
33816         (CALC): Likewise.
33817         (FUNC): Likewise.
33818         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
33819         (test_functions): Add lgamma.
33820         (calc_generic_results): Handle mpfr_f_f1.
33821         * sysdeps/i386/fpu/libm-test-ulps: Update.
33822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33824 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33826         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
33827         __mpn_add_n for PowerPC64/POWER7.
33828         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
33829         __mpn_sub_n for PowerPC64/POWER7.
33831         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
33832         __mpn_addmul_1 for PowerPC64.
33833         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
33834         __mpn_submul_1 for PowerPC64.
33835         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
33836         for PowerPC64.
33837         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
33838         for PowerPC64.
33840 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
33842         [BZ #15089]
33843         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
33845 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33847         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
33849         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
33850         add multiarch folders.
33851         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
33852         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
33853         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
33854         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
33855         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
33856         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
33857         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
33858         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
33859         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
33860         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
33861         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
33862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
33863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
33864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
33865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
33866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
33867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
33869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
33870         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
33871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
33872         New file.
33873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
33874         New file.
33875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
33876         multiarch __ieee754_hypot for PowerPC32.
33877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
33878         New file.
33879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
33880         New file.
33881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
33882         multiarch __ieee754_hypotf for PowerPC32.
33884         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
33885         long_double_symbol only if __logbl is defined.
33886         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
33887         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
33888         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
33889         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
33890         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
33891         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
33892         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
33893         path for implementation.
33894         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
33895         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
33896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
33897         logb, and logbl multiarch implementations for PowerPC32.
33898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
33899         file.
33900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
33901         file.
33902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
33903         multiarch logb for PowerPC32.
33904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
33905         file.
33906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
33907         file.
33908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
33909         multiarch logbf for PowerPC32.
33910         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
33911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
33912         file.
33913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
33914         multiarch logbl implementation for PowerPC32.
33916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
33917         and modff multiarch implementations.
33918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
33919         New file.
33920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
33921         New file.
33922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
33923         multiarch modf for PowerPC32.
33924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
33925         New file.
33926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
33927         New file.
33928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
33929         multiarch modff for PowerPC32.
33931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
33932         and lrintf multiarch implementations.
33933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
33934         New file.
33935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
33936         New file.
33937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
33938         multiarch lrint for PowerPC32.
33939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
33940         file: multiarch lrintf for PowerPC32.
33942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
33943         and lroundf multiarch implementations.
33944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
33945         New file.
33946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
33947         New file.
33948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
33949         New file.
33950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
33951         multiarch lround for PowerPC32.
33952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
33953         file: multiarch lroundf for PowerPC32.
33955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
33956         copysign and copysignf multiarch implementations.
33957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
33958         New file.
33959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
33960         New file.
33961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
33962         file: multiarch copysign for PowerPC32.
33963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
33964         file: multiarch copysignf for PowerPC32.
33966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
33967         and truncf multiarch implementations.
33968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
33969         New file.
33970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
33971         file.
33972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
33973         multiarch trunc for PowerPC32.
33974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
33975         New file.
33976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
33977         New file.
33978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
33979         multiarch truncf for PowerPC32.
33981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
33982         and roundf multiarch implementations.
33983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
33984         New file.
33985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
33986         file.
33987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
33988         multiarch round for PowerPC32.
33989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
33990         New file.
33991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
33992         New file.
33993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
33994         multiarch roundf for PowerPC32.
33996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
33997         and floorf multiarch implementations.
33998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
33999         New file.
34000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
34001         file.
34002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
34003         multiarch floor for PowerPC32.
34004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
34005         New file.
34006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
34007         New file.
34008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
34009         multiarch floorf for PowerPC32.
34011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
34012         and ceilf multiarch implementations.
34013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
34014         New file.
34015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
34016         file.
34017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
34018         multiarch ceil for PowerPC32.
34019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
34020         New file.
34021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
34022         file.
34023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
34024         multiarch ceilf for PowerPC32.
34026         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
34027         is defined.
34028         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
34029         FINITEF is defined.
34030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
34031         and finitef multiarch implementations.
34032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
34033         New file.
34034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
34035         file.
34036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
34037         multiarch finite for PowerPC32.
34038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
34039         New file.
34040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
34041         file: multiarch finitef for PowerPC32.
34043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
34044         and isinff multiarch implementations.
34045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
34046         file.
34047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
34048         file.
34049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
34050         multiarch isinf for PowerPC32.
34051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
34052         New file.
34053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
34054         multiarch isinff for PowerPC32.
34056         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
34057         alias when __isnan is defined.
34058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
34059         and isnanf multiarch implementations.
34060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
34061         file.
34062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
34063         file.
34064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
34065         file.
34066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
34067         file.
34068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
34069         multiarch isnan for PowerPC32.
34070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
34071         New file.
34072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
34073         New file.
34074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
34075         multiarch isnanf for PowerPC32.
34077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
34078         and sqrtf multiarch implementations.
34079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
34080         file.
34081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
34082         file.
34083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
34084         multiarch sqrt for PowerPC32.
34085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
34086         file.
34087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
34088         file.
34089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
34090         multiarch sqrtf for PowerPC32.
34092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
34093         and llroundf multiarch implementations.
34094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
34095         New file.
34096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
34097         New file.
34098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
34099         New file.
34100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
34101         file: multiarch llround for PowerPC32.
34102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
34103         file: multiarch llroundf for PowerPC32.
34105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
34106         multiarch PowerPC32 fpu implementations.
34107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
34108         New file.
34109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
34110         New file.
34111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
34112         multiarch llrint for PowerPC32.
34113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
34114         New file.
34115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
34116         New file.
34117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
34118         file.
34120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
34122         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
34123         file.
34124         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
34125         file.
34126         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
34127         file.
34128         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
34129         multiarch wordcopy for PPC32.
34130         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
34131         wordcopy objects.
34132         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34133         (__libc_ifunc_impl_list): Likewise.
34134         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
34135         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
34136         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
34137         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
34138         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
34139         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
34141         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
34142         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
34143         file.
34144         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
34145         file.
34146         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
34147         file.
34148         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
34149         multiarch wcscpy for PPC32.
34150         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
34151         multiarch objects.
34152         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34153         (__libc_ifunc_impl_list): Likewise.
34154         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
34155         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
34156         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
34157         sysdeps/powerpc/power6/wcscpy.c.
34159         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
34160         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
34161         file.
34162         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
34163         file.
34164         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
34165         file.
34166         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
34167         multiarch wcsrchr for PPC32.
34168         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
34169         multiarch objects.
34170         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34171         (__libc_ifunc_impl_list): Likewise.
34172         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
34173         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
34174         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
34175         sysdeps/powerpc/power6/wcsrchr.c.
34177         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
34178         file.
34179         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
34180         file.
34181         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
34182         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
34183         multiarch wcschr for PPc32.
34184         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
34185         multiarch objects.
34186         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34187         (__libc_ifunc_impl_list): Likewise.
34188         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
34189         * sysdeps/powerpc/power6/wcschr.c: ... to here.
34190         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
34191         sysdeps/powerpc/power6/wcschr.c.
34193         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
34194         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
34195         file.
34196         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
34197         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
34198         file: multiarch strchr for PPC32.
34199         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
34200         multiarch objects.
34201         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34202         (__libc_ifunc_impl_list): Likewise.
34204         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
34205         name.
34206         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
34207         file.
34208         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
34209         file.
34210         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
34211         multiarch strchrnul for PPC32.
34212         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
34213         multiarch objects.
34214         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34215         (__libc_ifunc_impl_list): Likewise.
34217         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
34218         file.
34219         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
34220         multiarch strncasecmp for PPC32.
34221         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
34222         file.
34223         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
34224         multiarch strncasecmp_l for PPC32.
34225         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
34226         strncasecmp multiarch objects.
34227         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34228         (__libc_ifunc_impl_list): Likewise.
34230         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
34231         file.
34232         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
34233         multiarch strncasecmp for PPC32.
34234         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
34235         New file.
34236         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
34237         multiarch strcasecmp_l for PPC32.
34238         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
34239         multiarch objects.
34240         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34241         (__libc_ifunc_impl_list): Likewise.
34243         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
34244         file.
34245         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
34246         file.
34247         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
34248         multiarch strncmp for PPC32.
34249         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
34250         multiarch objects.
34251         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34252         (__libc_ifunc_impl_list): Likewise.
34254         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
34255         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
34256         file.
34257         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
34258         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
34259         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
34260         multiarch objects.
34261         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34262         (__libc_ifunc_impl_list): Likewise.
34264         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
34265         file.
34266         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
34267         file.
34268         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
34269         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
34270         multiarch objects.
34271         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34272         (__libc_ifunc_impl_list): Likewise.
34274         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
34275         file.
34276         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
34277         file.
34278         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
34279         multiarch rawmemchr for PPC32.
34280         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
34281         multiarch objects.
34282         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34283         (__libc_ifunc_impl_list): Likewise.
34285         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
34286         file.
34287         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
34288         file.
34289         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
34290         file: memrchr multiarch for PPC32.
34291         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
34292         multiarch objects.
34293         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34294         (__libc_ifunc_impl_list): Likewise.
34296         * string/memchr.c (__memchr): Using macro to redefine symbol name.
34297         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
34298         file.
34299         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
34300         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
34301         multiarch memchr for PPC32.
34302         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
34303         multiarch objects.
34304         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34305         (__libc_ifunc_impl_list): Likewise.
34307         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
34308         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
34309         file.
34310         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
34311         file.
34312         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
34313         file: multiarch mempcpy for PPC32.
34314         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
34315         multiarch objects.
34316         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34317         (__libc_ifunc_impl_list): Likewise.
34319         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
34320         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
34321         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
34322         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
34323         multiarch bzero for PPC32.
34324         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
34325         file.
34326         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
34327         file.
34328         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
34329         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
34330         file: multiarch memset for PPC32.
34331         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
34332         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
34333         memset multiarch objects.
34334         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34335         (__libc_ifunc_impl_list): Likewise.
34337         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
34338         file.
34339         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
34340         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
34341         memcmp for PPC32.
34342         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
34343         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
34344         multiarch objects.
34345         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34346         (__libc_ifunc_impl_list): Likewise.
34348         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
34349         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
34350         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
34351         file.
34352         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
34353         file.
34354         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
34355         file.
34356         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
34357         multiarch memcpy for PPC32.
34358         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
34359         multiarch objects.
34360         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34361         (__libc_ifunc_impl_list): Likewise.
34363         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
34364         support multiarch for POWER/PPC32.
34365         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
34366         Likewise.
34367         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
34368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
34369         Implies file to make multiarch folder appers before the fpu and
34370         default folder for power4 configuration.
34372 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
34374         * scripts/bench.pl: Append volatile keyword to type.
34376 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34378         * sysdeps/sh/sotruss-lib.c: New file.
34379         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
34381 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34383         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34385 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
34387         [BZ #6810]
34388         * math/w_tgamma.c: Include <errno.h>.
34389         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
34390         * math/w_tgammaf.c: Include <errno.h>.
34391         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
34392         * math/w_tgammal.c: Include <errno.h>.
34393         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
34394         * math/auto-libm-test-in: Do not allow missing errno on tgamma
34395         underflow.  Add more tgamma tests.
34396         * math/auto-libm-test-out: Regenerated.
34397         * sysdeps/i386/fpu/libm-test-ulps: Update.
34398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34400         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
34401         sin, sinh, tan, tanh, tgamma, y0 and y1.
34402         * math/auto-libm-test-out: Regenerated.
34403         * math/libm-test.inc (TEST_COND_x86_64): New macro.
34404         (TEST_COND_x86): Likewise.
34405         (M_E2l): Remove macro.
34406         (M_E3l): Likewise.
34407         (M_2_SQRT_PIl): Likewise.
34408         (M_SQRT_PIl): Likewise.
34409         (M_1_DIV_El): Likewise.
34410         (log_test_data): Use AUTO_TESTS_f_f.
34411         (log10_test_data): Likewise.
34412         (log1p_test_data): Likewise.
34413         (log2_test_data): Likewise.
34414         (sin_test_data): Likewise.
34415         (sin_tonearest_test_data): Likewise.
34416         (sin_towardzero_test_data): Likewise.
34417         (sin_downward_test_data): Likewise.
34418         (sin_upward_test_data): Likewise.
34419         (sinh_test_data): Likewise.
34420         (sinh_tonearest_test_data): Likewise.
34421         (sinh_towardzero_test_data): Likewise.
34422         (sinh_downward_test_data): Likewise.
34423         (sinh_upward_test_data): Likewise.
34424         (tan_test_data): Likewise.
34425         (tan_tonearest_test_data): Likewise.
34426         (tan_towardzero_test_data): Likewise.
34427         (tan_downward_test_data): Likewise.
34428         (tan_upward_test_data): Likewise.
34429         (tanh_test_data): Likewise.
34430         (tgamma_test_data): Likewise.
34431         (y0_test_data): Likewise.
34432         (y1_test_data): Likewise.
34433         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
34434         (special_real_inputs): Add pi/4.
34435         * sysdeps/i386/fpu/libm-test-ulps: Update.
34436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34438 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34440         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
34441         "longjmp_target" static probes.
34442         (__longjmp): Rename to __longjmp_symbol.
34443         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
34444         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
34445         on which longjmp to generate.
34446         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
34447         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
34448         probe.
34449         (__sigsetjmp): Rename to __sigsetjmp_symbol.
34450         (__sigjmp_save): Rename to __sigjmp_save_symbol.
34451         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
34452         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
34453         and __sigjmp_save_symbol based on which sigsetjmp to generated.
34454         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
34455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
34456         __longjmp_symbol based on which __longjmp to generate.
34457         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
34458         probe.
34459         (setjmp): Rename to setjmp_symbol.
34460         (__sigsetjmp): Rename to __sigsetjmp_symbol.
34461         (_setjmp): Rename to _setjmp_symbol.
34462         (__sigsetjmp): Rename to __sigsetjmp_symbol.
34463         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
34464         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
34465         which setjmp to generate.
34466         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
34467         "longjmp_target" static probes.
34469 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34471         * benchtests/README: Add note about output arguments.
34472         * benchtests/bench-sincos.c: Remove file.
34473         * benchtests/sincos-inputs: New file.
34474         * scripts/bench.pl: Identify output arguments and define
34475         static variables for them.
34477         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
34479         [BZ #15941]
34480         * Makefile (INSTALL): Add install-plain.texi as the primary
34481         dependency.
34482         * manual/install-plain.texi: New file.
34483         * manual/install.texi: Include node directive only for
34484         non-plaintext output.
34486 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
34488         * stdlib/longlong.h: Update from GCC.
34490         [BZ #6807]
34491         [BZ #15901]
34492         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
34493         * math/w_j0f.c (y0f): Likewise.
34494         * math/w_j0l.c (__y0l): Likewise.
34495         * math/w_j1.c (y1): Likewise.
34496         * math/w_j1f.c (y1f): Likewise.
34497         * math/w_j1l.c (__y1l): Likewise
34498         * math/w_jn.c (yn): Likewise.
34499         * math/w_jnf.c (ynf): Likewise.
34500         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
34501         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
34502         value for Bessel function domain errors outside _SVID_ mode.
34503         Adjust sign of return value for yn (negative integer, 0).
34504         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
34505         by zero in return for negative x and set sign appropriately for
34506         negative n.
34507         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
34508         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
34509         * math/libm-test.inc (y0_test_data): Add more tests and adjust
34510         expectations in error cases.
34511         (y1_test_data): Likewise.
34512         (yn_test_data): Likewise.
34513         * sysdeps/i386/fpu/libm-test-ulps: Update.
34514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34516 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34518         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
34519         "64" to "64-v1".  Add "64-v2".
34520         (abi-64-options): Rename to ...
34521         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
34522         (abi-64-condition): Rename to ...
34523         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
34524         (abi-64-ld-soname): Rename to ...
34525         (abi-64-v1-ld-soname): ... this.
34526         (abi-64-v2-options): Define.
34527         (abi-64-v2-condition): Likewise.
34528         (abi-64-v2-ld-soname): Likewise.
34529         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
34530         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
34531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
34532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
34533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
34535 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34536             Alan Modra  <amodra@gmail.com>
34538         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
34539         New versions for use with the ELFv2 ABI.
34540         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
34541         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
34542         declaration.
34543         (struct La_ppc64v2_retval): Likewise.
34544         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
34545         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
34546         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
34547         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
34548         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
34549         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34550         Do not save or restore CR.
34551         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
34552         (_dl_profile_resolve): Do no save or restore CR.  Support extended
34553         return values for ELFv2 ABI.  Fix location of FPR return registers.
34554         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
34555         updated values for _CALL_ELF == 2.
34556         (La_regs, La_retval, int_retval): Likewise.
34558 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34560         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
34561         (FRAME_MIN_SIZE_PARM): Likewise.
34562         (FRAME_BACKCHAIN): Likewise.
34563         (FRAME_CR_SAVE): Likewise.
34564         (FRAME_LR_SAVE): Likewise.
34565         (FRAME_TOC_SAVE): Likewise.
34566         (FRAME_PARM_SAVE): Likewise.
34567         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
34568         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
34569         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
34570         (call_mcount_parm_offset): New macro.
34571         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
34572         (PROF): Use symbolic stack frame offsets.
34573         (TAIL_CALL_SYSCALL_ERROR): Likewise.
34574         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
34575         Redefine in terms of FRAME_MIN_SIZE.
34576         (_dl_runtime_resolve): Use symbolic stack frame offsets.
34577         (_dl_profile_resolve): Likewise.  Update comment.
34578         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
34579         symbols stack frame offsets.
34580         (__sigsetjmp): Likewise.
34581         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
34582         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
34583         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
34584         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
34586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
34587         (FRAME_BACKCHAIN): Remove.
34588         (FRAME_CR_SAVE): Likewise.
34589         (FRAME_LR_SAVE): Likewise.
34590         (FRAME_COMPILER_DW): Likewise.
34591         (FRAME_LINKER_DW): Likewise.
34592         (FRAME_TOC_SAVE): Likewise.
34593         (FRAME_PARM_SAVE): Likewise.
34594         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
34595         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
34596         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
34597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
34598         (CHECK_SP): Use symbolic stack frame offsets.
34599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
34600         zone" instead of caller's parameter save area for temp storage.
34601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34602         Likewise.  Also, use symbolic stack frame offsets.
34603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
34604         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
34605         our own stack frame instead of the caller's.
34606         (__socket): Use symbolic stack frame offsets.
34608 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34609             Alan Modra  <amodra@gmail.com>
34611         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
34612         Define.
34613         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
34614         (PPC64_LOCAL_ENTRY_OFFSET): Define.
34615         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
34616         New function.
34617         (elf_machine_fixup_plt): Call it.
34618         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
34619         reloc arguments.
34620         (elf_machine_rela): Update call to elf_machine_plt_conflict.
34621         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
34622         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
34623         r2 before calling target.
34625 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34626             Alan Modra  <amodra@gmail.com>
34628         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
34629         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
34630         versions of macros to support ELFv2 ABI.
34631         (LOCALENTRY): New macro.
34632         (ENTRY, EALIGN): Use it.
34633         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
34634         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
34635         fall through into ENTRY entry point.
34636         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
34637         Only define if _CALL_ELF != 2.
34639         (elf_machine_matches_host): Verify ABI version matches.
34640         (RTLD_START): Use LOCALENTRY.
34641         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
34642         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
34643         (PLT_ENTRY_WORDS): New macro.
34644         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
34645         (elf_machine_runtime_setup): Support ELFv2 ABI.
34646         (elf_machine_fixup_plt): Likewise.
34647         (elf_machine_plt_conflict): Likewise.
34648         (resolve_ifunc): Likewise.
34649         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
34650         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
34651         Likewise.
34652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
34653         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
34654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34655         (makecontext): Support ELFv2 ABI.
34656         * elf/elf.h (EF_PPC64_ABI): Define.
34658 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34660         * sysdeps/powerpc/powerpc64/sysdep.h
34661         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
34662         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
34663         (ENTRY) [ASSEMBLER]: ... but instead here ...
34664         (EALIGN) [ASSEMBLER]: ... and here.
34665         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
34666         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
34667         (ENTRY_2) [!ASSEMBLER]: Use it.
34668         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
34669         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
34670         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
34671         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
34672         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
34673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
34674         Use PPC64_LOAD_FUNCPTR.
34676         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
34678 2013-12-04  Alan Modra  <amodra@gmail.com>
34680         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
34681         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
34682         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
34683         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
34685         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
34686         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
34687         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
34688         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
34689         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
34690         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
34692 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34695         (__makecontext): Fix incorrect CFI when backtracing out of
34696         context created via makecontext.
34697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
34698         (__setcontext): Fix incorrect CFI during switch to new context.
34699         (__novec_setcontext): Likewise.
34701 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
34703         [BZ #4772]
34704         * time/strptime_l.c (__strptime_internal): Allow modifiers
34705         in strptime.
34706         * time/tst-strptime.c (day_tests): Add testcase.
34708 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34710         * scripts/bench.pl: Skip over blank lines.
34712 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
34714         [BZ #926]
34715         * manual/time.texi (Calendar Time): Clarify what timezone functions
34716         use.
34718 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34720         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34722 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
34724         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
34725         implementation.
34726         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
34727         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
34728         * debug/memset_chk.c (__memset_chk): Likewise.
34729         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
34730         * debug/strncpy_chk.c: Likewise.
34732 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
34734         [BZ #15268]
34735         [BZ #15425]
34736         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
34737         (__ieee754_exp): For possibly underflowing results, check size of
34738         result and force underflow exception if required.
34739         * math/auto-libm-test-in: Add more tests of exp.
34740         * math/auto-libm-test-out: Regenerated.
34741         * sysdeps/i386/fpu/libm-test-ulps: Update.
34742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34744         [BZ #16283]
34745         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
34746         * math/w_exp2f.c (__exp2f): Likewise.
34747         * math/w_exp2l.c (__exp2l): Likewise.
34748         * math/auto-libm-test-in: Do not allow missing errno on exp2
34749         underflow.
34750         * math/auto-libm-test-out: Regenerated.
34752 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
34754         [BZ #16274]
34755         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
34756         handle filename validation.
34757         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
34758         (do_open): Delete.
34760 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
34762         [BZ #6786]
34763         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
34764         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
34765         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
34766         <float.h>.
34767         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
34768         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
34769         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
34770         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
34771         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
34772         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
34773         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
34774         * math/auto-libm-test-in: Don't allow missing errno from erfc.
34775         Add more erfc tests.
34776         * math/auto-libm-test-out: Regenerated.
34777         * sysdeps/i386/fpu/libm-test-ulps: Update.
34778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34780         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
34781         exp2, expm1, j0 and j1.
34782         * math/auto-libm-test-out: Regenerated.
34783         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
34784         (erfc_test_data): Likewise.
34785         (exp_test_data): Likewise.
34786         (exp_tonearest_test_data): Likewise.
34787         (exp_towardzero_test_data): Likewise.
34788         (exp_downward_test_data): Likewise.
34789         (exp_upward_test_data): Likewise.
34790         (exp10_test_data): Likewise.
34791         (exp2_test_data): Likewise.
34792         (expm1_test_data): Likewise.
34793         (j0_test_data): Likewise.
34794         (j1_test_data): Likewise.
34795         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
34796         (input_flag_type): Add flag_xfail_rounding.
34797         (input_flags): Add xfail-rounding.
34798         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
34799         (output_for_one_input_case): Handle flag_xfail_rounding.
34800         * sysdeps/i386/fpu/libm-test-ulps: Update.
34801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34803 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
34805         [BZ #16289]
34806         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
34807         division by 0.
34809 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
34811         [BZ #16195]
34812         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
34813         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
34814         (STAP_PROBE0): New macro.
34815         (STAP_PROBE1): Likewise.
34816         (STAP_PROBE2): Likewise.
34817         (STAP_PROBE3): Likewise.
34818         (STAP_PROBE4): Likewise.
34820 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
34822         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
34824 2013-12-02  Steve Ellcey  <sellcey@mips.com>
34826         * benchtests/Makefile (bench): Add sqrt.
34827         (LDLIBS-bench-sqrt): New.
34828         * benchtests/sqrt-input: New.
34830 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
34832         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
34833         (GAIH_EAI): Likewise.
34834         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
34835         (gaih_inet): Likewise.
34836         (getaddrinfo): Don't use GAIH_EAI.
34838         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
34839         (struct gaih): Remove definition.
34841 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34843         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
34844         Use HERRNOP directly.
34846 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34848         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34850 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
34852         * math/gen-auto-libm-tests.c (test_functions): Add more
34853         single-argument functions.
34854         (special_fill_pi_2): New function.
34855         (special_fill_minus_pi_2): Likewise.
34856         (special_fill_pi_6): Likewise.
34857         (special_fill_minus_pi_6): Likewise.
34858         (special_fill_pi_3): Likewise.
34859         (special_fill_2pi_3): Likewise.
34860         (special_fill_e): Likewise.
34861         (special_fill_1_e): Likewise.
34862         (special_fill_e_minus_1): Likewise.
34863         (special_real_inputs): Add more special inputs.
34864         (output_for_one_input_case): Do not require ERANGE on underflow to
34865         zero if round-to-nearest result does not underflow to zero, unless
34866         exact results required.
34867         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
34868         atan, atanh, cbrt, cos and cosh.
34869         * math/auto-libm-test-out: Regenerated.
34870         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
34871         (acos_tonearest_test_data): Likewise.
34872         (acos_towardzero_test_data): Likewise.
34873         (acos_downward_test_data): Likewise.
34874         (acos_upward_test_data): Likewise.
34875         (acosh_test_data): Likewise.
34876         (asin_test_data): Likewise.
34877         (asin_tonearest_test_data): Likewise.
34878         (asin_towardzero_test_data): Likewise.
34879         (asin_upward_test_data): Likewise.
34880         (asinh_test_data): Likewise.
34881         (atan_test_data): Likewise.
34882         (atanh_test_data): Likewise.
34883         (cbrt_test_data): Likewise.
34884         (cos_test_data): Likewise.
34885         (cos_tonearest_test_data): Likewise.
34886         (cos_towardzero_test_data): Likewise.
34887         (cos_downward_test_data): Likewise.
34888         (cos_upward_test_data): Likewise.
34889         (cosh_test_data): Likewise.
34890         (cosh_tonearest_test_data): Likewise.
34891         (cosh_towardzero_test_data): Likewise.
34892         (cosh_downward_test_data): Likewise.
34893         (cosh_upward_test_data): Likewise.
34894         * sysdeps/i386/fpu/libm-test-ulps: Update.
34895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34897 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
34899         [BZ #6787]
34900         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
34901         * math/w_exp10f.c (__exp10f): Likewise.
34902         * math/w_exp10l.c (__exp10l): Likewise.
34903         * math/libm-test.inc (exp10_test_data): Add more tests and expect
34904         errno settings in existing tests.
34906         [BZ #14032]
34907         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
34908         precision control set to double precision.
34909         * sysdeps/i386/fpu/w_sqrt.c: New file.
34910         * math/auto-libm-test-in: Add more tests.
34911         * math/auto-libm-test-out: Update.
34913         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
34914         (sqrt_test_tonearest): New function.
34915         (sqrt_towardzero_test_data): New variable.
34916         (sqrt_test_towardzero): New function.
34917         (sqrt_downward_test_data): New variable.
34918         (sqrt_test_downward): New function.
34919         (sqrt_upward_test_data): New variable.
34920         (sqrt_test_upward): New function.
34921         (main): Call the new functions.
34923         * math/gen-auto-libm-tests.c: New file.
34924         * math/auto-libm-test-in: Likewise.
34925         * math/auto-libm-test-out: New generated file.
34926         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
34927         variables.
34928         (%beautify): Add generated representations of zero.
34929         (top level): Set $auto_input and call parse_auto_input.
34930         (beautify): Remove trailing "f" from hex float constants.
34931         (parse_args): Handle XFAIL_TEST.
34932         (convert_condition): New function.
34933         (or_value): Likewise.
34934         (or_cond_value): Likewise.
34935         (generate_testfile): Handle AUTO_TESTS_* lines.
34936         (parse_auto_input): New function.
34937         * math/libm-test.inc (XFAIL_TEST): New macro.
34938         (ERRNO_UNCHANGED): Update value.
34939         (ERRNO_EDOM): Likewise.
34940         (ERRNO_ERANGE): Likewise.
34941         (IGNORE_RESULT): Likewise.
34942         (TEST_COND_flt_32): New macro.
34943         (TEST_COND_dbl_64): Likewise.
34944         (TEST_COND_ldbl_96_intel): Likewise.
34945         (TEST_COND_ldbl_96_m68k): Likewise.
34946         (TEST_COND_ldbl_128): Likewise.
34947         (TEST_COND_ldbl_128ibm): Likewise.
34948         (TEST_COND_long32): Likewise.
34949         (TEST_COND_long64): Likewise.
34950         (TEST_COND_before_rounding): Likewise.
34951         (TEST_COND_after_rounding): Likewise.
34952         (enable_test): Handle XFAIL_TEST flag.
34953         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
34954         with finite results.
34955         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
34956         auto-libm-test-out.
34958 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34959             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34961         [BZ #16214]
34962         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
34963         __tls_get_addr_internal instead of __tls_get_offset in order to
34964         avoid GOT pointer dependency.  Make rtld export
34965         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
34966         __tls_get_addr since we are a __tls_get_offset platform.
34967         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
34968         GOT pointer being set up before.
34969         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
34971 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
34973         * manual/math.texi (Errors in Math Functions): Document accuracy
34974         goals.
34976         [BZ #15004]
34977         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
34978         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
34979         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34980         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34981         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34982         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34983         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34984         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
34985         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
34986         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34987         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34988         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34989         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34990         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34991         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34992         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
34994         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
34995         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
34996         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
34997         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
34998         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
34999         Likewise.
35000         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
35001         Likewise.
35002         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
35003         Likewise.
35004         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
35005         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
35006         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
35007         atomic-feupdateenv and flt-rounds.
35008         * sysdeps/powerpc/nofpu/Versions (libc): Add
35009         __atomic_feholdexcept, __atomic_feclearexcept,
35010         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
35011         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
35012         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
35013         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
35014         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
35015         here.
35016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
35017         Update.
35019         * manual/arith.texi (FP Exceptions): Document that exceptions may
35020         not be raised when matherr is used.
35021         (Math Error Reporting): Document overflow in directed rounding
35022         modes.  Document that errno may not be set when finite values are
35023         returned on overflow.  Document intent to set errno on underflow
35024         only for underflow to zero.
35026         [BZ #16271]
35027         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
35028         round-to-nearest then adjust result for other rounding modes.
35029         * include/fenv.h (fegetround): Use libm_hidden_proto.
35030         * math/fegetround.c (fegetround): Use libm_hidden_def.
35031         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
35032         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
35033         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
35034         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
35035         Likewise.
35036         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
35037         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
35038         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
35039         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
35041 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35043         [BZ #16077]
35044         * nss/Versions (libnss_files): Add
35045         _nss_files_gethostbyname3_r.
35046         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
35047         New function.
35048         (HOST_DB_LOOKUP): Remove macro.
35049         (_nss_files_gethostbyname_r): Implement function without the
35050         HOST_DB_LOOKUP macro.
35051         (_nss_files_gethostbyname2_r): Likewise.
35053 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
35055         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
35057 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
35059         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
35060         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
35061         warning.
35063 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35065         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
35066         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
35067         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
35068         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
35069         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
35070         __fe_nomask_env_priv and attribute_hidden.
35071         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
35072         (libc_feupdateenv_test_ppc): Likewise.
35073         (libc_feresetround_ppc): Likewise.
35074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35075         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
35076         compat_symbol macro.
35077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35078         (__fe_nomask_env): Likewise.
35079         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
35081 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
35083         * string/Makefile: Remove ifunc tests.
35084         * string/test-string.h: Define TEST_IFUNC.
35085         * string/test-bcopy-ifunc.c: Remove.
35086         * string/test-bzero-ifunc.c: Likewise.
35087         * string/test-memccpy-ifunc.c: Likewise.
35088         * string/test-memchr-ifunc.c: Likewise.
35089         * string/test-memcmp-ifunc.c: Likewise.
35090         * string/test-memcpy-ifunc.c: Likewise.
35091         * string/test-memmem-ifunc.c: Likewise.
35092         * string/test-memmove-ifunc.c: Likewise.
35093         * string/test-mempcpy-ifunc.c: Likewise.
35094         * string/test-memrchr-ifunc.c: Likewise.
35095         * string/test-memset-ifunc.c: Likewise.
35096         * string/test-rawmemchr-ifunc.c: Likewise.
35097         * string/test-stpcpy-ifunc.c: Likewise.
35098         * string/test-stpncpy-ifunc.c: Likewise.
35099         * string/test-strcasecmp-ifunc.c: Likewise.
35100         * string/test-strcasestr-ifunc.c: Likewise.
35101         * string/test-strcat-ifunc.c: Likewise.
35102         * string/test-strchr-ifunc.c: Likewise.
35103         * string/test-strchrnul-ifunc.c: Likewise.
35104         * string/test-strcmp-ifunc.c: Likewise.
35105         * string/test-strcpy-ifunc.c: Likewise.
35106         * string/test-strcspn-ifunc.c: Likewise.
35107         * string/test-strlen-ifunc.c: Likewise.
35108         * string/test-strncasecmp-ifunc.c: Likewise.
35109         * string/test-strncat-ifunc.c: Likewise.
35110         * string/test-strncmp-ifunc.c: Likewise.
35111         * string/test-strncpy-ifunc.c: Likewise.
35112         * string/test-strnlen-ifunc.c: Likewise.
35113         * string/test-strpbrk-ifunc.c: Likewise.
35114         * string/test-strrchr-ifunc.c: Likewise.
35115         * string/test-strspn-ifunc.c: Likewise.
35116         * string/test-strstr-ifunc.c: Likewise.
35118 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
35120         * benchtests/Makefile: Remove ifunc tests.
35121         * benchtests/bench-string.h: Define TEST_IFUNC.
35122         * benchtests/bench-bcopy-ifunc.c: Remove.
35123         * benchtests/bench-bzero-ifunc.c: Likewise.
35124         * benchtests/bench-memccpy-ifunc.c: Likewise.
35125         * benchtests/bench-memchr-ifunc.c: Likewise.
35126         * benchtests/bench-memcmp-ifunc.c: Likewise.
35127         * benchtests/bench-memcpy-ifunc.c: Likewise.
35128         * benchtests/bench-memmem-ifunc.c: Likewise.
35129         * benchtests/bench-memmove-ifunc.c: Likewise.
35130         * benchtests/bench-mempcpy-ifunc.c: Likewise.
35131         * benchtests/bench-memrchr-ifunc.c: Likewise.
35132         * benchtests/bench-memset-ifunc.c: Likewise.
35133         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
35134         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
35135         * benchtests/bench-stpcpy-ifunc.c: Likewise.
35136         * benchtests/bench-stpncpy-ifunc.c: Likewise.
35137         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
35138         * benchtests/bench-strcasestr-ifunc.c: Likewise.
35139         * benchtests/bench-strcat-ifunc.c: Likewise.
35140         * benchtests/bench-strchr-ifunc.c: Likewise.
35141         * benchtests/bench-strchrnul-ifunc.c: Likewise.
35142         * benchtests/bench-strcmp-ifunc.c: Likewise.
35143         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
35144         * benchtests/bench-strcpy-ifunc.c: Likewise.
35145         * benchtests/bench-strcspn-ifunc.c: Likewise.
35146         * benchtests/bench-strlen-ifunc.c: Likewise.
35147         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
35148         * benchtests/bench-strncat-ifunc.c: Likewise.
35149         * benchtests/bench-strncmp-ifunc.c: Likewise.
35150         * benchtests/bench-strncpy-ifunc.c: Likewise.
35151         * benchtests/bench-strnlen-ifunc.c: Likewise.
35152         * benchtests/bench-strpbrk-ifunc.c: Likewise.
35153         * benchtests/bench-strrchr-ifunc.c: Likewise.
35154         * benchtests/bench-strsep-ifunc.c: Likewise.
35155         * benchtests/bench-strspn-ifunc.c: Likewise.
35156         * benchtests/bench-strstr-ifunc.c: Likewise.
35158 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
35160         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
35162 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
35164         * resolv/netdb.h: Use __glibc_reserved instead __unused.
35165         * rt/aio.h: Likewise.
35166         * sysdeps/gnu/bits/utmp.h: Likewise.
35167         * sysdeps/gnu/bits/utmpx.h: Likewise.
35168         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
35169         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
35170         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
35171         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
35172         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
35173         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
35174         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
35175         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
35176         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
35177         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
35178         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
35179         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
35180         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
35181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
35182         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
35183         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
35184         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
35185         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
35186         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
35187         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
35188         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
35189         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
35190         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
35191         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
35192         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
35193         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35194         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
35195         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
35196         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
35197         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
35198         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
35199         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
35200         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
35201         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
35202         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
35203         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
35204         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
35205         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
35206         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
35207         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
35208         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
35209         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
35211 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
35213         [BZ #16245]
35214         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
35215         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
35217 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
35219         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
35220         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
35221         Likewise.
35223 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35225         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
35226         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
35227         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
35228         (__fesetround): Remove define.
35229         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
35230         rounding and exceptions handling.
35231         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
35232         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
35233         (__fe_nomask_env): Likewise.
35234         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
35235         __fegetround instead of fegetround.
35236         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
35237         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
35239 2013-11-21  Roland McGrath  <roland@hack.frob.com>
35241         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
35242         it's there.
35244         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
35246 2013-11-21  Meador Inge  <meadori@codesourcery.com>
35248         [BZ #11157]
35249         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
35250         (encrypt_r): Likewise.
35251         * malloc/obstack.h (obstack_free): Likewise.
35252         * posix/unistd.h (encrypt): Likewise.
35254 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
35256         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
35257         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
35258         DL_CALL_DT_FINI() that call the functions directly.
35259         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
35260         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
35261         * elf/dl-fini.c: Likewise.
35263 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
35265         * malloc/hooks.c (memalign_check): Add alignment rounding.
35266         * malloc/malloc.c (_mid_memalign): New function.
35267         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
35268         Implement by calling _mid_memalign.
35269         * manual/probes.texi (Memory Allocation Probes): Remove
35270         memory_valloc_retry and memory_pvalloc_retry.
35272 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
35274         * locale/programs/locarchive.c (open_archive): Add const
35275         qualifier to ARCHIVEFNAME and copy default fname to
35276         DEFAULT_FNAME.
35278         [BZ #15601]
35279         * libio/tst-widetext.input: Rename Oriya to Odia.
35280         * locale/iso-639.def: Likewise.
35282         * manual/probes.texi (Mathematical Function Probes): Add
35283         documentation for sin, cos, asin and acos probes.
35284         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
35285         (__sin32): Add slowasin probe.
35286         (__cos32): Add slowacos probe.
35287         (__mpsin): Add slowsin probe.
35288         (__mpcos): Add slowcos probe.
35290 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
35292         [BZ #15483]
35293         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
35294         thread-local __sim_exceptions_thread and global
35295         __sim_exceptions_global.
35296         (__sim_disabled_exceptions): Change to thread-local
35297         __sim_disabled_exceptions_thread and global
35298         __sim_disabled_exceptions_global.
35299         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
35300         and global __sim_round_mode_global.
35301         (__simulate_exceptions): Use thread-local floating-point state and
35302         set global state from it as needed.
35303         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
35304         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
35305         __sim_round_mode_thread.
35306         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
35307         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
35308         and global __sim_exceptions_global.
35309         (__sim_disabled_exceptions): Change to thread-local
35310         __sim_disabled_exceptions_thread and global
35311         __sim_disabled_exceptions_global.
35312         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
35313         and global __sim_round_mode_global.
35314         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
35315         (SIM_SET_GLOBAL): Likewise.
35316         * sysdeps/powerpc/soft-fp/sfp-machine.h
35317         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
35318         __sim_round_mode_thread.
35319         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
35320         __sim_disabled_exceptions_thread.
35321         (__sim_exceptions): Change to __sim_exceptions_thread.
35322         (__sim_disabled_exceptions): Change to
35323         __sim_disabled_exceptions_thread.
35324         (__sim_round_mode): Change to __sim_round_mode_thread.
35325         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
35326         thread-local floating-point state and set global state from it as
35327         needed.
35328         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
35329         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
35330         (__sim_disabled_exceptions): Remove extern declaration.
35331         (feenableexcept): Use thread-local floating-point state and set
35332         global state from it as needed.
35333         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
35334         extern declaration.
35335         (__sim_disabled_exceptions): Likewise.
35336         (__sim_round_mode): Likewise.
35337         (__fegetenv): Use thread-local floating-point state.
35338         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
35339         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
35340         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
35341         floating-point state and set global state from it as needed.
35342         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
35343         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
35344         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
35345         Likewise.
35346         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
35347         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
35348         Likewise.
35349         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
35350         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
35351         Use __sim_round_mode_thread.
35352         * math/test-fenv-tls.c: New file.
35353         * math/Makefile (tests): Add test-fenv-tls.
35354         ($(objpfx)test-fenv-tls): Depend on
35355         $(common-objpfx)nptl/libpthread.so.
35357 2013-11-19  Andreas Schwab  <schwab@suse.de>
35359         * locale/programs/locale.c (show_info): Decode wordarray elements.
35360         * locale/categories.def (LC_MONETARY): Add element for
35361         _NL_MONETARY_CRNCYSTR.
35362         * locale/C-monetary.c (conversion_rate): New variable.
35363         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
35364         element.
35366 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
35368         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
35369         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
35371 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
35373         * elf/Makefile (tst-auxv): New test.
35374         * elf/tst-auxv.c: New
35375         * elf/rtld.c (dl_main): Adjust AT_EXECFN
35377 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
35379         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
35380         (hidden_proto): Caller changed.
35381         (hidden_tls_proto): New macro.
35382         (libc_hidden_tls_proto): Likewise.
35383         (rtld_hidden_tls_proto): Likewise.
35384         (libm_hidden_tls_proto): Likewise.
35385         (libresolv_hidden_tls_proto): Likewise.
35386         (librt_hidden_tls_proto): Likewise.
35387         (libdl_hidden_tls_proto): Likewise.
35388         (libnss_files_hidden_tls_proto): Likewise.
35389         (libnsl_hidden_tls_proto): Likewise.
35390         (libnss_nisplus_hidden_tls_proto): Likewise.
35391         (libutil_hidden_tls_proto): Likewise.
35393 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
35395         [BZ #10253]
35396         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
35397         (decompose_rpath): Defer expansion to fillin_rpath.
35398         (_dl_init_paths): Pass linkmap to fillin_rpath.
35400 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35402         * benchtests/Makefile: Add strsep.
35403         * benchtests/bench-strsep.c: New file: strsep benchtest.
35404         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
35406 2013-11-18  Andreas Schwab  <schwab@suse.de>
35408         * locale/programs/locale.c (show_info) [case byte]: Check for
35409         '\377' instead of '\177'.
35410         * locale/C-monetary.c (not_available): Always use "\377".
35411         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
35412         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
35413         detect unavailable sign_posn locale elements.
35414         * locale/localeconv.c (__localeconv): For grouping and
35415         mon_grouping handle "\177" and "\377" like no grouping.
35416         (INT_ELEM): New macro.  Use it to set all numeric members.
35417         * locale/programs/ld-monetary.c (monetary_read)
35418         <tok_mon_grouping>: Normalize single -1 to the empty string.
35419         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
35420         Likewise.
35422 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
35424         [BZ #16055]
35425         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
35426         when we match (nil).
35427         * stdio-common/tst-sscanf.c (struct test): Add testcase.
35429 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
35431         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
35432         (NO_TEST_INLINE): Update value.
35433         (ERRNO_UNCHANGED): Likewise.
35434         (ERRNO_EDOM): Likewise.
35435         (ERRNO_ERANGE): Likewise.
35436         (IGNORE_RESULT): Likewise.
35437         (check_float_internal): Check signs of NaN results if
35438         TEST_NAN_SIGN used.
35439         (check_complex): Pass TEST_NAN_SIGN flag through to second
35440         check_float_internal call.
35441         (copysign_test_data): Add tests with quiet NaNs as second
35442         argument.  Use TEST_NAN_SIGN.
35443         (fabs_test_data): Add test of negative quiet NaN argument.  Use
35444         TEST_NAN_SIGN.
35445         (signbit_test_data): Add tests of quiet NaN argument.
35446         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
35448         * math/gen-libm-test.pl (show_exceptions): Take extra argument
35449         $ignore_result.
35450         (parse_args): Handle function results specified as IGNORE.
35451         * math/libm-test.inc (IGNORE_RESULT): New macro.
35452         (check_float_internal): Do not check numerical result if flag
35453         IGNORE_RESULT set.
35454         (check_complex): Pass through IGNORE_RESULT to second
35455         check_float_internal call.
35456         (check_int): Do not check numerical result if flag IGNORE_RESULT
35457         set.
35458         (check_long): Likewise.
35459         (check_bool): Likewise.
35460         (check_longlong): Likewise.
35461         (lrint_test_data): Add tests of infinite and NaN arguments.
35462         (lrint_tonearest_test_data): Likewise.
35463         (lrint_towardzero_test_data): Likewise.
35464         (lrint_downward_test_data): Likewise.
35465         (lrint_upward_test_data): Likewise.
35466         (llrint_test_data): Likewise.
35467         (llrint_tonearest_test_data): Likewise.
35468         (llrint_towardzero_test_data): Likewise.
35469         (llrint_downward_test_data): Likewise.
35470         (llrint_upward_test_data): Likewise.
35471         (lround_test_data): Likewise.
35472         (llround_test_data): Likewise.
35474         * math/libm-test.inc (NO_TEST_INLINE): New macro.
35475         (ERRNO_UNCHANGED): Update value.
35476         (ERRNO_EDOM): Likewise.
35477         (ERRNO_ERANGE): Likewise.
35478         (NO_TEST_INLINE_FLOAT): New macro.
35479         (NO_TEST_INLINE_DOUBLE): Likewise.
35480         (enable_test): New function.
35481         (RUN_TEST_f_f): Check enable_test before running test.
35482         (RUN_TEST_2_f): Likewise.
35483         (RUN_TEST_fff_f): Likewise.
35484         (RUN_TEST_c_f): Likewise.
35485         (RUN_TEST_f_f1): Likewise.
35486         (RUN_TEST_fF_f1): Likewise.
35487         (RUN_TEST_fI_f1): Likewise.
35488         (RUN_TEST_ffI_f1): Likewise.
35489         (RUN_TEST_c_c): Likewise.
35490         (RUN_TEST_cc_c): Likewise.
35491         (RUN_TEST_f_i): Likewise.
35492         (RUN_TEST_f_i_tg): Likewise.
35493         (RUN_TEST_ff_i_tg): Likewise.
35494         (RUN_TEST_f_b): Likewise.
35495         (RUN_TEST_f_b_tg): Likewise.
35496         (RUN_TEST_f_l): Likewise.
35497         (RUN_TEST_f_L): Likewise.
35498         (RUN_TEST_fFF_11): Likewise.
35499         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
35500         conditionals.
35501         (cosh_test_data): Likewise.
35502         (exp_test_data): Likewise.
35503         (expm1_test_data): Likewise.
35504         (hypot_test_data): Likewise.
35505         (pow_test_data): Likewise.
35506         (sinh_test_data): Likewise.
35507         (tanh_test_data): Likewise.
35508         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
35509         flags argument.
35511         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
35512         tests with quiet NaN input and output.
35513         (acosh_test_data): Likewise.
35514         (asin_test_data): Likewise.
35515         (asinh_test_data): Likewise.
35516         (atan_test_data): Likewise.
35517         (atanh_test_data): Likewise.
35518         (atan2_test_data): Likewise.
35519         (cbrt_test_data): Likewise.
35520         (cos_test_data): Likewise.
35521         (cosh_test_data): Likewise.
35522         (erf_test_data): Likewise.
35523         (erfc_test_data): Likewise.
35524         (exp_test_data): Likewise.
35525         (exp10_test_data): Likewise.
35526         (exp2_test_data): Likewise.
35527         (expm1_test_data): Likewise.
35528         (hypot_test_data): Likewise.
35529         (j0_test_data): Likewise.
35530         (j1_test_data): Likewise.
35531         (jn_test_data): Likewise.
35532         (lgamma_test_data): Likewise.
35533         (log_test_data): Likewise.
35534         (log10_test_data): Likewise.
35535         (log1p_test_data): Likewise.
35536         (log2_test_data): Likewise.
35537         (pow_test_data): Likewise.
35538         (scalb_test_data): Likewise.
35539         (sin_test_data): Likewise.
35540         (sincos_test_data): Likewise.
35541         (sinh_test_data): Likewise.
35542         (tan_test_data): Likewise.
35543         (tanh_test_data): Likewise.
35544         (tgamma_test_data): Likewise.
35545         (y0_test_data): Likewise.
35546         (y1_test_data): Likewise.
35547         (yn_test_data): Likewise.
35549         [BZ #16167]
35550         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
35551         argument being NaN and avoid computations with second argument in
35552         that case.
35553         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35554         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
35555         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35557 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
35559         * locale/iso-639.def: Add Chitwani Tharu (the).
35561 2013-11-14  Andreas Schwab  <schwab@suse.de>
35563         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
35564         word instead of empty string.
35566 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35569         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
35570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35571         (__fe_nomask_env): Likewise.
35573 2013-11-13  Steve Ellcey  <sellcey@mips.com>
35575         * benchtests/bench-timing.h: Include time.h.
35577 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
35579         [BZ #15997]
35580         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
35581         to 3.4.0 for x32.
35582         * sysdeps/unix/sysv/linux/configure: Regenerated.
35584 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
35586         [BZ #16151]
35587         * stdlib/strtod_l.c (round_and_return): Do not consider
35588         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
35589         exponent one less than half the least subnormal exponent.
35590         * stdlib/test-strtod-round-data: Add more tests.
35591         * stdlib/tst-strtod-round.c (tests): Regenerated.
35593 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35595         [BZ #14143]
35596         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
35597         (__fe_mask_env): Likewise.
35598         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
35599         libm_hidden_proto and add function prototype.
35600         (__fe_mask_env): Add function prototype.
35601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35602         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
35603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
35604         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
35605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35606         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
35608 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35610         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
35611         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
35613 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35615         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
35616         of htab_find_slot().
35618 2013-11-11  David S. Miller  <davem@davemloft.net>
35620         [BZ #16150]
35621         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
35622         symbol in the non-vis3 case in static builds.
35623         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
35624         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
35625         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
35626         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
35628 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
35630         [BZ #387]
35631         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
35632         it is empty.
35634 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35636         * benchtests/Makefile: Add bench-strtod.
35637         * benchtests/bench-strtod.c: New file: strtod benchtest
35639 2013-11-11  Andreas Schwab  <schwab@suse.de>
35641         [BZ #16153]
35642         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
35643         terminating NUL in key length.
35645 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35647         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
35648         Add artificial ODP entry for vDSO symbol for PPC64.
35649         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
35650         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
35652 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
35654         [BZ #15374]
35655         * nss/getent.c (services_keys): Recognize services starting with digit.
35657 2013-11-06  David S. Miller  <davem@davemloft.net>
35659         [BZ #15985]
35660         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
35661         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
35663 2013-11-06  Will Newton  <will.newton@linaro.org>
35665         * manual/memory.texi (Malloc Examples): Remove register
35666         keyword from examples.
35668 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
35670         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
35672 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
35674         [BZ #6981]
35675         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
35676         depending on [__GCC_IEC_559 > 0].
35677         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
35678         depending on [__GCC_IEC_559_COMPLEX > 0].
35680 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
35682         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
35683         to iso-639.def.
35685 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
35687         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
35689 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
35691         [BZ #16112]
35692         * malloc/malloc (malloc_info): Do not handle first bin as
35693         special case.
35695 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
35697         * locale/iso-639.def: Add Central Nahuatl (nhn).
35699 2013-11-01  Bruno Haible  <bruno@clisp.org>
35701         [BZ #7003]
35702         * manual/math.texi (BSD Random): Specify range upper bound as
35703         in POSIX.
35705 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
35707         * locale/iso-639.def: Add Meadow Mari (mhr).
35709 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
35711         [BZ #14752], [BZ #15763]
35712         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
35713         Validate name.
35714         * rt/tst_shm.c: Add test for escaping directory.
35716 2013-10-31  Andreas Schwab  <schwab@suse.de>
35718         [BZ #15917]
35719         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
35720         followed by 'x' as part of digit sequence.
35721         * stdio-common/tst-sscanf.c (double_tests2): New tests.
35723 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
35725         [BZ #16037]
35726         * configure.ac: allow GNU Make 4.0 and greater.
35727         * configure: Regenerated.
35729 2013-10-30  Will Newton  <will.newton@linaro.org>
35731         [BZ #16038]
35732         * malloc/hooks.c (memalign_check): Limit alignment to the
35733         maximum representable power of two.
35734         * malloc/malloc.c (__libc_memalign): Likewise.
35735         * malloc/tst-memalign.c (do_test): Add test for very
35736         large alignment values.
35737         * malloc/tst-posix_memalign.c (do_test): Likewise.
35739 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
35741         [BZ #11087]
35742         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
35743         (munmap_chunk): Likewise.
35744         (mremap_chunk): Likewise.
35746 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
35748         [BZ #15799]
35749         * stdlib/div.c (div): Remove obsolete code.
35750         * stdlib/ldiv.c (ldiv): Likewise.
35751         * stdlib/lldiv.c (lldiv): Likewise.
35753 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35755         [BZ #16071]
35756         * nss/nss_files/files-XXX.c (get_contents_ret): New
35757         enumerator.
35758         (get_contents): New function.
35759         (internal_getent): Use it.  Expand size of LINEBUFLEN.
35761 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
35763         * configure.in: Moved to ...
35764         * configure.ac: ... here. Change reference to configure.in
35765         to configure.ac.
35766         * sysdeps/arm/preconfigure.ac: ... here.
35767         configure.in to configure.ac.
35768         * sysdeps/gnu/configure.in: Moved to ...
35769         * sysdeps/gnu/configure.ac: ... here.
35770         * sysdeps/i386/configure.in: Moved to ...
35771         * sysdeps/i386/configure.ac: ... here.
35772         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
35773         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
35774         * sysdeps/mach/configure.in: Moved to ...
35775         * sysdeps/mach/configure.ac: ... here.
35776         * sysdeps/mach/hurd/configure.in: Moved to ...
35777         * sysdeps/mach/hurd/configure.ac: ... here.
35778         * sysdeps/powerpc/configure.in: Moved to ...
35779         * sysdeps/powerpc/configure.ac: ... here.
35780         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
35781         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
35782         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
35783         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
35784         * sysdeps/s390/s390-32/configure.in: Moved to ...
35785         * sysdeps/s390/s390-32/configure.ac: ... here.
35786         * sysdeps/s390/s390-64/configure.in: Moved to ...
35787         * sysdeps/s390/s390-64/configure.ac: ... here.
35788         * sysdeps/sh/configure.in: Moved to ...
35789         * sysdeps/sh/configure.ac: ... here.
35790         * sysdeps/sparc/configure.in: Moved to ...
35791         * sysdeps/sparc/configure.ac: ... here.
35792         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
35793         * sysdeps/unix/sysv/linux/configure.ac: ... here.
35794         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
35795         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
35796         * sysdeps/x86_64/configure.in: Moved to ...
35797         * sysdeps/x86_64/configure.ac: ... here.
35798         * sysdeps/x86_64/preconfigure.in: Moved to ...
35799         * sysdeps/x86_64/preconfigure.ac: ... here.
35800         * aclocal.m4: Change reference to configure.in to configure.ac.
35801         * config.h.in: Likewise.
35802         * manual/install.texi: Likewise.
35803         * manual/maint.texi: Likewise.
35804         * Makefile: Likewise.
35805         * malloc/Makefile: Likewise.
35806         * nscd/Makefile: Likewise.
35807         * Makeconfig: Change reference to configure.in and
35808         preconfigure.in to configure.ac and preconfigure.ac
35809         respectively.
35810         * INSTALL: Regenerated.
35811         * configure: Likewise.
35812         * sysdeps/gnu/configure: Likewise.
35813         * sysdeps/i386/configure: Likewise.
35814         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
35815         * sysdeps/mach/configure: Likewise.
35816         * sysdeps/mach/hurd/configure: Likewise.
35817         * sysdeps/powerpc/configure: Likewise.
35818         * sysdeps/powerpc/powerpc32/configure: Likewise.
35819         * sysdeps/powerpc/powerpc64/configure: Likewise.
35820         * sysdeps/s390/s390-32/configure: Likewise.
35821         * sysdeps/s390/s390-64/configure: Likewise.
35822         * sysdeps/sh/configure: Likewise.
35823         * sysdeps/sparc/configure: Likewise.
35824         * sysdeps/unix/sysv/linux/configure: Likewise.
35825         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
35826         * sysdeps/x86_64/configure: Likewise.
35827         * sysdeps/x86_64/preconfigure: Likewise.
35829 2013-10-29  Andreas Schwab  <schwab@suse.de>
35831         * stdio-common/Makefile (tst-swscanf-ENV): Define.
35833 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35835         * benchtests/pow-inputs: Add new inputs.
35837         * benchtests/exp-inputs: Add new inputs.
35839         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
35840         conditional check for return value.
35841         (__cos32): Likewise.
35843 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35845         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
35846         to provide a boost for large inputs with word alignment.
35847         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
35848         implementation based on optimized PPC64 strcpy.
35849         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
35850         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
35851         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
35852         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
35854 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
35856         [BZ #2801]
35857         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
35859 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
35861         [BZ #14876]
35862         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
35863         * time/tst-strptime.c (day_tests): Add testcase.
35865 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
35867         [BZ #14029]
35868         * manual/pattern.texi: Acknowledge that fnmatch can fail.
35870 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
35872         [BZ #16074]
35873         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
35874         MAP_FAILED on error.
35876 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35878         [BZ #16072]
35879         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
35880         heap for large requests.
35882 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
35884         [BZ #9954]
35885         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
35886         result if the result has no associated interface.
35887         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
35888         interface for all 127.X.Y.Z addresses.
35890 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
35892         * locale/iso-639.def: Add Ligurian (lij)
35894 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
35896         [BZ #15825]
35897         * sunrpc/rpc_main.c: Document rpcgen -5.
35899 2013-10-19  Michael Stahl  <mstahl@redhat.com>
35901         * elf/rtld.c (do_preload): Print the reason why preloading failed.
35903 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
35905         [BZ #10278]
35906         * posix/glob.c: Match only directories when trailing slash is present.
35907         * posix/tst-gnuglob.c (my_opendir): Do not open files.
35908         (main): Add testcase.
35910 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
35912         [BZ #15670]
35913         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
35915 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
35917         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
35918         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
35919         AUTH_DES and cindex for FIPS 140-2.
35920         (DES Encryption): Add cindex FIPS 46-3.
35922         * locale/locarchive.h (struct locarhandle): Add fname.
35923         * locale/programs/localedef.c (main): Pass ARGV[remaining]
35924         if an optional argument was specified to --list-archive,
35925         otherwise NULL.
35926         * locale/programs/locarchive.c (show_archive_content): Take new
35927         argument fname and pass it via ah.fname to open_archive.
35928         * locale/programs/localedef.h: Update decl.
35929         (open_archive): If AH->fname is non-null, open that file
35930         rather than the default file name, and don't ignore ENOENT.
35931         (create_archive): Set AH.fname to NULL.
35932         (delete_locales_from_archive): Likewise.
35933         (add_locales_to_archive): Likewise.
35934         * locale/programs/locfile.c (write_all_categories): Likewise.
35936 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
35937             Aldy Hernandez  <aldyh@redhat.com>
35939         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
35940         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
35941         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
35942         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
35943         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
35944         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
35945         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
35946         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
35947         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
35948         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
35949         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
35950         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
35951         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
35952         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
35953         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
35954         Likewise.
35955         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
35956         Likewise.
35957         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
35958         Likewise.
35959         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
35960         Likewise.
35961         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
35962         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
35963         Likewise.
35964         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
35965         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
35966         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
35967         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
35968         Likewise.
35969         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
35970         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
35971         * sysdeps/powerpc/preconfigure: Likewise.
35972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
35973         Likewise.
35974         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
35975         Replace contents of file by #include of <fenv_libc.h>.
35976         * sysdeps/powerpc/soft-fp/sfp-machine.h
35977         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
35978         and <sys/prctl.h>.
35979         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
35980         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
35981         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
35982         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
35983         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
35984         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
35985         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
35986         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
35987         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
35988         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
35989         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
35990         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
35991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
35992         Allow copysignl PLT reference to be missing.
35994 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
35995             Joseph Myers  <joseph@codesourcery.com
35997         [BZ #15948]
35998         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
35999         single character.
36000         (add_to_tablewc): Assert sequence of wide characters is nonempty.
36002 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36004         * elf/tst-tls-dlinfo.c: Don't include tls.h.
36005         * elf/tst-tls1.c: Likewise.
36006         * elf/tst-tls10.h: Likewise.
36007         * elf/tst-tls14.c: Likewise.
36008         * elf/tst-tls2.c: Likewise.
36009         * elf/tst-tls3.c: Likewise.
36010         * elf/tst-tls4.c: Likewise.
36011         * elf/tst-tls5.c: Likewise.
36012         * elf/tst-tls6.c: Likewise.
36013         * elf/tst-tls7.c: Likewise.
36014         * elf/tst-tls8.c: Likewise.
36015         * elf/tst-tls9.c: Likewise.
36016         * elf/tst-tlsmod1.c: Likewise.
36017         * elf/tst-tlsmod13.c: Likewise.
36018         * elf/tst-tlsmod13a.c: Likewise.
36019         * elf/tst-tlsmod14a.c: Likewise.
36020         * elf/tst-tlsmod16a.c: Likewise.
36021         * elf/tst-tlsmod16b.c: Likewise.
36022         * elf/tst-tlsmod2.c: Likewise.
36023         * elf/tst-tlsmod3.c: Likewise.
36024         * elf/tst-tlsmod4.c: Likewise.
36025         * elf/tst-tlsmod5.c: Likewise.
36026         * elf/tst-tlsmod6.c: Likewise.
36028 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
36030         [BZ #12486]
36031         * malloc/malloc.c: remove checks for statistics.
36033 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
36035         [BZ #15277]
36036         * inet/inet_net.c (inet_network): Detect additional invalid strings.
36037         * inet/tst-network.c: Add testcase.
36039 2013-10-17  Andreas Schwab  <schwab@suse.de>
36041         [BZ #15218]
36042         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
36043         to determine canonical name.
36045 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
36047         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
36048         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
36049         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36050         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36051         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36052         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36053         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36054         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36055         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
36056         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36057         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36058         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36059         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36060         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36061         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36062         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36063         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36064         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36065         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
36066         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36067         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36068         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36069         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36070         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
36071         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
36072         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36073         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36074         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
36075         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36076         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
36077         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36078         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36079         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
36080         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36081         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36082         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36083         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36084         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36085         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36086         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36087         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36088         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
36089         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
36090         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36091         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
36092         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36093         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36094         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
36095         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
36096         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36097         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
36098         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36099         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36100         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
36101         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36102         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
36103         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36104         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36106 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
36108         [BZ #16041]
36109         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
36110         make result into a quiet NaN.
36112 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
36114         * soft-fp/adddf3.c: Fix horizontal whitespace.
36115         * soft-fp/addsf3.c: Likewise.
36116         * soft-fp/addtf3.c: Likewise.
36117         * soft-fp/divdf3.c: Likewise.
36118         * soft-fp/divsf3.c: Likewise.
36119         * soft-fp/divtf3.c: Likewise.
36120         * soft-fp/double.h: Likewise.
36121         * soft-fp/eqdf2.c: Likewise.
36122         * soft-fp/eqsf2.c: Likewise.
36123         * soft-fp/eqtf2.c: Likewise.
36124         * soft-fp/extenddftf2.c: Likewise.
36125         * soft-fp/extended.h: Likewise.
36126         * soft-fp/extendsfdf2.c: Likewise.
36127         * soft-fp/extendsftf2.c: Likewise.
36128         * soft-fp/extendxftf2.c: Likewise.
36129         * soft-fp/fixdfdi.c: Likewise.
36130         * soft-fp/fixdfsi.c: Likewise.
36131         * soft-fp/fixdfti.c: Likewise.
36132         * soft-fp/fixsfdi.c: Likewise.
36133         * soft-fp/fixsfsi.c: Likewise.
36134         * soft-fp/fixsfti.c: Likewise.
36135         * soft-fp/fixtfdi.c: Likewise.
36136         * soft-fp/fixtfsi.c: Likewise.
36137         * soft-fp/fixtfti.c: Likewise.
36138         * soft-fp/fixunsdfdi.c: Likewise.
36139         * soft-fp/fixunsdfsi.c: Likewise.
36140         * soft-fp/fixunsdfti.c: Likewise.
36141         * soft-fp/fixunssfdi.c: Likewise.
36142         * soft-fp/fixunssfsi.c: Likewise.
36143         * soft-fp/fixunssfti.c: Likewise.
36144         * soft-fp/fixunstfdi.c: Likewise.
36145         * soft-fp/fixunstfsi.c: Likewise.
36146         * soft-fp/fixunstfti.c: Likewise.
36147         * soft-fp/floatdidf.c: Likewise.
36148         * soft-fp/floatdisf.c: Likewise.
36149         * soft-fp/floatditf.c: Likewise.
36150         * soft-fp/floatsidf.c: Likewise.
36151         * soft-fp/floatsisf.c: Likewise.
36152         * soft-fp/floatsitf.c: Likewise.
36153         * soft-fp/floattidf.c: Likewise.
36154         * soft-fp/floattisf.c: Likewise.
36155         * soft-fp/floattitf.c: Likewise.
36156         * soft-fp/floatundidf.c: Likewise.
36157         * soft-fp/floatundisf.c: Likewise.
36158         * soft-fp/floatunditf.c: Likewise.
36159         * soft-fp/floatunsidf.c: Likewise.
36160         * soft-fp/floatunsisf.c: Likewise.
36161         * soft-fp/floatunsitf.c: Likewise.
36162         * soft-fp/floatuntidf.c: Likewise.
36163         * soft-fp/floatuntisf.c: Likewise.
36164         * soft-fp/floatuntitf.c: Likewise.
36165         * soft-fp/fmadf4.c: Likewise.
36166         * soft-fp/fmasf4.c: Likewise.
36167         * soft-fp/fmatf4.c: Likewise.
36168         * soft-fp/gedf2.c: Likewise.
36169         * soft-fp/gesf2.c: Likewise.
36170         * soft-fp/getf2.c: Likewise.
36171         * soft-fp/ledf2.c: Likewise.
36172         * soft-fp/lesf2.c: Likewise.
36173         * soft-fp/letf2.c: Likewise.
36174         * soft-fp/muldf3.c: Likewise.
36175         * soft-fp/mulsf3.c: Likewise.
36176         * soft-fp/multf3.c: Likewise.
36177         * soft-fp/negdf2.c: Likewise.
36178         * soft-fp/negsf2.c: Likewise.
36179         * soft-fp/negtf2.c: Likewise.
36180         * soft-fp/op-1.h: Likewise.
36181         * soft-fp/op-2.h: Likewise.
36182         * soft-fp/op-4.h: Likewise.
36183         * soft-fp/op-8.h: Likewise.
36184         * soft-fp/op-common.h: Likewise.
36185         * soft-fp/quad.h: Likewise.
36186         * soft-fp/single.h: Likewise.
36187         * soft-fp/soft-fp.h: Likewise.
36188         * soft-fp/sqrtdf2.c: Likewise.
36189         * soft-fp/sqrtsf2.c: Likewise.
36190         * soft-fp/sqrttf2.c: Likewise.
36191         * soft-fp/subdf3.c: Likewise.
36192         * soft-fp/subsf3.c: Likewise.
36193         * soft-fp/subtf3.c: Likewise.
36194         * soft-fp/truncdfsf2.c: Likewise.
36195         * soft-fp/trunctfdf2.c: Likewise.
36196         * soft-fp/trunctfsf2.c: Likewise.
36197         * soft-fp/trunctfxf2.c: Likewise.
36198         * soft-fp/unorddf2.c: Likewise.
36199         * soft-fp/unordsf2.c: Likewise.
36200         * soft-fp/unordtf2.c: Likewise.
36202 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
36204         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
36205         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
36207 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
36209         * elf/dl-libc.c: Clear initfini list after freeing.
36211 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
36213         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
36214         * soft-fp/addsf3.c: Likewise.
36215         * soft-fp/addtf3.c: Likewise.
36216         * soft-fp/divdf3.c: Likewise.
36217         * soft-fp/divsf3.c: Likewise.
36218         * soft-fp/divtf3.c: Likewise.
36219         * soft-fp/double.h: Likewise.
36220         * soft-fp/eqdf2.c: Likewise.
36221         * soft-fp/eqsf2.c: Likewise.
36222         * soft-fp/eqtf2.c: Likewise.
36223         * soft-fp/extenddftf2.c: Likewise.
36224         * soft-fp/extended.h: Likewise.
36225         * soft-fp/extendsfdf2.c: Likewise.
36226         * soft-fp/extendsftf2.c: Likewise.
36227         * soft-fp/extendxftf2.c: Likewise.
36228         * soft-fp/fixdfdi.c: Likewise.
36229         * soft-fp/fixdfsi.c: Likewise.
36230         * soft-fp/fixdfti.c: Likewise.
36231         * soft-fp/fixsfdi.c: Likewise.
36232         * soft-fp/fixsfsi.c: Likewise.
36233         * soft-fp/fixsfti.c: Likewise.
36234         * soft-fp/fixtfdi.c: Likewise.
36235         * soft-fp/fixtfsi.c: Likewise.
36236         * soft-fp/fixtfti.c: Likewise.
36237         * soft-fp/fixunsdfdi.c: Likewise.
36238         * soft-fp/fixunsdfsi.c: Likewise.
36239         * soft-fp/fixunsdfti.c: Likewise.
36240         * soft-fp/fixunssfdi.c: Likewise.
36241         * soft-fp/fixunssfsi.c: Likewise.
36242         * soft-fp/fixunssfti.c: Likewise.
36243         * soft-fp/fixunstfdi.c: Likewise.
36244         * soft-fp/fixunstfsi.c: Likewise.
36245         * soft-fp/fixunstfti.c: Likewise.
36246         * soft-fp/floatdidf.c: Likewise.
36247         * soft-fp/floatdisf.c: Likewise.
36248         * soft-fp/floatditf.c: Likewise.
36249         * soft-fp/floatsidf.c: Likewise.
36250         * soft-fp/floatsisf.c: Likewise.
36251         * soft-fp/floatsitf.c: Likewise.
36252         * soft-fp/floattidf.c: Likewise.
36253         * soft-fp/floattisf.c: Likewise.
36254         * soft-fp/floattitf.c: Likewise.
36255         * soft-fp/floatundidf.c: Likewise.
36256         * soft-fp/floatundisf.c: Likewise.
36257         * soft-fp/floatunsidf.c: Likewise.
36258         * soft-fp/floatunsisf.c: Likewise.
36259         * soft-fp/floatuntidf.c: Likewise.
36260         * soft-fp/floatuntisf.c: Likewise.
36261         * soft-fp/floatuntitf.c: Likewise.
36262         * soft-fp/fmadf4.c: Likewise.
36263         * soft-fp/fmasf4.c: Likewise.
36264         * soft-fp/fmatf4.c: Likewise.
36265         * soft-fp/gedf2.c: Likewise.
36266         * soft-fp/gesf2.c: Likewise.
36267         * soft-fp/getf2.c: Likewise.
36268         * soft-fp/ledf2.c: Likewise.
36269         * soft-fp/lesf2.c: Likewise.
36270         * soft-fp/letf2.c: Likewise.
36271         * soft-fp/muldf3.c: Likewise.
36272         * soft-fp/mulsf3.c: Likewise.
36273         * soft-fp/multf3.c: Likewise.
36274         * soft-fp/negdf2.c: Likewise.
36275         * soft-fp/negsf2.c: Likewise.
36276         * soft-fp/negtf2.c: Likewise.
36277         * soft-fp/op-1.h: Likewise.
36278         * soft-fp/op-2.h: Likewise.
36279         * soft-fp/op-4.h: Likewise.
36280         * soft-fp/op-8.h: Likewise.
36281         * soft-fp/op-common.h: Likewise.
36282         * soft-fp/quad.h: Likewise.
36283         * soft-fp/single.h: Likewise.
36284         * soft-fp/soft-fp.h: Likewise.
36285         * soft-fp/sqrtdf2.c: Likewise.
36286         * soft-fp/sqrtsf2.c: Likewise.
36287         * soft-fp/sqrttf2.c: Likewise.
36288         * soft-fp/subdf3.c: Likewise.
36289         * soft-fp/subsf3.c: Likewise.
36290         * soft-fp/subtf3.c: Likewise.
36291         * soft-fp/truncdfsf2.c: Likewise.
36292         * soft-fp/trunctfdf2.c: Likewise.
36293         * soft-fp/trunctfsf2.c: Likewise.
36294         * soft-fp/trunctfxf2.c: Likewise.
36295         * soft-fp/unorddf2.c: Likewise.
36296         * soft-fp/unordsf2.c: Likewise.
36297         * soft-fp/unordtf2.c: Likewise.
36299 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
36301         [BZ #15672]
36302         * misc/error.c (error_tail): Fix possible buffer overflow.
36304 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
36306         [BZ #13028]
36307         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
36308         address.
36310 2013-10-14  P. J. McDermott  <pj@pehjota.net>
36312         [BZ #832]
36313         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
36314         testing pipefail option.
36316 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
36318         * soft-fp/double.h: Indent preprocessor directives inside #if.
36319         * soft-fp/extended.h: Likewise.
36320         * soft-fp/op-2.h: Likewise.
36321         * soft-fp/op-4.h: Likewise.
36322         * soft-fp/op-common.h: Likewise.
36323         * soft-fp/quad.h: Likewise.
36324         * soft-fp/single.h: Likewise.
36325         * soft-fp/soft-fp.h: Likewise.
36327 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
36329         * iconv/iconv_prog.c: Fix typos.
36330         * stdio-common/psiginfo-data.h: Likewise.
36332 2013-10-12   Reuben Thomas <rrt@sc3d.org>
36334         [BZ #15764]
36335         * locale/setlocale.c: Fix typo.
36337 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
36339         [BZ #16036]
36340         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
36341         signaling NaN arguments.
36342         * soft-fp/unordsf2.c (__unordsf2): Likewise.
36343         * soft-fp/unordtf2.c (__unordtf2): Likewise.
36345         [BZ #14910]
36346         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
36347         unordered operands.
36348         * soft-fp/gesf2.c (__gesf2): Likewise.
36349         * soft-fp/getf2.c (__getf2): Likewise.
36350         * soft-fp/ledf2.c (__ledf2): Likewise.
36351         * soft-fp/lesf2.c (__lesf2): Likewise.
36352         * soft-fp/letf2.c (__letf2): Likewise.
36354         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
36355         * soft-fp/eqsf2.c (__eqsf2): Likewise.
36356         * soft-fp/eqtf2.c (__eqtf2): Likewise.
36357         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
36358         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
36359         * soft-fp/fixdfti.c (__fixdfti): Likewise.
36360         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
36361         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
36362         * soft-fp/fixsfti.c (__fixsfti): Likewise.
36363         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
36364         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
36365         * soft-fp/fixtfti.c (__fixtfti): Likewise.
36366         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
36367         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
36368         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
36369         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
36370         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
36371         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
36372         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
36373         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
36374         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
36375         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
36376         * soft-fp/floatdisf.c (__floatdisf): Likewise.
36377         * soft-fp/floatsisf.c (__floatsisf): Likewise.
36378         * soft-fp/floattidf.c (__floattidf): Likewise.
36379         * soft-fp/floattisf.c (__floattisf): Likewise.
36380         * soft-fp/floattitf.c (__floattitf): Likewise.
36381         * soft-fp/floatundidf.c (__floatundidf): Likewise.
36382         * soft-fp/floatundisf.c (__floatundisf): Likewise.
36383         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
36384         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
36385         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
36386         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
36387         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
36388         * soft-fp/gesf2.c (__gesf2): Likewise.
36389         * soft-fp/getf2.c (__getf2): Likewise.
36390         * soft-fp/ledf2.c (__ledf2): Likewise.
36391         * soft-fp/lesf2.c (__lesf2): Likewise.
36392         * soft-fp/letf2.c (__letf2): Likewise.
36394         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
36395         Undefine and redefine.
36396         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
36397         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
36398         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
36399         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
36400         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36401         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
36402         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36403         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
36404         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36405         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
36406         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36407         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
36408         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36409         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
36410         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36412         [BZ #16032]
36413         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
36414         without decrementing exponent if mantissa >= that for the
36415         denominator, not >.
36416         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
36417         denominator, not >.  Decrement exponent in < case instead of
36418         incrementing in >= case.
36419         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
36420         without decrementing exponent if mantissa >= that for the
36421         denominator, not >.
36423         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
36424         computing saturated result for unsigned overflow.
36426 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36427             Jeff Law  <law@redhat.com>
36429         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
36430         (atan2Mp): Add systemtap probe marker.
36431         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
36432         (__ieee754_log): Add systemtap probe marker.
36433         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
36434         (atanMp): Add systemtap probe marker.
36435         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
36436         (tanMp): Add systemtap probe marker.
36437         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
36438         (__slowexp): Add systemtap probe marker.
36439         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
36440         (__slowpow): Add systemtap probe marker.
36441         * manual/probes.texi: Document probes.
36443 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
36445         [BZ #15362]
36446         * libio/fileops.c (_IO_new_file_write): Return count of bytes
36447         written.
36448         (_IO_new_file_xsputn): Don't return EOF if nothing has been
36449         written.
36450         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
36451         written to buffer but not flushed.
36452         * libio/iofwrite_u.c:  Likewise.
36453         * libio/iopadn.c:  Return bytes returned even if EOF was
36454         encountered.
36455         * libio/iowpadn.c:  Likewise.
36456         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
36457         if _IO_padn does not write the whole buffer.
36458         [!COMPILE_WPRINTF] (PAD): Likewise.
36460 2013-10-10  David S. Miller  <davem@davemloft.net>
36462         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
36463         directory block.
36465 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
36467         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
36468         instead of FSF address.
36469         * soft-fp/fixdfti.c: Likewise.
36470         * soft-fp/fixsfti.c: Likewise.
36471         * soft-fp/fixtfti.c: Likewise.
36472         * soft-fp/fixunsdfti.c: Likewise.
36473         * soft-fp/fixunssfti.c: Likewise.
36474         * soft-fp/fixunstfti.c: Likewise.
36475         * soft-fp/floattidf.c: Likewise.
36476         * soft-fp/floattisf.c: Likewise.
36477         * soft-fp/floattitf.c: Likewise.
36478         * soft-fp/floatuntidf.c: Likewise.
36479         * soft-fp/floatuntisf.c: Likewise.
36480         * soft-fp/floatuntitf.c: Likewise.
36481         * soft-fp/trunctfxf2.c: Likewise.
36483         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
36484         * soft-fp/fixdfti.c: Likewise.
36485         * soft-fp/fixsfti.c: Likewise.
36486         * soft-fp/fixtfti.c: Likewise.
36487         * soft-fp/fixunsdfti.c: Likewise.
36488         * soft-fp/fixunssfti.c: Likewise.
36489         * soft-fp/fixunstfti.c: Likewise.
36490         * soft-fp/floattidf.c: Likewise.
36491         * soft-fp/floattisf.c: Likewise.
36492         * soft-fp/floattitf.c: Likewise.
36493         * soft-fp/floatuntidf.c: Likewise.
36494         * soft-fp/floatuntisf.c: Likewise.
36495         * soft-fp/floatuntitf.c: Likewise.
36496         * soft-fp/trunctfxf2.c: Likewise.
36498 2013-10-10  David S. Miller  <davem@davemloft.net>
36500         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36502 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
36504         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
36505         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
36506         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
36507         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
36508         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
36509         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
36510         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
36512         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
36513         for NaNs before doing comparisons on argument.
36514         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
36515         Likewise.
36517 2013-10-10  Will Newton  <will.newton@linaro.org>
36519         * malloc/hooks.c (memalign_check): Ensure the value of bytes
36520         passed to _int_memalign does not overflow.
36522 2013-10-10  Torvald Riegel  <triegel@redhat.com>
36524         * scripts/bench.pl: Add include-sources directive.
36525         * benchtests/README: Update documentation.
36527 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
36529         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
36530         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
36531         instead of FP_INIT_ROUNDMODE.
36532         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
36533         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
36535         [BZ #16034]
36536         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
36537         copy class of input value.
36538         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
36539         not handle exceptions.
36540         * soft-fp/negsf2.c (__negsf2): Likewise.
36541         * soft-fp/negtf2.c (__negtf2): Likewise.
36542         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
36544 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
36546         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
36547         semicolon.  From Linux kernel.
36549 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
36551         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
36553 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
36555         [BZ #156]
36556         * manual/socket.texi: Added statement about buffer
36557         for gethostbyname2_r.
36559 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
36561         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
36562         Use .p2align directive instead, throughout.
36563         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
36564         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
36565         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
36566         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36567         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36568         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
36569         * sysdeps/x86_64/strchr.S: Likewise.
36570         * sysdeps/x86_64/strrchr.S: Likewise.
36572 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
36574         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
36576         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
36578         * sysdeps/generic/math_private.h (__mpsin1): Remove
36579         declaration.
36580         (__mpcos1): Likewise.
36581         (__mpsin): New argument __range_reduce.
36582         (__mpcos): Likewise.
36583         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36584         (slow): Use __mpsin and __mpcos.
36585         (slow1): Likewise.
36586         (slow2): Likewise.
36587         (sloww): Likewise.
36588         (sloww1): Likewise.
36589         (sloww2): Likewise.
36590         (bsloww): Likewise.
36591         (bsloww1): Likewise.
36592         (bsloww2): Likewise.
36593         (cslow2): Likewise.
36594         (csloww): Likewise.
36595         (csloww1): Likewise.
36596         (csloww2): Likewise.
36597         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
36598         range_reduce.  Merge in __mpsin1.
36599         (__mpcos): Likewise.
36600         (__mpsin1): Remove.
36601         (__mpcos1): Likewise.
36603 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
36605         * locale/loadlocale.c (_nl_intern_locale_data): Use
36606         LOCFILE_ALIGNED_P.
36607         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
36608         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
36609         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
36610         obstack data is appropriately aligned.
36611         (obstack_int32_grow_fast): Likewise.
36612         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
36613         * locale/programs/locfile.c (add_locale_uint32): Likewise.
36614         (add_locale_uint32_array): Likewise.
36616 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
36618         * benchtests/Makefile: Remove ARGLIST and RET variables.
36619         ($(objpfx)bench-%.c): Pass only function name to the script.
36620         * benchtests/README: Update documentation.
36621         * benchtests/acos-inputs: Add new directives.
36622         * benchtests/acosh-inputs: Likewise.
36623         * benchtests/asin-inputs: Likewise.
36624         * benchtests/asinh-inputs: Likewise.
36625         * benchtests/atan-inputs: Likewise.
36626         * benchtests/atanh-inputs: Likewise.
36627         * benchtests/cos-inputs: Likewise.
36628         * benchtests/cosh-inputs: Likewise.
36629         * benchtests/exp-inputs: Likewise.
36630         * benchtests/log-inputs: Likewise.
36631         * benchtests/pow-inputs: Likewise.
36632         * benchtests/rint-inputs: Likewise.
36633         * benchtests/sin-inputs: Likewise.
36634         * benchtests/sinh-inputs: Likewise.
36635         * benchtests/tan-inputs: Likewise.
36636         * benchtests/tanh-inputs: Likewise.
36637         * scripts/bench.pl: Add support for new directives.
36639 2013-10-07  Alan Modra  <amodra@gmail.com>
36641         * README: Fix careless merge.
36643 2013-10-05  Alan Modra  <amodra@gmail.com>
36645         * NEWS: Mention powerpc64le support and bugs fixed.
36646         * README: Both big-endian and little-endian powerpc64 supported.
36648 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36650         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
36651         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
36652         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
36653         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
36655 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
36657         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
36658         match prototype.
36660 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
36662         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
36663         Move -mhard-float appending from
36664         ports/sysdeps/powerpc/powerpc32/Makefile.
36665         [$(with-fp) = yes] (ASFLAGS): Likewise.
36666         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
36667         * sysdeps/powerpc/nofpu: Move directory from
36668         ports/sysdeps/powerpc/nofpu.
36669         * sysdeps/powerpc/soft-fp: Move directory from
36670         ports/sysdeps/powerpc/soft-fp.
36671         * sysdeps/powerpc/powerpc32/405: Move directory from
36672         ports/sysdeps/powerpc/powerpc32/405.
36673         * sysdeps/powerpc/powerpc32/440: Move directory from
36674         ports/sysdeps/powerpc/powerpc32/440.
36675         * sysdeps/powerpc/powerpc32/464: Move directory from
36676         ports/sysdeps/powerpc/powerpc32/464.
36677         * sysdeps/powerpc/powerpc32/476: Move directory from
36678         ports/sysdeps/powerpc/powerpc32/476.
36679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
36680         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
36681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
36682         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
36683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
36684         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
36685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
36686         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
36687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
36688         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
36689         * README: Update for powerpc-*-linux-gnu software floating point
36690         support in libc.
36692         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
36693         case to powerpc/powerpc32*.
36694         * sysdeps/unix/sysv/linux/configure: Regenerated.
36696         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
36697         (_FPU_MASK_OM): Define as 0x04.
36698         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
36699         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
36700         0x00c10080.
36701         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
36702         0x0000003c.
36703         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
36705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
36706         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
36707         getcontext_e500.
36708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
36709         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
36710         setcontext_e500.
36711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
36712         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
36713         and setcontext_e500.
36715 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
36717         * locale/iso-3166.def: Update iso-1366.def and related occurrences
36719 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36721         * manual/threads.texi (Default Thread Attributes): Fix typo.
36723 2013-10-04  Will Newton  <will.newton@linaro.org>
36725         * malloc/Makefile: Add tst-memalign.
36726         * malloc/tst-memalign.c: New file.
36728         * malloc/tst-posix_memalign.c: Add comments.
36729         (do_test): Add comments and call free on all potentially
36730         allocated pointers. Add space after cast.
36732         * malloc/tst-pvalloc.c: Add comments.
36733         (do_test): Add comments and call free on all potentially
36734         allocated pointers. Remove duplicate check for NULL pointer.
36735         Add space after cast.
36737         * malloc/tst-valloc.c: Add comments.
36738         (do_test): Add comments and call free on all potentially
36739         allocated pointers. Remove duplicate check for NULL pointer.
36740         Add space after cast.
36742 2013-10-04  Alan Modra  <amodra@gmail.com>
36744         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
36745         Use stdint types in rather than __attribute__((mode())).
36746         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
36748 2013-10-04  Alan Modra  <amodra@gmail.com>
36750         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
36751         Correct handling of unaligned relocs for little-endian.
36752         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
36754 2013-10-04  Alan Modra  <amodra@gmail.com>
36756         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
36757         * configure: Regenerate.
36758         * nptl/shlib-versions: Powerpc*le starts at 2.18.
36759         * shlib-versions: Likewise.
36761 2013-10-04  Alan Modra  <amodra@gmail.com>
36763         * string/tester.c (test_memrchr): Increment reported test cycle.
36765 2013-10-04  Alan Modra  <amodra@gmail.com>
36767         * string/test-memcpy.c (do_one_test): When reporting errors, print
36768         string address and don't overrun end of string.
36770 2013-10-04  Alan Modra  <amodra@gmail.com>
36772         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
36773         insrdi.  Make better use of reg selection to speed exit slightly.
36774         Schedule entry path a little better.  Remove useless "are we done"
36775         checks on entry to main loop.  Handle wrapping around zero address.
36776         Correct main loop count.  Handle single left-over word from main
36777         loop inline rather than by using loop_small.  Remove extra word
36778         case in loop_small caused by wrong loop count.  Add little-endian
36779         support.
36780         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
36781         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
36782         cache hint.
36783         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
36784         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
36785         support.  Avoid rlwimi.
36786         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
36788 2013-10-04  Alan Modra  <amodra@gmail.com>
36790         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
36791         insrdi.  Formatting.
36792         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
36793         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
36794         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
36795         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
36796         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
36797         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
36799 2013-10-04  Alan Modra  <amodra@gmail.com>
36801         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
36802         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
36803         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
36804         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
36805         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
36806         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
36807         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
36808         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
36809         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
36810         use of regs.  Use power7 mtocrf.  Tidy function tails.
36812 2013-10-04  Alan Modra  <amodra@gmail.com>
36814         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
36815         Formatting.  Consistently use rXXX register defines or rN defines.
36816         Use early exit labels that avoid restoring unused non-volatile regs.
36817         Make cr field use more consistent with rWORDn compares.  Rename
36818         regs used as shift registers for unaligned loop, using rN defines
36819         for short lifetime/multiple use regs.
36820         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
36821         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
36822         addi 1,1,64 to pop stack frame.  Simplify return value code.
36823         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
36825 2013-10-04  Alan Modra  <amodra@gmail.com>
36827         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
36828         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
36829         rather than rlwimi.
36830         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
36831         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
36832         little-endian support.  Correct typos.
36833         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
36834         rather than rlwimi.
36835         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
36836         in loop and entry code to keep "and." results.
36837         (strchr): Add little-endian support.  Comment.  Move cntlzd
36838         earlier in tail.
36839         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
36841 2013-10-04  Alan Modra  <amodra@gmail.com>
36843         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
36844         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
36845         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
36846         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
36848 2013-10-04  Alan Modra  <amodra@gmail.com>
36850         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
36851         (rTMP): Define as r11.
36852         (strcmp): Add little-endian support.  Optimise tail.
36853         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
36854         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
36855         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
36856         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36857         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
36858         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36859         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36861 2013-10-04  Alan Modra  <amodra@gmail.com>
36863         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
36864         little-endian support.  Remove unnecessary "are we done" tests.
36865         Handle "s" wrapping around zero and extremely large "size".
36866         Correct main loop count.  Handle single left-over word from main
36867         loop inline rather than by using small_loop.  Correct comments.
36868         Delete "zero" tail, use "end_max" instead.
36869         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
36871 2013-10-04  Alan Modra  <amodra@gmail.com>
36873         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
36874         support.  Don't branch over align.
36875         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
36876         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
36877         support.  Rearrange tmp reg use to suit.  Comment.
36878         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
36880 2013-10-04  Alan Modra  <amodra@gmail.com>
36882         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
36884 2013-10-04  Alan Modra  <amodra@gmail.com>
36886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
36887         conditional form of branch and link when obtaining pc.
36888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
36890 2013-10-04  Alan Modra  <amodra@gmail.com>
36892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
36893         HIWORD/LOWORD.
36894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
36895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
36897 2013-10-04  Alan Modra  <amodra@gmail.com>
36899         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
36900         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
36901         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
36902         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
36903         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
36904         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
36905         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
36906         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
36907         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
36908         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
36910 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
36911             Alistair Popple <alistair@ozlabs.au.ibm.com>
36912             Alan Modra <amodra@gmail.com>
36914         [BZ #15723]
36915         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
36916         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
36917         _dl_hwcap access for little-endian.
36918         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
36919         destroy vmx regs when saving unaligned.
36920         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
36921         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
36922         destroy vmx regs when saving unaligned.
36924 2013-10-04  Alan Modra  <amodra@gmail.com>
36926         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
36927         Don't use a union to pack hi/low value.
36929 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
36931         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
36932         for little-endian.
36933         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
36934         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
36935         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
36936         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
36937         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
36939 2013-10-04  Alan Modra  <amodra@gmail.com>
36941         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
36942         constants to usual value for .cst8 section, and remove redundant
36943         high address load.
36944         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
36945         constant for 0x1p52.  Load little-endian words of double from
36946         correct stack offsets.
36948 2013-10-04  Alan Modra  <amodra@gmail.com>
36950         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
36951         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
36952         words of double from correct stack offsets.
36953         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
36954         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
36955         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
36956         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
36957         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
36958         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
36959         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
36960         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
36961         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
36962         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
36963         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
36964         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
36965         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36966         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36967         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36968         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
36969         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
36971 2013-10-04  Alan Modra  <amodra@gmail.com>
36973         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
36974         64-bit int/double union.
36975         (_FPU_SETCW): Likewise.
36976         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
36977         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
36979 2013-10-04  Alan Modra  <amodra@gmail.com>
36981         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
36982         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
36984 2013-10-04  Alan Modra  <amodra@gmail.com>
36986         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
36987         use vector int constants.
36988         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
36990 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
36992         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
36993         array with long long.
36994         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
36995         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
36996         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
36997         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
36998         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
36999         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
37000         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
37001         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
37002         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
37003         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
37004         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
37005         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
37006         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
37008 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
37010         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
37011         (__signbit): Likewise.  Correct for little-endian.
37012         (__signbitl): Call __signbit.
37013         (lrint): Correct for little-endian.
37014         (lrintf): Call lrint.
37016 2013-10-04  Alan Modra  <amodra@gmail.com>
37018         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
37019         union 32-bit int array member with 64-bit int array.
37020         (t515, tm256): Double rather than long double.
37021         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
37023 2013-10-04  Alan Modra  <amodra@gmail.com>
37025         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
37026         Delete.
37027         (IEEE854_LONG_DOUBLE_BIAS): Delete.
37028         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
37029         version of math_ldbl.h.
37031 2013-10-04  Alan Modra  <amodra@gmail.com>
37033         [BZ #15734], [BZ #15735]
37034         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
37035         all uses of ieee875 long double macros and unions.  Simplify test
37036         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
37037         ldbl_extract_mantissa value for ix,iy exponents.  Properly
37038         normalize after ldbl_extract_mantissa, and don't add hidden bit
37039         already handled.  Don't treat low word of ieee854 mantissa like
37040         low word of IBM long double and mask off bit when testing for
37041         zero.
37042         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
37043         all uses of ieee875 long double macros and unions.  Simplify tests
37044         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
37045         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
37046         two1022, instead use their values.  Recognise that tests for large
37047         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
37048         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
37049         Rewrite all uses of ieee875 long double macros and unions.  Simplify
37050         test for 0.0L and nan.  Correct negation.
37051         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
37052         ieee875 long double macros and unions.  Correct output for large
37053         magnitude x.  Correct absolute value calculation.
37054         (__erfcl): Likewise.
37055         * math/libm-test.inc: Add tests for errors discovered in IBM long
37056         double versions of fmodl, remainderl, erfl and erfcl.
37058 2013-10-04  Alan Modra  <amodra@gmail.com>
37060         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
37061         all uses of ieee854 long double macros and unions.  Simplify tests
37062         for long doubles that are fully specified by the high double.
37063         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
37064         Likewise.
37065         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
37066         Remove dead code too.
37067         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
37068         (__ieee754_ynl): Likewise.
37069         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
37070         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
37071         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
37072         Remove dead code too.
37073         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
37074         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
37075         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
37076         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
37077         Simplify.
37078         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
37079         Simplify.
37080         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
37081         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
37082         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
37083         Comment on variable precision.
37084         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
37085         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37086         Likewise.
37087         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
37088         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37089         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37090         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
37091         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
37093 2013-10-04  Alan Modra  <amodra@gmail.com>
37095         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
37096         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
37097         all uses of ieee854 long double macros and unions.
37098         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
37099         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37100         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
37101         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
37102         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
37103         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
37104         Likewise.
37105         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
37106         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37107         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
37108         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37109         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
37110         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
37111         Simplify sign and nan test too.
37112         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
37113         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
37114         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
37115         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
37116         Likewise.
37117         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
37118         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
37119         Likewise.
37120         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37121         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
37122         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
37123         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
37124         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
37125         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
37127 2013-10-04  Alan Modra  <amodra@gmail.com>
37129         * stdio-common/printf_size.c (__printf_size): Don't use
37130         union ieee854_long_double in fpnum union.
37131         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
37132         signbit macro to retrieve sign from long double.
37133         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
37134         retrieve sign from long double.
37135         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
37136         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
37137         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
37138         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37139         * math/test-misc.c (main): Don't use union ieee854_long_double.
37141 2013-10-04  Alan Modra  <amodra@gmail.com>
37143         [BZ #15680]
37144         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
37145         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
37146         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
37147         calculation.  Remove unnecessary test for denormal exponent.
37148         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
37149         Correct handling of denormals.  Avoid undefined shift behaviour.
37150         Correct normalisation of low mantissa when low double is denormal.
37151         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
37152         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
37153         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
37154         Correct normalisation of low mantissa.  Test for overflow of high
37155         mantissa and normalise.
37156         (ldbl_nearbyint): Use more readable constant for two52.
37157         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
37158         (__mpn_construct_long_double): Fix test for overflow of high
37159         mantissa and correct normalisation.  Avoid undefined shift.
37161 2013-10-04  Alan Modra  <amodra@gmail.com>
37163         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
37164         (union ibm_extended_long_double): Define as an array of ieee754_double.
37165         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
37166         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
37167         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
37168         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37169         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37170         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
37171         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
37172         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
37173         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37174         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
37175         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37177 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
37179         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
37180         page size instead of calling getpagesize.
37182         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
37183         (LOCFILE_ALIGN_MASK): Likewise.
37184         (LOCFILE_ALIGN_UP): Likewise.
37185         (LOCFILE_ALIGNED_P): Likewise.
37186         * locale/programs/ld-collate.c (collate_output): Use the new
37187         macros instead of __alignof__ (int32_t).
37188         * locale/weight.h (findidx): Likewise.
37190 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
37192         [BZ #431]
37193         * manual/string.texi: Fix strncat and wcsncat.
37195 2013-10-03  Brooks Moses  <bmoses@google.com>
37197         [BZ #15915]
37198         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
37199         * Makerules: ...here, and adjust associated comments.
37201 2013-10-02  Will Newton  <will.newton@linaro.org>
37203         * malloc/Makefile: Add tst-pvalloc.
37204         * malloc/tst-pvalloc.c: New file.
37206 2013-10-02  Will Newton  <will.newton@linaro.org>
37208         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
37209         improve test coverage.
37211 2013-10-02  Will Newton  <will.newton@linaro.org>
37213         * malloc/Makefile: Add tst-posix_memalign.
37214         * malloc/tst-posix_memalign.c: New file.
37216 2013-10-01  Eric Blake  <eblake@redhat.com>
37218         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
37219         Use __THROWNL rather than __THROW on static functions.
37221 2013-09-30  Petr Machata  <pmachata@redhat.com>
37223         * elf/elf.h (R_AARCH64_ABS16): New macro.
37224         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
37225         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
37226         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
37227         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
37228         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
37229         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
37230         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
37231         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
37232         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
37233         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
37234         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
37235         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
37236         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
37237         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
37238         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
37239         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
37240         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
37241         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
37242         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
37243         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
37244         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
37245         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
37246         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
37247         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
37248         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
37249         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
37250         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
37251         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
37252         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
37253         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
37254         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
37255         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
37256         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
37257         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
37258         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
37259         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
37260         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
37261         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
37262         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
37263         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
37264         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
37265         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
37266         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
37267         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
37268         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
37269         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
37270         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
37271         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
37272         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
37273         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
37274         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
37275         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
37276         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
37277         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
37278         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
37279         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
37280         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
37281         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
37282         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
37283         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
37284         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
37285         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
37286         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
37287         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
37288         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
37289         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
37290         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
37291         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
37292         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
37293         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
37294         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
37295         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
37296         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
37297         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
37298         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
37299         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
37300         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
37301         (R_AARCH64_TLSDESC_LDR): Likewise.
37302         (R_AARCH64_TLSDESC_ADD): Likewise.
37303         (R_AARCH64_TLSDESC_CALL): Likewise.
37305 2013-09-30  Andreas Schwab  <schwab@suse.de>
37307         [BZ #15048]
37308         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
37309         the nss database lookup.
37310         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37311         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37313 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
37315         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
37317 2013-09-28  P. J. McDermott  <pj@pehjota.net>
37319         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
37320         ${Bash-specific parameter/pattern/string} parameter expansion.
37321         * sysdeps/unix/make-syscalls.sh: Likewise.
37323 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37325         * sysdeps/sh/stackguard-macros.h: New file.
37327 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
37329         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
37330         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
37331         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
37332         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
37333         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37334         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
37336 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37338         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
37339         Fix thread ID register.
37341 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
37343         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
37344         [POSIX || UNIX98]: Require rather than permitting all symbols from
37345         <time.h>.
37346         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
37347         element of struct sched_param.
37348         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
37349         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
37350         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
37351         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
37352         constant.
37354 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
37356         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
37357         argument calculation.
37359 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
37361         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
37362         Expect macro.
37363         [POSIX] (pthread_attr_t): Do not require type.
37364         [POSIX] (pthread_cond_t): Likewise.
37365         [POSIX] (pthread_condattr_t): Likewise.
37366         [POSIX] (pthread_key_t): Likewise.
37367         [POSIX] (pthread_mutex_t): Likewise.
37368         [POSIX] (pthread_mutexattr_t): Likewise.
37369         [POSIX] (pthread_once_t): Likewise.
37370         [POSIX] (pthread_t): Likewise.
37371         [POSIX-based standards] (pthread_atfork): Expect function.
37373 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
37374             Richard Sandiford  <richard@codesourcery.com>
37376         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
37377         (swap_endianness_p): New extern variable.
37378         (set_big_endian): New inline function.
37379         (maybe_swap_uint32): Likewise.
37380         (maybe_swap_uint32_array): Likewise.
37381         (maybe_swap_uint32_obstack): Likewise.
37382         * locale/programs/locfile.c: Include <stdbool.h>.
37383         (swap_endianness_p): New variable.
37384         (add_locale_uint32): Call maybe_swap_uint32.
37385         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
37386         (write_locale_data): Call maybe_swap_uint32_array.
37387         * locale/programs/ld-collate.c (obstack_int32_grow): Call
37388         maybe_swap_uint32.
37389         (obstack_int32_grow_fast): Likewise.
37390         (output_weightwc): Call maybe_swap_uint32_obstack.
37391         (collate_output): Likewise.
37392         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
37393         (OPT_LITTLE_ENDIAN): Likewise.
37394         (options): Add --little-endian and --big-endian options.
37395         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
37396         * locale/programs/locarchive.c: Include "locfile.h".
37397         (GET): New macro.
37398         (SET): Likewise.
37399         (INC): Likewise.
37400         (create_archive): Use the new macros to access fields of
37401         structures directly mapped from or written to locale archives.
37402         (oldlocrecentcmp): Likewise.
37403         (enlarge_archive): Likewise.
37404         (insert_name): Likewise.
37405         (add_alias): Likewise.
37406         (add_locale): Likewise.
37407         (delete_locales_from_archive): Likewise.
37408         (show_archive_content): Likewise.
37409         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
37410         locale data.
37412 2013-09-24  Roland McGrath  <roland@hack.frob.com>
37414         * manual/freemanuals.texi: Updated from (newly) canonical copy at
37415         http://www.gnu.org/doc/freemanuals.texi.
37416         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
37418 2013-09-24  Will Newton  <will.newton@linaro.org>
37420         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
37421         macro.
37423 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
37425         * locale/hashval.h (compute_hashval): Interpret bytes of key as
37426         unsigned char.
37428 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
37430         * manual/threads.texi (POSIX Threads): Fix a typo.
37432 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
37434         [BZ #14547]
37435         * string/tst-strcoll-overflow.c: New test case.
37436         * string/Makefile (xtests): Add tst-strcoll-overflow.
37437         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
37438         cache if string sizes may cause integer overflow.
37440         [BZ #14547]
37441         * string/strcoll_l.c (coll_seq): New members rule, idx,
37442         save_idx and back_us.
37443         (get_next_seq_nocache): New function.
37444         (do_compare_nocache): New function.
37445         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
37446         when malloc fails.
37448 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
37450         [BZ #15754]
37451         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
37452         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
37453         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
37455         [BZ #15754]
37456         * elf/Makefile (tests): Add tst-ptrguard1.
37457         (tests-static): Add tst-ptrguard1-static.
37458         (tst-ptrguard1-ARGS): Define.
37459         (tst-ptrguard1-static-ARGS): Define.
37460         * elf/tst-ptrguard1.c: New file.
37461         * elf/tst-ptrguard1-static.c: New file.
37462         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
37463         * sysdeps/i386/stackguard-macros.h: Likewise.
37464         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
37465         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
37466         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
37467         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
37468         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
37469         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
37471 2013-09-23  Hector Marco  <hecmargi@upv.es>
37472             Ismael Ripoll  <iripoll@disca.upv.es>
37473             Carlos O'Donell  <carlos@redhat.com>
37475         [BZ #15754]
37476         * sysdeps/generic/stackguard-macros.h: Define
37477         __pointer_chk_guard_local and POINTER_CHK_GUARD.
37478         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
37479         Define __pointer_chk_guard_local.
37480         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
37481         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
37483 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
37485         [BZ #15859]
37486         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
37488 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
37490         * include/string.h (__ffs): Declare as hidden.
37491         * string/ffs.c (__ffs): Define as hidden.
37492         * sysdeps/i386/ffs.c (__ffs): Likewise.
37493         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
37494         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
37495         * sysdeps/s390/ffs.c (__ffs): Likewise.
37496         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
37498 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
37500         * NEWS: Mention malloc probes.
37502         * malloc/arena.c (new_heap): New memory_heap_new probe.
37503         (grow_heap): New memory_heap_more probe.
37504         (shrink_heap): New memory_heap_less probe.
37505         (heap_trim): New memory_heap_free probe.
37506         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
37507         (systrim): New memory_sbrk_less probe.
37508         * manual/probes.texi: Document them.
37510         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
37511         * manual/probes.texi: Document it.
37513         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
37514         (__libc_realloc): Add memory_realloc_retry probe.
37515         (__libc_memalign): Add memory_memalign_retry probe.
37516         (__libc_valloc): Add memory_valloc_retry probe.
37517         (__libc_pvalloc): Add memory_pvalloc_retry probe.
37518         (__libc_calloc): Add memory_calloc_retry probe.
37519         * manual/probes.texi: Document them.
37521         * malloc/arena.c (get_free_list): Add probe
37522         memory_arena_reuse_free_list.
37523         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
37524         and memory_arena_reuse.
37525         (arena_get2) [!PER_THREAD]: Likewise.
37526         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
37527         memory_arena_reuse_realloc.
37528         * manual/probes.texi: Document them.
37530         * malloc/malloc.c (__libc_free): Add
37531         memory_mallopt_free_dyn_thresholds probe.
37532         (__libc_mallopt): Add multiple memory_mallopt probes.
37533         * manual/probes.texi: Document them.
37535         * malloc/malloc.c: Include stap-probe.h.
37536         (__libc_mallopt): Add memory_mallopt probe.
37537         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
37538         * manual/probes.texi: New.
37539         * manual/Makefile (chapters): Add probes.
37540         * manual/threads.texi: Set next node.
37542 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
37544         [BZ #15963, #13985]
37545         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
37546         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
37547         Add `Chinese' to `nan' entry name.
37549 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37551         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
37552         (POLYNOMIAL): Likewise.
37553         (TAYLOR_SINCOS): Likewise.
37554         (TAYLOR_SLOW): Likewise.
37555         (__sin): Use TAYLOR_SINCOS.
37556         (__cos): Likewise.
37557         (slow): Use TAYLOR_SLOW.
37558         (sloww): Likewise.
37559         (bsloww): Likewise.
37560         (csloww): Likewise.
37562 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37564         * stdlib/strtod_l.c: Fix buffer overrun.
37566 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37568         * benchtests/Makefile (bench): Add sincos.
37569         * benchtests/bench-sincos.c: New file.
37571         * math/libm-test.inc (cos_test_data): New test inputs.
37572         (sin_test_data): Likewise.
37574         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
37575         macro.
37576         (__sin): Use it.
37577         (__cos): Likewise.
37578         (slow1): Likewise.
37579         (slow2): Likewise.
37580         (sloww1): Likewise.
37581         (sloww2): Likewise.
37582         (bsloww1): Likewise.
37583         (bsloww2): Likewise.
37584         (cslow2): Likewise.
37585         (csloww1): Likewise.
37586         (csloww2): Likewise.
37588         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
37589         function.
37590         (__sin): Use it.
37591         (__cos): Likewise.
37593         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
37594         gotos.
37595         (__cos): Likewise.
37597 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
37599         * config.h.in (HAVE_MIPS_NAN2008): New macro.
37600         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
37601         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
37602         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
37603         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
37604         * elf/cache.c (print_entry): Handle the new cache flags.
37606 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
37607             Aldy Hernandez  <aldyh@redhat.com>
37609         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
37610         Change condition to [_SOFT_FLOAT].
37611         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
37612         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
37613         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
37614         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
37615         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
37616         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
37617         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
37618         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
37619         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
37620         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
37621         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
37622         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
37623         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
37624         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
37625         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
37626         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
37627         declaration.
37629 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
37631         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
37632         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
37633         (__longjmp): Use LOAD_GP to load saved GPRs.
37634         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
37635         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
37636         (__sigsetjmp): Use SAVE_GP to save GPRs.
37638         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
37639         Do not append -msoft-float.
37640         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
37642 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37644         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
37646 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
37648         [BZ #15966]
37649         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
37650         (_FPU_GETCW): Use initial "__" on variable and field names but not
37651         on macro parameter name.
37652         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
37653         parentheses around reference to macro parameter.
37655 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
37657         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
37658         prototype.
37659         (ctype_startup): Use uint32_t in cast and sizeof for
37660         ctype->charnames.
37662 2013-09-11  Jia Liu  <proljc@gmail.com>
37664         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
37665         __daddr_t_defined.
37666         [__FreeBSD__]: Likewise.
37668 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
37670         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
37671         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
37672         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
37673         (strchr): Remove __strchr_sse42 ifunc selection.
37674         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
37675         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
37677 2013-09-11  Will Newton  <will.newton@linaro.org>
37679         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
37680         parameter to RES. Remove hardcoded 1000 value.
37681         * benchtests/bench-skeleton.c (main): Pass RES parameter
37682         to TIMING_INIT and multiply result by 1000.
37684 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37686         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37688 2013-09-11  Andreas Schwab  <schwab@suse.de>
37690         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
37691         if not defined.
37692         (O_TMPFILE) [__USE_GNU]: Define.
37693         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
37694         Define.
37696 2013-09-11  Will Newton  <will.newton@linaro.org>
37698         [BZ #15857]
37699         * malloc/malloc.c (__libc_memalign): Check the value of bytes
37700         does not overflow.
37702 2013-09-11  Will Newton  <will.newton@linaro.org>
37704         [BZ #15856]
37705         * malloc/malloc.c (__libc_valloc): Check the value of bytes
37706         does not overflow.
37708 2013-09-11  Will Newton  <will.newton@linaro.org>
37710         [BZ #15855]
37711         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
37712         does not overflow.
37714 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
37716         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
37717         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37718         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37719         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37720         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37722 2013-09-10  Allan McRae  <allan@archlinux.org>
37724         [BZ #15748]
37725         * manual/arith.texi (Parsing of Floats): Clarify
37726         cross-reference.
37728         [BZ #15849]
37729         * manual/install.texi (Running make install): Mention
37730         --enable-pt-chown.
37731         * INSTALL: Regenerated.
37733 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
37735         * csu/init-first.c (_init): Remove the !SHARED condition around
37736         FPU control word initialization.
37737         * elf/dl-support.c (_dl_fpu_control): New variable.
37738         (_dl_aux_init) <AT_FPUCW>: Initialize it.
37739         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
37740         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
37741         * math/test-fpucw-static.c: New file.
37742         * math/test-fpucw-ieee.c: New file.
37743         * math/test-fpucw-ieee-static.c: New file.
37744         * math/Makefile (tests): Add `test-fpucw-ieee' and
37745         `$(tests-static)'.
37746         (tests-static): New variable.
37747         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
37748         dependency to...
37749         [($(build-shared),yes)]
37750         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
37751         ... this.
37752         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
37753         New dependency.
37755 2013-09-09  Allan McRae  <allan@archlinux.org>
37757         [BZ #15939]
37758         * manual/string.texi (Collation Functions): Fix typo in
37759         strcoll example.
37760         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
37762         [BZ #15893]
37763         * stdlib/isomac.c (get_null_defines): Fix memory leak.
37765         [BZ #15892]
37766         * libio/memstream.c (open_memstream): Fix memory leak.
37767         * libio/wmemstream.c (open_wmemstream): Likewise.
37769         [BZ #15895]
37770         * nscd/netgroupcache.c: Fix nesting of ifdefs.
37772 2013-09-09  Will Newton  <will.newton@linaro.org>
37774         * malloc/Makefile: Add tst-realloc to tests.
37775         * malloc/tst-realloc.c: New file.
37777 2013-09-09  Allan McRae  <allan@archlinux.org>
37779         [BZ #15844]
37780         * COPYING: Update from GNU website to fix FSF address.
37781         * COPYING.LIB: Likewise.
37783 2013-09-06  David S. Miller  <davem@davemloft.net>
37785         * po/zh_TW.po: Update Chinese (traditional) translation from
37786         translation project.
37788 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
37789             Joseph Myers  <joseph@codesourcery.com>
37791         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
37792         "localeinfo.h".
37793         (obstack_chunk_alloc): New macro.
37794         (obstack_chunk_free): Likewise.
37795         (record_offset): New function.
37796         (init_locale_data): Likewise.
37797         (align_locale_data): Likewise.
37798         (add_locale_empty): Likewise.
37799         (add_locale_raw_data): Likewise.
37800         (add_locale_raw_obstack): Likewise.
37801         (add_locale_string): Likewise.
37802         (add_locale_wstring): Likewise.
37803         (add_locale_uint32): Likewise.
37804         (add_locale_uint32_array): Likewise.
37805         (add_locale_char): Likewise.
37806         (start_locale_structure): Likewise.
37807         (end_locale_structure): Likewise.
37808         (start_locale_prelude): Likewise.
37809         (end_locale_prelude): Likewise.
37810         (write_locale_data): Take locale_file structure rather than an
37811         iovec.
37812         * locale/programs/locfile.h: Include "obstack.h".
37813         (struct locale_file): Change to store locale file contents instead
37814         of header.
37815         (init_locale_data): New prototype.
37816         (align_locale_data): Likewise.
37817         (add_locale_empty): Likewise.
37818         (add_locale_raw_data): Likewise.
37819         (add_locale_raw_obstack): Likewise.
37820         (add_locale_string): Likewise.
37821         (add_locale_wstring): Likewise.
37822         (add_locale_uint32): Likewise.
37823         (add_locale_uint32_array): Likewise.
37824         (add_locale_char): Likewise.
37825         (start_locale_structure): Likewise.
37826         (end_locale_structure): Likewise.
37827         (start_locale_prelude): Likewise.
37828         (end_locale_prelude): Likewise.
37829         (write_locale_data): Update prototype.
37830         * locale/programs/3level.h (struct TABLE): Remove result field.
37831         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
37832         Use new locale_file interface.
37833         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
37834         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
37835         * locale/programs/ld-address.c (address_output): Use new
37836         locale_file interface.
37837         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
37838         NO_ADD_LOCALE.
37839         (collate_finish): Don't call collseq_table_finalize.
37840         (collate_output): Use new locale_file interface.
37841         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
37842         in file.
37843         (NO_FINALIZE): Change to NO_ADD_LOCALE.
37844         (TABLE): Move defines earlier in file.
37845         (ELEMENT): Likewise.
37846         (DEFAULT): Likewise.
37847         (wctrans_table_add): Move macro and inline function earlier in
37848         file.
37849         (struct wctype_table): Move type earlier in file.
37850         (add_locale_wctype_table): New static prototype.
37851         (struct locale_ctype_t): Use logical types instead of struct iovec
37852         pointers for members.
37853         (ctype_output): Use new locale_file interface.
37854         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
37855         new locale_file interface.
37856         (allocate_arrays): Update for use of new locale_file interface.
37857         * locale/programs/ld-identification.c (identification_output): Use
37858         new locale_file interface.
37859         * locale/programs/ld-measurement.c (measurement_output): Likewise.
37860         * locale/programs/ld-messages.c (messages_output): Likewise.
37861         * locale/programs/ld-monetary.c (monetary_output): Likewise.
37862         * locale/programs/ld-name.c (name_output): Likewise.
37863         * locale/programs/ld-numeric.c (numeric_output): Likewise.
37864         * locale/programs/ld-paper.c (paper_output): Likewise.
37865         * locale/programs/ld-telephone.c (telephone_output): Likewise.
37866         * locale/programs/ld-time.c (time_output): Likewise.
37868 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37870         * benchtests/Makefile: Add memrchr benchmark.
37871         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
37872         benchmark as memrchr.
37873         * benchtests/bench-memrchr-ifunc.c: New file.
37874         * benchtests/bench-memrchr.c: New file.
37876 2013-09-06   Will Newton  <will.newton@linaro.org>
37878         * benchtests/Makefile (string-bench): Add memcpy.
37880 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
37881             Cong Wang  <amwang@redhat.com>
37883         [BZ #15850]
37884         * sysdeps/unix/sysv/linux/bits/in.h
37885         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
37886         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
37887         before __USE_KERNEL_IPV6_DEFS uses.
37888         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
37889         IPPROTO_BEETPH.
37890         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
37891         sockaddr_in6, or ipv6_mreq.
37893 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37895         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
37896         memory access for final bytes in some large inputs.
37897         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
37899 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37901         * string/test-memrchr.c: New file.
37902         * string/test-memrchr-ifunc.c: New file.
37903         * string/Makefile: Add new memrchr testcase.
37905 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
37907         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
37908         fanotify_init returns EPERM.
37910 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
37912         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
37913         errors.
37914         (top level): Treat second token from macro or constant entries for
37915         allowed headers as allowed.
37916         * include/complex.h: Condition internal declarations on
37917         [!_ISOMAC].
37918         * include/fenv.h: Condition include of <stdbool.h> and internal
37919         declarations on [!_ISOMAC].
37921 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
37923         [BZ #15923]
37924         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
37926 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
37928         * configure.in (--enable-versioning): Remove configure option.
37929         (libc_cv_asm_symver_directive): Remove configure test.
37930         (libc_cv_ld_version_script_option): Likewise.
37931         (VERSIONING): Remove variable and AC_SUBST.
37932         (DO_VERSIONING): Remove AC_DEFINE.
37933         * configure: Regenerated.
37934         * config.h.in (DO_VERSIONING): Remove macro.
37935         * Makerules [$(versioning) = yes]: Change conditionals to
37936         [$(build-shared) = yes].
37937         * config.make.in (versioning): Remove variable.
37938         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
37939         [$(build-shared) = yes].
37940         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
37941         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
37942         * elf/Makefile [$(versioning) = yes]: Change conditionals to
37943         [$(build-shared) = yes].
37944         * extra-lib.mk [$(versioning) = yes]: Likewise.
37945         * hurd/Makefile [$(versioning) = yes]: Likewise.
37946         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
37947         [SHARED].
37948         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
37949         [SHARED].
37950         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
37951         [SHARED && !NO_HIDDEN].
37952         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
37953         [SHARED].
37954         [SHARED && DO_VERSIONING]: Likewise..
37955         * libio/Makefile [$(versioning) = yes]: Change conditionals to
37956         [$(build-shared) = yes].
37957         * manual/install.texi (--disable-versioning): Remove
37958         documentation.
37959         * INSTALL: Regenerated.
37960         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
37961         to [SHARED].
37962         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
37963         [$(build-shared) = yes].
37964         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
37965         * sysdeps/i386/i686/multiarch/strstr-c.c
37966         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
37967         [SHARED && !NO_HIDDEN].
37968         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
37969         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
37970         * sysdeps/powerpc/powerpc32/dl-machine.c
37971         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
37972         * sysdeps/powerpc/powerpc32/sysdep.h
37973         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
37974         to [SHARED && PIC && !NO_HIDDEN].
37975         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
37976         conditional to [SHARED].
37978 2013-09-04   Will Newton  <will.newton@linaro.org>
37980         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
37981         * benchtests/bench-string.h: Include bench-timing.h instead
37982         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
37983         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
37984         call to HP_TIMING_DIFF_INIT.
37985         * benchtests/bench-memccpy.c: Use bench-timing.h macros
37986         instead of hp-timing.h macros.
37987         * benchtests/bench-memchr.c: Likewise.
37988         * benchtests/bench-memcmp.c: Likewise.
37989         * benchtests/bench-memcpy.c: Likewise.
37990         * benchtests/bench-memmem.c: Likewise.
37991         * benchtests/bench-memmove.c: Likewise.
37992         * benchtests/bench-memset.c: Likewise.
37993         * benchtests/bench-rawmemchr.c: Likewise.
37994         * benchtests/bench-strcasecmp.c: Likewise.
37995         * benchtests/bench-strcasestr.c: Likewise.
37996         * benchtests/bench-strcat.c: Likewise.
37997         * benchtests/bench-strchr.c: Likewise.
37998         * benchtests/bench-strcmp.c: Likewise.
37999         * benchtests/bench-strcpy.c: Likewise.
38000         * benchtests/bench-strcpy_chk.c: Likewise.
38001         * benchtests/bench-strlen.c: Likewise.
38002         * benchtests/bench-strncasecmp.c: Likewise.
38003         * benchtests/bench-strncat.c: Likewise.
38004         * benchtests/bench-strncmp.c: Likewise.
38005         * benchtests/bench-strncpy.c: Likewise.
38006         * benchtests/bench-strnlen.c: Likewise.
38007         * benchtests/bench-strpbrk.c: Likewise.
38008         * benchtests/bench-strrchr.c: Likewise.
38009         * benchtests/bench-strspn.c: Likewise.
38010         * benchtests/bench-strstr.c: Likewise.
38012 2013-09-04  Will Newton  <will.newton@linaro.org>
38014         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
38016 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
38018         [BZ #15427]
38019         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
38020         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
38021         * math/libm-test.inc (lgamma_test_data): Add more tests.
38022         * sysdeps/i386/fpu/libm-test-ulps: Update.
38023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38025 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
38027         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
38028         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38029         Add ifunc.
38030         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
38031         Add strcmp-sse2-unaligned
38032         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
38034 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
38036         * Versions.def (libc): Add GLIBC_2.19.
38038 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
38040         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
38041         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
38043 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
38045         [BZ #14155]
38046         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
38047         intermediate calculations in recurrence.
38048         (__ieee754_ynf): Likewise.
38049         * math/libm-test.inc (jn_test_data): Do not allow spurious
38050         underflow exception.  Add more tests.
38051         (yn_test_data): Add more tests.
38052         * sysdeps/i386/fpu/libm-test-ulps: Update.
38053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38055 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
38057         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
38059 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
38061         * csu/init-first.c: Fix then/than typos.
38062         * locale/programs/ld-collate.c: Likewise.
38063         * locale/programs/linereader.h: Likewise.
38064         * manual/charset.texi: Likewise.
38065         * manual/filesys.texi: Likewise.
38066         * manual/stdio.texi: Likewise.
38067         * manual/string.texi: Likewise.
38068         * stdlib/fmtmsg.c: Likewise.
38069         * sysdeps/i386/stpncpy.S: Likewise.
38070         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38071         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
38072         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38073         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
38075 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
38077         * elf/dl-open.c: Fix typos.
38078         * iconvdata/gbbig5.c: Likewise.
38079         * iconvdata/iso-2022-jp.c: Likewise.
38080         * iconv/gconv_int.h: Likewise.
38081         * iconv/loop.c: Likewise.
38082         * nis/rpcsvc/nis.h: Likewise.
38083         * resolv/ns_name.c: Likewise.
38084         * stdio-common/vfscanf.c: Likewise.
38085         * streams/stropts.h: Likewise.
38086         * sunrpc/rpc_thread.c: Likewise.
38087         * sysdeps/i386/strpbrk.S: Likewise.
38088         * sysdeps/ieee754/k_standard.c: Likewise.
38089         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38090         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38091         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
38092         * sysdeps/mach/hurd/profil.c: Likewise.
38093         * sysdeps/s390/dl-procinfo.h: Likewise.
38094         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
38095         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
38096         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
38097         * sysdeps/x86_64/dl-trampoline.S: Likewise.
38098         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
38100 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
38102         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
38103         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
38105 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
38107         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
38108         aix specific files.
38109         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
38110         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
38111         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
38112         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
38113         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
38114         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
38115         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
38116         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
38118 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
38119             Roland McGrath  <roland@hack.frob.com>
38121         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
38122         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
38124 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38126         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
38127         __executable_start symbol instead of _start.
38129 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
38131         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
38132         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
38133         Move macros to...
38134         * sysdeps/gnu/ldsodefs.h: ... this new file.
38136         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
38137         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
38138         instead of ELFOSABI_LINUX.
38140         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
38141         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
38142         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
38143         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
38144         Likewise.
38145         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
38146         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
38147         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
38148         Likewise.
38149         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
38150         (ibm_extended_long_double): Add ieee_nan member.
38151         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
38152         (do_test): New function.
38154         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
38155         TEST_TRUNC.
38156         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
38157         functions, renamed from truncdfsf_test, trunctfsf_test,
38158         trunctfdf_test.
38159         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
38160         functions.
38161         (do_test): Run all these.
38163 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
38165         * argp/argp-help.c: Fix typos.
38166         * argp/argp-parse.c: Likewise.
38167         * debug/backtracesyms.c: Likewise.
38168         * elf/elf.h: Likewise.
38169         * malloc/malloc.c: Likewise.
38170         * nis/nis_print.c: Likewise.
38171         * resolv/res_comp.c: Likewise.
38172         * stdlib/stdlib.h: Likewise.
38173         * sunrpc/clnt_tcp.c: Likewise.
38174         * sunrpc/clnt_udp.c: Likewise.
38175         * sunrpc/clnt_unix.c: Likewise.
38176         * sysdeps/unix/bsd/ptsname.c: Likewise.
38177         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
38178         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
38179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
38180         Likewise.
38181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
38182         Likewise.
38183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
38184         Likewise.
38185         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38187 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38189         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
38190         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38192 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
38194         [BZ #15897]
38195         * dlfcn/Makefile (tests): Add bug-dl-leaf.
38196         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
38197         ($(objpfx)bug-dl-leaf): New rule.
38198         ($(objpfx)bug-dl-leaf.so): Likewise.
38199         ($(objpfx)bug-dl-leaf.out): Likewise.
38200         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
38201         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
38202         * dlfcn/bug-dl-leaf.c: New test.
38203         * dlfcn/bug-dl-leaf-lib.c: Likewise.
38204         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
38205         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
38206         (dlclose): Likewise.
38207         (dlmopen): Likewise.
38209 2013-08-27  Roland McGrath  <roland@hack.frob.com>
38211         * include/netdb.h [!_ISOMAC]:
38212         Don't include <tls.h>.
38213         (h_errno, __libc_h_errno): Move declaration and macros out of
38214         [_LIBC_REENTRANT].
38216         * include/resolv.h [_RESOLV_H_]:
38217         Don't include <tls.h>.
38218         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
38219         * resolv/res_libc.c: Don't include <tls.h>.
38220         (_res): Use __attribute__ ((nocommon)) in place of
38221         __attribute__ ((section (".bss"))).
38223         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
38224         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
38226         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
38228         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
38229         only under [SIOCGIFCONF && SIOCGIFNETMASK].
38231         * resolv/res_mkquery.c: Include <sys/time.h>.
38233         * inet/ifreq.c: Moved to ...
38234         * sysdeps/unix/ifreq.c: ... here.
38235         * inet/ifreq.c: New file, true stub version.
38237         * socket/sa_len.c: New file.
38238         * socket/Makefile (aux): Add it.
38239         * sysdeps/unix/sysv/linux/Makefile
38240         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
38241         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
38242         and #include <socket/sa_len.c>.
38243         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
38244         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
38246         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
38247         * bits/socket.h: ... here.
38249         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
38250         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
38251         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
38253 2013-08-27  Andreas Schwab  <schwab@suse.de>
38255         [BZ #15736]
38256         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
38257         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
38258         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
38259         * string/test-strcasecmp.c (test_main): Run tests in several
38260         locales.
38261         * string/test-strncasecmp.c (test_main): Likewise.
38263         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
38264         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
38265         to __strcasecmp_nonascii and __strncasecmp_nonascii.
38266         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
38267         (__strncasecmp_ssse3) [PIC]: Likewise.
38269 2013-08-26  Roland McGrath  <roland@hack.frob.com>
38271         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
38273         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
38274         instead of explicitly declaring xdecrypt.
38275         * nis/nss_nis/nis-publickey.c: Likewise.
38277 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38279         [BZ #15890]
38280         * nscd/aicache.c: Include res_hconf.h.
38281         (addhstaiX): Initialize res_hconf.
38283 2013-08-26  Andreas Schwab  <schwab@suse.de>
38285         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
38286         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
38288 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38290         * nscd/aicache.c (addhstaiX): Fix indentation.
38292 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
38294         * configure.ac: Quote $build_pt_chown test.
38295         * configure: Regenerated.
38297 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
38299         [BZ #15532]
38300         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
38301         * math/s_cexpf.c (__cexpf): Likewise.
38302         * math/s_cexpl.c (__cexpl): Likewise.
38303         * math/libm-test.inc (cexp_test_data): Correct expected return
38304         value for NaN + i0.  Add another test.
38306 2013-08-22  David S. Miller  <davem@davemloft.net>
38308         * po/ca.po: Update Catalan translation from translation project.
38309         * po/uk.po: Add Ukrainian translations from translation project.
38311 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
38313         [BZ #15797]
38314         * math/s_fdim.c (__fdim): Check for infinite arguments if result
38315         is infinite, not alongside NaN test.
38316         * math/s_fdimf.c (__fdimf): Likewise.
38317         * math/s_fdiml.c (__fdiml): Likewise.
38318         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
38319         errno is unchanged.
38321 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
38323         * argp/argp-help.c: Fix typos.
38324         * crypt/speeds.c: Likewise.
38325         * csu/check_fds.c: Likewise.
38326         * elf/dl-load.c: Likewise.
38327         * elf/dl-open.c: Likewise.
38328         * elf/reldep3.c: Likewise.
38329         * elf/reldep.c: Likewise.
38330         * elf/sprof.c: Likewise.
38331         * iconv/iconv_charmap.c: Likewise.
38332         * iconv/skeleton.c: Likewise.
38333         * iconv/strtab.c: Likewise.
38334         * io/lockf64.c: Likewise.
38335         * libio/libioP.h: Likewise.
38336         * resolv/gai_notify.c: Likewise.
38337         * resolv/ns_name.c: Likewise.
38338         * resolv/ns_samedomain.c: Likewise.
38339         * resolv/res_send.c: Likewise.
38340         * stdlib/random.c: Likewise.
38341         * sunrpc/rpc/xdr.h: Likewise.
38342         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
38343         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
38344         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38345         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38346         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38347         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
38348         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
38349         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38350         * sysdeps/mach/hurd/check_fds.c: Likewise.
38351         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
38352         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
38353         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38354         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
38355         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
38356         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
38357         * sysdeps/pthread/aio_notify.c: Likewise.
38358         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
38359         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
38360         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
38361         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
38362         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
38364 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38366         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
38367         version if bit_Slow_SSE4_2 is set.
38368         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38369         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38371 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38373         [BZ #15867]
38374         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
38375         trampoline stack frame information.
38376         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
38377         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
38378         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
38379         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
38380         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
38381         * sysdeps/unix/sysv/linux/powerpc/init-first.c
38382         (_libc_vdso_platform_setup): Initialize the signal trampolines.
38383         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
38384         sa_flags value.
38385         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
38386         interrupting a syscall and set with option SA_SIGINFO.
38388 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
38390         [BZ #15531]
38391         * math/s_cproj.c (__cproj): Only return an infinity if one part of
38392         argument is infinite.
38393         * math/s_cprojf.c (__cprojf): Likewise.
38394         * math/s_cprojl.c (__cprojl): Likewise.
38395         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
38396         * math/libm-test.inc (cproj_test_data): Add more tests.
38398         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
38400         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
38401         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
38402         size.  Use __ffs to determine corresponding shift.
38404 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
38405             Roland McGrath  <roland@hack.frob.com>
38407         * Makefile (INSTALL): Remove trailing blank lines from output of
38408         makeinfo.
38410 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38412         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
38413         Align 32 bit compat elf_greg to 8 bytes.
38415 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
38417         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
38419 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38421         * string/strcoll_l.c (coll_seq): New structure.
38422         (get_next_seq_cached): New function.
38423         (get_next_seq): New function.
38424         (do_compare): New function.
38425         (STRCOLL): Use GNU style definition.  Simplify implementation
38426         by using get_next_seq, get_next_seq_cached and do_compare.
38428 2013-08-16  Florian Weimer  <fweimer@redhat.com>
38430         [BZ #14699]
38431         CVE-2013-4237
38432         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
38433         member.
38434         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
38435         member.
38436         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
38437         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
38438         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
38439         conditional.
38440         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
38441         GETDENTS_64BIT_ALIGNED.
38442         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
38443         * manual/filesys.texi (Reading/Closing Directory): Document
38444         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
38445         strongly.
38446         * manual/conf.texi (Limits for Files): Add portability note to
38447         NAME_MAX, PATH_MAX.
38448         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
38450 2013-08-13  Andreas Schwab  <schwab@suse.de>
38452         [BZ #15749]
38453         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
38454         of fabs.
38455         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
38456         LDBL_MAX_EXP >= 16384]: Add tests for it.
38458 2013-08-12  David S. Miller  <davem@davemloft.net>
38460         * version.h (RELEASE): Set to "development".
38461         (VERSION): Set to "2.18.90".
38462         * NEWS: Add 2.19 section.
38464 2013-08-03  David S. Miller  <davem@davemloft.net>
38466         * po/ko.po: Update Korean translation from translation project.
38468 2013-08-01  David S. Miller  <davem@davemloft.net>
38470         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
38471         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
38472         Bilka.
38474 2013-07-30  David S. Miller  <davem@davemloft.net>
38476         * po/fr.po: Update French translation from translation project.
38478 2013-07-28  David S. Miller  <davem@davemloft.net>
38480         * po/cs.po: Update Czech translation from translation project.
38482         * po/sv.po: Update Swedish translation from translation project.
38484 2013-07-27  David S. Miller  <davem@davemloft.net>
38486         * po/eo.po: Update Esperanto translation from translation project.
38488         * po/vi.po: Update Vietnamese translation from translation project.
38490         * po/de.po: Update German translation from translation project.
38492 2013-07-26  David S. Miller  <davem@davemloft.net>
38494         * po/bg.po: Update Bulgarian translation from translation project.
38496         * po/nl.po: Update Dutch translation from translation project.
38497         * po/pl.po: Update Polish translation from translation project.
38498         * po/ru.po: Update Russian translation from translation project.
38500 2013-07-24  David S. Miller  <davem@davemloft.net>
38502         * po/libc.pot: Update.
38504 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38506         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
38507         variable page size.
38508         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
38509         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
38510         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
38512 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38514         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
38516 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38517             Andreas Schwab  <schwab@suse.de>
38518             Roland McGrath  <roland@hack.frob.com>
38519             Joseph Myers  <joseph@codesourcery.com>
38520             Carlos O'Donell  <carlos@redhat.com>
38522         [BZ #15755]
38523         * config.h.in: Define HAVE_PT_CHOWN.
38524         * config.make.in (build-pt-chown): New variable.
38525         * configure.in (--enable-pt_chown): New configure option.
38526         * configure: Regenerate.
38527         * login/Makefile: Include Makeconfig.  Build pt_chown only if
38528         build-pt-chown is enabled.
38529         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
38530         pt_chown to fix pty ownership.
38531         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
38532         CLOSE_ALL_FDS.
38533         * manual/install.texi (Configuring and compiling): Mention
38534         --enable-pt_chown. Add @findex for grantpt.
38535         * INSTALL: Regenerate.
38537 2013-07-20  David S. Miller  <davem@davemloft.net>
38539         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
38540         difference between 32-bit and 64-bit.
38542 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
38544         [BZ #15711]
38545         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
38546         Avoid system header dependency with -ffreestanding.
38547         ($(objpfx)bits/syscall%d): Likewise.
38549 2013-07-13  David S. Miller  <davem@davemloft.net>
38551         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
38552         underflows from atanl/atan2l due to bug 15319.
38553         (casinh_test_data): Likewise.
38555 2013-07-07  David S. Miller  <davem@davemloft.net>
38557         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
38559 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
38561         * sysdeps/i386/fpu/libm-test-ulps: Update.
38562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38564 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38566         * configure.in (--enable-lock-elision): Fix message text.
38567         * INSTALL: Regenerate.
38568         * configure: Regenerate.
38570 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38572         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38574 2013-07-03  Andreas Jaeger  <aj@suse.de>
38576         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
38577         define.
38578         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
38579         (ptrace_peeksiginfo_args): Add.
38580         (__ptrace_peeksiginfo_flags): Add.
38581         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38582         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38583         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38585 2013-07-03  Allan McRae  <allan@archlinux.org>
38587         * sysdeps/i386/fpu/libm-test-ulps: Update.
38589 2013-07-02  David S. Miller  <davem@davemloft.net>
38591         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38593 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
38595         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38597 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
38599         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
38600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38602 2013-07-02  Andi Kleen <ak@linux.intel.com>
38604         * config.h.in (ENABLE_LOCK_ELISION): Add.
38605         * configure.in (--enable-lock-elision): Add option.
38606         * manual/install.texi: Document --enable lock elision.
38607         * configure: Regenerate
38608         * INSTALL: Regenerate.
38610 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
38612         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
38613         SSE4.2 strcasecmp for libc.a.
38614         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
38616 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
38618         [BZ #13304]
38619         * soft-fp/op-common.h (_FP_FMA): New macro.
38620         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
38621         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
38622         (_FP_MUL_MEAT_1_imm): ... here.
38623         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
38624         (_FP_MUL_MEAT_1_wide): ... here.
38625         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
38626         (_FP_MUL_MEAT_1_hard): ... here.
38627         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
38628         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
38629         (_FP_MUL_MEAT_2_wide): ... here.
38630         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
38631         (_FP_MUL_MEAT_2_wide_3mul): ... here.
38632         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
38633         (_FP_MUL_MEAT_2_gmp): ... here.
38634         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
38635         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
38636         (_FP_MUL_MEAT_4_wide): ... here.
38637         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
38638         (_FP_MUL_MEAT_4_gmp): ... here.
38639         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
38640         (_FP_WFRACBITS_DW_S): Likewise.
38641         (_FP_WFRACXBITS_DW_S): Likewise.
38642         (_FP_HIGHBIT_DW_S): Likewise.
38643         (FP_FMA_S): Likewise.
38644         (_FP_FRAC_HIGH_DW_S): Likewise.
38645         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
38646         (_FP_WFRACBITS_DW_D): Likewise.
38647         (_FP_WFRACXBITS_DW_D): Likewise.
38648         (_FP_HIGHBIT_DW_D): Likewise.
38649         (FP_FMA_D): Likewise.
38650         (_FP_FRAC_HIGH_DW_D): Likewise.
38651         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
38652         (_FP_WFRACBITS_DW_E): Likewise.
38653         (_FP_WFRACXBITS_DW_E): Likewise.
38654         (_FP_HIGHBIT_DW_E): Likewise.
38655         (FP_FMA_E): Likewise.
38656         (_FP_FRAC_HIGH_DW_E): Likewise.
38657         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
38658         (_FP_WFRACBITS_DW_Q): Likewise.
38659         (_FP_WFRACXBITS_DW_Q): Likewise.
38660         (_FP_HIGHBIT_DW_Q): Likewise.
38661         (FP_FMA_Q): Likewise.
38662         (_FP_FRAC_HIGH_DW_Q): Likewise.
38663         * soft-fp/fmasf4.c: New file.
38664         * soft-fp/fmadf4.c: Likewise.
38665         * soft-fp/fmatf4.c: Likewise.
38667 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38669         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
38670         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
38671         Silvermont.
38672         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
38673         macro.
38674         (index_Slow_SSE4_2): Likewise.
38675         (index_Prefer_PMINUB_for_stringop): Likewise.
38676         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
38677         bit_Slow_SSE4_2 is set.
38678         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
38679         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38681 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38683         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
38684         rtld_global._dl_hwcap2.
38685         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
38686         POWER8.
38687         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
38688         POWER8 feature descriptions defined in _dl_hwcap2.
38689         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
38690         string handling for POWER8 feature bits.
38691         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
38692         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
38693         _dl_powerpc_cap_flags.
38694         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
38695         * sysdeps/powerpc/rtld-global-offsets.sym
38696         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
38697         _dl_hwcap2 in the rtld_global_ro structure.
38699 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38701         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
38702         hardware capabilities in support of AT_HWCAP2.
38703         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
38704         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
38705         GLRO(dl_hwcap2).
38706         (_dl_show_auxv): Add support for calling _dl_procinfo to display
38707         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
38708         explicitly the unknown a_type display mechanism is used.
38709         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
38710         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
38711         struct member.
38712         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
38713         to macro prototype for AT_HWCAP2 support.
38714         * sysdeps/i386/dl-procinfo.h: Likewise.
38715         * sysdeps/s390/dl-procinfo.h: Likewise.
38716         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
38717         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
38718         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
38719         return -1 for unknown a_type display fallback.
38720         * sysdeps/sparc/dl-procinfo.h: Likewise.
38721         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
38722         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
38724 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
38726         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
38727         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
38729 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
38731         [BZ #12492]
38732         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
38733         mprotect making __stack_prot writable.
38735 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
38736             Joseph Myers  <joseph@codesourcery.com>
38738         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
38739         as being properly aligned.
38741 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
38743         * dlfcn/modstatic5.c: New file.
38744         * dlfcn/tststatic5.c: New file.
38745         * dlfcn/Makefile (tests): Add tststatic5.
38746         (tests-static): Likewise.
38747         (modules-names): Add modstatic5.
38748         (tststatic5-ENV): New variable.
38749         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
38751         [BZ #15022]
38752         * elf/dl-support.c (_dl_main_map): New variable.
38753         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
38754         (_dl_nns, _dl_load_adds): Set to 1.
38755         (_dl_initial_searchlist): Refer to _dl_main_map.
38756         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
38757         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
38758         call to _dl_get_origin.
38759         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
38760         around call_map.
38761         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
38762         * dlfcn/modstatic3.c: New file.
38763         * dlfcn/tststatic3.c: New file.
38764         * dlfcn/tststatic4.c: New file.
38765         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
38766         (tests-static): Likewise.
38767         (modules-names): Add modstatic3.
38768         (tststatic3-ENV, tststatic4-ENV): New variables.
38769         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
38770         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
38772 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
38774         * configure.in (CC): Require GCC version 4.4 or later.
38775         * configure: Regenerated.
38776         * manual/install.texi (Tools for Compilation): Update GCC version
38777         requirement.
38778         * INSTALL: Regenerated.
38780 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38782         [BZ #15674]
38783         * string/test-memcmp.c (check2): New.
38784         (main): Call check2.
38786         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
38788 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
38790         [BZ #15022]
38791         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
38792         over to...
38793         (dl_open_worker) [!SHARED]: ... here.
38795 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38797         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
38799 2013-06-25  Richard Henderson  <rth@redhat.com>
38801         * locale/programs/locarchive.c: Include <libc-internal.h>
38803 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
38805         * manual/texinfo.tex: Update to version 2013-06-21.17, with
38806         trailing whitespace removed.
38808 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
38810         [BZ #10283]
38811         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
38812         * locale/programs/locarchive.c: Include libc-mmap.h.
38813         (prepare_address_space): Take two new outputs (the mmap base and len).
38814         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
38815         values.
38816         (create_archive): Declare new mmap base and len values for
38817         prepare_address_space, and store the result in ah.
38818         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
38819         (enlarge_archive): If ah->mmap_base is not NULL, use that and
38820         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
38821         Declare new mmap base and len values for
38822         prepare_address_space, and store the result in new_ah.
38823         (open_archive): Declare new mmap base and len values for
38824         prepare_address_space, and store the result in ah.
38825         (close_archive): If ah->mmap_base is not NULL, use that and
38826         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
38827         * sysdeps/generic/libc-mmap.h: New file.
38829 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
38831         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
38832         (ALIGN_UP): Likewise.
38833         (PTR_ALIGN_DOWN): Likewise.
38834         (PTR_ALIGN_UP): Likewise.
38836 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38838         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
38839         entry mapped to PPC_PLATFORM_POWER8.
38840         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
38841         POWER8.
38842         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
38843         (_dl_string_platform): Add case for exporting platform position for
38844         POWER8.
38845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
38846         search path to sysdeps/powerpc/powerpc32/power8 directory.
38847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
38848         search path to sysdeps/powerpc/powerpc64/power8 directory.
38849         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
38850         power7 directories.
38851         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
38852         power7 directories.
38854 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38856         * INSTALL: Regenerate.
38858         * nscd/connections.c (nscd_init): Fix comment.
38860 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
38862         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
38864         [BZ #15667]
38865         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
38866         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
38868 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
38870         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
38871         DL_DST_REQ_STATIC.
38872         (DL_DST_REQ_STATIC): Remove macro.
38874 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
38876         [BZ #7006]
38877         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
38878         with a shift of 0 bits.
38880 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
38882         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
38883         $(tststatic-ENV).
38885 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38887         [BZ #15655]
38888         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
38890 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38892         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
38893         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
38894         accepts -fno-tree-loop-distribute-patterns.
38895         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
38896         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
38897         recursive call.
38898         * string/memset.c (memset): Likewise.
38899         * string/test-memmove.c (simple_memmove): Disable loop transformation
38900         to library calls.
38901         * string/test-memset.c (simple_memset): Likewise.
38902         * benchtests/bench-memmove.c (simple_memmove): Likewise.
38903         * benchtests/bench-memset.c (simple_memset): Likewise.
38904         * configure: Regenerated.
38906 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
38908         * math/test-misc.c (main): Ignore fesetround failure when failures
38909         of subsequent rounding tests would be ignored.
38911         [BZ #15654]
38912         * math/fedisblxcpt.c (fedisableexcept): Return 0.
38913         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
38914         * math/fegetenv.c (__fegetenv): Return 0.
38915         * math/fegetexcept.c (fegetexcept): Return 0.
38916         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
38917         FE_TONEAREST.
38918         * math/feholdexcpt.c (feholdexcept): Return 0.
38919         * math/fesetenv.c (__fesetenv): Return 0.
38920         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
38921         argument FE_TONEAREST.
38922         * math/feupdateenv.c (__feupdateenv): Return 0.
38923         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
38925 2013-06-18  Roland McGrath  <roland@hack.frob.com>
38927         * elf/rtld-Rules (rtld-compile-command.S): New variable.
38928         (rtld-compile-command.s, rtld-compile-command.c): New variables.
38929         ($(objpfx)rtld-%.os rules): Use them.
38931 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38933         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
38934         fields.
38936 2013-06-17  Roland McGrath  <roland@hack.frob.com>
38938         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
38939         length of target pattern, then descending length of dependency pattern.
38940         * configure.in (AWK): Require gawk 3.1.2 or newer.
38941         * manual/install.texi (Tools for Compilation): Say that we do.
38942         * configure: Regenerated.
38944         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
38945         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
38946         * scripts/sysd-rules.awk: ... this new script.
38947         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
38948         than a glob-style pattern.
38950 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
38952         * math/test-misc.c (main): Do not treat incorrectly rounded
38953         conversions as failure unless ROUNDING_TESTS passes.
38955 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
38957         [BZ #15631]
38958         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
38959         restore exception state around main square root computation, then
38960         check for inexactness explicitly.
38962         * math/libm-test.inc (fma_test_data): Add another test.
38964 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38966         * manual/threads.texi (Non-POSIX Extensions): New document
38967         node.  Document pthread_getattr_default_np and
38968         pthread_setattr_default_np.
38970         * Versions.def (libpthread): Add GLIBC_2.18.
38971         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
38972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38973         Likewise.
38974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38975         Likewise.
38976         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38977         Likewise.
38978         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38979         Likewise.
38980         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
38981         Likewise.
38982         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38983         Likewise.
38984         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38985         Likewise.
38986         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
38987         Likewise.
38988         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
38989         Likewise.
38991 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38993         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38994         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
38996 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38997             H.J. Lu  <hjl.tools@gmail.com>
38999         [BZ #15627]
39000         * sysdeps/x86_64/rtld-memset.c: Remove file.
39001         * sysdeps/x86_64/rtld-memset.S: New file.
39003 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
39005         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
39006         (test_in_one_mode): Take arguments for whether the rounding mode
39007         is supported for each floating-point type.
39008         (do_test): Pass new arguments to test_in_one_mode using
39009         ROUNDING_TESTS.
39011 2013-06-13  Roland McGrath  <roland@hack.frob.com>
39013         * posix/tst-waitid.c (do_test): Distinguish different instances of
39014         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
39015         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
39016         before entering the kernel for waitpid.
39018 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
39020         * NEWS: Fix note on clock function precision.  Text by Roland
39021         McGrath.
39023 2013-06-13  Roland McGrath  <roland@hack.frob.com>
39025         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
39026         it into place only when and if the sanity check passes.
39028 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
39030         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
39031         output for whether conversion result is exact.  Take argument
39032         indicating whether type is IBM long double.
39033         (round_for_all): Change need_exact field to ibm_ld.
39034         * stdlib/tst-strtod-round.c (struct exactness): New type.
39035         (struct test): Change bool ld_ok field to struct exactness exact.
39036         (TEST): Update all definitions for change to field.
39037         (tests): Regenerate array contents.
39038         (test_in_one_mode): Take pointer to new field instead of old ld_ok
39039         field value.  Check for IBM long double here.
39040         (do_test): Update calls to test_in_one_mode.
39042 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
39044         [BZ #12515]
39045         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
39046         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
39048 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39050         [BZ #15605]
39051         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
39052         generated by the compiler on loop optimizations.
39053         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
39054         general definitions.
39056 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
39058         * math/bug-nextafter.c: Include <math-tests.h>.
39059         (main): Only test for exceptions if EXCEPTION_TESTS is true for
39060         the relevant type.
39061         * math/bug-nexttoward.c: Include <math-tests.h>.
39062         (main): Only test for exceptions if EXCEPTION_TESTS is true for
39063         the relevant type.
39064         * math/test-misc.c: Include <math-tests.h>.
39065         (main): Only test for exceptions if EXCEPTION_TESTS is true for
39066         the relevant type.
39068 2013-06-12  Andreas Jaeger  <aj@suse.de>
39070         * po/ia.po: Update Interlingua translation from translation
39071         project.
39073 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39075         * include/fenv.h: Include stdbool.h.
39076         (struct rm_ctx): New structure.
39077         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
39078         Define macro.
39079         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
39080         (SET_RESTORE_ROUNDF): Likewise.
39081         (SET_RESTORE_ROUNDL): Likewise.
39082         (SET_RESTORE_ROUND_NOEX): Likewise.
39083         (SET_RESTORE_ROUND_NOEXF): Likewise.
39084         (SET_RESTORE_ROUND_NOEXL): Likewise.
39085         (SET_RESTORE_ROUND_53BIT): Likewise.
39086         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
39087         (libc_feresetround_noexf_ctx): Likewise.
39088         (libc_feresetround_noexl_ctx): Likewise.
39089         (libc_feholdsetround_53bit_ctx): Likewise.
39090         (libc_feresetround_53bit_ctx): Likewise.
39091         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
39092         (libc_feholdexcept_setround_sse_ctx): New function.
39093         (libc_fesetenv_sse_ctx): Likewise.
39094         (libc_feupdateenv_sse_ctx): Likewise.
39095         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
39096         (libc_feholdexcept_setround_387_ctx): Likewise.
39097         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
39098         (libc_feholdsetround_387_prec_ctx): Likewise.
39099         (libc_feholdsetround_387_ctx): Likewise.
39100         (libc_feholdsetround_387_53bit_ctx): Likewise.
39101         (libc_feholdsetround_sse_ctx): Likewise.
39102         (libc_feresetround_sse_ctx): Likewise.
39103         (libc_feresetround_387_ctx): Likewise.
39104         (libc_feupdateenv_387_ctx): Likewise.
39105         (libc_feholdexcept_setroundf_ctx): Define macro.
39106         (libc_fesetenvf_ctx): Likewise.
39107         (libc_feupdateenvf_ctx): Likewise.
39108         (libc_feholdsetroundf_ctx): Likewise.
39109         (libc_feresetroundf_ctx): Likewise.
39110         (libc_feholdexcept_setround_ctx): Likewise.
39111         (libc_fesetenv_ctx): Likewise.
39112         (libc_feupdateenv_ctx): Likewise.
39113         (libc_feholdsetround_ctx): Likewise.
39114         (libc_feresetround_ctx): Likewise.
39115         (libc_feholdexcept_setroundl_ctx): Likewise.
39116         (libc_feupdateenvl_ctx): Likewise.
39117         (libc_feholdsetroundl_ctx): Likewise.
39118         (libc_feresetroundl_ctx): Likewise.
39119         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
39120         (libc_feresetround_53bit_ctx): Likewise.
39122 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39124         * locale/iso-639.def: Convert to UTF-8.
39126 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
39128         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
39129         (EXCEPTION_TESTS_double): Likewise.
39130         (EXCEPTION_TESTS_long_double): Likewise.
39131         (EXCEPTION_TESTS): Likewise.
39132         * math/libm-test.inc (test_exceptions): Only test exceptions if
39133         EXCEPTION_TESTS (FLOAT).
39135 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39137         * benchtests/Makefile (string-bench): Add strcpy_chk and
39138         stpcpy_chk.
39139         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
39140         * benchtests/bench-stpcpy_chk.c: New file.
39141         * benchtests/bench-strcpy_chk-ifunc.c: New file.
39142         * benchtests/bench-strcpy_chk.c: New file.
39143         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
39144         code.
39145         (do_test): Likewise.
39147 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39149         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
39150         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
39151         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
39152         with tabs where appropriate.
39153         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
39154         dl-procinfo.h.
39155         [PPC_PLATFORM_PPC440]: Likewise.
39156         [PPC_PLATFORM_PPC464]: Likewise.
39157         [PPC_PLATFORM_PPC476]: Likewise.
39158         (_dl_string_platform): Add support for detecting ppc405, ppc440,
39159         ppc464, and ppc476 platform strings merging from ports/
39160         dl-procinfo.h.
39162 2013-06-11  Andreas Schwab  <schwab@suse.de>
39164         [BZ #14991]
39165         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
39166         (from_ucs4_idx): Regenerate.
39167         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
39168         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
39169         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
39170         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
39171         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
39172         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
39173         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
39174         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
39175         from FROM_LOOP and TO_LOOP specific macros.
39176         (BODY): Handle combining characters.
39177         * iconvdata/BIG5HKSCS.irreversible: Update.
39178         * iconvdata/BIG5HKSCS.precomposed: New file.
39179         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
39180         characters.
39181         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
39183 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39185         * include/sys/time.h: Fix indentation and add copyright header.
39187         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
39188         (do_test): Likewise.
39189         * string/test-memchr.c (do_one_test): Likewise.
39190         (do_test): Likewise.
39191         * string/test-memcmp.c (do_one_test): Likewise.
39192         (do_test): Likewise.
39193         * string/test-memcpy.c (do_one_test): Likewise.
39194         (do_test): Likewise.
39195         * string/test-memmem.c (do_one_test): Likewise.
39196         (do_test): Likewise.
39197         (do_random_tests): Likewise.
39198         * string/test-memmove.c (do_one_test): Likewise.
39199         (do_test): Likewise.
39200         * string/test-memset.c (do_one_test): Likewise.
39201         (do_test): Likewise.
39202         * string/test-rawmemchr.c (do_one_test): Likewise.
39203         (do_test): Likewise.
39204         * string/test-strcasecmp.c (do_one_test): Likewise.
39205         (do_test): Likewise.
39206         * string/test-strcasestr.c (do_one_test): Likewise.
39207         (do_test): Likewise.
39208         * string/test-strcat.c (do_one_test): Likewise.
39209         (do_test): Likewise.
39210         * string/test-strchr.c (do_one_test): Likewise.
39211         (do_test): Likewise.
39212         * string/test-strcmp.c (do_one_test): Likewise.
39213         (do_test): Likewise.
39214         * string/test-strcpy.c (do_one_test): Likewise.
39215         (do_test): Likewise.
39216         * string/test-string.h: Likewise.
39217         (test_init): Likewise.
39218         * string/test-strlen.c (do_one_test): Likewise.
39219         (do_test): Likewise.
39220         * string/test-strncasecmp.c (do_one_test): Likewise.
39221         (do_test): Likewise.
39222         * string/test-strncat.c (do_one_test): Likewise.
39223         (do_test): Likewise.
39224         * string/test-strncmp.c (do_one_test): Likewise.
39225         (do_test_limit): Likewise.
39226         (do_test): Likewise.
39227         * string/test-strncpy.c (do_one_test): Likewise.
39228         (do_test): Likewise.
39229         * string/test-strnlen.c (do_one_test): Likewise.
39230         (do_test): Likewise.
39231         * string/test-strpbrk.c (do_one_test): Likewise.
39232         (do_test): Likewise.
39233         * string/test-strrchr.c (do_one_test): Likewise.
39234         (do_test): Likewise.
39235         * string/test-strspn.c (do_one_test): Likewise.
39236         (do_test): Likewise.
39237         * string/test-strstr.c (do_one_test): Likewise.
39238         (do_test): Likewise.
39240         * benchtests/Makefile (string-bench): Add string benchmarks.
39241         * benchtests/bench-bcopy-ifunc.c: New file.
39242         * benchtests/bench-bcopy.c: New file.
39243         * benchtests/bench-bzero-ifunc.c: New file.
39244         * benchtests/bench-bzero.c: New file.
39245         * benchtests/bench-memccpy-ifunc.c: New file.
39246         * benchtests/bench-memccpy.c: New file.
39247         * benchtests/bench-memchr-ifunc.c: New file.
39248         * benchtests/bench-memchr.c: New file.
39249         * benchtests/bench-memcmp-ifunc.c: New file.
39250         * benchtests/bench-memcmp.c: New file.
39251         * benchtests/bench-memmem-ifunc.c: New file.
39252         * benchtests/bench-memmem.c: New file.
39253         * benchtests/bench-memmove-ifunc.c: New file.
39254         * benchtests/bench-memmove.c: New file.
39255         * benchtests/bench-mempcpy-ifunc.c: New file.
39256         * benchtests/bench-mempcpy.c: New file.
39257         * benchtests/bench-memset-ifunc.c: New file.
39258         * benchtests/bench-memset.c: New file.
39259         * benchtests/bench-rawmemchr-ifunc.c: New file.
39260         * benchtests/bench-rawmemchr.c: New file.
39261         * benchtests/bench-stpcpy-ifunc.c: New file.
39262         * benchtests/bench-stpcpy.c: New file.
39263         * benchtests/bench-stpncpy-ifunc.c: New file.
39264         * benchtests/bench-stpncpy.c: New file.
39265         * benchtests/bench-strcasecmp-ifunc.c: New file.
39266         * benchtests/bench-strcasecmp.c: New file.
39267         * benchtests/bench-strcasestr-ifunc.c: New file.
39268         * benchtests/bench-strcasestr.c: New file.
39269         * benchtests/bench-strcat-ifunc.c: New file.
39270         * benchtests/bench-strcat.c: New file.
39271         * benchtests/bench-strchr-ifunc.c: New file.
39272         * benchtests/bench-strchr.c: New file.
39273         * benchtests/bench-strchrnul-ifunc.c: New file.
39274         * benchtests/bench-strchrnul.c: New file.
39275         * benchtests/bench-strcmp-ifunc.c: New file.
39276         * benchtests/bench-strcmp.c: New file.
39277         * benchtests/bench-strcpy-ifunc.c: New file.
39278         * benchtests/bench-strcpy.c: New file.
39279         * benchtests/bench-strcspn-ifunc.c: New file.
39280         * benchtests/bench-strcspn.c: New file.
39281         * benchtests/bench-strlen-ifunc.c: New file.
39282         * benchtests/bench-strlen.c: New file.
39283         * benchtests/bench-strncasecmp-ifunc.c: New file.
39284         * benchtests/bench-strncasecmp.c: New file.
39285         * benchtests/bench-strncat-ifunc.c: New file.
39286         * benchtests/bench-strncat.c: New file.
39287         * benchtests/bench-strncmp-ifunc.c: New file.
39288         * benchtests/bench-strncmp.c: New file.
39289         * benchtests/bench-strncpy-ifunc.c: New file.
39290         * benchtests/bench-strncpy.c: New file.
39291         * benchtests/bench-strnlen-ifunc.c: New file.
39292         * benchtests/bench-strnlen.c: New file.
39293         * benchtests/bench-strpbrk-ifunc.c: New file.
39294         * benchtests/bench-strpbrk.c: New file.
39295         * benchtests/bench-strrchr-ifunc.c: New file.
39296         * benchtests/bench-strrchr.c: New file.
39297         * benchtests/bench-strspn-ifunc.c: New file.
39298         * benchtests/bench-strspn.c: New file.
39299         * benchtests/bench-strstr-ifunc.c: New file.
39300         * benchtests/bench-strstr.c: New file.
39302         * benchtests/Makefile: Disable parallel execution of targets.
39303         (string-bench): Add memcpy.
39304         (benchset): New variable to store a list of benchmark sets.
39305         (bench-func): Renamed from bench.
39306         (bench-set): New target.
39307         (bench): Depend on bench-func and bench-set.
39308         * benchtests/README: Add section on benchmark sets.
39309         * benchtests/bench-memcpy-ifunc.c: New file.
39310         * benchtests/bench-memcpy.c: New file.
39311         * benchtests/bench-string.h: New file.
39313 2013-06-11  Andreas Schwab  <schwab@suse.de>
39315         [BZ #15577]
39316         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
39317         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
39318         values in the triple.
39319         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
39320         terminator in the group key.
39322 2013-06-11  Andreas Jaeger  <aj@suse.de>
39324         * po/zh_TW.po: Update Chinese (traditional) translation from
39325         translation project.
39327 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39329         * include/time.h (__clock_gettime): Add libc_hidden_proto.
39330         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
39331         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
39332         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39333         (clock_getcpuclockid): Likewise.
39334         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
39335         Add weak_alias and libc_hidden_def.
39336         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
39337         * rt/clock_gettime.c (clock_gettime): Rename to
39338         __clock_gettime.  Add weak_alias and libc_hidden_def.
39339         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
39340         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
39341         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
39342         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
39343         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
39344         Likewise.
39345         * rt/clock_settime.c (clock_settime): Rename to
39346         __clock_settime.  Add weak_alias and libc_hidden_def.
39347         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
39349 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
39351         * mach/err_boot.sub: Remove trailing whitespace.
39352         * mach/err_ipc.sub: Likewise.
39353         * mach/err_mach.sub: Likewise.
39355         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
39356         (ROUNDING_TESTS_double): Likewise.
39357         (ROUNDING_TESTS_long_double): Likewise.
39358         (ROUNDING_TESTS): Likewise.
39359         * math/libm-test.inc: Include <math-tests.h>.
39360         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
39361         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
39362         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
39363         (IF_ROUND_INIT_FE_UPWARD): Likewise.
39365 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39367         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
39368         of assigning.
39370 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
39372         * sysdeps/gnu/errlist.awk: Do not generate space at end of
39373         otherwise empty TRANS lines.
39374         * sysdeps/gnu/errlist.c: Regenerated.
39376         * catgets/gencat.c (error_print): Use (void) in function
39377         definition.
39378         * crypt/crypt_util.c (__init_des): Likewise.
39379         * crypt/speeds.c (Stop): Likewise.
39380         (main): Likewise.
39381         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
39382         * inet/ruserpass.c (token): Likewise.
39383         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
39384         * intl/localealias.c (extend_alias_table): Likewise.
39385         * intl/plural-exp.c (init_germanic_plural): Likewise.
39386         * libio/fcloseall.c (__fcloseall): Likewise.
39387         * libio/genops.c (_IO_flush_all): Likewise.
39388         (_IO_flush_all_linebuffered): Likewise.
39389         (_IO_cleanup): Likewise.
39390         (_IO_iter_begin): Likewise.
39391         (_IO_iter_end): Likewise.
39392         (_IO_list_lock): Likewise.
39393         (_IO_list_unlock): Likewise.
39394         (_IO_list_resetlock): Likewise.
39395         * libio/getchar.c (getchar): Likewise.
39396         * libio/getchar_u.c (getchar_unlocked): Likewise.
39397         * libio/getwchar.c (getwchar): Likewise.
39398         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
39399         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
39400         * login/getpt.c (__getpt): Likewise.
39401         * login/tst-utmp.c (main): Likewise.
39402         * malloc/hooks.c (__malloc_check_init): Likewise.
39403         * malloc/malloc.c (__malloc_stats): Likewise.
39404         * malloc/mtrace.c (tr_break): Likewise.
39405         (mtrace): Likewise.
39406         (muntrace): Likewise.
39407         * misc/fstab.c (endfsent): Likewise.
39408         * misc/getclktck.c (__getclktck): Likewise.
39409         * misc/getdtsz.c (__getdtablesize): Likewise.
39410         * misc/gethostid.c (gethostid): Likewise.
39411         * misc/getpagesize.c (__getpagesize): Likewise.
39412         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
39413         (__get_nprocs): Likewise.
39414         (__get_phys_pages): Likewise.
39415         (__get_avphys_pages): Likewise.
39416         * misc/getttyent.c (getttyent): Likewise.
39417         (setttyent): Likewise.
39418         (endttyent): Likewise.
39419         * misc/getusershell.c (getusershell): Likewise.
39420         (endusershell): Likewise.
39421         (setusershell): Likewise.
39422         (initshells): Likewise.
39423         * misc/hsearch.c (__hdestroy): Likewise.
39424         * misc/sync.c (sync): Likewise.
39425         * misc/syslog.c (closelog_internal): Likewise.
39426         (closelog): Likewise.
39427         * misc/ttyslot.c (ttyslot): Likewise.
39428         * misc/vhangup.c (vhangup): Likewise.
39429         * posix/fork.c (__fork): Likewise.
39430         * posix/getegid.c (__getegid): Likewise.
39431         * posix/geteuid.c (__geteuid): Likewise.
39432         * posix/getgid.c (__getgid): Likewise.
39433         * posix/getpid.c (__getpid): Likewise.
39434         * posix/getppid.c (__getppid): Likewise.
39435         * posix/getuid.c (__getuid): Likewise.
39436         * posix/pause.c (pause): Likewise.
39437         * posix/setpgrp.c (setpgrp): Likewise.
39438         * posix/setsid.c (__setsid): Likewise.
39439         * posix/test-vfork.c (noop): Likewise.
39440         * resolv/gethnamaddr.c (_endhtent): Likewise.
39441         (_gethtent): Likewise.
39442         (ht_endhostent): Likewise.
39443         (gethostent): Likewise.
39444         (dns_service): Likewise.
39445         * stdlib/drand48.c (drand48): Likewise.
39446         * stdlib/lrand48.c (lrand48): Likewise.
39447         * stdlib/mrand48.c (mrand48): Likewise.
39448         * stdlib/rand.c (rand): Likewise.
39449         * stdlib/random.c (__random): Likewise.
39450         * stdlib/setenv.c (clearenv): Likewise.
39451         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
39452         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
39453         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
39454         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
39455         (__get_nprocs): Likewise.
39456         (__get_phys_pages): Likewise.
39457         (__get_avphys_pages): Likewise.
39458         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
39459         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
39460         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
39461         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
39462         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
39463         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
39464         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
39465         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
39466         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
39467         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
39468         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
39469         * sysdeps/mach/hurd/sync.c (sync): Likewise.
39470         * sysdeps/posix/clock.c (clock): Likewise.
39471         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
39472         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
39473         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
39474         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
39475         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
39476         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
39477         (__get_nprocs_conf): Likewise.
39478         (__get_phys_pages): Likewise.
39479         (__get_avphys_pages): Likewise.
39480         * time/clock.c (clock): Likewise.
39481         * time/tzset.c (__tzname_max): Likewise.
39483 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
39485         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
39486         (__bswap_32): Do not use "register".
39487         * crypt/crypt.c (_ufc_doit_r): Likewise.
39488         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
39489         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
39490         * gmon/gmon.c (__monstartup): Likewise.
39491         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
39492         * hurd/hurdmalloc.c (more_memory): Likewise.
39493         (malloc): Likewise.
39494         (free): Likewise.
39495         (realloc): Likewise.
39496         (malloc_fork_prepare): Likewise.
39497         (malloc_fork_parent): Likewise.
39498         (malloc_fork_child): Likewise.
39499         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
39500         (_svcauth_des): Likewise.
39501         * inet/inet_lnaof.c (inet_lnaof): Likewise.
39502         * inet/inet_net.c (inet_network): Likewise.
39503         * inet/inet_netof.c (inet_netof): Likewise.
39504         * inet/rcmd.c (__validuser2_sa): Likewise.
39505         * io/fts.c (fts_open): Likewise.
39506         (fts_load): Likewise.
39507         (fts_close): Likewise.
39508         (fts_read): Likewise.
39509         (fts_children): Likewise.
39510         (fts_build): Likewise.
39511         (fts_stat): Likewise.
39512         (fts_sort): Likewise.
39513         (fts_alloc): Likewise.
39514         (fts_lfree): Likewise.
39515         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
39516         (_IO_file_xsgetn): Likewise.
39517         (_IO_file_xsgetn_mmap): Likewise.
39518         * libio/iofopncook.c (_IO_cookie_read): Likewise.
39519         (_IO_cookie_write): Likewise.
39520         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
39521         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
39522         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
39523         * malloc/obstack.c (_obstack_begin): Likewise.
39524         (_obstack_begin_1): Likewise.
39525         (_obstack_newchunk): Likewise.
39526         (_obstack_allocated_p): Likewise.
39527         (obstack_free): Likewise.
39528         (_obstack_memory_used): Likewise.
39529         * misc/getttyent.c (getttynam): Likewise.
39530         (getttyent): Likewise.
39531         (skip): Likewise.
39532         (value): Likewise.
39533         * misc/getusershell.c (initshells): Likewise.
39534         * misc/syslog.c (__vsyslog_chk): Likewise.
39535         * misc/ttyslot.c (ttyslot): Likewise.
39536         * nis/nis_hash.c (__nis_hash): Likewise.
39537         * posix/fnmatch_loop.c (FCT): Likewise.
39538         * posix/getconf.c (print_all): Likewise.
39539         (main): Likewise.
39540         * posix/getopt.c (exchange): Likewise.
39541         * posix/glob.c (globfree): Likewise.
39542         (prefix_array): Likewise.
39543         (__glob_pattern_type): Likewise.
39544         * resolv/arpa/nameser.h (NS_GET16): Likewise.
39545         (NS_GET32): Likewise.
39546         (NS_PUT16): Likewise.
39547         (NS_PUT32): Likewise.
39548         * resolv/gethnamaddr.c (getanswer): Likewise.
39549         (gethostbyname2): Likewise.
39550         (gethostbyaddr): Likewise.
39551         (_gethtent): Likewise.
39552         (_gethtbyname2): Likewise.
39553         (_gethtbyaddr): Likewise.
39554         * resolv/ns_print.c (dst_s_get_int16): Likewise.
39555         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
39556         * resolv/res_init.c (__res_vinit): Likewise.
39557         (net_mask): Likewise.
39558         * resolv/res_mkquery.c (outchar): Likewise.
39559         (PRINT): Likewise.
39560         * stdio-common/printf_fp.c (outchar): Likewise.
39561         (PRINT): Likewise.
39562         * stdio-common/printf_fphex.c (outchar): Likewise.
39563         (PRINT): Likewise.
39564         * stdio-common/printf_size.c (outchar): Likewise.
39565         (PRINT): Likewise.
39566         * stdio-common/test_rdwr.c (main): Likewise.
39567         * stdio-common/tfformat.c (matches): Likewise.
39568         * stdio-common/vfprintf.c (outchar): Likewise.
39569         (printf_unknown): Likewise.
39570         (buffered_vfprintf): Likewise.
39571         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
39572         * stdio-common/xbug.c (AppendToBuffer): Likewise.
39573         (ReadFile): Likewise.
39574         * stdlib/qsort.c (SWAP): Likewise.
39575         (_quicksort): Likewise.
39576         * stdlib/setenv.c (__add_to_environ): Likewise.
39577         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
39578         * stdlib/strtol_l.c (__strtol_l): Likewise.
39579         * stdlib/tst-strtod.c (main): Likewise.
39580         * stdlib/tst-strtol.c (main): Likewise.
39581         * stdlib/tst-strtoll.c (main): Likewise.
39582         * string/bits/string2.h (__strcmp_cc): Likewise.
39583         (__strcmp_cg): Likewise.
39584         (__strcspn_c1): Likewise.
39585         (__strcspn_c2): Likewise.
39586         (__strcspn_c3): Likewise.
39587         (__strspn_c1): Likewise.
39588         (__strspn_c2): Likewise.
39589         (__strspn_c3): Likewise.
39590         (__strsep_1c): Likewise.
39591         (__strsep_2c): Likewise.
39592         (__strsep_3c): Likewise.
39593         * string/memccpy.c (__memccpy): Likewise.
39594         * string/stpcpy.c (__stpcpy): Likewise.
39595         * string/strcmp.c (strcmp): Likewise.
39596         * string/strrchr.c (strrchr): Likewise.
39597         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
39598         Likewise.
39599         * sysdeps/mach/hurd/getcwd.c
39600         (_hurd_canonicalize_directory_name_internal): Likewise.
39601         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
39602         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
39603         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
39604         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
39605         Likewise, in both definitions.
39606         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
39607         definitions.
39608         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
39609         64] (__bswap_64): Likewise.
39610         * time/test_time.c (main): Likewise.
39611         * time/tzfile.c (__tzfile_read): Likewise.
39612         (__tzfile_compute): Likewise.
39613         * time/tzset.c (__tzset_parse_tz): Likewise.
39614         (tzset_internal): Likewise.
39615         (compute_change): Likewise.
39616         * wcsmbs/wcscat.c (__wcscat): Likewise.
39617         * wcsmbs/wcschr.c (wcschr): Likewise.
39618         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
39619         * wcsmbs/wcscspn.c (wcscspn): Likewise.
39620         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
39621         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
39622         * wcsmbs/wcsspn.c (wcsspn): Likewise.
39623         * wcsmbs/wcsstr.c (wcsstr): Likewise.
39624         * wcsmbs/wmemchr.c (wmemchr): Likewise.
39625         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
39626         * wcsmbs/wmemset.c (wmemset): Likewise.
39628 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
39630         * scripts/config.guess: Update to version 2013-05-16.
39631         * scripts/config.sub: Update to version 2013-04-24.
39632         * scripts/install-sh: Update to version 2011-11-20.07.
39633         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
39634         * scripts/move-if-change: Update to version 2012-01-06 07:23.
39636 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
39638         * debug/fgetws_u_chk.c: Fix leading whitespaces.
39639         * elf/sln.c: Likewise.
39640         * hurd/hurd/ioctl.h: Likewise.
39641         * hurd/hurdmalloc.c: Likewise.
39642         * hurd/xattr.c: Likewise.
39643         * include/shlib-compat.h: Likewise.
39644         * inet/ruserpass.c: Likewise.
39645         * libio/iofgets_u.c: Likewise.
39646         * libio/iofgetws_u.c: Likewise.
39647         * locale/programs/ld-identification.c: Likewise.
39648         * locale/programs/ld-time.c: Likewise.
39649         * mach/msg-destroy.c: Likewise.
39650         * nss/nss_files/files-netgrp.c: Likewise.
39651         * resolv/res_data.c: Likewise.
39652         * soft-fp/op-1.h: Likewise.
39653         * soft-fp/op-2.h: Likewise.
39654         * soft-fp/op-4.h: Likewise.
39655         * soft-fp/op-common.h: Likewise.
39656         * stdio-common/printf_fphex.c: Likewise.
39657         * stdlib/strtod_l.c: Likewise.
39658         * sunrpc/rpc/clnt.h: Likewise.
39659         * sysdeps/generic/framestate.c: Likewise.
39660         * sysdeps/i386/bsd-_setjmp.S: Likewise.
39661         * sysdeps/i386/bsd-setjmp.S: Likewise.
39662         * sysdeps/i386/__longjmp.S: Likewise.
39663         * sysdeps/i386/setjmp.S: Likewise.
39664         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39665         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39666         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39667         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39668         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39669         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39670         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39671         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39672         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39673         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
39674         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39675         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39676         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39677         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39678         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39679         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39680         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39681         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
39682         * sysdeps/ieee754/support.c: Likewise.
39683         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39684         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
39685         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
39686         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
39687         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
39688         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
39689         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
39690         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
39691         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
39692         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
39693         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
39694         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
39695         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
39696         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
39697         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
39698         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
39699         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
39700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
39702 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
39704         * posix/transbug.c: Remove executable mode.
39706 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
39708         * crypt/speeds.c: Remove trailing whitespace.
39709         * dlfcn/default.c: Likewise.
39710         * elf/ifuncdep2.c: Likewise.
39711         * elf/ifuncmain1.c: Likewise.
39712         * elf/ifuncmain1vis.c: Likewise.
39713         * elf/testobj.h: Likewise.
39714         * elf/tst-stackguard1.c: Likewise.
39715         * gmon/sys/gmon.h: Likewise.
39716         * hurd/hurdmsg.c: Likewise.
39717         * hurd/new-fd.c: Likewise.
39718         * hurd/ports-get.c: Likewise.
39719         * iconvdata/ibm1008_420.c: Likewise.
39720         * inet/tst-getni1.c: Likewise.
39721         * inet/tst-getni2.c: Likewise.
39722         * libio/ioungetc.c: Likewise.
39723         * libio/wfiledoalloc.c: Likewise.
39724         * manual/libm-err-tab.pl: Likewise.
39725         * math/w_dremf.c: Likewise.
39726         * misc/ftruncate.c: Likewise.
39727         * posix/bug-glob2.c: Likewise.
39728         * posix/tst-pcre.c: Likewise.
39729         * posix/wait4.c: Likewise.
39730         * resolv/README: Likewise.
39731         * resolv/res_debug.h: Likewise.
39732         * resolv/tst-inet_ntop.c: Likewise.
39733         * setjmp/bug269-setjmp.c: Likewise.
39734         * soft-fp/extended.h: Likewise.
39735         * soft-fp/op-1.h: Likewise.
39736         * soft-fp/op-2.h: Likewise.
39737         * soft-fp/op-4.h: Likewise.
39738         * soft-fp/op-8.h: Likewise.
39739         * soft-fp/testit.c: Likewise.
39740         * stdio-common/bug16.c: Likewise.
39741         * stdlib/random.c: Likewise.
39742         * sunrpc/rpcsvc/rquota.x: Likewise.
39743         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
39744         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39745         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39746         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39747         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39748         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39749         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39750         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39751         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39752         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39753         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39754         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39755         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39756         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39757         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39758         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39759         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39760         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39761         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39762         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39763         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39764         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39765         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
39766         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39767         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39768         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39769         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
39770         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39771         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39772         * sysdeps/ieee754/s_lib_version.c: Likewise.
39773         * sysdeps/mach/hurd/check_fds.c: Likewise.
39774         * sysdeps/mach/hurd/getsockname.c: Likewise.
39775         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
39776         * sysdeps/mach/hurd/recvfrom.c: Likewise.
39777         * sysdeps/powerpc/bits/link.h: Likewise.
39778         * sysdeps/powerpc/dl-procinfo.c: Likewise.
39779         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
39780         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
39781         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
39782         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
39783         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39784         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
39785         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
39786         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
39787         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
39788         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
39789         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
39790         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
39791         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
39792         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
39793         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
39794         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
39795         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
39796         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
39797         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39798         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39799         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
39800         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39801         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
39802         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
39803         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
39804         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
39805         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39806         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39807         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
39808         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
39809         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
39810         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39811         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39812         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
39813         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
39814         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
39815         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
39816         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
39817         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
39818         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
39819         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
39820         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
39821         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
39822         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
39823         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
39824         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
39825         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
39826         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
39827         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
39828         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39829         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39830         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
39831         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
39832         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
39833         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
39834         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
39835         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39836         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
39837         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
39838         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
39839         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
39840         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
39841         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
39842         * sysdeps/powerpc/sysdep.h: Likewise.
39843         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39844         * sysdeps/s390/s390-64/sub_n.S: Likewise.
39845         * sysdeps/sh/dl-trampoline.S: Likewise.
39846         * sysdeps/sh/memset.S: Likewise.
39847         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
39848         * sysdeps/sh/strlen.S: Likewise.
39849         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
39850         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
39851         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
39852         * sysdeps/sparc/sparc32/rem.S: Likewise.
39853         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
39854         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
39855         * sysdeps/sparc/sparc32/strchr.S: Likewise.
39856         * sysdeps/sparc/sparc32/udiv.S: Likewise.
39857         * sysdeps/sparc/sparc32/urem.S: Likewise.
39858         * sysdeps/sparc/sparc64/add_n.S: Likewise.
39859         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39860         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
39861         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
39862         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
39863         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
39864         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
39865         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
39866         * sysdeps/unix/bsd/times.c: Likewise.
39867         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
39868         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
39869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
39870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
39871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
39872         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
39873         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
39874         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
39875         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
39876         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
39877         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
39878         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
39879         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
39880         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39881         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
39882         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
39883         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
39884         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
39885         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
39886         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
39887         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
39888         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
39889         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39890         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
39891         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
39892         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
39893         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
39894         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39895         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
39896         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
39897         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
39898         * sysdeps/x86_64/strcspn.S: Likewise.
39900 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39902         * locale/C-translit.h: Revert #include <stdint.h> because this is a
39903         generated file.  Regenerate properly from gen-translit.pl.
39904         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
39905         locale/C-translit.h.
39907 2013-06-05  Andreas Schwab  <schwab@suse.de>
39909         [BZ #15100]
39910         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
39911         week as 6 instead of -1.
39912         * time/tst-strptime.c (day_tests): Add test case.
39914 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39916         * sysdeps/generic/math_private.h
39917         (libc_feholdexcept_setround_53bit): Replace with
39918         libc_feholdsetround_53bit.
39919         (libc_feupdateenv_53bit): Replace with
39920         libc_feresetround_53bit.
39921         (SET_RESTORE_ROUND_53BIT): Adjust.
39923 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
39925         * string/test-strchrnul.c: Add copyright header.
39927         * posix/tst-getaddrinfo4.c: Increase test timeout.
39929 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
39931         [BZ #15536]
39932         * math/libm-test.inc (MAX_EXP): Remove
39933         (MIN_EXP): Define.
39934         (ulp): Use MIN_EXP - MANT_DIG.
39935         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
39937 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
39939         * po/be.po: Revert last change.
39940         * po/zh_CN.po: Likewise.
39941         * po/header.pot: Likewise.
39943 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
39945         * Makefile ($(common-objpfx)linkobj/libc.so): Define
39946         link-libc-deps to empty as target-specific variable.
39947         * Makerules (link-libc-args): New variable.
39948         (libc-for-link): Likewise.
39949         (link-libc-deps): Likewise.
39950         (lib%.so): Depend on $(link-libc-deps).  Link with
39951         $(link-libc-args).
39952         (build-module): Link with $(link-libc-args).
39953         (build-module-asneeded): Likewise.
39954         (build-module-helper-objlist): Filter out $(link-libc-deps) from
39955         list of objects.
39956         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
39957         target-specific variable.
39958         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
39959         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
39960         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
39961         libc.
39962         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
39963         libc and ld.so.
39964         ($(objpfx)libpcprofile.so): Likewise.
39965         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
39966         libc_nonshared.a.
39967         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
39968         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
39969         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
39970         $(link-libc-deps).
39971         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
39972         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
39973         * login/Makefile ($(objpfx)libutil.so): Likewise.
39974         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
39975         * math/Makefile ($(objpfx)libm.so): Likewise.
39976         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
39977         $(objpfx)libnsl.so): Define libc-for-link as target-specific
39978         variable instead of depending directly on libc.
39979         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
39980         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
39981         $(link-libc-deps).
39982         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
39983         libc.
39984         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
39985         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
39986         ($(objpfx)libanl.so): Likewise.
39987         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
39988         ld.so.
39989         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
39990         $(link-libc-deps).
39991         * sysdeps/i386/fpu/Makefile: Remove file.
39992         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
39993         ($(objpfx)libm.so): Remove dependency on ld.so.
39995 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
39997         [BZ # 15553]
39998         * nis/yp_xdr.c (XDRMAXNAME): Define.
39999         (XDRMAXRECORD): Define.
40000         (xdr_domainname): Use XDRMAXNAME.
40001         (xdr_mapname): Likewise.
40002         (xdr_peername): Likewise.
40003         (xdr_keydat): Use XDRMAXRECORD.
40004         (xdr_valdat): Likewise.
40006 2013-05-30  Jeff Law  <law@redhat.com>
40008         [BZ #14256]
40009         * manual/errno.texi (ESTALE): Update to account for more than
40010         just NFS file systems.
40011         * sysdeps/gnu/errlist.c: Regenerated.
40013 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40015         [BZ #15465]
40016         * elf/Makefile (tests): Add tst-null-argv.
40017         (modules-names):  Add tst-null-argv-lib.
40018         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
40019         (tst-null-argv-ENV): Set environment for tst-null-argv.
40020         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
40021         (RTLD_PROGNAME): New macro.
40022         * elf/tst-null-argv.c: New test case.
40023         * elf/tst-null-argv-lib.c: Library for test case.
40024         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
40025         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
40026         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
40027         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
40028         * elf/dl-init.c (call_init): Likewise.
40029         (_dl_init): Likewise.
40030         * elf/dl-load.c (print_search_path): Likewise.
40031         (_dl_map_object): Likewise.
40032         * elf/dl-lookup.c (do_lookup_x): Likewise.
40033         (add_dependency): Likewise.
40034         (_dl_lookup_symbol_x): Likewise.
40035         (_dl_debug_bindings): Likewise.
40036         * elf/dl-open.c (_dl_show_scope): Likewise.
40037         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
40038         * elf/dl-version.c (match_symbol): Likewise.
40039         (_dl_check_map_versions): Likewise.
40040         * elf/rtld.c (dl_main): Likewise.
40041         (print_unresolved): Use RTLD_PROGNAME.
40042         (print_missing_version): Likewise.
40043         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
40044         (elf_machine_rela): Likewise.
40045         * sysdeps/powerpc/powerpc32/dl-machine.c
40046         (__process_machine_rela): Likewise.
40047         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40048         Likewise.
40049         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
40050         Likewise.
40051         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
40052         Likewise.
40053         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40054         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
40055         Likewise.
40056         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
40057         Likewise.
40058         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40060 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
40062         * po/be.po: Add descriptive title.
40063         * po/zh_CN.po: Likewise.
40064         * po/header.pot: Likewise.
40066 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
40068         * locale/programs/locarchive.c (create_archive): Inlucde fname in
40069         error message.
40070         (enlarge_archive): Likewise.
40072 2013-05-28  Ben North  <ben@redfrontdoor.org>
40074         * manual/arith.texi (frexp): It is the magnitude of the return
40075         value which lies in [0.5, 1), not the return value itself.
40077 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40079         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40081 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
40083         * stdio-common/bug26.c (main): Correct fscanf template.
40085         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
40086         declare _dl_skip_args.
40088         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
40089         Don't declare.
40091         * manual/platform.texi: Add missing @end deftypefun.
40093 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
40095         [BZ #15529]
40096         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
40097         bit of mantissa of 2^16382.
40098         * math/libm-test.inc (hypot_test_data): Add more tests.
40100         * math/libm-test.inc: Add drem and pow10 to list of tested
40101         functions.
40102         (pow10_test): New function.
40103         (drem_test): Likewise.
40104         (drem_test_tonearest): Likewise.
40105         (drem_test_towardzero): Likewise.
40106         (drem_test_downward): Likewise.
40107         (drem_test_upward): Likewise.
40108         (main): Call the new functions.
40110         * math/libm-test.inc (finite_test_data): Remove.
40111         (finite_test): Run tests from isfinite_test_data.
40112         (gamma_test_data): Remove.
40113         (gamma_test): Run tests from lgamma_test_data.
40114         * sysdeps/i386/fpu/libm-test-ulps: Update.
40115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40117 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40119         * manual/platform.texi: Add PowerPC PPR function set documentation.
40120         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
40121         implementation.
40123 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
40125         * math/libm-test.inc (MAX_EXP): Define.
40126         (ULPDIFF): Define.
40127         (ulp): New function.
40128         (check_float_internal): Use ULPDIFF.
40129         (cpow_test): Disable failing test.
40130         (check_ulp): Test ulp() implemetnation.
40131         (main): Call check_ulp before starting tests.
40133 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
40135         * math/gen-libm-test.pl (generate_testfile): Do not handle
40136         START_DATA and END_DATA.
40137         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
40138         END_DATA.
40139         (acos_tonearest_test_data): Likewise.
40140         (acos_towardzero_test_data): Likewise.
40141         (acos_downward_test_data): Likewise.
40142         (acos_upward_test_data): Likewise.
40143         (acosh_test_data): Likewise.
40144         (asin_test_data): Likewise.
40145         (asin_tonearest_test_data): Likewise.
40146         (asin_towardzero_test_data): Likewise.
40147         (asin_downward_test_data): Likewise.
40148         (asin_upward_test_data): Likewise.
40149         (asinh_test_data): Likewise.
40150         (atan_test_data): Likewise.
40151         (atanh_test_data): Likewise.
40152         (atan2_test_data): Likewise.
40153         (cabs_test_data): Likewise.
40154         (cacos_test_data): Likewise.
40155         (cacosh_test_data): Likewise.
40156         (carg_test_data): Likewise.
40157         (casin_test_data): Likewise.
40158         (casinh_test_data): Likewise.
40159         (catan_test_data): Likewise.
40160         (catanh_test_data): Likewise.
40161         (cbrt_test_data): Likewise.
40162         (ccos_test_data): Likewise.
40163         (ccosh_test_data): Likewise.
40164         (ceil_test_data): Likewise.
40165         (cexp_test_data): Likewise.
40166         (cimag_test_data): Likewise.
40167         (clog_test_data): Likewise.
40168         (clog10_test_data): Likewise.
40169         (conj_test_data): Likewise.
40170         (copysign_test_data): Likewise.
40171         (cos_test_data): Likewise.
40172         (cos_tonearest_test_data): Likewise.
40173         (cos_towardzero_test_data): Likewise.
40174         (cos_downward_test_data): Likewise.
40175         (cos_upward_test_data): Likewise.
40176         (cosh_test_data): Likewise.
40177         (cosh_tonearest_test_data): Likewise.
40178         (cosh_towardzero_test_data): Likewise.
40179         (cosh_downward_test_data): Likewise.
40180         (cosh_upward_test_data): Likewise.
40181         (cpow_test_data): Likewise.
40182         (cproj_test_data): Likewise.
40183         (creal_test_data): Likewise.
40184         (csin_test_data): Likewise.
40185         (csinh_test_data): Likewise.
40186         (csqrt_test_data): Likewise.
40187         (ctan_test_data): Likewise.
40188         (ctan_tonearest_test_data): Likewise.
40189         (ctan_towardzero_test_data): Likewise.
40190         (ctan_downward_test_data): Likewise.
40191         (ctan_upward_test_data): Likewise.
40192         (ctanh_test_data): Likewise.
40193         (ctanh_tonearest_test_data): Likewise.
40194         (ctanh_towardzero_test_data): Likewise.
40195         (ctanh_downward_test_data): Likewise.
40196         (ctanh_upward_test_data): Likewise.
40197         (erf_test_data): Likewise.
40198         (erfc_test_data): Likewise.
40199         (exp_test_data): Likewise.
40200         (exp_tonearest_test_data): Likewise.
40201         (exp_towardzero_test_data): Likewise.
40202         (exp_downward_test_data): Likewise.
40203         (exp_upward_test_data): Likewise.
40204         (exp10_test_data): Likewise.
40205         (exp2_test_data): Likewise.
40206         (expm1_test_data): Likewise.
40207         (fabs_test_data): Likewise.
40208         (fdim_test_data): Likewise.
40209         (finite_test_data): Likewise.
40210         (floor_test_data): Likewise.
40211         (fma_test_data): Likewise.
40212         (fma_towardzero_test_data): Likewise.
40213         (fma_downward_test_data): Likewise.
40214         (fma_upward_test_data): Likewise.
40215         (fmax_test_data): Likewise.
40216         (fmin_test_data): Likewise.
40217         (fmod_test_data): Likewise.
40218         (fpclassify_test_data): Likewise.
40219         (frexp_test_data): Likewise.
40220         (gamma_test_data): Likewise.
40221         (hypot_test_data): Likewise.
40222         (ilogb_test_data): Likewise.
40223         (isfinite_test_data): Likewise.
40224         (isgreater_test_data): Likewise.
40225         (isgreaterequal_test_data): Likewise.
40226         (isinf_test_data): Likewise.
40227         (isless_test_data): Likewise.
40228         (islessequal_test_data): Likewise.
40229         (islessgreater_test_data): Likewise.
40230         (isnan_test_data): Likewise.
40231         (isnormal_test_data): Likewise.
40232         (issignaling_test_data): Likewise.
40233         (isunordered_test_data): Likewise.
40234         (j0_test_data): Likewise.
40235         (j1_test_data): Likewise.
40236         (jn_test_data): Likewise.
40237         (ldexp_test_data): Likewise.
40238         (lgamma_test_data): Likewise.
40239         (lrint_test_data): Likewise.
40240         (lrint_tonearest_test_data): Likewise.
40241         (lrint_towardzero_test_data): Likewise.
40242         (lrint_downward_test_data): Likewise.
40243         (lrint_upward_test_data): Likewise.
40244         (llrint_test_data): Likewise.
40245         (llrint_tonearest_test_data): Likewise.
40246         (llrint_towardzero_test_data): Likewise.
40247         (llrint_downward_test_data): Likewise.
40248         (llrint_upward_test_data): Likewise.
40249         (log_test_data): Likewise.
40250         (log10_test_data): Likewise.
40251         (log1p_test_data): Likewise.
40252         (log2_test_data): Likewise.
40253         (logb_test_data): Likewise.
40254         (logb_downward_test_data): Likewise.
40255         (lround_test_data): Likewise.
40256         (llround_test_data): Likewise.
40257         (modf_test_data): Likewise.
40258         (nearbyint_test_data): Likewise.
40259         (nextafter_test_data): Likewise.
40260         (nexttoward_test_data): Likewise.
40261         (pow_test_data): Likewise.
40262         (pow_tonearest_test_data): Likewise.
40263         (pow_towardzero_test_data): Likewise.
40264         (pow_downward_test_data): Likewise.
40265         (pow_upward_test_data): Likewise.
40266         (remainder_test_data): Likewise.
40267         (remainder_tonearest_test_data): Likewise.
40268         (remainder_towardzero_test_data): Likewise.
40269         (remainder_downward_test_data): Likewise.
40270         (remainder_upward_test_data): Likewise.
40271         (remquo_test_data): Likewise.
40272         (rint_test_data): Likewise.
40273         (rint_tonearest_test_data): Likewise.
40274         (rint_towardzero_test_data): Likewise.
40275         (rint_downward_test_data): Likewise.
40276         (rint_upward_test_data): Likewise.
40277         (round_test_data): Likewise.
40278         (scalb_test_data): Likewise.
40279         (scalbn_test_data): Likewise.
40280         (scalbln_test_data): Likewise.
40281         (signbit_test_data): Likewise.
40282         (sin_test_data): Likewise.
40283         (sin_tonearest_test_data): Likewise.
40284         (sin_towardzero_test_data): Likewise.
40285         (sin_downward_test_data): Likewise.
40286         (sin_upward_test_data): Likewise.
40287         (sincos_test_data): Likewise.
40288         (sinh_test_data): Likewise.
40289         (sinh_tonearest_test_data): Likewise.
40290         (sinh_towardzero_test_data): Likewise.
40291         (sinh_downward_test_data): Likewise.
40292         (sinh_upward_test_data): Likewise.
40293         (sqrt_test_data): Likewise.
40294         (tan_test_data): Likewise.
40295         (tan_tonearest_test_data): Likewise.
40296         (tan_towardzero_test_data): Likewise.
40297         (tan_downward_test_data): Likewise.
40298         (tan_upward_test_data): Likewise.
40299         (tanh_test_data): Likewise.
40300         (tgamma_test_data): Likewise.
40301         (trunc_test_data): Likewise.
40302         (y0_test_data): Likewise.
40303         (y1_test_data): Likewise.
40304         (yn_test_data): Likewise.
40305         (significand_test_data): Likewise.
40307         * math/gen-libm-test.pl (@functions): Remove variable.
40308         (generate_testfile): Don't handle START and END lines.
40309         * math/libm-test.inc (START): New macro.
40310         (END): Likewise.
40311         (END_COMPLEX): Likewise.
40312         (acos_test): Use END macro without arguments.
40313         (acos_test_tonearest): Likewise.
40314         (acos_test_towardzero): Likewise.
40315         (acos_test_downward): Likewise.
40316         (acos_test_upward): Likewise.
40317         (acosh_test): Likewise.
40318         (asin_test): Likewise.
40319         (asin_test_tonearest): Likewise.
40320         (asin_test_towardzero): Likewise.
40321         (asin_test_downward): Likewise.
40322         (asin_test_upward): Likewise.
40323         (asinh_test): Likewise.
40324         (atan_test): Likewise.
40325         (atanh_test): Likewise.
40326         (atan2_test): Likewise.
40327         (cabs_test): Likewise.
40328         (cacos_test): Use END_COMPLEX macro without arguments.
40329         (cacosh_test): Likewise.
40330         (carg_test): Use END macro without arguments.
40331         (casin_test): Use END_COMPLEX macro without arguments.
40332         (casinh_test): Likewise.
40333         (catan_test): Likewise.
40334         (catanh_test): Likewise.
40335         (cbrt_test): Use END macro without arguments.
40336         (ccos_test): Use END_COMPLEX macro without arguments.
40337         (ccosh_test): Likewise.
40338         (ceil_test): Use END macro without arguments.
40339         (cexp_test): Use END_COMPLEX macro without arguments.
40340         (cimag_test): Use END macro without arguments.
40341         (clog_test): Use END_COMPLEX macro without arguments.
40342         (clog10_test): Likewise.
40343         (conj_test): Likewise.
40344         (copysign_test): Use END macro without arguments.
40345         (cos_test): Likewise.
40346         (cos_test_tonearest): Likewise.
40347         (cos_test_towardzero): Likewise.
40348         (cos_test_downward): Likewise.
40349         (cos_test_upward): Likewise.
40350         (cosh_test): Likewise.
40351         (cosh_test_tonearest): Likewise.
40352         (cosh_test_towardzero): Likewise.
40353         (cosh_test_downward): Likewise.
40354         (cosh_test_upward): Likewise.
40355         (cpow_test): Use END_COMPLEX macro without arguments.
40356         (cproj_test): Likewise.
40357         (creal_test): Use END macro without arguments.
40358         (csin_test): Use END_COMPLEX macro without arguments.
40359         (csinh_test): Likewise.
40360         (csqrt_test): Likewise.
40361         (ctan_test): Likewise.
40362         (ctan_test_tonearest): Likewise.
40363         (ctan_test_towardzero): Likewise.
40364         (ctan_test_downward): Likewise.
40365         (ctan_test_upward): Likewise.
40366         (ctanh_test): Likewise.
40367         (ctanh_test_tonearest): Likewise.
40368         (ctanh_test_towardzero): Likewise.
40369         (ctanh_test_downward): Likewise.
40370         (ctanh_test_upward): Likewise.
40371         (erf_test): Use END macro without arguments.
40372         (erfc_test): Likewise.
40373         (exp_test): Likewise.
40374         (exp_test_tonearest): Likewise.
40375         (exp_test_towardzero): Likewise.
40376         (exp_test_downward): Likewise.
40377         (exp_test_upward): Likewise.
40378         (exp10_test): Likewise.
40379         (exp2_test): Likewise.
40380         (expm1_test): Likewise.
40381         (fabs_test): Likewise.
40382         (fdim_test): Likewise.
40383         (finite_test): Likewise.
40384         (floor_test): Likewise.
40385         (fma_test): Likewise.
40386         (fma_test_towardzero): Likewise.
40387         (fma_test_downward): Likewise.
40388         (fma_test_upward): Likewise.
40389         (fmax_test): Likewise.
40390         (fmin_test): Likewise.
40391         (fmod_test): Likewise.
40392         (fpclassify_test): Likewise.
40393         (frexp_test): Likewise.
40394         (gamma_test): Likewise.
40395         (hypot_test): Likewise.
40396         (ilogb_test): Likewise.
40397         (isfinite_test): Likewise.
40398         (isgreater_test): Likewise.
40399         (isgreaterequal_test): Likewise.
40400         (isinf_test): Likewise.
40401         (isless_test): Likewise.
40402         (islessequal_test): Likewise.
40403         (islessgreater_test): Likewise.
40404         (isnan_test): Likewise.
40405         (isnormal_test): Likewise.
40406         (issignaling_test): Likewise.
40407         (isunordered_test): Likewise.
40408         (j0_test): Likewise.
40409         (j1_test): Likewise.
40410         (jn_test): Likewise.
40411         (ldexp_test): Likewise.
40412         (lgamma_test): Likewise.
40413         (lrint_test): Likewise.
40414         (lrint_test_tonearest): Likewise.
40415         (lrint_test_towardzero): Likewise.
40416         (lrint_test_downward): Likewise.
40417         (lrint_test_upward): Likewise.
40418         (llrint_test): Likewise.
40419         (llrint_test_tonearest): Likewise.
40420         (llrint_test_towardzero): Likewise.
40421         (llrint_test_downward): Likewise.
40422         (llrint_test_upward): Likewise.
40423         (log_test): Likewise.
40424         (log10_test): Likewise.
40425         (log1p_test): Likewise.
40426         (log2_test): Likewise.
40427         (logb_test): Likewise.
40428         (logb_test_downward): Likewise.
40429         (lround_test): Likewise.
40430         (llround_test): Likewise.
40431         (modf_test): Likewise.
40432         (nearbyint_test): Likewise.
40433         (nextafter_test): Likewise.
40434         (nexttoward_test): Likewise.
40435         (pow_test): Likewise.
40436         (pow_test_tonearest): Likewise.
40437         (pow_test_towardzero): Likewise.
40438         (pow_test_downward): Likewise.
40439         (pow_test_upward): Likewise.
40440         (remainder_test): Likewise.
40441         (remainder_test_tonearest): Likewise.
40442         (remainder_test_towardzero): Likewise.
40443         (remainder_test_downward): Likewise.
40444         (remainder_test_upward): Likewise.
40445         (remquo_test): Likewise.
40446         (rint_test): Likewise.
40447         (rint_test_tonearest): Likewise.
40448         (rint_test_towardzero): Likewise.
40449         (rint_test_downward): Likewise.
40450         (rint_test_upward): Likewise.
40451         (round_test): Likewise.
40452         (scalb_test): Likewise.
40453         (scalbn_test): Likewise.
40454         (scalbln_test): Likewise.
40455         (signbit_test): Likewise.
40456         (sin_test): Likewise.
40457         (sin_test_tonearest): Likewise.
40458         (sin_test_towardzero): Likewise.
40459         (sin_test_downward): Likewise.
40460         (sin_test_upward): Likewise.
40461         (sincos_test): Likewise.
40462         (sinh_test): Likewise.
40463         (sinh_test_tonearest): Likewise.
40464         (sinh_test_towardzero): Likewise.
40465         (sinh_test_downward): Likewise.
40466         (sinh_test_upward): Likewise.
40467         (sqrt_test): Likewise.
40468         (tan_test): Likewise.
40469         (tan_test_tonearest): Likewise.
40470         (tan_test_towardzero): Likewise.
40471         (tan_test_downward): Likewise.
40472         (tan_test_upward): Likewise.
40473         (tanh_test): Likewise.
40474         (tgamma_test): Likewise.
40475         (trunc_test): Likewise.
40476         (y0_test): Likewise.
40477         (y1_test): Likewise.
40478         (yn_test): Likewise.
40479         (significand_test): Likewise.
40481 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
40483         [BZ #15381]
40484         * libio/genops.c (_IO_no_init): Initialize wide struct info.
40486 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
40488         [BZ #14894]
40489         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
40490         __ppc_mdoio and __ppc_mdoom.
40491         * manual/platform.texi: Document new functions __ppc_yield,
40492         __ppc_mdoio and __ppc_mdoom.
40494 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
40496         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
40497         (main): Mention "tls" pseudo-hwcap is legacy.
40498         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
40500 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
40502         * math/gen-libm-test.pl (parse_args): Output only string of
40503         arguments as text for test name, not full call or descriptions of
40504         tests for extra outputs.
40505         (generate_testfile): Do not pass function name to parse_args.
40506         Generate this_func variable from START.
40507         * math/libm-test.inc (struct test_f_f_data): Rename test_name
40508         field to arg_str.
40509         (struct test_ff_f_data): Likewise.
40510         (test_ff_f_data_nexttoward): Likewise.
40511         (struct test_fi_f_data): Likewise.
40512         (struct test_fl_f_data): Likewise.
40513         (struct test_if_f_data): Likewise.
40514         (struct test_fff_f_data): Likewise.
40515         (struct test_c_f_data): Likewise.
40516         (struct test_f_f1_data): Likewise.  Remove field extra_name.
40517         (struct test_fF_f1_data): Likewise.
40518         (struct test_ffI_f1_data): Likewise.
40519         (struct test_c_c_data): Rename test_name field to arg_str.
40520         (struct test_cc_c_data): Likewise.
40521         (struct test_f_i_data): Likewise.
40522         (struct test_ff_i_data): Likewise.
40523         (struct test_f_l_data): Likewise.
40524         (struct test_f_L_data): Likewise.
40525         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
40526         and extra2_name.
40527         (COMMON_TEST_SETUP): New macro.
40528         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
40529         (COMMON_TEST_CLEANUP): Likewise.
40530         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
40531         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
40532         macros.
40533         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
40534         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
40535         macros.
40536         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
40537         (RUN_TEST_fff_f): Take argument string.  Call new setup and
40538         cleanup macros.
40539         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
40540         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
40541         macros.
40542         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
40543         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
40544         macros.
40545         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
40546         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
40547         cleanup macros.
40548         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
40549         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
40550         cleanup macros.
40551         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
40552         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
40553         cleanup macros.
40554         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
40555         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
40556         macros.
40557         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
40558         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
40559         macros.
40560         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
40561         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
40562         macros.
40563         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
40564         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
40565         cleanup macros.
40566         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
40567         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
40568         cleanup macros.
40569         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
40570         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
40571         macros.
40572         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
40573         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
40574         cleanup macros.
40575         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
40576         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
40577         macros.
40578         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
40579         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
40580         macros.
40581         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
40582         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
40583         cleanup macros.
40584         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
40586 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
40588         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
40589         to _sifields.sigfault.
40590         (si_addr_lsb): Define new macro.
40591         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
40592         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40593         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
40595 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
40597         [BZ #15441]
40598         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
40599         returns -1.
40600         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
40601         null return -1.
40602         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
40603         loading the domain.
40605 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
40607         * math/gen-libm-test.pl (parse_args): Do not include expected
40608         result in test name.
40609         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
40610         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40611         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40612         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40613         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40616 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
40618         * benchtests/Makefile: Sort function entries.
40620         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
40621         tanh, asinh, acosh, atanh.
40622         * benchtests/acos-inputs: New file.
40623         * benchtests/acosh-inputs: New file.
40624         * benchtests/asin-inputs: New file.
40625         * benchtests/asinh-inputs: New file.
40626         * benchtests/atanh-inputs: New file.
40627         * benchtests/cosh-inputs: New file.
40628         * benchtests/log-inputs: New file.
40629         * benchtests/sinh-inputs: New file.
40630         * benchtests/tanh-inputs: New file.
40632 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
40634         [BZ #15339]
40635         * posix/tst-getaddrinfo4.c: New test.
40636         * posix/Makefile (tests): Add it.
40638 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40640         [BZ #15339]
40641         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
40642         when no services were used.
40643         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
40644         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
40646 2013-05-21  Andreas Schwab  <schwab@suse.de>
40648         [BZ #15014]
40649         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
40650         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
40651         successful.
40652         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
40653         redundant variable declarations and reallocation of buffer when
40654         parsing as IPv6 address.  Always set NSS status when called from
40655         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
40656         buffer too small.  Correct computation of needed size.
40657         * nss/Makefile (tests): Add test-digits-dots.
40658         * nss/test-digits-dots.c: New test.
40660 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40662         * benchtests/Makefile: Remove instructions for adding
40663         benchmark tests.
40664         * benchtests/README: New file to explain how to execute and
40665         enhance the benchmark tests.
40667 2013-05-21  Andreas Schwab  <schwab@suse.de>
40669         [BZ #15493]
40670         * setjmp/Makefile (tests): Add tst-sigsetjmp.
40671         * setjmp/tst-sigsetjmp.c: New test.
40673 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
40675         * sysdeps/x86_64/memset.S (memset): New implementation.
40676         (__bzero): Likewise.
40677         (__memset_tail): New function.
40679 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
40681         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
40682         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
40683         __memcpy_sse2_unaligned ifunc selection.
40684         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
40685         Add memcpy-sse2-unaligned.S.
40686         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
40687         Add: __memcpy_sse2_unaligned.
40689 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
40691         [BZ #15490]
40692         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
40693         math_force_eval before restoring floating-point envrionment.
40694         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
40695         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
40696         Likewise.
40697         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
40698         <math_private.h>.
40699         (__nearbyintl): Use math_force_eval before restoring
40700         floating-point environment.
40701         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
40703         * math/gen-libm-test.pl (special_functions): Remove.
40704         (parse_args): Don't handle TEST_extra.  Handle functions with no
40705         return value.
40706         * math/libm-test.inc (struct test_sincos_data): Replace with
40707         struct test_fFF_11_data.
40708         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
40709         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
40710         (sincos_test_data): Change element type to struct
40711         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
40712         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
40713         RUN_TEST_LOOP_sincos.
40714         * math/README.libm-test: Don't mention special handling of
40715         individual functions.
40716         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
40717         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40718         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40719         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40720         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40723         * math/gen-libm-test.pl (get_variable): Remove function.
40724         (parse_args): Don't show pointer parameters to call in test
40725         names.  Use "extra output N" in test names for extra outputs
40726         rather than naming variables.
40728 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
40730         [BZ #15488]
40731         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
40732         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
40733         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
40734         double tests.
40735         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
40736         disable.
40737         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
40738         check_long_double.
40740         * math/gen-libm-test.pl (@tests): Remove variable.
40741         ($count): Likewise.
40742         (new_test): Remove function.
40743         (show_exceptions): New function.
40744         (special_functions): Use show_exceptions instead of new_test.
40745         (parse_args): Likewise.
40746         (generate_testfile): Pass only function name in generated call to
40747         print_max_error or print_complex_max_error.
40748         (get_ulps): Do not handle complex tests specially.
40749         (output_test): Rename to ...
40750         (get_all_ulps_for_test): ... this.  Return a string rather than
40751         printing to a file.  Require ulps to be present.
40752         (output_ulps): Generate arrays rather than #defines.
40753         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
40754         (struct ulp_data): New type.
40755         (BUILD_COMPLEX_ULP): Remove macro.
40756         (compare_ulp_data): New function.
40757         (find_ulps): Likewise.
40758         (find_test_ulps): Likewise.
40759         (find_function_ulps): Likewise.
40760         (find_complex_function_ulps): Likewise.
40761         (print_max_error): Determine allowed ulps using
40762         find_function_ulps.
40763         (print_complex_max_error): Determine allowed ulps using
40764         find_complex_function_ulps.
40765         (check_float_internal): Determine max ulps using find_test_ulps.
40766         (check_float): Do not take max_ulp parameter.  Update call to
40767         check_float_internal.
40768         (check_complex): Likewise.
40769         (check_int): Do not take max_ulp parameter.
40770         (check_long): Likewise.
40771         (check_bool): Likewise.
40772         (check_longlong): Likewise.
40773         (struct test_f_f_data): Remove max_ulp field.
40774         (struct test_ff_f_data): Likewise.
40775         (struct test_ff_f_data_nexttoward): Likewise.
40776         (struct test_fi_f_data): Likewise.
40777         (struct test_fl_f_data): Likewise.
40778         (struct test_if_f_data): Likewise.
40779         (struct test_fff_f_data): Likewise.
40780         (struct test_c_f_data): Likewise.
40781         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
40782         (struct test_fF_f1_data): Likewise.
40783         (struct test_ffI_f1_data): Likewise.
40784         (struct test_c_c_data): Remove max_ulp field.
40785         (struct test_cc_c_data): Likewise.
40786         (struct test_f_i_data): Likewise.
40787         (struct test_ff_i_data): Likewise.
40788         (struct test_f_l_data): Likewise.
40789         (struct test_f_L_data): Likewise.
40790         (struct test_sincos_data): Likewise.
40791         (RUN_TEST_f_f): Do not handle ulps.
40792         (RUN_TEST_LOOP_f_f): Likewise.
40793         (RUN_TEST_2_f): Likewise.
40794         (RUN_TEST_LOOP_2_f): Likewise.
40795         (RUN_TEST_fff_f): Likewise.
40796         (RUN_TEST_LOOP_fff_f): Likewise.
40797         (RUN_TEST_c_f): Likewise.
40798         (RUN_TEST_LOOP_c_f): Likewise.
40799         (RUN_TEST_f_f1): Likewise.
40800         (RUN_TEST_LOOP_f_f1): Likewise.
40801         (RUN_TEST_fF_f1): Likewise.
40802         (RUN_TEST_LOOP_fF_f1): Likewise.
40803         (RUN_TEST_fI_f1): Likewise.
40804         (RUN_TEST_LOOP_fI_f1): Likewise.
40805         (RUN_TEST_ffI_f1): Likewise.
40806         (RUN_TEST_LOOP_ffI_f1): Likewise.
40807         (RUN_TEST_c_c): Likewise.
40808         (RUN_TEST_LOOP_c_c): Likewise.
40809         (RUN_TEST_cc_c): Likewise.
40810         (RUN_TEST_LOOP_cc_c): Likewise.
40811         (RUN_TEST_f_i): Likewise.
40812         (RUN_TEST_LOOP_f_i): Likewise.
40813         (RUN_TEST_f_i_tg): Likewise.
40814         (RUN_TEST_LOOP_f_i_tg): Likewise.
40815         (RUN_TEST_ff_i_tg): Likewise.
40816         (RUN_TEST_LOOP_ff_i_tg): Likewise.
40817         (RUN_TEST_f_b): Likewise.
40818         (RUN_TEST_LOOP_f_b): Likewise.
40819         (RUN_TEST_f_b_tg): Likewise.
40820         (RUN_TEST_LOOP_f_b_tg): Likewise.
40821         (RUN_TEST_f_l): Likewise.
40822         (RUN_TEST_LOOP_f_l): Likewise.
40823         (RUN_TEST_f_L): Likewise.
40824         (RUN_TEST_LOOP_f_L): Likewise.
40825         (RUN_TEST_sincos): Likewise.
40826         (RUN_TEST_LOOP_sincos): Likewise.
40828 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
40830         [BZ #15480]
40831         [BZ #15485]
40832         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
40833         main case of finite arguments, set rounding mode to FE_TONEAREST
40834         and discard exceptions.
40835         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
40836         exceptions.
40837         (remainder_tonearest_test_data): New variable.
40838         (remainder_test_tonearest): New function.
40839         (remainder_towardzero_test_data): New variable.
40840         (remainder_test_towardzero): New function.
40841         (remainder_downward_test_data): New variable.
40842         (remainder_test_downward): New function.
40843         (remainder_upward_test_data): New variable.
40844         (remainder_test_upward): New function.
40845         (main): Call the new test functions.
40847         * math/libm-test.inc (struct test_f_f1_data): Remove field
40848         extra_init.
40849         (struct test_fF_f1_data): Likewise.
40850         (struct test_ffI_f1_data): Likewise.
40851         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
40852         based on value of EXTRA_EXPECTED.
40853         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
40854         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
40855         EXTRA_VAR based on value of EXTRA_EXPECTED.
40856         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
40857         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
40858         EXTRA_VAR based on value of EXTRA_EXPECTED.
40859         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
40860         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
40861         EXTRA_VAR based on value of EXTRA_EXPECTED.
40862         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
40863         * math/gen-libm-test.pl (parse_args): Don't output initializers
40864         for extra output values.
40866         * math/libm-test.inc (check_int): Expect result to be exactly
40867         equal to expected value and do not handle ulps.
40868         (check_long): Likewise.
40869         (check_longlong): Likewise.
40871         * math/libm-test.inc (ceil_test_data): Test for "inexact"
40872         exceptions.
40873         (cimag_test_data): Likewise.
40874         (conj_test_data): Likewise.
40875         (copysign_test_data): Likewise.
40876         (cproj_test_data): Likewise.
40877         (creal_test_data): Likewise.
40878         (fabs_test_data): Likewise.
40879         (fdim_test_data): Likewise.
40880         (finite_test_data): Likewise.
40881         (floor_test_data): Likewise.
40882         (fmax_test_data): Likewise.
40883         (fmin_test_data): Likewise.
40884         (fmod_test_data): Likewise.
40885         (fpclassify_test_data): Likewise.
40886         (frexp_test_data): Likewise.
40887         (ilogb_test_data): Likewise.
40888         (isfinite_test_data): Likewise.
40889         (isgreater_test_data): Likewise.
40890         (isgreaterequal_test_data): Likewise.
40891         (isinf_test_data): Likewise.
40892         (isless_test_data): Likewise.
40893         (islessequal_test_data): Likewise.
40894         (islessgreater_test_data): Likewise.
40895         (isnan_test_data): Likewise.
40896         (isnormal_test_data): Likewise.
40897         (issignaling_test_data): Likewise.
40898         (isunordered_test_data): Likewise.
40899         (ldexp_test_data): Likewise.
40900         (lrint_test_data): Likewise.
40901         (lrint_test_data) [TEST_FLOAT]: Disable one test.
40902         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
40903         (lrint_tonearest_test_data): Test for "inexact" exceptions.
40904         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
40905         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
40906         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
40907         test input.
40908         (lrint_towardzero_test_data): Test for "inexact" exceptions.
40909         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
40910         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
40911         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
40912         that test input.
40913         (lrint_downward_test_data): Test for "inexact" exceptions.
40914         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
40915         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
40916         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
40917         test input.
40918         (lrint_upward_test_data): Test for "inexact" exceptions.
40919         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
40920         test input.
40921         (llrint_test_data): Test for "inexact" exceptions.
40922         (llrint_test_data) [TEST_FLOAT]: Disable one test.
40923         (llrint_tonearest_test_data): Test for "inexact" exceptions.
40924         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
40925         (llrint_towardzero_test_data): Test for "inexact" exceptions.
40926         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
40927         (llrint_downward_test_data): Test for "inexact" exceptions.
40928         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
40929         (llrint_upward_test_data): Test for "inexact" exceptions.
40930         (logb_test_data): Likewise.
40931         (logb_downward_test_data): Likewise.
40932         (nextafter_test_data): Likewise.
40933         (nexttoward_test_data): Likewise.
40934         (remainder_test_data): Likewise.
40935         (remquo_test_data): Likewise.
40936         (scalbn_test_data): Likewise.
40937         (scalbln_test_data): Likewise.
40938         (signbit_test_data): Likewise.
40939         (sqrt_test_data): Likewise.
40940         (significand_test_data): Likewise.
40942 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
40944         [BZ #15424]
40945         * benchtests/bench-modf.c (struct args): Mark arg0 as
40946         volatile.
40947         * scripts/bench.pl: Mark members of struct args as volatile.
40949 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40951         [BZ # 15497]
40952         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
40953         negative infinity on POWER6 or lower.
40954         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
40956 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
40958         [BZ #15442]
40959         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
40960         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
40961         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
40962         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
40963         (_FP_SETQNAN): New macro.
40964         (_FP_SETQNAN_SEMIRAW): Likewise.
40965         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
40966         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
40967         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
40968         (FP_EXTEND): Use _FP_FRAC_SNANP.
40969         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
40970         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
40971         into account.
40972         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
40973         New macro.
40974         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
40975         Likewise.
40977 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
40979         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
40980         with DIVIDE_BY_ZERO_EXCEPTION.
40981         (gamma_test_data): Likewise.
40982         (lgamma_test_data): Likewise.
40983         (log_test_data): Likewise.
40984         (log10_test_data): Likewise.
40985         (log2_test_data): Likewise.
40986         (tgamma_test_data): Likewise.
40988         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
40989         (acos_test_tonearest): Likewise.
40990         (acos_test_towardzero): Likewise.
40991         (acos_test_downward): Likewise.
40992         (acos_test_upward): Likewise.
40993         (acosh_test): Likewise.
40994         (asin_test): Likewise.
40995         (asin_test_tonearest): Likewise.
40996         (asin_test_towardzero): Likewise.
40997         (asin_test_downward): Likewise.
40998         (asin_test_upward): Likewise.
40999         (asinh_test): Likewise.
41000         (atan_test): Likewise.
41001         (atanh_test): Likewise.
41002         (atan2_test): Likewise.
41003         (cabs_test): Likewise.
41004         (cacos_test): Likewise.
41005         (cacosh_test): Likewise.
41006         (casin_test): Likewise.
41007         (casinh_test): Likewise.
41008         (catan_test): Likewise.
41009         (catanh_test): Likewise.
41010         (cbrt_test): Likewise.
41011         (ccos_test): Likewise.
41012         (ccosh_test): Likewise.
41013         (cexp_test): Likewise.
41014         (clog_test): Likewise.
41015         (clog10_test): Likewise.
41016         (cos_test): Likewise.
41017         (cos_test_tonearest): Likewise.
41018         (cos_test_towardzero): Likewise.
41019         (cos_test_downward): Likewise.
41020         (cos_test_upward): Likewise.
41021         (cosh_test): Likewise.
41022         (cosh_test_tonearest): Likewise.
41023         (cosh_test_towardzero): Likewise.
41024         (cosh_test_downward): Likewise.
41025         (cosh_test_upward): Likewise.
41026         (cpow_test): Likewise.
41027         (csin_test): Likewise.
41028         (csinh_test): Likewise.
41029         (csqrt_test): Likewise.
41030         (ctan_test): Likewise.
41031         (ctan_test_tonearest): Likewise.
41032         (ctan_test_towardzero): Likewise.
41033         (ctan_test_downward): Likewise.
41034         (ctan_test_upward): Likewise.
41035         (ctanh_test): Likewise.
41036         (ctanh_test_tonearest): Likewise.
41037         (ctanh_test_towardzero): Likewise.
41038         (ctanh_test_downward): Likewise.
41039         (ctanh_test_upward): Likewise.
41040         (erf_test): Likewise.
41041         (erfc_test): Likewise.
41042         (exp_test): Likewise.
41043         (exp_test_tonearest): Likewise.
41044         (exp_test_towardzero): Likewise.
41045         (exp_test_downward): Likewise.
41046         (exp_test_upward): Likewise.
41047         (exp10_test): Likewise.
41048         (exp2_test): Likewise.
41049         (expm1_test): Likewise.
41050         (fmod_test): Likewise.
41051         (gamma_test): Likewise.
41052         (hypot_test): Likewise.
41053         (j0_test): Likewise.
41054         (j1_test): Likewise.
41055         (jn_test): Likewise.
41056         (lgamma_test): Likewise.
41057         (log_test): Likewise.
41058         (log10_test): Likewise.
41059         (log1p_test): Likewise.
41060         (log2_test): Likewise.
41061         (logb_test_downward): Likewise.
41062         (pow_test): Likewise.
41063         (pow_test_tonearest): Likewise.
41064         (pow_test_towardzero): Likewise.
41065         (pow_test_downward): Likewise.
41066         (pow_test_upward): Likewise.
41067         (remainder_test): Likewise.
41068         (remquo_test): Likewise.
41069         (sin_test): Likewise.
41070         (sin_test_tonearest): Likewise.
41071         (sin_test_towardzero): Likewise.
41072         (sin_test_downward): Likewise.
41073         (sin_test_upward): Likewise.
41074         (sincos_test): Likewise.
41075         (sinh_test): Likewise.
41076         (sinh_test_tonearest): Likewise.
41077         (sinh_test_towardzero): Likewise.
41078         (sinh_test_downward): Likewise.
41079         (sinh_test_upward): Likewise.
41080         (sqrt_test): Likewise.
41081         (tan_test): Likewise.
41082         (tan_test_tonearest): Likewise.
41083         (tan_test_towardzero): Likewise.
41084         (tan_test_downward): Likewise.
41085         (tan_test_upward): Likewise.
41086         (tanh_test): Likewise.
41087         (tgamma_test): Likewise.
41088         (y0_test): Likewise.
41089         (y1_test): Likewise.
41090         (yn_test): Likewise.
41092         * math/gen-libm-test.pl (adjust_arg): Remove function.
41093         (special_function): Remove argument $in_func.  Only handle
41094         generating output for tables of tests, not inside functions.
41095         (parse_args): Likewise.
41096         (generate_testfile): Remove variable $in_func.  Update call to
41097         parse_args.
41098         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
41099         (MINUS_ZERO_INIT): Rename macro to minus_zero.
41100         (PLUS_INFTY_INIT): Rename macro to plus_infty.
41101         (MINUS_INFTY_INIT): Rename macro to minus_infty.
41102         (QNAN_VALUE_INIT): Rename macro to qnan_value.
41103         (MAX_VALUE_INIT): Rename macro to max_value.
41104         (MIN_VALUE_INIT): Rename macro to min_value.
41105         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
41106         (plus_zero): Remove variable.
41107         (minus_zero): Likewise.
41108         (plus_infty): Likewise.
41109         (minus_infty): Likewise.
41110         (qnan_value): Likewise.
41111         (max_value): Likewise.
41112         (min_value): Likewise.
41113         (min_subnorm_value): Likewise.
41115 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41117         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
41118         uint64_t or uint32_t usage.
41119         * crypt/sha256-block.c: Likewise.
41120         * crypt/sha256-crypt.c: Likewise.
41121         * crypt/sha256.c: Likewise.
41122         * crypt/sha512-block.c: Likewise.
41123         * crypt/sha512-crypt.c: Likewise.
41124         * crypt/sha512.c: Likewise.
41125         * debug/backtrace-tst.c: Likewise.
41126         * debug/pcprofiledump.c: Likewise.
41127         * elf/cache.c: Likewise.
41128         * elf/dl-cache.c: Likewise.
41129         * elf/dl-misc.c: Likewise.
41130         * elf/dl-profile.c: Likewise.
41131         * elf/dl-support.c: Likewise.
41132         * elf/ldconfig.c: Likewise.
41133         * elf/sprof.c: Likewise.
41134         * iconv/dummy-repertoire.c: Likewise.
41135         * iconv/iconv_charmap.c: Likewise.
41136         * iconv/skeleton.c: Likewise.
41137         * iconvdata/8bit-generic.c: Likewise.
41138         * iconvdata/cp737.h: Likewise.
41139         * iconvdata/cp775.h: Likewise.
41140         * iconvdata/ibm1008.h: Likewise.
41141         * iconvdata/ibm1025.h: Likewise.
41142         * iconvdata/ibm1046.h: Likewise.
41143         * iconvdata/ibm1097.h: Likewise.
41144         * iconvdata/ibm1112.h: Likewise.
41145         * iconvdata/ibm1122.h: Likewise.
41146         * iconvdata/ibm1123.h: Likewise.
41147         * iconvdata/ibm1124.h: Likewise.
41148         * iconvdata/ibm1129.h: Likewise.
41149         * iconvdata/ibm1130.h: Likewise.
41150         * iconvdata/ibm1132.h: Likewise.
41151         * iconvdata/ibm1133.h: Likewise.
41152         * iconvdata/ibm1137.h: Likewise.
41153         * iconvdata/ibm1140.h: Likewise.
41154         * iconvdata/ibm1141.h: Likewise.
41155         * iconvdata/ibm1142.h: Likewise.
41156         * iconvdata/ibm1143.h: Likewise.
41157         * iconvdata/ibm1144.h: Likewise.
41158         * iconvdata/ibm1145.h: Likewise.
41159         * iconvdata/ibm1146.h: Likewise.
41160         * iconvdata/ibm1147.h: Likewise.
41161         * iconvdata/ibm1148.h: Likewise.
41162         * iconvdata/ibm1149.h: Likewise.
41163         * iconvdata/ibm1153.h: Likewise.
41164         * iconvdata/ibm1154.h: Likewise.
41165         * iconvdata/ibm1155.h: Likewise.
41166         * iconvdata/ibm1156.h: Likewise.
41167         * iconvdata/ibm1157.h: Likewise.
41168         * iconvdata/ibm1158.h: Likewise.
41169         * iconvdata/ibm1160.h: Likewise.
41170         * iconvdata/ibm1161.h: Likewise.
41171         * iconvdata/ibm1162.h: Likewise.
41172         * iconvdata/ibm1163.h: Likewise.
41173         * iconvdata/ibm1164.h: Likewise.
41174         * iconvdata/ibm1166.h: Likewise.
41175         * iconvdata/ibm1167.h: Likewise.
41176         * iconvdata/ibm12712.h: Likewise.
41177         * iconvdata/ibm1390.h: Likewise.
41178         * iconvdata/ibm1399.h: Likewise.
41179         * iconvdata/ibm16804.h: Likewise.
41180         * iconvdata/ibm4517.h: Likewise.
41181         * iconvdata/ibm4899.h: Likewise.
41182         * iconvdata/ibm4909.h: Likewise.
41183         * iconvdata/ibm4971.h: Likewise.
41184         * iconvdata/ibm5347.h: Likewise.
41185         * iconvdata/ibm803.h: Likewise.
41186         * iconvdata/ibm856.h: Likewise.
41187         * iconvdata/ibm901.h: Likewise.
41188         * iconvdata/ibm902.h: Likewise.
41189         * iconvdata/ibm9030.h: Likewise.
41190         * iconvdata/ibm9066.h: Likewise.
41191         * iconvdata/ibm921.h: Likewise.
41192         * iconvdata/ibm922.h: Likewise.
41193         * iconvdata/ibm9448.h: Likewise.
41194         * iconvdata/isiri-3342.h: Likewise.
41195         * iconvdata/jis0201.h: Likewise.
41196         * include/link.h: Likewise.
41197         * include/netdb.h: Likewise.
41198         * inet/check_native.c: Likewise.
41199         * inet/check_pf.c: Likewise.
41200         * inet/getipv4sourcefilter.c: Likewise.
41201         * inet/getnameinfo.c: Likewise.
41202         * inet/getsourcefilter.c: Likewise.
41203         * inet/htonl.c: Likewise.
41204         * inet/setipv4sourcefilter.c: Likewise.
41205         * inet/setsourcefilter.c: Likewise.
41206         * inet/test-inet6_opt.c: Likewise.
41207         * inet/tst-network.c: Likewise.
41208         * locale/C-collate.c: Likewise.
41209         * locale/C-ctype.c: Likewise.
41210         * locale/C-time.c: Likewise.
41211         * locale/C-translit.h: Likewise.
41212         * locale/loadarchive.c: Likewise.
41213         * locale/programs/3level.h: Likewise.
41214         * locale/programs/charmap.c: Likewise.
41215         * locale/programs/charmap.h: Likewise.
41216         * locale/programs/ld-address.c: Likewise.
41217         * locale/programs/ld-collate.c: Likewise.
41218         * locale/programs/ld-ctype.c: Likewise.
41219         * locale/programs/ld-identification.c: Likewise.
41220         * locale/programs/ld-measurement.c: Likewise.
41221         * locale/programs/ld-messages.c: Likewise.
41222         * locale/programs/ld-monetary.c: Likewise.
41223         * locale/programs/ld-name.c: Likewise.
41224         * locale/programs/ld-numeric.c: Likewise.
41225         * locale/programs/ld-paper.c: Likewise.
41226         * locale/programs/ld-telephone.c: Likewise.
41227         * locale/programs/ld-time.c: Likewise.
41228         * locale/programs/linereader.c: Likewise.
41229         * locale/programs/locale.c: Likewise.
41230         * locale/programs/locarchive.c: Likewise.
41231         * locale/programs/locfile.h: Likewise.
41232         * locale/programs/repertoire.c: Likewise.
41233         * locale/programs/simple-hash.c: Likewise.
41234         * locale/programs/simple-hash.h: Likewise.
41235         * malloc/memusage.c: Likewise.
41236         * malloc/memusagestat.c: Likewise.
41237         * nis/nis_defaults.c: Likewise.
41238         * nis/nis_hash.c: Likewise.
41239         * nis/nis_print.c: Likewise.
41240         * nis/nis_xdr.c: Likewise.
41241         * nscd/connections.c: Likewise.
41242         * nscd/hstcache.c: Likewise.
41243         * nscd/nscd_gethst_r.c: Likewise.
41244         * nscd/nscd_getserv_r.c: Likewise.
41245         * nscd/nscd_helper.c: Likewise.
41246         * nscd/servicescache.c: Likewise.
41247         * nss/makedb.c: Likewise.
41248         * nss/nss_db/db-XXX.c: Likewise.
41249         * nss/nss_db/db-initgroups.c: Likewise.
41250         * nss/nss_db/db-netgrp.c: Likewise.
41251         * nss/nss_files/files-network.c: Likewise.
41252         * nss/nss_files/files-parse.c: Likewise.
41253         * posix/bug-regex5.c: Likewise.
41254         * posix/fnmatch_loop.c: Likewise.
41255         * posix/regcomp.c: Likewise.
41256         * posix/regexec.c: Likewise.
41257         * posix/tst-rfc3484-2.c: Likewise.
41258         * posix/tst-rfc3484-3.c: Likewise.
41259         * posix/tst-rfc3484.c: Likewise.
41260         * resolv/nss_dns/dns-canon.c: Likewise.
41261         * resolv/nss_dns/dns-network.c: Likewise.
41262         * resolv/res_init.c: Likewise.
41263         * resolv/res_mkquery.c: Likewise.
41264         * resolv/tst-aton.c: Likewise.
41265         * stdlib/cxa_atexit.c: Likewise.
41266         * stdlib/cxa_finalize.c: Likewise.
41267         * stdlib/gen-fpioconst.c: Likewise.
41268         * stdlib/strtol_l.c: Likewise.
41269         * string/tst-endian.c: Likewise.
41270         * sunrpc/auth_des.c: Likewise.
41271         * sunrpc/clnt_udp.c: Likewise.
41272         * sunrpc/rtime.c: Likewise.
41273         * sunrpc/svcauth_des.c: Likewise.
41274         * sunrpc/xdr.c: Likewise.
41275         * sunrpc/xdr_intXX_t.c: Likewise.
41276         * sunrpc/xdr_rec.c: Likewise.
41277         * sysdeps/generic/ldconfig.h: Likewise.
41278         * sysdeps/generic/ldsodefs.h: Likewise.
41279         * sysdeps/generic/memusage.h: Likewise.
41280         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
41281         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
41282         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
41283         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
41284         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41285         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41286         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
41287         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
41288         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41289         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
41290         * sysdeps/posix/getaddrinfo.c: Likewise.
41291         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41292         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41293         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41294         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41295         * sysdeps/powerpc/test-gettimebase.c: Likewise.
41296         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
41297         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
41298         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
41299         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
41300         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
41301         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41302         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41303         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
41304         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
41305         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
41306         * sysdeps/x86_64/dl-tls.h: Likewise.
41307         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
41308         * time/alt_digit.c: Likewise.
41309         * time/era.c: Likewise.
41310         * wcsmbs/tst-c16c32-1.c: Likewise.
41312 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
41314         * math/libm-test.inc (struct test_sincos_data): New type.
41315         (RUN_TEST_LOOP_sincos): New macro.
41316         (sincos_test_data): New variable.
41317         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
41319 2013-05-16  Richard Henderson  <rth@redhat.com>
41321         * math/atest-exp2.c (LIMB64): New macro.
41322         (CONSTSZ): New macro.
41323         (mp_exp1, mp_exp_m1, mp_log2): New variables.
41324         (hexdig): Move ...
41325         (print_mpn_fp): ... to function scope.
41326         (read_mpn_hex): Remove.
41327         (get_log2): Remove.
41328         (exp2_mpn): Use mp_log2.
41329         (main): Use mp_exp1.
41331 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
41333         * math/libm-test.inc: Remove comment about not testing "inexact"
41334         exceptions.
41335         (INEXACT_EXCEPTION): New macro.
41336         (NO_INEXACT_EXCEPTION): Likewise.
41337         (INVALID_EXCEPTION_OK): Update value.
41338         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41339         (OVERFLOW_EXCEPTION_OK): Likewise.
41340         (UNDERFLOW_EXCEPTION_OK): Likewise.
41341         (IGNORE_ZERO_INF_SIGN): Likewise.
41342         (ERRNO_UNCHANGED): Likewise.
41343         (ERRNO_EDOM): Likewise.
41344         (ERRNO_ERANGE): Likewise.
41345         (test_exceptions): Handle testing "inexact" exceptions.
41346         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
41347         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
41348         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
41349         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
41350         INEXACT_EXCEPTION.
41351         (rint_towardzero_test_data): Likewise.
41352         (rint_downward_test_data): Likewise.
41353         (rint_upward_test_data): Likewise.
41355         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
41356         with OVERFLOW_EXCEPTION.
41357         (exp10_test_data): Likewise.
41358         (exp2_test_data): Likewise.
41359         (expm1_test_data): Likewise.
41360         (lgamma_test_data): Likewise.
41361         (pow_test_data): Likewise.
41362         (tgamma_test_data): Likewise.
41363         (yn_test_data): Remove duplicate test of overflow.
41365         * math/libm-test.inc (struct test_cc_c_data): New type.
41366         (RUN_TEST_LOOP_cc_c): New macro.
41367         (cpow_test_data): New variable.
41368         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
41370         * math/libm-test.inc (struct test_f_L_data): New type.
41371         (RUN_TEST_LOOP_f_L): New macro.
41372         (llrint_test_data): New variable.
41373         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
41374         (llrint_tonearest_test_data): New variable.
41375         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
41376         (llrint_towardzero_test_data): New variable.
41377         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
41378         (llrint_downward_test_data): New variable.
41379         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
41380         (llrint_upward_test_data): New variable.
41381         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
41382         (llround_test_data): New variable.
41383         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
41385 2013-05-13  Peter Collingbourne  <pcc@google.com>
41387         * math/atest-exp2.c (get_log2): Remove const attribute.
41389 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
41391         * math/libm-test.inc (struct test_f_l_data): New type.
41392         (RUN_TEST_LOOP_f_l): New macro.
41393         (lrint_test_data): New variable.
41394         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
41395         (lrint_tonearest_test_data): New variable.
41396         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
41397         (lrint_towardzero_test_data): New variable.
41398         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
41399         (lrint_downward_test_data): New variable.
41400         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
41401         (lrint_upward_test_data): New variable.
41402         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
41403         (lround_test_data): New variable.
41404         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
41406 2013-05-15  Peter Collingbourne  <pcc@google.com>
41408         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
41409         (EXTRACT_WORDS64) Use where appropriate.
41410         (INSERT_WORDS64) Likewise.
41412         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
41413         constraints with x constraints.
41414         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
41416         * malloc/obstack.c (_obstack_compat): Add initializer.
41418 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
41420         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
41421         si_trapno and add si_addr_lsb to _sifields.sigfault.
41422         (si_trapno): Remove macro.
41423         (si_addr_lsb): Define new macro.
41424         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
41426 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
41428         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
41429         instead of TEST_f_l.
41430         (llrint_test_tonearest): Likewise.
41431         (llrint_test_towardzero): Likewise.
41432         (llrint_test_downward): Likewise.
41433         (llrint_test_upward): Likewise.
41434         (llround_test): Likewise.
41436         * math/libm-test.inc (struct test_f_i_data): Add comment.
41437         (RUN_TEST_LOOP_f_b): New macro.
41438         (RUN_TEST_LOOP_f_b_tg): Likewise.
41439         (finite_test_data): New variable.
41440         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
41441         (isfinite_test_data): New variable.
41442         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41443         (isinf_test_data): New variable.
41444         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41445         (isnan_test_data): New variable.
41446         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41447         (isnormal_test_data): New variable.
41448         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41449         (issignaling_test_data): New variable.
41450         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41451         (signbit_test_data): New variable.
41452         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41454         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
41455         with INVALID_EXCEPTION.
41456         (acosh_test_data): Likewise.
41457         (asin_test_data): Likewise.
41458         (atanh_test_data): Likewise.
41459         (fmod_test_data): Likewise.
41460         (log_test_data): Likewise.
41461         (log10_test_data): Likewise.
41462         (log2_test_data): Likewise.
41463         (pow_test_data): Likewise.
41464         (sqrt_test_data): Likewise.
41465         (y0_test_data): Likewise.
41466         (y1_test_data): Likewise.
41467         (yn_test_data): Likewise.
41469         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
41470         function contents.
41472         * math/libm-test.inc (struct test_ff_i_data): New type.
41473         (RUN_TEST_LOOP_ff_i_tg): New macro.
41474         (isgreater_test_data): New variable.
41475         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41476         (isgreaterequal_test_data): New variable.
41477         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41478         (isless_test_data): New variable.
41479         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41480         (islessequal_test_data): New variable.
41481         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41482         (islessgreater_test_data): New variable.
41483         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41484         (isunordered_test_data): New variable.
41485         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41487 2013-05-14  David S. Miller  <davem@davemloft.net>
41489         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41491 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
41493         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
41495         * math/libm-test.inc (struct test_fF_f1_data): Change type of
41496         extra_test to int.
41497         (struct test_f_i_data): Change type of max_ulp to int.
41499         * math/libm-test.inc (test_ffI_f1_data): New type.
41500         (RUN_TEST_LOOP_ffI_f1): New macro.
41501         (remquo_test_data): New variable.
41502         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
41504         * setjmp/tst-setjmp-fp.c: New file.
41505         * setjmp/Makefile (tests): Add tst-setjmp-fp.
41506         (link-libm): New variable.
41507         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
41509         * math/libm-test.inc (struct test_f_i_data): New type.
41510         (RUN_TEST_LOOP_f_i): New macro.
41511         (RUN_TEST_LOOP_f_i_tg): Likewise.
41512         (fpclassify_test_data): New variable.
41513         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
41514         (ilogb_test_data): New variable.
41515         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
41517         * math/libm-test.inc (scalbln_test): Correct function name in END
41518         call.
41520         * math/libm-test.inc (struct test_f_f1_data): Add comment.
41521         (RUN_TEST_LOOP_fI_f1): New macro.
41522         (frexp_test_data): New variable.
41523         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
41525         * math/libm-test.inc (struct test_fF_f1_data): New type.
41526         (RUN_TEST_LOOP_fF_f1): New macro.
41527         (modf_test_data): New variable.
41528         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
41530         * math/libm-test.inc (struct test_f_f1_data): New type.
41531         (RUN_TEST_LOOP_f_f1): New macro.
41532         (gamma_test_data): New variable.
41533         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
41534         (lgamma_test_data): New variable.
41535         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
41537 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
41539         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
41540         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
41541         (main): Comment "tls" pseudo-hwcap.
41543 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
41545         * math/libm-test.inc (struct test_fl_f_data): New type.
41546         (RUN_TEST_LOOP_fl_f): New variable.
41547         (scalbln_test_data): New variable.
41548         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
41550         * math/libm-test.inc (struct test_fi_f_data): New type.
41551         (RUN_TEST_LOOP_fi_f): New macro.
41552         (ldexp_test_data): New variable.
41553         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
41554         (scalbn_test_data): New variable.
41555         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
41557         * math/libm-test.inc (struct test_c_f_data): New type.
41558         (RUN_TEST_LOOP_c_f): New macro.
41559         (cabs_test_data): New variable.
41560         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
41561         (carg_test_data): New variable.
41562         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
41563         (cimag_test_data): New variable.
41564         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
41565         (creal_test_data): New variable.
41566         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
41568         * math/libm-test.inc (struct test_if_f_data): New type.
41569         (RUN_TEST_LOOP_if_f): New macro.
41570         (jn_test_data): New variable.
41571         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
41572         (yn_test_data): New variable.
41573         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
41575         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
41577 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41579         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
41580         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
41582 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
41584         * benchtests/Makefile (CPPFLAGS-nonlib): Add
41585         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
41586         (bench-deps): Add bench-timing.h.
41587         * benchtests-bench-skeleton.c: Include bench-timing.h.
41588         (main): Use TIMING_* macros instead of clock_gettime.
41589         * benchtests/bench-timing.h: New file.
41591         [BZ #14582]
41592         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
41593         Renamed from _LIB_VERSION.
41594         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
41596 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
41598         * math/libm-test.inc (struct test_fff_f_data): New type.
41599         (RUN_TEST_LOOP_fff_f): New macro.
41600         (fma_test_data): New variable.
41601         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
41602         (fma_towardzero_test_data): New variable.
41603         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
41604         (fma_downward_test_data): New variable.
41605         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
41606         (fma_upward_test_data): New variable.
41607         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
41609         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
41610         (struct test_c_c_data): New type.
41611         (RUN_TEST_LOOP_c_c): New macro.
41612         (cacos_test_data): New variable.
41613         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
41614         (cacosh_test_data): New variable.
41615         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
41616         (casin_test_data): New variable.
41617         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
41618         (casinh_test_data): New variable.
41619         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
41620         (catan_test_data): New variable.
41621         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
41622         (catanh_test_data): New variable.
41623         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
41624         (ccos_test_data): New variable.
41625         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
41626         (ccosh_test_data): New variable.
41627         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
41628         (cexp_test_data): New variable.
41629         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
41630         (clog_test_data): New variable.
41631         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
41632         (clog10_test_data): New variable.
41633         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
41634         (conj_test_data): New variable.
41635         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
41636         (cproj_test_data): New variable.
41637         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
41638         (csin_test_data): New variable.
41639         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
41640         (csinh_test_data): New variable.
41641         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
41642         (csqrt_test_data): New variable.
41643         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
41644         (ctan_test_data): New variable.
41645         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
41646         (ctan_tonearest_test_data): New variable.
41647         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
41648         (ctan_towardzero_test_data): New variable.
41649         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
41650         (ctan_downward_test_data): New variable.
41651         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
41652         (ctan_upward_test_data): New variable.
41653         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
41654         (ctanh_test_data): New variable.
41655         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
41656         (ctanh_tonearest_test_data): New variable.
41657         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
41658         (ctanh_towardzero_test_data): New variable.
41659         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
41660         (ctanh_downward_test_data): New variable.
41661         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
41662         (ctanh_upward_test_data): New variable.
41663         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
41664         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
41665         of BUILD_COMPLEX.
41667         * math/libm-test.inc (struct test_ff_f_data): New type.
41668         (struct test_ff_f_data_nexttoward): Likewise.
41669         (RUN_TEST_LOOP_2_f): New macro.
41670         (RUN_TEST_LOOP_ff_f): Likewise.
41671         (atan2_test_data): New variable.
41672         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
41673         (copysign_test_data): New variable.
41674         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
41675         (fdim_test_data): New variable.
41676         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
41677         (fmax_test_data): New variable.
41678         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
41679         (fmin_test_data): New variable.
41680         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
41681         (fmod_test_data): New variable.
41682         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
41683         (hypot_test_data): New variable.
41684         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
41685         (nextafter_test_data): New variable.
41686         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
41687         (nexttoward_test_data): New variable.
41688         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
41689         (pow_test_data): New variable.
41690         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
41691         (pow_tonearest_test_data): New variable.
41692         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
41693         (pow_towardzero_test_data): New variable.
41694         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
41695         (pow_downward_test_data): New variable.
41696         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
41697         (pow_upward_test_data): New variable.
41698         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
41699         (remainder_test_data): New variable.
41700         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
41701         (scalb_test_data): New variable.
41702         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
41703         * sysdeps/i386/fpu/libm-test-ulps: Update.
41705 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
41707         * math/libm-test.inc (fma_test): Use max_value instead of local
41708         variable fltmax.
41709         (nextafter_test): Likewise.
41711         * math/libm-test.inc (acos_towardzero_test_data): New variable.
41712         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41713         (acos_downward_test_data): New variable.
41714         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41715         (acos_upward_test_data): New variable.
41716         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41717         (acosh_test_data): New variable.
41718         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
41719         (asin_test_data): New variable.
41720         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
41721         (asin_tonearest_test_data): New variable.
41722         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41723         (asin_towardzero_test_data): New variable.
41724         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41725         (asin_downward_test_data): New variable.
41726         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41727         (asin_upward_test_data): New variable.
41728         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41729         (asinh_test_data): New variable.
41730         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
41731         (atan_test_data): New variable.
41732         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
41733         (atanh_test_data): New variable.
41734         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
41735         (cbrt_test_data): New variable.
41736         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
41737         (ceil_test_data): New variable.
41738         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
41739         (cos_test_data): New variable.
41740         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
41741         (cos_tonearest_test_data): New variable.
41742         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41743         (cos_towardzero_test_data): New variable.
41744         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41745         (cos_downward_test_data): New variable.
41746         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41747         (cos_upward_test_data): New variable.
41748         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41749         (cosh_test_data): New variable.
41750         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
41751         (cosh_tonearest_test_data): New variable.
41752         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41753         (cosh_towardzero_test_data): New variable.
41754         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41755         (cosh_downward_test_data): New variable.
41756         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41757         (cosh_upward_test_data): New variable.
41758         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41759         (erf_test_data): New variable.
41760         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
41761         (erfc_test_data): New variable.
41762         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
41763         (exp_test_data): New variable.
41764         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
41765         (exp_tonearest_test_data): New variable.
41766         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41767         (exp_towardzero_test_data): New variable.
41768         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41769         (exp_downward_test_data): New variable.
41770         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41771         (exp_upward_test_data): New variable.
41772         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41773         (exp10_test_data): New variable.
41774         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
41775         (exp2_test_data): New variable.
41776         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
41777         (expm1_test_data): New variable.
41778         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
41779         (fabs_test_data): New variable.
41780         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
41781         (floor_test_data): New variable.
41782         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
41783         (j0_test_data): New variable.
41784         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
41785         (j1_test_data): New variable.
41786         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
41787         (log_test_data): New variable.
41788         (log_test): Run tests with RUN_TEST_LOOP_f_f.
41789         (log10_test_data): New variable.
41790         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
41791         (log1p_test_data): New variable.
41792         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
41793         (log2_test_data): New variable.
41794         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
41795         (logb_test_data): New variable.
41796         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
41797         (logb_downward_test_data): New variable.
41798         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41799         (nearbyint_test_data): New variable.
41800         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
41801         (rint_test_data): New variable.
41802         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
41803         (rint_tonearest_test_data): New variable.
41804         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41805         (rint_towardzero_test_data): New variable.
41806         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41807         (rint_downward_test_data): New variable.
41808         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41809         (rint_upward_test_data): New variable.
41810         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41811         (round_test_data): New variable.
41812         (round_test): Run tests with RUN_TEST_LOOP_f_f.
41813         (sin_test_data): New variable.
41814         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
41815         (sin_tonearest_test_data): New variable.
41816         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41817         (sin_towardzero_test_data): New variable.
41818         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41819         (sin_downward_test_data): New variable.
41820         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41821         (sin_upward_test_data): New variable.
41822         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41823         (sinh_test_data): New variable.
41824         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
41825         (sinh_tonearest_test_data): New variable.
41826         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41827         (sinh_towardzero_test_data): New variable.
41828         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41829         (sinh_downward_test_data): New variable.
41830         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41831         (sinh_upward_test_data): New variable.
41832         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41833         (sqrt_test_data): New variable.
41834         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
41835         (tan_test_data): New variable.
41836         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
41837         (tan_tonearest_test_data): New variable.
41838         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41839         (tan_towardzero_test_data): New variable.
41840         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41841         (tan_downward_test_data): New variable.
41842         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41843         (tan_upward_test_data): New variable.
41844         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41845         (tanh_test_data): New variable.
41846         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
41847         (tgamma_test_data): New variable.
41848         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
41849         (trunc_test_data): New variable.
41850         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
41851         (y0_test_data): New variable.
41852         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
41853         (y1_test_data): New variable.
41854         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
41855         (significand_test_data): New variable.
41856         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
41858 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
41860         [BZ #12387]
41861         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
41863 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41865         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
41867 2013-05-10  Andreas Jaeger  <aj@suse.de>
41869         [BZ #15448]
41870         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
41871         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
41873 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
41875         * math/gen-libm-test.pl (adjust_arg): New function.
41876         (special_functions): Handle generating output in both functions
41877         and arrays.
41878         (parse_args): Likewise.
41879         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
41880         $in_func argument to parse_args.
41881         * math/libm-test.inc (struct test_f_f_data): New type.
41882         (IF_ROUND_INIT_): New macro.
41883         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
41884         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
41885         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
41886         (IF_ROUND_INIT_FE_UPWARD): Likewise.
41887         (ROUND_RESTORE_): Likewise.
41888         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
41889         (ROUND_RESTORE_FE_TONEAREST): Likewise.
41890         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
41891         (ROUND_RESTORE_FE_UPWARD): Likewise.
41892         (RUN_TEST_LOOP_f_f): New macro.
41893         (acos_test_data): New variable.
41894         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
41895         (acos_tonearest_test_data): New variable.
41896         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41898 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41900         * benchtests/bench-skeleton.c (startup): Fix coding style.
41902 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
41904         [BZ #6809]
41905         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
41906         negative infinity argument.
41907         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
41908         negative infinity argument.
41909         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
41910         negative infinity argument.
41911         * math/libm-test.inc (tgamma_test): Expect errno to be set for
41912         domain errors.
41914 2013-05-10  Florian Weimer  <fweimer@redhat.com>
41916         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
41917         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
41918         * iconv/iconv_prog.c (main): Likewise.
41919         * locale/programs/charmap-dir.c (charmap_readdir)
41920         (fopen_uncompressed): Likewise.
41921         * locale/programs/locfile.c (siblings_uncached)
41922         (write_locale_data): Use lstat64 instead of lstat.
41923         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
41924         stat.
41926 2013-05-10  Andreas Jaeger  <aj@suse.de>
41928         [BZ #15395]
41929         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
41930         localization.
41931         Include <locale.h>.
41933 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
41935         * elf/dl-close.c (_dl_close_worker): Add comments.
41937 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
41939         [BZ #15359]
41940         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
41941         high part of pi/2.
41942         (__ieee754_rem_pio2l): Update comments.
41944         [BZ #15429]
41945         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
41946         high part of pi/2.
41947         (__ieee754_rem_pio2l): Update comments.
41949         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
41950         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
41952         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
41953         M_PI_4l.
41955         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
41956         (M_PI_34_LOG10El): Likewise.
41957         (M_PI2_LOG10El): Likewise.
41958         (M_PI4_LOG10El): Likewise.
41959         (M_PI_LOG10El): Likewise.
41961 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41963         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41965 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
41967         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
41968         (MINUS_ZERO_INIT): Likewise.
41969         (PLUS_INFTY_INIT): Likewise.
41970         (MINUS_INFTY_INIT): Likewise.
41971         (QNAN_VALUE_INIT): Likewise.
41972         (MAX_VALUE_INIT): Likewise.
41973         (MIN_VALUE_INIT): Likewise.
41974         (MIN_SUBNORM_VALUE_INIT): Likewise.
41975         (plus_zero): Initialize with PLUS_ZERO_INIT.
41976         (minus_zero): Initialize with MINUS_ZERO_INIT.
41977         (plus_infty): Initialize with PLUS_INFTY_INIT.
41978         (minus_infty): Initialize with MINUS_INFTY_INIT.
41979         (qnan_value): Initialize with QNAN_VALUE_INIT.
41980         (max_value): Initialize with MAX_VALUE_INIT.
41981         (min_value): Initialize with MIN_VALUE_INIT.
41982         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
41984         * math/libm-test.inc (RUN_TEST_if_f): New macro.
41985         (jn_test): Use TEST_if_f instead of TEST_ff_f.
41986         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
41987         (yn_test): Use TEST_if_f instead of TEST_ff_f.
41989         * math/libm-test.inc (RUN_TEST_f_f): New macro.
41990         (RUN_TEST_2_f): Likewise.
41991         (RUN_TEST_ff_f): Likewise.
41992         (RUN_TEST_fi_f): Likewise.
41993         (RUN_TEST_fl_f): Likewise.
41994         (RUN_TEST_fff_f): Likewise.
41995         (RUN_TEST_c_f): Likewise.
41996         (RUN_TEST_f_f1): Likewise.
41997         (RUN_TEST_fF_f1): Likewise.
41998         (RUN_TEST_fI_f1): Likewise.
41999         (RUN_TEST_ffI_f1): Likewise.
42000         (RUN_TEST_c_c): Likewise.
42001         (RUN_TEST_cc_c): Likewise.
42002         (RUN_TEST_f_i): Likewise.
42003         (RUN_TEST_f_i_tg): Likewise.
42004         (RUN_TEST_ff_i_tg): Likewise.
42005         (RUN_TEST_f_b): Likewise.
42006         (RUN_TEST_f_b_tg): Likewise.
42007         (RUN_TEST_f_l): Likewise.
42008         (RUN_TEST_f_L): Likewise.
42009         (RUN_TEST_sincos): Likewise.
42010         * math/gen-libm-test.pl (new_test): Take new argument to indicate
42011         whether to show exceptions.  Do not include ");\n" in return
42012         value.
42013         (special_functions): Output call to RUN_TEST_sincos instead of
42014         check_float calls.  Update calls to new_test.
42015         (parse_args): Output call to single RUN_TEST_* macro instead of
42016         check_* calls and other assignments.  Update calls to new_test.
42018         [BZ #2546]
42019         [BZ #2560]
42020         [BZ #5159]
42021         [BZ #15426]
42022         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
42023         input to result for tgamma overflow.
42024         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
42025         (gamma_coeff): New variable.
42026         (NCOEFF): New macro.
42027         (gamma_positive): New function.
42028         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
42029         underflow here.  Use gamma_positive instead of exp (lgamma) for
42030         other arguments.
42031         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
42032         (gamma_coeff): New variable.
42033         (NCOEFF): New macro.
42034         (gammaf_positive): New function.
42035         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
42036         underflow here.  Use gamma_positive instead of exp (lgamma) for
42037         other arguments.
42038         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
42039         (gamma_coeff): New variable.
42040         (NCOEFF): New macro.
42041         (gammal_positive): New function.
42042         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
42043         underflow here.  Use gamma_positive instead of exp (lgamma) for
42044         other arguments.
42045         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
42046         (gamma_coeff): New variable.
42047         (NCOEFF): New macro.
42048         (gammal_positive): New function.
42049         (__ieee754_gammal_r): Handle positive infinity, overflow and
42050         underflow here.  Handle NaN the same as positive infinity.  Remove
42051         check x < 0xffffffff for negative integers.  Use gamma_positive
42052         instead of exp (lgamma) for other arguments.
42053         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
42054         (gamma_coeff): New variable.
42055         (NCOEFF): New macro.
42056         (gammal_positive): New function.
42057         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
42058         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
42059         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
42060         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
42061         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
42062         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
42063         * sysdeps/generic/math_private.h (__gamma_productf): New
42064         prototype.
42065         (__gamma_product): Likewise.
42066         (__gamma_productl): Likewise.
42067         * math/Makefile (libm-calls): Add gamma_product.
42068         * math/libm-test.inc (tgamma_test): Add more tests.
42069         * sysdeps/i386/fpu/libm-test-ulps: Update.
42070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42072 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
42074         * benchtests/bench-skeleton.c (main): Preheat CPU.
42076 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
42078         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
42080 2013-05-07  Roland McGrath  <roland@hack.frob.com>
42082         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
42083         and _dl_skip_args_internal.
42085 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
42087         * manual/message.texi (Message Translation): Talk about users.
42088         Message to key mapping impacts design.
42090 2013-05-06  Roland McGrath  <roland@hack.frob.com>
42092         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
42094         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
42096         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
42097         * sysdeps/wordsize-64/glob64.c: ... here.
42099         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
42100         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
42101         New macros.
42103         * debug/getlogin_r_chk.c: Moved to ...
42104         * login/getlogin_r_chk.c: ... here.
42105         * debug/Makefile (routines): Move getlogin_r_chk to ...
42106         * login/Makefile (routines): ... here.
42107         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
42108         * login/Versions (libc: GLIBC_2.4): ... here.
42110         * io/poll.c (__poll): Renamed from poll.
42111         Add libc_hidden_def.
42112         (poll): Define as weak alias.
42114         * debug/ptsname_r_chk.c: Moved to ...
42115         * login/ptsname_r_chk.c: ... here.
42116         * debug/Makefile (routines): Move ptsname_r_chk to ...
42117         * login/Makefile (routines): ... here.
42118         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
42119         * login/Versions (libc: GLIBC_2.4): ... here.
42121         * posix/getlogin.c: Moved to ...
42122         * login/getlogin.c: ... here.
42123         * posix/getlogin_r.c: Moved to ...
42124         * login/getlogin_r.c: ... here.
42125         * posix/getlogin_r.c: Moved to ...
42126         * login/getlogin_r.c: ... here.
42127         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
42128         * login/Makefile (routines): ... here.
42129         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
42130         * login/Versions (libc: GLIBC_2.0): ... here.
42132         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
42133         (setrlimit): Define as weak alias.
42135         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
42136         Call __ names for open, ftruncate, and close.
42137         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
42138         (truncate): Define as weak alias.
42140 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
42142         * math/gen-libm-test.pl (parse_args): Initialize x before each
42143         test of frexp, modf and remquo.
42145         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
42146         test signgam value.
42148 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42150         [BZ #15418]
42151         [BZ #15419]
42152         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
42153         internal tests.
42154         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42156 2013-05-06  Roland McGrath  <roland@hack.frob.com>
42158         * elf/dl-writev.h: New file.
42159         * elf/dl-misc.c: Include it.
42160         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
42161         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
42163 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
42165         * math/libm-test.inc (noXFails): Remove variable.
42166         (noXPasses): Likewise.
42167         (BUILD_COMPLEX_INT): Remove macro.
42168         (print_screen): Remove xfail argument.
42169         (print_screen_max_error): Likewise.
42170         (update_stats): Likewise.
42171         (print_max_error): Likewise.  Update calls to other affected
42172         functions.
42173         (print_complex_max_error): Likewise.
42174         (test_single_exception): Update calls to print_screen.
42175         (test_single_errno): Likewise.
42176         (check_float_internal): Remove xfail argument.  Update calls to
42177         other affected functions.
42178         (check_float): Likewise.
42179         (check_complex): Likewise.
42180         (check_int): Likewise.
42181         (check_long): Likewise.
42182         (check_bool): Likewise.
42183         (check_longlong): Likewise.
42184         (main): Don't print noXFails and noXPasses.
42185         * math/gen-libm-test.pl (top level): Don't mention expected
42186         failure handling in comment.
42187         (new_test): Don't handle expected failures.
42188         (parse_args): Don't mention expected failure handling in comment.
42189         (generate_testfile): Don't handle expected failures.
42190         (parse_ulps): Likewise.
42191         (print_ulps_file): Likewise.
42192         (get_failure): Remove function.
42193         (output_test): Don't handle expected failures.
42194         * make/README.libm-test: Don't mention expected failure handling.
42196         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
42197         (minus_zero): Likewise.
42198         (plus_infty): Likewise.
42199         (minus_infty): Likewise.
42200         (qnan_value): Likewise.
42201         (max_value): Likewise.
42202         (min_value): Likewise.
42203         (min_subnorm_value): Likewise.
42204         (initialize): Do not initialize those variables dynamically.
42206 2013-05-03  Roland McGrath  <roland@hack.frob.com>
42208         * io/open.c (__open_2): Moved to ...
42209         * io/open_2.c: ... this new file.
42210         * io/open64.c (__open64_2): Moved to ...
42211         * io/open64_2.c: ... this new file.
42212         * io/openat.c (__openat_2): Moved to ...
42213         * io/openat_2.c: ... this new file.
42214         * io/openat64.c (__openat64_2): Moved to ...
42215         * io/openat64_2.c: ... this new file.
42216         * io/Makefile (routines): Add them.
42217         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
42218         * sysdeps/unix/sysv/linux/open_2.c: File removed.
42219         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
42220         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
42221         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
42222         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
42223         (__openat64): Add hidden_ver.
42224         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
42225         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
42227         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
42228         Separately conditionalize setting of GLRO(dl_sysinfo) so
42229         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
42230         as well, but the actual setting is only under [NEED_DL_SYSINFO].
42232 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42234         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
42235         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
42236         definition.
42237         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
42238         * sysdeps/unix/sysv/linux/powerpc/init-first.c
42239         (_libc_vdso_platform_setup): Add __vdso_time initialization.
42240         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
42241         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
42243 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
42245         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
42246         test signgam value.
42248         * math/libm-test.inc (hypot_test): Do not use
42249         IGNORE_ZERO_INF_SIGN.
42251 2013-05-03  Andreas Jaeger  <aj@suse.de>
42253         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
42254         Linux 3.9.
42255         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
42256         (PF_MAX): Adjust for VSOCK change.
42258 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42260         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42262 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
42264         [BZ #15264]
42265         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
42266         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
42267         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
42269 2013-05-02  David S. Miller  <davem@davemloft.net>
42271         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42273 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
42275         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
42277 2013-05-01  Roland McGrath  <roland@hack.frob.com>
42279         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
42281 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
42283         [BZ #14952]
42284         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
42285         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
42286         Use __attribute__ ((__gnu_inline__)).
42287         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
42288         Don't use __attribute__ ((__gnu_inline__)).
42290 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
42292         [BZ #15423]
42293         * math/s_catan.c (__catan): Handle small real or imaginary part of
42294         input specially to avoid spurious underflow.
42295         * math/s_catanf.c (__catanf): Likewise.
42296         * math/s_catanh.c (__catanh): Likewise.
42297         * math/s_catanhf.c (__catanhf): Likewise.
42298         * math/s_catanhl.c (__catanhl): Likewise.
42299         * math/s_catanl.c (__catanl): Likewise.
42300         * math/libm-test.inc (catan_test): Add more tests.
42301         (catanh_test): Likewise.
42302         * sysdeps/i386/fpu/libm-test-ulps: Update.
42303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42305 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42307         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42309 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
42311         [BZ #15416]
42312         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
42313         accurately for denominator in atan2.
42314         * math/s_catanf.c (__catanf): Likewise.
42315         * math/s_catanh.c (__catanh): Likewise.
42316         * math/s_catanhf.c (__catanhf): Likewise.
42317         * math/s_catanhl.c (__catanhl): Likewise.
42318         * math/s_catanl.c (__catanl): Likewise.
42319         * math/libm-test.inc (catan_test): Add more tests.
42320         (catanh_test): Likewise.
42321         * sysdeps/i386/fpu/libm-test-ulps: Update.
42322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42324 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42326         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
42328         * benchtests/Makefile (bench): Remove slow benchmarks.
42329         * benchtests/atan-inputs: Add slow benchmark inputs.
42330         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
42331         (BENCH_FUNC): Accept variant offset.
42332         (VARIANT): Define.
42333         * benchtests/bench-skeleton.c (main): Run benchmark for each
42334         variant.
42335         * benchtests/cos-inputs: Add slow benchmark inputs.
42336         * benchtests/exp-inputs: Likewise.
42337         * benchtests/pow-inputs: Likewise.
42338         * benchtests/sin-inputs: Likewise.
42339         * benchtests/slowatan-inputs: Remove.
42340         * benchtests/slowatan.c: Remove.
42341         * benchtests/slowcos-inputs: Remove.
42342         * benchtests/slowcos.c: Remove.
42343         * benchtests/slowexp-inputs: Remove.
42344         * benchtests/slowexp.c: Remove.
42345         * benchtests/slowpow-inputs: Remove.
42346         * benchtests/slowpow.c: Remove.
42347         * benchtests/slowsin-inputs: Remove.
42348         * benchtests/slowsin.c: Remove.
42349         * benchtests/slowtan-inputs: Remove.
42350         * benchtests/slowtan.c: Remove.
42351         * benchtests/tan-inputs: Add slow benchmark inputs.
42352         * scripts/bench.pl: Parse comments and directives.
42354         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
42355         in CPPFLAGS.
42356         ($(objpfx)bench-%.c): Remove *-ITER.
42357         * benchtests/bench-modf.c: Remove definition of ITER.
42358         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
42359         (main): Loop for DURATION seconds instead of fixed number of
42360         iterations.
42361         * scripts/bench.pl: Don't expect iterations in parameters.
42363 2013-04-29  Roland McGrath  <roland@hack.frob.com>
42365         * io/fchdir.c (__fchdir): Renamed from fchdir.
42366         (fchdir): Define as weak alias.
42368 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
42370         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
42371         (ERRNO_EDOM): Likewise.
42372         (ERRNO_ERANGE): Likewise.
42373         (noErrnoTests): New variable.
42374         (init_max_error): Set errno to 0.
42375         (test_single_errno): New function.
42376         (test_errno): Likewise.
42377         (check_float_internal): Call test_errno.  Set errno to 0.
42378         (check_complex): Refer to errno tests in comment.
42379         (check_int): Call test_errno.  Set errno to 0.
42380         (check_long): Likewise.
42381         (check_bool): Likewise.
42382         (check_longlong): Likewise.
42383         (cos_test): Use ERRNO_* flags for errno tests instead of
42384         check_int.
42385         (expm1_test): Likewise.
42386         (fmod_test): Likewise.
42387         (ilogb_test): Likewise.
42388         (lgamma_test): Likewise.
42389         (pow_test): Likewise.
42390         (remainder_test): Likewise.
42391         (sin_test): Likewise.
42392         (tan_test): Likewise.
42393         (yn_test): Likewise.
42394         (initialize): Set errno to 0.
42395         (main): Print number of errno tests.
42396         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
42398 2013-04-29  Andreas Jaeger  <aj@suse.de>
42400         [BZ #15084]
42401         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
42402         and RES_USEVC.
42404         [BZ #15085]
42405         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
42406         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
42407         unimplemented.
42409         [BZ #15380]
42410         * stdlib/random.c (__initstate): Return NULL if
42411         __initstate fails.
42413         [BZ #15086]
42414         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
42415         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
42416         RES_SNGLKUPREOP.
42418 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42420         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42422 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
42424         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
42425         of individual tests.
42426         (casin_test): Likewise.
42427         (casinh_test): Likewise.
42429 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
42431         [BZ #15409]
42432         * math/s_catan.c (__catan): Handle arguments with large real or
42433         imaginary part separately without squaring.
42434         * math/s_catanf.c (__catanf): Likewise.
42435         * math/s_catanh.c (__catanh): Likewise.
42436         * math/s_catanhf.c (__catanhf): Likewise.
42437         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
42438         and redefine.
42439         (__catanhl): Handle arguments with large real or imaginary part
42440         separately without squaring.
42441         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
42442         and redefine.
42443         (__catanl): Handle arguments with large real or imaginary part
42444         separately without squaring.
42445         * math/libm-test.inc (catan_test): Add more tests.
42446         (catanh_test): Likewise.
42447         * sysdeps/i386/fpu/libm-test-ulps: Update.
42448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42450 2013-04-27  Andreas Jaeger  <aj@suse.de>
42452         [BZ #15007]
42453         * stdlib/stdlib.h: Update guards for qecvt.
42454         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
42455         <stdlib.h>.
42457 2013-04-27  Allan McRae  <allan@archlinux.org>
42459         * sysdeps/i386/fpu/libm-test-ulps: Update.
42461 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
42463         [BZ #15406]
42464         * math/s_catan.c: Include <float.h>.
42465         (__catan): Ensure underflow exception occurs for underflowed
42466         result.
42467         * math/s_catanf.c: Include <float.h>.
42468         (__catanf): Ensure underflow exception occurs for underflowed
42469         result.
42470         * math/s_catanh.c: Include <float.h>.
42471         (__catanh): Ensure underflow exception occurs for underflowed
42472         result.
42473         * math/s_catanhf.c: Include <float.h>.
42474         (__catanhf): Ensure underflow exception occurs for underflowed
42475         result.
42476         * math/s_catanhl.c: Include <float.h>.
42477         (__catanhl): Ensure underflow exception occurs for underflowed
42478         result.
42479         * math/s_catanl.c: Include <float.h>.
42480         (__catanl): Ensure underflow exception occurs for underflowed
42481         result.
42482         * math/libm-test.inc (catan_test): Add more tests.
42483         (catanh_test): Likewise.
42485         [BZ #15405]
42486         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
42487         underflowed result.
42488         * math/s_ccoshf.c (__ccoshf): Likewise.
42489         * math/s_ccoshl.c (__ccoshl): Likewise.
42490         * math/s_csin.c (__csin): Likewise.
42491         * math/s_csinf.c (__csinf): Likewise.
42492         * math/s_csinh.c (__csinh): Likewise.
42493         * math/s_csinhf.c (__csinhf): Likewise.
42494         * math/s_csinhl.c (__csinhl): Likewise.
42495         * math/s_csinl.c (__csinl): Likewise.
42496         * math/libm-test.inc (ccos_test): Add more tests.
42497         (ccosh_test): Likewise.
42498         (csin_test): Likewise.
42499         (csinh_test): Likewise.
42501 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42503         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
42504         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
42505         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
42506         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
42507         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
42508         powerpc/power5+/fpu folders.
42509         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
42512 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
42514         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42516 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
42518         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
42519         additions to variable.
42520         [$(config-machine) = x86_64] (modules-names): Likewise.
42521         ($(objpfx)tst-audit3): Remove dependency.
42522         ($(objpfx)tst-audit3.out): Likewise.
42523         ($(objpfx)tst-audit4): Likewise.
42524         ($(objpfx)tst-audit4.out): Likewise.
42525         ($(objpfx)tst-audit5): Likewise.
42526         ($(objpfx)tst-audit5.out): Likewise.
42527         ($(objpfx)tst-audit6): Likewise.
42528         ($(objpfx)tst-audit6.out): Likewise.
42529         ($(objpfx)tst-audit7): Likewise.
42530         ($(objpfx)tst-audit7.out): Likewise.
42531         (tst-audit3-ENV): Remove variable.
42532         (tst-audit4-ENV): Likewise.
42533         (tst-audit5-ENV): Likewise.
42534         (tst-audit6-ENV): Likewise.
42535         (tst-audit7-ENV): Likewise.
42536         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
42537         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
42538         addition to variable.
42539         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
42540         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
42541         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
42542         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
42543         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
42544         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
42545         tst-audit3, tst-audit4 and tst-audit5.
42546         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
42547         tst-audit6 and tst-audit7.
42548         [$(subdir) = elf] (modules-names): Add audit modules for those
42549         tests.
42550         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
42551         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
42552         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
42553         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
42554         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
42555         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
42556         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
42557         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
42558         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
42559         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
42560         [$(subdir) = elf] (tst-audit3-ENV): New variable.
42561         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
42562         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
42563         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
42564         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
42565         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
42566         Likewise.
42567         [$(subdir) = elf && $(config-cflags-avx) = yes]
42568         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
42569         [$(subdir) = elf && $(config-cflags-avx) = yes]
42570         (CFLAGS-tst-auditmod4a.c): Likewise.
42571         [$(subdir) = elf && $(config-cflags-avx) = yes]
42572         (CFLAGS-tst-auditmod4b.c): Likewise.
42573         [$(subdir) = elf && $(config-cflags-avx) = yes]
42574         (CFLAGS-tst-auditmod6b.c): Likewise.
42575         [$(subdir) = elf && $(config-cflags-avx) = yes]
42576         (CFLAGS-tst-auditmod6c.c): Likewise.
42577         [$(subdir) = elf && $(config-cflags-avx) = yes]
42578         (CFLAGS-tst-auditmod7b.c): Likewise.
42579         * elf/tst-audit3.c: Move to ...
42580         * sysdeps/x86_64/tst-audit3.c: ... here.
42581         * elf/tst-audit4.c: Move to ...
42582         * sysdeps/x86_64/tst-audit4.c: ... here.
42583         * elf/tst-audit5.c: Move to ...
42584         * sysdeps/x86_64/tst-audit5.c: ... here.
42585         * elf/tst-audit6.c: Move to ...
42586         * sysdeps/x86_64/tst-audit6.c: ... here.
42587         * elf/tst-audit7.c: Move to ...
42588         * sysdeps/x86_64/tst-audit7.c: ... here.
42589         * elf/tst-auditmod3a.c: Move to ...
42590         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
42591         * elf/tst-auditmod3b.c: Move to ...
42592         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
42593         * elf/tst-auditmod4a.c: Move to ...
42594         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
42595         * elf/tst-auditmod4b.c: Move to ...
42596         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
42597         * elf/tst-auditmod5a.c: Move to ...
42598         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
42599         * elf/tst-auditmod5b.c: Move to ...
42600         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
42601         * elf/tst-auditmod6a.c: Move to ...
42602         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
42603         * elf/tst-auditmod6b.c: Move to ...
42604         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
42605         * elf/tst-auditmod6c.c: Move to ...
42606         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
42607         * elf/tst-auditmod7a.c: Move to ...
42608         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
42609         * elf/tst-auditmod7b.c: Move to ...
42610         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
42612 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
42614         [BZ #15366]
42615         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
42616         define unconditionally.
42617         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
42618         define unconditionally.
42619         (INT8_C, INT16_C, etc.): Likewise.
42621 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
42623         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
42624         __ehdr_start with hidden visibility.
42626         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
42628 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
42630         * math/libm-test.inc (cos_test): Use accurate hex constants.
42631         (sincost_test): Likewise.
42633 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
42635         * math/libm-test.inc (catan_test): Add more tests.
42636         (catanh_test): Likewise.
42638         * math/s_catanf.c (__catanf): Use suffixed floating-point
42639         constants.
42640         * math/s_catanhf.c (__catanhf): Likewise.
42641         * math/s_catanhl.c (__catanhl): Likewise.
42642         * math/s_catanl.c (__catanl): Likewise.
42644         [BZ #15394]
42645         * math/s_catan.c (__catan): Calculate imaginary part of result
42646         with log1p not log unless computing log of number close to 0.
42647         * math/s_catanf.c (__catanf): Likewise.
42648         * math/s_catanl.c (__catanl): Likewise.
42649         * math/s_catanh.c (__catanh): Calculate real part of result with
42650         log1p not log unless computing log of number close to 0.
42651         * math/s_catanhf.c (__catanhf): Likewise.
42652         * math/s_catanhl.c (__catanhl): Likewise.
42653         * math/libm-test.inc (catan_test): Add more tests.
42654         (catanh_test): Likewise.
42655         * sysdeps/i386/fpu/libm-test-ulps: Update.
42656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42658 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42660         * benchtests/Makefile: Mention files in which fast and slow
42661         paths of math functions are implemented.
42663 2013-04-23  Roland McGrath  <roland@hack.frob.com>
42665         * sysdeps/posix/timespec_get.c: New file.
42667 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42669         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
42670         POWER.
42671         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
42672         for POWER.
42673         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
42674         powerpc/power5/fpu folders.
42675         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
42676         * benchtests/Makefile: Add modf testcase.
42677         * benchtests/bench-modf.c: New file: Benchmark test for mo
42679 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
42681         [BZ #14888]
42682         * time/Makefile (tests): Add tst-strptime-whitespace.
42683         * time/strptime_l.c (get_number): Use ISSPACE.
42684         (__strptime_internal): Likewise.
42685         * time/tst-strptime-whitespace.c: New test case.
42687 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
42689         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
42690         member.
42691         (_nss_files_init): Set it here.
42693 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
42695         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
42696         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
42697         unsigned.
42699 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
42701         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
42703 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
42705         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
42706         size just once.
42708 2013-04-21  David S. Miller  <davem@davemloft.net>
42710         * po/ru.po: Update Russion translation from translation project.
42712 2013-04-17  Adam Conrad  <adconrad@0c3.net>
42714         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
42715         and setfsgid.
42717 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
42719         * configure.in: Remove i386 configure warning. Remove i386 case.
42720         * configure: Regenerate.
42721         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
42722         Add example to error message.
42723         * sysdeps/i386/configure: Regenerate.
42725 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
42727         * benchtests/Makefile (bench): Add cos, tan, slowcos and
42728         slowtan.
42729         * benchtests/cos-inputs: New file.
42730         * benchtests/slowcos-inputs: New file.
42731         * benchtests/slowcos.c: New file.
42732         * benchtests/slowtan-inputs: New file.
42733         * benchtests/slowtan.c: New file.
42734         * benchtests/tan-inputs: New file.
42736 2013-04-16  Roland McGrath  <roland@hack.frob.com>
42738         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
42739         considered kosher.
42741 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42743         * benchtests/Makefile: Include cppflags-iterator.mk to add
42744         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
42746         * Makefile.in (bench-clean): New target.
42747         * benchtests/Makefile (bench-clean): Likewise.
42749 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
42751         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
42753 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
42755         * stdio-common/tstdiomisc.c: Fix coding-style violation.
42757 2013-04-15  Andreas Schwab  <schwab@suse.de>
42759         * nscd/grpcache.c (cache_addgr): Properly check for short write.
42760         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42761         * nscd/pwdcache.c (cache_addpw): Likewise.
42762         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
42763         more than recsize.
42765 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42767         * benchtests/Makefile (bench): Write all output to
42768         bench-out.tmp together.
42770 2013-04-15  Andreas Schwab  <schwab@suse.de>
42772         * nscd/nscd.c (main): Don't fork again after closing files.
42774 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42776         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
42778         * benchtests/Rules (bench-deps): Collect dependencies into a
42779         single variable.  Add Makefile to dependencies.
42780         ($(objpfx)bench-%.c): Depend on bench-deps.
42782 2013-04-12  Roland McGrath  <roland@hack.frob.com>
42783             Xavier Roche  <roche+kml2@exalead.com>
42785         [BZ #15361]
42786         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
42787         just that it's a file descriptor.
42788         * manual/llio.texi (Synchronizing AIO Operations): Update description
42789         for EBADF error from aio_fsync.
42791 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42793         * Rules (bench): Move target definition...
42794         * benchtests/Makefile: ... here.
42796 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
42798         * math/libm-test.inc (cos_test): Fix PI/2 test.
42799         (sincos_test): Likewise.
42800         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
42801         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
42803 2013-04-11  Andreas Schwab  <schwab@suse.de>
42805         [BZ #13988]
42806         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
42807         accept exponent character only when digits were seen.
42808         * stdio-common/Makefile (tests): Add bug26.
42809         * stdio-common/bug26.c: New file.
42811         [BZ #14293]
42812         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
42813         non-freeable.
42815 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42817         * Makeconfig (rtld-prefix): Define built linker prefix.
42818         * Rules (run-bench): Use it.
42819         * math/Makefile (run-regen-ulps): Likewise.
42821         * Rules (bench): Remove eval.
42823 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42824             Roland McGrath  <roland@hack.frob.com>
42825             Ondrej Bilka  <neleai@seznam.cz>
42827         [BZ #15346]
42828         * time/getdate.c: Include ctype.h and alloca.h.
42829         (__getdate_r): Trim leading and trailing spaces of input.
42830         * time/tst-getdate.c (tests): Add tests with leading and
42831         trailing spaces.
42833 2013-04-08  Roland McGrath  <roland@hack.frob.com>
42835         [BZ #14280]
42836         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
42837         when computing value.
42839 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
42841         * math/README.libm-test (How can I generate "libm-test-ulps"?):
42842         Use testrun.sh to run libm tests.
42844         [BZ #15309]
42845         * elf/dl-open.c (dl_open_worker): memset all of seen array.
42847 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
42849         [BZ #15264]
42850         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
42852 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
42854         * Makefile.in (regen-ulps): New target.
42855         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
42856         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
42857         [ifneq (no,$(PERL)] (regen-ulps): New target.
42858         [ifeq (no,$(PERL)] (regen-ulps): New target.
42859         * math/libm-test.inc (ulps_file_name): Define.
42860         (output_dir): New variable.
42861         (options): Add "output-dir" option.
42862         (parse_opt): Handle 'o' case.
42863         (main): If output_dir is non-NULL use it as a prefix
42864         otherwise use "".
42865         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
42867 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
42869         [BZ #10060, #10062]
42870         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
42871         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
42872         fail configure if __sync_val_compare_and_swap is not inlined.
42873         * sysdeps/i386/configure: Regenerate.
42874         * configure.in: Build for i686 when configured for i386.
42875         * configure: Regenerate.
42876         * README: Remove i386 reference.
42878 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
42880         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
42881         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42883 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
42885         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
42886         (lmsnanval): New variables.
42887         (F): Add conversion tests.
42888         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
42889         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
42891         * stdio-common/tstdiomisc.c (F): Properly collect individual
42892         tests' results.
42894         [BZ #14686, #15336]
42895         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
42896         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
42897         Instead, use input NaN values or generate a qNaN by arithmetic
42898         operation.  Also fix bugs to comply with the standard.
42899         * math/libm-test.inc (remainder_test): Add more tests.
42901         [BZ #15335, #15342]
42902         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
42903         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
42904         input NaN values or generate a qNaN by arithmetic operation.
42906         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
42907         unreachable code.
42909         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
42910         definitions.
42912 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
42914         [BZ #14478]
42915         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
42916         underflowed result.
42917         * math/s_cexpf.c (__cexpf): Likewise.
42918         * math/s_cexpl.c (__cexpl): Likewise.
42919         * math/libm-test.inc (cexp_test): Add more tests.
42921 2013-04-03  Andreas Schwab  <schwab@suse.de>
42923         [BZ #15330]
42924         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
42925         order arrays from heap if bigger than alloca cutoff.
42927 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
42929         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
42930         (SNAN_TESTS_double): Refer to GCC PR56831.
42931         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
42932         GCC PR56828.
42934 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
42936         * Rules (bench): Move bench.out after the run is complete.
42938         * Rules (bench): Echo currently running benchmark.
42940         * benchtests/Makefile (bench): Add atan and slowatan.
42941         * benchtests/atan-inputs: New file.
42942         * benchtests/slowatan-inputs: New file.
42943         * benchtests/slowatan.c: New file.
42945         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
42946         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
42947         its value.
42949         [BZ #15305]
42950         * sysdeps/unix/sysv/linux/kernel-features.h
42951         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
42952         __ASSUME_XFS_RESTRICTED_CHOWN.
42953         * sysdeps/unix/sysv/linux/pathconf.c
42954         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
42955         Save and restore errno.
42957 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
42959         [BZ #15327]
42960         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
42961         arguments using __kernel_casinh.
42962         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
42963         arguments using __kernel_casinhf.
42964         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
42965         arguments using __kernel_casinhl.
42966         * math/libm-test.inc (cacosh_test): Add more tests.
42967         * sysdeps/i386/fpu/libm-test-ulps: Update.
42968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42970 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42972         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
42973         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
42975         * bench/Makefile (bench): Add sin and slowsin.
42976         * benchtests/sin-inputs: New file.
42977         * benchtests/slowsin-inputs: New file.
42978         * benchtests/slowsin.c: New file.
42980         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
42981         (bench): Add slowexp and slowpow.
42982         (exp-ITER): Increase iterations.
42983         (pow-ITER): Likewise.
42984         * benchtests/exp-inputs: Change input.
42985         * benchtests/pow-inputs: Likewise.
42986         * benchtests/slowexp-inputs: New file.
42987         * benchtests/slowexp.c: New file.
42988         * benchtests/slowpow-inputs: New file.
42989         * benchtests/slowpow.c: New file.
42991 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42993         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
42994         instructions.
42995         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42996         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
42997         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
42998         * benchtests/Makefile: Add rint benchtest.
42999         * benchtests/rint-inputs: Input for rint benchtest.
43001 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
43003         * Versions.def (libm): Add GLIBC_2.18.
43004         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
43005         hidden libm prototypes.
43006         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
43007         * math/Makefile (libm-calls): Add s_issignaling.
43008         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
43009         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
43010         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
43011         declaration.
43012         * math/math.h [__USE_GNU] (issignaling): New macro.
43013         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
43014         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
43015         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
43016         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
43017         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
43018         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
43019         * manual/arith.texi (issignaling): New section.
43020         * manual/libm-err-tab.pl (@all_functions): Update comment.
43021         * math/gen-libm-test.pl (parse_args): Apply special handling for
43022         issignaling.
43023         * math/libm-test.inc (print_float, issignaling_test): New
43024         functions.
43025         (check_float_internal): Add issignaling checks.
43026         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
43027         default definition.
43028         * sysdeps/powerpc/math-tests.h: New file.
43029         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
43030         tests.
43031         * math/test-snan.c (TEST_FUNC): Likewise.
43033 2013-03-30  David S. Miller  <davem@davemloft.net>
43035         * po/de.po: Update from translation team.
43037 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
43039         [BZ #10357]
43040         * math/k_casinh.c (__kernel_casinh): Handle arguments with
43041         imaginary part less than 1.0 and real part less than 0.5
43042         specially.
43043         * math/k_casinhf.c (__kernel_casinhf): Likewise.
43044         * math/k_casinhl.c (__kernel_casinhl): Likewise.
43045         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
43046         (cacos_test): Add more tests.
43047         (casin_test): Likewise.
43048         (casinh_test): Likewise.
43049         * sysdeps/i386/fpu/libm-test-ulps: Update.
43050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43052 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43054         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
43055         ONE with its value.
43057         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
43058         (__pow_mp): Replace ONE and MONE with their values.
43059         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
43060         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
43061         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
43062         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
43063         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
43064         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
43066         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
43068         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
43069         (__pow_mp): Replace ZERO and MZERO with their values.
43070         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
43071         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
43072         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
43073         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
43074         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
43075         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
43076         (__sqr): Likewise.
43078         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
43080         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
43082 2013-03-28  Roland McGrath  <roland@hack.frob.com>
43084         * include/stdlib.h [!SHARED] (__call_tls_dtors):
43085         Declare with __attribute__ ((weak)).
43086         * stdlib/exit.c (__libc_atexit) [!SHARED]:
43087         Call __call_tls_dtors only if it's not NULL.
43089 2013-03-28  Roland McGrath  <roland@hack.frob.com>
43091         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
43092         didn't do it already, then set _dl_phdr and _dl_phnum based on the
43093         magic __ehdr_start linker symbol if it's defined.
43094         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
43095         them up here if it was already done.
43097         * elf/dl-support.c (_dl_phdr): Make pointer to const.
43098         (_dl_aux_init): Use const in cast when setting it.
43099         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
43100         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
43101         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
43103         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
43104         Declare them here.
43105         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
43106         * csu/libc-tls.c: Nor here.
43107         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
43109         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
43110         (__libc_message): Never call vsyslog.
43112 2013-03-28  Alan Modra  <amodra@gmail.com>
43114         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
43115         Define as empty.
43116         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
43117         Likewise.
43119 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43121         [BZ #15214]
43122         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
43123         underflow.
43124         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43126 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43128         [BZ #15304]
43129         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
43130         Don't add gid passed as argument.
43132         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
43134 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
43136         [BZ #15307]
43137         * math/k_casinh.c (__kernel_casinh): Handle arguments with
43138         imaginary part between 1.0 and 1.5 and real part less than 0.5
43139         specially.
43140         * math/k_casinhf.c (__kernel_casinhf): Likewise.
43141         * math/k_casinhl.c (__kernel_casinhl): Likewise.
43142         * math/libm-test.inc (cacos_test): Add more tests.
43143         (casin_test): Likewise.
43144         (casinh_test): Likewise.
43145         * sysdeps/i386/fpu/libm-test-ulps: Update.
43146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43148 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43150         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
43151         constants.
43152         (norm): Likewise.
43153         (denorm): Likewise.
43154         (__dbl_mp): Likewise.
43155         (add_magnitudes): Likewise.
43156         (sub_magnitudes): Likewise.
43157         (__add): Likewise.
43158         (__sub): Likewise.
43159         (__mul): Likewise.
43160         (__sqr): Likewise.
43161         (__inv): Likewise.
43162         (__dvd): Likewise.
43164         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
43165         commented code.
43166         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
43167         (__dubcos): Likewise.
43168         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
43169         (__ieee754_acos): Likewise.
43170         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
43171         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
43172         (__exp1): Likewise.
43173         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
43174         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
43175         (log1): Likewise.
43176         (my_log2): Likewise.
43177         (checkint): Likewise.
43178         * sysdeps/ieee754/dbl-64/e_remainder.c
43179         (__ieee754_remainder): Likewise.
43180         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
43181         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
43182         (bsloww): Likewise.
43183         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
43185         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
43186         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
43187         MANTISSA_STORE_T to store computations on mantissa.  Use
43188         macros for rounding and division.
43189         (denorm): Likewise.
43190         (__dbl_mp): Likewise.
43191         (add_magnitudes): Likewise.
43192         (sub_magnitudes): Likewise.
43193         (__mul): Likewise.
43194         (__sqr): Likewise.
43195         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
43196         powers of two in terms of TWOPOW macro.
43197         (mp_no): Make type of mantissa as MANTISSA_T.
43198         [!RADIXI]: Define RADIXI.
43199         [!TWO52]: Define TWO52.
43200         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
43202 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43204         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
43205         llroundl symbol when building for PPC32.
43207 2013-03-24  Mark H Weaver  <mhw@netris.org>
43209         * manual/arith.texi (Normalization Functions): Fix prototypes for
43210         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
43212 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43214         [BZ #13889]
43215         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
43216         high value to check if expl overflow.
43217         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
43218         to check for underflow and overflow.
43219         * math/libm-test.inc: Add exp test.
43221 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
43223         [BZ #11120]
43224         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
43225         with NOT_IN_libc.
43227 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43229         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
43230         symbol.
43232 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
43234         * math/gen-libm-test.pl (parse_args, special_functions): Properly
43235         wrap blocks consisting of several statements.
43237         * sysdeps/generic/math-tests.h: New file.
43238         * sysdeps/i386/fpu/math-tests.h: Likewise.
43239         * math/test-snan.c: Include it.
43240         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
43242 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
43244         [BZ #15285]
43245         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
43246         (__ieee754_j0l): Do not improve calculations using cos of twice
43247         input for inputs above LDBL_MAX / 2.0L.
43248         (__ieee754_y0l): Likewise.
43249         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
43250         (__ieee754_j1l): Do not improve calculations using cos of twice
43251         input for inputs above LDBL_MAX / 2.0L.
43252         (__ieee754_y1l): Likewise.
43253         * math/libm-test.inc (j0_test): Add another test.
43254         (j1_test): Likewise.
43255         (y0_test): Likewise.
43256         (y1_test): Likewise.
43257         * sysdeps/i386/fpu/libm-test-ulps: Update.
43259 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43261         * Rules ($(objpfx)bench-%.c): Include code from a C source
43262         file.
43264 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
43266         [BZ #15287]
43267         * math/k_casinh.c (__kernel_casinh): Handle arguments with
43268         imaginary part 1.0 and real part less than 0.5 specially.
43269         * math/k_casinhf.c (__kernel_casinhf): Likewise.
43270         * math/k_casinhl.c (__kernel_casinhl): Likewise.
43271         * math/libm-test.inc (cacos_test): Add more tests.
43272         (casin_test): Likewise.
43273         (casinh_test): Likewise.
43274         * sysdeps/i386/fpu/libm-test-ulps: Update.
43275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43277 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43279         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
43280         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
43282 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
43284         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
43285         * config.make.in (config-cflags-sse4): Remove variable.
43286         (config-cflags-avx): Likewise.
43287         (config-cflags-sse2avx): Likewise.
43288         (config-cflags-novzeroupper): Likewise.
43289         (config-asflags-i686): Likewise.
43290         (have-mfma4): Likewise.
43291         (have-as-vis3): Likewise.
43292         (MIG): Likewise.
43293         * configure.in (MIG): Do not AC_SUBST.
43294         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
43295         (libc_cv_cc_sse4): Do not AC_SUBST.
43296         (libc_cv_cc_avx): Likewise.
43297         (libc_cv_cc_sse2avx): Likewise.
43298         (libc_cv_cc_novzeroupper): Likewise.
43299         (libc_cv_cc_fma4): Likewise.
43300         (libc_cv_as_i686): Likewise.
43301         (libc_cv_sparc_as_vis3): Likewise.
43302         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
43303         LIBC_CONFIG_VAR.
43304         (config-asflags-i686): Likewise.
43305         (config-cflags-avx): Likewise.
43306         (config-cflags-sse2avx): Likewise.
43307         (have-mfma4): Likewise.
43308         (config-cflags-novzeroupper): Likewise.
43309         * sysdeps/mach/configure.in (MIG): Likewise.
43310         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
43311         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
43312         LIBC_CONFIG_VAR.
43313         (config-cflags-avx): Likewise.
43314         (config-cflags-sse2avx): Likewise.
43315         (have-mfma4): Likewise.
43316         (config-cflags-novzeroupper): Likewise.
43317         * configure: Regenerated.
43318         * sysdeps/i386/configure: Likewise.
43319         * sysdeps/mach/configure: Likewise.
43320         * sysdeps/sparc/configure: Likewise.
43321         * sysdeps/x86_64/configure: Likewise.
43323 2013-03-20  Roland McGrath  <roland@hack.frob.com>
43325         [BZ #14812]
43326         * locale/programs/localedef.c (options): Put N_ translation marker
43327         on argument names, not just descriptions.
43329 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43331         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
43333 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
43335         [BZ #14176]
43336         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
43338 2013-03-19  Roland McGrath  <roland@hack.frob.com>
43340         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
43341         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
43342         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
43343         [!BEFORE_ABORT] (before_abort): New function.
43344         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
43345         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
43346         (writev_for_fatal): New function.
43347         (WRITEV_FOR_FATAL): New macro; call that.
43348         (backtrace_and_maps): New function.
43349         (BEFORE_ABORT): New macro; call that.
43350         (struct str_list): Type removed.
43351         (__libc_message, __libc_fatal): Functions removed.
43352         Include <sysdeps/posix/libc_fatal.c> instead.
43354 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
43356         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
43357         constants.
43358         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
43359         double constants.
43361 2013-03-19  Andreas Schwab  <schwab@suse.de>
43363         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
43364         * sysdeps/gnu/configure: Regenerate.
43366         * configure.in: Substitute libc_cv_rtlddir.
43367         * configure: Regenerate.
43368         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
43369         * Makeconfig (rtlddir, inst_rtlddir): New variables.
43370         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
43371         * elf/Makefile (install-others, CFLAGS-interp.c)
43372         (ldso_install, common-ldd-rewrite): Likewise.
43373         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
43374         $(inst_slibdir)/$(rtld-installed-name).
43375         * scripts/rellns-sh: Add -p option.
43376         * Makerules (make-shlib-link): Use rellns-sh to get relative name
43377         for source.
43379 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43381         * manual/nptl.texi: Renamed to ...
43382         * manual/threads.texi: ... this.
43383         * manual/Makefile (chapters): Update.
43385 2013-03-18  Roland McGrath  <roland@hack.frob.com>
43387         [BZ #14812]
43388         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
43389         on argument names, not just descriptions.
43390         * malloc/memusagestat.c (options): Likewise.
43391         * nss/getent.c (options): Likewise.
43393 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
43395         [BZ #14812]
43396         * iconv/iconv_prog.c (options): Put N_ translation marker
43397         on argument names, not just descriptions.
43398         * iconv/iconvconfig.c (options): Likewise.
43400 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
43402         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
43403         implementation which is faster on all x86_64 architectures.
43404         Tested on AMD, Intel Nehalem, SNB, IVB.
43405         * sysdeps/x86_64/strnlen.S: Likewise.
43407         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
43408         Remove all multiarch strlen and strnlen versions.
43409         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
43410         Remove strlen and strnlen related parts.
43412         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
43413         Inline strlen part.
43414         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
43416         * sysdeps/x86_64/multiarch/strlen.S: Remove.
43417         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
43418         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
43419         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
43420         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
43421         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
43423 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
43425         * manual/memory.texi (Malloc Tunable Parameters):
43426         Sort parameters alphabetically. Add comments for missing entries.
43428 2013-03-17  David S. Miller  <davem@davemloft.net>
43430         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43432 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
43434         [BZ #15283]
43435         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
43436         for arguments at most half maximum finite value.
43437         * math/libm-test.inc (j0_test): Add more tests.
43438         (j1_test): Likewise.
43439         (y0_test): Likewise.
43440         (y1_test): Likewise.
43441         * sysdeps/i386/fpu/libm-test-ulps: Update.
43442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43444         [BZ #14155]
43445         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
43446         1 / x and functions P and Q for arguments above 0x1p256L.
43447         (__ieee754_y0l): Likewise.
43448         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
43449         (__ieee754_y1l): Likewise.
43450         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
43451         (j1_test): Likewise.
43452         (y0_test): Likewise.
43453         (y1_test): Likewise.
43455 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
43457         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
43458         variable.
43460 2013-03-15  Roland McGrath  <roland@hack.frob.com>
43462         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
43463         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
43464         zero since it's initialized to EXEC_PAGESIZE.
43466         * sysdeps/unix/sysv/linux/ldsodefs.h
43467         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
43468         * sysdeps/generic/ldsodefs.h: ... here.
43470 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
43472         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
43474         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
43475         math/test-snan.c.
43476         * math/test-snan.c: Renamed from
43477         sysdeps/powerpc/fpu/test-powerpc-snan.c.
43478         * math/Makefile (tests): Add test-snan.
43479         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
43480         test-powerpc-snan.
43482         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
43483         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
43484         functions.
43485         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
43486         __builtin_nan family of functions.
43487         * math/libm-test.inc (initialize): Initialize qnan_value with
43488         __builtin_nan family of functions.
43489         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
43490         Remove variables.
43491         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
43492         Remove functions.
43493         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
43494         storage class.  Initialize qNaN_var and sNaN_var with
43495         __builtin_nan and __builtin_nans families of functions,
43496         respectively.
43498         * math/libm-test.inc (acosh_test): Also test with qNaN input.
43499         (sqrt_test): Remove duplicate test with qNaN input.
43500         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
43501         (round_test, signbit_test, significand_test): Note missing +/-Inf
43502         as well as qNaN tests.
43504         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
43505         qNaN_var.  Fix a few strings, too.
43506         * math/libm-test.inc (nan_value): Rename to qnan_value.
43507         * math/gen-libm-test.pl (%beautify): Adjust to that.
43508         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
43509         * math/test-misc.c (main): Likewise.
43510         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
43511         to __qnan_bytes, and __qnan_union, respectively.
43512         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
43513         Likewise.
43514         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
43515         and lqnanval, respectively.
43516         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
43517         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
43518         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
43519         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
43521         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
43522         * math/test-misc.c (main) [__x86_64__]: Enable test for long
43523         doubles.
43525         * math/test-misc.c (main): Fix copy'n'pastos.
43526         * misc/tst-efgcvt.c (special): Likewise.
43528         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
43529         Remove declarations.
43531 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43533         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
43534         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
43535         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
43536         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
43538 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43540         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
43541         macro to return vdso values correctly in IFUNC implementations.
43542         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
43543         Optimization by using IFUNC.
43545 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43546             Richard Henderson  <rth@redhat.com>
43547             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43549         * Makefile.in (bench): New target.
43550         * NEWS: Mention the benchmark framework.
43551         * Rules (bench): Likewise.
43552         (binaries-bench): Generate binaries for functions to
43553         benchmark.
43554         * benchtests/Makefile: New makefile for benchmark tests.
43555         * benchtests/bench-skeleton.c: New skeleton file for benchmark
43556         programs.
43557         * benchtests/exp-inputs: New input file for EXP function.
43558         * benchtests/pow-inputs: New input file for POW function.
43559         * scripts/bench.pl: New script to generate source files for
43560         benchmark programs.
43562 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43564         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
43565         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
43566         computations on mantissa.  Use macros for rounding and
43567         division.
43568         (denorm): Likewise.
43569         (__dbl_mp): Likewise.
43570         (add_magnitudes): Likewise.
43571         (sub_magnitudes): Likewise.
43572         (__mul): Likewise.
43573         (__sqr): Likewise.
43574         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
43575         powers of two in terms of TWOPOW macro.
43576         (mp_no): Make type of mantissa as MANTISSA_T.
43577         [!RADIXI]: Define RADIXI.
43578         [!TWO52]: Define TWO52.
43579         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
43581         * manual/nptl.texi (cindex): Modify threads to pthreads.
43583 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
43585         * sysdeps/x86_64/preconfigure: Regenerated.
43587 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
43589         [BZ #14155]
43590         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
43591         0x1p28 and above.
43592         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
43593         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
43594         0x1p28 and above.
43595         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
43596         * math/libm-test.inc (j0_test): Do not allow one spurious
43597         underflow exception.
43598         (y1_test): Likewise.
43600 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
43602         * manual/Makefile (chapters): Add nptl.
43603         * manual/debug.texi (Debugging Support): Add link to Threads
43604         chapter.
43605         * manual/nptl.texi: New file.
43607         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
43609 2013-03-14  Petr Baudis  <pasky@ucw.cz>
43611         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
43612         for non-NULL pointer before the memory validity test. Pointed
43613         out by Holger Brunck <holger.brunck@keymile.com>.
43615 2013-03-13  Andreas Schwab  <schwab@suse.de>
43617         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
43618         instead of .os.
43620 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
43622         * timezone/zic.c: Update from tzcode 2013b.
43624 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
43626         * manual/install.texi (Configuring and compiling):
43627         Mention i686 and i586.
43628         * INSTALL: Regenerate.
43630 2013-03-12  Roland McGrath  <roland@hack.frob.com>
43632         * sysdeps/init_array/elf-init.c: New file.
43633         * csu/elf-init.c
43634         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
43635         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
43637         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
43638         __gmon_start__ as global, but as static with a .preinit_array pointer.
43639         * sysdeps/init_array/gmon-start.c: New file.  Use that.
43640         * sysdeps/init_array/crti.S: New file, empty except for comments.
43641         * sysdeps/init_array/crtn.S: Likewise.
43643 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
43645         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
43646         definining bcopy.
43647         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43648         Remove Prefer_SSE_for_memop.
43649         * sysdeps/x86_64/multiarch/init-arch.h: Remove
43650         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
43651         HAS_PREFER_SSE_FOR_MEMOP.
43652         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
43653         memset-x86-64.
43654         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43655         Remove bzero, memset ifunc support.
43656         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
43657         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
43658         * sysdeps/x86_64/multiarch/memset.S: Likewise.
43659         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43661 2013-03-11  Andreas Schwab  <schwab@suse.de>
43663         [BZ #15234]
43664         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
43665         by SHLIB_COMPAT.
43666         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
43667         (GLIBC_2.16): Remove pthread_atfork.
43669 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
43671         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
43672         (ptestcases.h): Likewise.
43674 2013-03-08  Roland McGrath  <roland@hack.frob.com>
43676         * Makeconfig ($(common-objpfx)config.status): Depend on
43677         sysdeps/*/preconfigure{,.in} too.
43679 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
43681         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
43682         (__free_hook): Use void * instead of __malloc_ptr_t.
43683         (__malloc_hook): Likewise.
43684         (__realloc_hook): Likewise.
43685         (__memalign_hook): Likewise.
43686         (__after_morecore_hook): Likewise.
43687         * malloc/arena.c (save_malloc_hook): Likewise.
43688         (save_free_hook): Likewise.
43689         * malloc/hooks.c (malloc_hook_ini): Likewise.
43690         (realloc_hook_ini): Likewise.
43691         (memalign_hook_ini): Likewise.
43692         * malloc/malloc.c (malloc_hook_ini): Likewise.
43693         (realloc_hook_ini): Likewise.
43694         (memalign_hook_ini): Likewise.
43695         (__free_hook): Likewise.
43696         (__malloc_hook): Likewise.
43697         (__realloc_hook): Likewise.
43698         (__memalign_hook): Likewise.
43699         (__libc_malloc): Likewise.
43700         (__libc_free): Likewise.
43701         (__libc_realloc): Likewise.
43702         (__libc_memalign): Likewise.
43703         (__libc_valloc): Likewise.
43704         (__libc_pvalloc): Likewise.
43705         (__libc_calloc): Likewise.
43706         (__posix_memalign): Likewise.
43707         * malloc/morecore.c (__sbrk): Likewise.
43708         (__default_morecore): Likewise.
43710         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
43712         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
43713         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
43714         __malloc_ptrdiff_t.
43716         * malloc/malloc.h (__malloc_size_t): Remove macro.
43717         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
43718         __malloc_size_t.
43719         (old_memalign_hook): Likewise.
43720         (old_realloc_hook): Likewise.
43721         (struct hdr): Likewise.
43722         (flood): Likewise.
43723         (mallochook): Likewise.
43724         (memalignhook): Likewise.
43725         (reallochook): Likewise.
43726         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
43727         (tr_old_realloc_hook): Likewise.
43728         (tr_old_memalign_hook): Likewise.
43729         (tr_mallochook): Likewise.
43730         (tr_reallochook): Likewise.
43731         (tr_memalignhook): Likewise.
43733 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43735         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
43736         default_ldbl_pack and using as default implementation.
43737         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
43738         implementation.
43739         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
43740         redundant definition.
43741         (ldbl_insert_mantissa): Likewise.
43742         (ldbl_canonicalize): Likewise.
43743         (ldbl_nearbyint): Likewise.
43744         (ldbl_pack): Rename to ldbl_pack_ppc.
43745         (ldbl_unpack): Rename to ldbl_unpack_ppc.
43746         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
43747         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
43749 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
43751         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
43752         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
43753         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
43754         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
43755         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
43756         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
43757         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
43758         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
43760 2013-03-07  Andreas Jaeger  <aj@suse.de>
43762         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43763         bits/mman-linux.h.
43765 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
43767         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
43768         Include mpa.h and declare __MPEXP.
43769         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
43770         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
43771         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
43772         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
43773         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
43774         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
43775         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
43777         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
43778         (__slowpow): Use long double EXPL and LOGL functions to
43779         compute POW.
43780         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
43781         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
43782         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
43783         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
43784         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
43785         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
43787         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
43788         intermediate variable to calculate exponent.
43789         (__sqr): Likewise.
43790         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
43791         Likewise.
43792         (__sqr): Likewise.
43794         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
43795         [!NO__SQR]: Define __sqr.
43796         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
43797         and NO__SQR.  Remove all code except __mul and __sqr.  Include
43798         sysdeps/ieee754/dbl-64/mpa.c.
43799         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
43801         [BZ #12723]
43802         * posix/Makefile (tests): Add tst-pathconf.
43803         * posix/tst-pathconf.c: New test case.
43804         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
43805         _PC_PIPE_BUF.
43806         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
43808 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
43810         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
43812 2013-03-06  Andreas Jaeger  <aj@suse.de>
43814         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
43815         definition via __MAP_ANONYMOUS.
43817         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
43818         it's not part of Linux headers.
43820         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
43821         (MAP_HUGE_MASK): Define.
43823         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
43824         Define.
43825         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
43826         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
43827         Define.
43828         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
43829         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
43830         Define.
43831         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
43832         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
43833         Define.
43834         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
43836         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
43837         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
43838         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
43839         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
43840         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
43841         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
43843         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
43844         Handle f2fs.
43846         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43847         Handle f2fs and efivarfs.
43849         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
43850         f2fs.
43852         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
43853         (EFIVARFS_MAGIC): Add.
43854         (F2FS_LINK_MAX): Add.
43856 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
43858         * stdio-common/vfprintf.c: Replace __builtin_expect with
43859         __glibc_unlikely.
43861 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
43863         [BZ #13550]
43864         * sysdeps/generic/bp-sym.h: Remove file.
43865         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
43866         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
43867         <bp-sym.h> and <bp-asm.h>.
43868         (__longjmp): Don't use BP_SYM.
43869         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
43870         and <bp-asm.h>.
43871         (memcpy): Don't use BP_SYM.
43872         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
43873         <bp-sym.h> and <bp-asm.h>.
43874         (memcpy): Don't use BP_SYM.
43875         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
43876         <bp-asm.h>.
43877         (memcpy): Don't use BP_SYM.
43878         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
43879         <bp-asm.h>.
43880         (memset): Don't use BP_SYM.
43881         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
43882         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
43883         (__bzero): Don't use BP_SYM.
43884         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
43885         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
43886         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
43887         <bp-sym.h> and <bp-asm.h>.
43888         (memcmp): Don't use BP_SYM.  Remove comment about bounded
43889         pointers.
43890         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
43891         <bp-sym.h> and <bp-asm.h>.
43892         (memcpy): Don't use BP_SYM.
43893         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
43894         <bp-sym.h> and <bp-asm.h>.
43895         (memset): Don't use BP_SYM.
43896         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
43897         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
43898         (__bzero): Don't use BP_SYM.
43899         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
43900         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
43901         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
43902         <bp-sym.h> and <bp-asm.h>.
43903         (strncmp): Don't use BP_SYM.  Remove comment about bounded
43904         pointers.
43905         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
43906         <bp-sym.h> and <bp-asm.h>.
43907         (memcpy): Don't use BP_SYM.
43908         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
43909         <bp-sym.h> and <bp-asm.h>.
43910         (memset): Don't use BP_SYM.
43911         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
43912         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
43913         (__bzero): Don't use BP_SYM.
43914         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
43915         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
43916         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
43917         <bp-sym.h> and <bp-asm.h>.
43918         (__memchr): Don't use BP_SYM.
43919         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
43920         <bp-sym.h> and <bp-asm.h>.
43921         (memcmp): Don't use BP_SYM.  Remove comment about bounded
43922         pointers.
43923         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
43924         <bp-sym.h> and <bp-asm.h>.
43925         (memcpy): Don't use BP_SYM.
43926         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
43927         <bp-sym.h> and <bp-asm.h>.
43928         (__mempcpy): Don't use BP_SYM.
43929         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
43930         <bp-sym.h> and <bp-asm.h>.
43931         (__memrchr): Don't use BP_SYM.
43932         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
43933         <bp-sym.h> and <bp-asm.h>.
43934         (memset): Don't use BP_SYM.
43935         (__bzero): Likewise.
43936         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
43937         <bp-sym.h> and <bp-asm.h>.
43938         (__rawmemchr): Don't use BP_SYM.
43939         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
43940         <bp-sym.h> and <bp-asm.h>.
43941         (__STRCMP): Don't use BP_SYM.
43942         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
43943         <bp-sym.h> and <bp-asm.h>.
43944         (strchr): Don't use BP_SYM.
43945         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
43946         <bp-sym.h> and <bp-asm.h>.
43947         (__strchrnul): Don't use BP_SYM.
43948         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
43949         <bp-sym.h> and <bp-asm.h>.
43950         (strlen): Don't use BP_SYM.
43951         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
43952         <bp-sym.h> and <bp-asm.h>.
43953         (strncmp): Don't use BP_SYM.  Remove comment about bounded
43954         pointers.
43955         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
43956         <bp-sym.h> and <bp-asm.h>.
43957         (__strnlen): Don't use BP_SYM.
43958         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
43959         <bp-sym.h> and <bp-asm.h>.
43960         (__GI__setjmp): Don't use BP_SYM.
43961         (_setjmp): Likewise.
43962         (__sigsetjmp): Likewise.
43963         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
43964         (L(start_addresses)): Don't use BP_SYM.
43965         (_start): Likewise.
43966         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
43967         <bp-asm.h>.
43968         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
43969         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
43970         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
43971         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
43972         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
43973         <bp-asm.h>.
43974         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
43975         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
43976         about bounded pointers.
43977         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
43978         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
43979         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
43980         <bp-asm.h>.
43981         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
43982         about bounded pointers.  Remove GKM FIXME comments.
43983         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
43984         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
43985         <bp-asm.h>.
43986         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
43987         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
43988         Remove GKM FIXME comments.
43989         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
43990         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
43991         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
43992         <bp-asm.h>.
43993         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
43994         about bounded pointers.  Remove GKM FIXME comment.
43995         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
43996         and <bp-asm.h>.
43997         (strncmp): Don't use BP_SYM.  Remove comment about bounded
43998         pointers.
43999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
44000         <bp-sym.h> and <bp-asm.h>.
44001         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
44002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
44003         <bp-sym.h> and <bp-asm.h>.
44004         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
44005         comment.
44007 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
44009         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
44010         call free(NULL).
44012 2013-03-05  David S. Miller  <davem@davemloft.net>
44014         * po/es.po: Update from translation team.
44016 2013-03-05  Andreas Jaeger  <aj@suse.de>
44018         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
44019         <bits/mman-linux.h>.
44020         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
44021         is fine.
44022         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
44023         <bits/mman-linux.h> to end of file.
44024         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
44025         is fine.
44026         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
44027         <bits/mman-linux.h> to end of file.
44028         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
44029         is fine.
44030         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
44031         <bits/mman-linux.h> to end of file.
44033         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
44034         (MCL_CURRENT, MCL_FUTURE): Define here.
44036 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44038         [BZ #15232]
44039         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
44040         attribute_hidden.
44041         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
44043 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44045         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
44046         fourth parameter needed for rt_sigprocmask syscall.
44047         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
44048         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
44049         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
44050         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
44051         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
44052         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
44054 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
44056         [BZ #13550]
44057         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
44058         comment about bounded pointers.
44059         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
44060         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
44062 2013-03-04  Andreas Jaeger  <aj@suse.de>
44064         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
44065         common definitions.
44067         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
44068         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
44069         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
44070         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44071         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
44072         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44074 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44076         [BZ #15055]
44077         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
44078         __ieee754_sqrl instead of __sqrl.
44080 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
44082         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
44083         * sysdeps/powerpc/fpu_control.h: ... here.
44084         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
44085         * sysdeps/powerpc/bits/fenvinline.h: ... here.
44086         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
44087         * sysdeps/powerpc/bits/mathinline.h: ... here.
44089 2013-03-01  Roland McGrath  <roland@hack.frob.com>
44091         * elf/dl-hwcaps.c (_dl_important_hwcaps):
44092         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
44093         to just [NEED_DL_SYSINFO_DSO].
44094         * elf/dl-support.c: Likewise.
44095         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
44096         * elf/rtld.c (dl_main): Likewise.
44097         * elf/setup-vdso.h (setup_vdso): Likewise.
44098         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
44099         * sysdeps/unix/sysv/linux/dl-sysdep.c
44100         (_dl_discover_osversion): Likewise.
44102 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
44104         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
44105         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
44107 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
44109         * NEWS: Mention libm performance improvements and non-x86 PI
44110         futex support.
44112         * csu/libc-start.c (__pthread_initialize_minimal): Change
44113         function arguments.
44114         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
44116 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
44118         [BZ #13550]
44119         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
44120         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
44121         <bp-sym.h> and <bp-asm.h>.
44122         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
44123         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
44124         and <bp-asm.h>.
44125         (memcpy): Don't use BP_SYM.
44126         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
44127         <bp-asm.h>.
44128         (__mpn_add_n): Don't use BP_SYM.
44129         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
44130         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
44131         and <bp-asm.h>.
44132         (__mpn_addmul_1): Don't use BP_SYM.
44133         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44134         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
44135         <bp-sym.h>.
44136         (_setjmp): Don't use BP_SYM.
44137         (__novmx_setjmp): Likewise.
44138         (__GI__setjmp): Likewise.
44139         (__vmx_setjmp): Likewise.
44140         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
44141         <bp-sym.h>.
44142         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
44143         (__bzero): Don't use BP_SYM.
44144         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
44145         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
44146         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
44147         <bp-sym.h> and <bp-asm.h>.
44148         (memcpy): Don't use BP_SYM.
44149         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
44150         <bp-sym.h> and <bp-asm.h>.
44151         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
44152         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
44153         <bp-sym.h> and <bp-asm.h>.
44154         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
44155         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
44156         <bp-asm.h>.
44157         (__mpn_lshift): Don't use BP_SYM.
44158         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44159         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
44160         <bp-asm.h>.
44161         (memset): Don't use BP_SYM.
44162         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
44163         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
44164         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
44165         <bp-asm.h>.
44166         (__mpn_mul_1): Don't use BP_SYM.
44167         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44168         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
44169         <bp-sym.h> and <bp-asm.h>.
44170         (memcmp): Don't use BP_SYM.
44171         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
44172         <bp-sym.h> and <bp-asm.h>.
44173         (memcpy): Don't use BP_SYM.
44174         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
44175         <bp-sym.h> and <bp-asm.h>.
44176         (memset): Don't use BP_SYM.
44177         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
44178         <bp-sym.h> and <bp-asm.h>.
44179         (strncmp): Don't use BP_SYM.
44180         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
44181         <bp-sym.h> and <bp-asm.h>.
44182         (memcpy): Don't use BP_SYM.
44183         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
44184         <bp-sym.h> and <bp-asm.h>.
44185         (memset): Don't use BP_SYM.
44186         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
44187         <bp-sym.h> and <bp-asm.h>.
44188         (__memchr): Don't use BP_SYM.
44189         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
44190         <bp-sym.h> and <bp-asm.h>.
44191         (memcmp): Don't use BP_SYM.
44192         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
44193         <bp-sym.h> and <bp-asm.h>.
44194         (memcpy): Don't use BP_SYM.
44195         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
44196         <bp-sym.h> and <bp-asm.h>.
44197         (__mempcpy): Don't use BP_SYM.
44198         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
44199         <bp-sym.h> and <bp-asm.h>.
44200         (__memrchr): Don't use BP_SYM.
44201         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
44202         <bp-sym.h> and <bp-asm.h>.
44203         (memset): Don't use BP_SYM.
44204         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
44205         <bp-sym.h> and <bp-asm.h>.
44206         (__rawmemchr): Don't use BP_SYM.
44207         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
44208         <bp-sym.h> and <bp-asm.h>.
44209         (__STRCMP): Don't use BP_SYM.
44210         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
44211         <bp-sym.h> and <bp-asm.h>.
44212         (strchr): Don't use BP_SYM.
44213         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
44214         <bp-sym.h> and <bp-asm.h>.
44215         (__strchrnul): Don't use BP_SYM.
44216         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
44217         <bp-sym.h> and <bp-asm.h>.
44218         (strlen): Don't use BP_SYM.
44219         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
44220         <bp-sym.h> and <bp-asm.h>.
44221         (strncmp): Don't use BP_SYM.
44222         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
44223         <bp-sym.h> and <bp-asm.h>.
44224         (__strnlen): Don't use BP_SYM.
44225         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
44226         <bp-asm.h>.
44227         (__mpn_rshift): Don't use BP_SYM.
44228         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44229         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
44230         <bp-sym.h> and <bp-asm.h>.
44231         (__sigsetjmp): Don't use BP_SYM.
44232         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
44233         (L(start_addresses)): Don't use BP_SYM.
44234         (_start): Likewise.
44235         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
44236         <bp-asm.h>.
44237         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
44238         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44239         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
44240         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
44241         <bp-asm.h>.
44242         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
44243         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
44244         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
44245         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
44246         <bp-asm.h>.
44247         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
44248         comments.
44249         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
44250         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
44251         <bp-asm.h>.
44252         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
44253         FIXME comments.
44254         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44255         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
44256         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
44257         <bp-asm.h>.
44258         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
44259         comment.
44260         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
44261         and <bp-asm.h>.
44262         (strncmp): Don't use BP_SYM,
44263         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
44264         <bp-asm.h>.
44265         (__mpn_sub_n): Don't use BP_SYM.
44266         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44267         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
44268         and <bp-asm.h>.
44269         (__mpn_submul_1): Don't use BP_SYM.
44270         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
44272         <bp-sym.h> and <bp-asm.h>.
44273         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
44274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
44275         <bp-sym.h> and <bp-asm.h>.
44276         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
44277         comment.
44279 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44281         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
44282         Use ZK to minimize writes to Z.
44283         (sub_magnitudes): Simplify code a bit.
44284         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
44285         Use ZK to minimize writes to Z.
44286         (sub_magnitudes): Simplify code a bit.
44288 2013-02-27  Roland McGrath  <roland@hack.frob.com>
44290         * csu/gmon-start.c: Add special exception to license text.
44292 2013-02-27  Richard Henderson  <rth@redhat.com>
44294         * scripts/config.guess: Update from config.git.
44295         * scripts/config.sub: Likewise.
44297 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
44299         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
44301         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
44303         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
44305         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
44307         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
44309 2013-02-26  Roland McGrath  <roland@hack.frob.com>
44311         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
44312         [$(build-shared = yes].
44314 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44316         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
44317         (__mul): Reduce iterations for calculating mantissa.
44319         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
44320         MPTWO.
44321         (__mpranred): Likewise.
44323         [BZ #15160]
44324         * malloc/memusagestat.c (main): Draw graphs for heap and stack
44325         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
44327 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
44329         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
44330         Define __attribute__.
44332 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44334         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
44335         unused.
44336         * posix/regex_internal.h (__attribute): Remove.
44337         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
44338         (re_string_context_at): Likewise.
44339         (bitset_not): Use __attribute__ and mark function as possibly
44340         unused.
44341         (bitset_merge): Likewise.
44342         (bitset_mask): Likewise.
44343         (re_string_char_size_at): Likewise.
44344         (re_string_wchar_at): Likewise.
44345         (re_string_elem_size_at): Likewise.
44347 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44349         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
44350         code.
44351         (cc32): Likewise.
44353         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
44354         (__acr): Likewise.
44355         (__cpy): Likewise.
44356         (norm): Likewise.
44357         (denorm): Likewise.
44358         (__dbl_mp): Likewise.
44359         (add_magnitudes): Likewise.
44360         (sub_magnitudes): Likewise.
44361         (__mul): Likewise.
44362         (__inv): Likewise.
44364         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
44365         style.
44367         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
44368         style.
44370         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
44371         code.
44373         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
44374         up changes with default code.
44375         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
44376         Likewise.
44378 2013-02-24  Allan McRae  <allan@archlinux.org>
44380         * manual/socket.texi (The Internet Namespace): Order menu items
44381         to match that in the file.
44383         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
44384         node listing of the info page menu.
44386 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
44388         [BZ #13550]
44389         * sysdeps/i386/bp-asm.h: Remove file.
44390         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
44391         (PARMS): Do not use macros from bp-asm.h.
44392         (S1): Likewise.
44393         (S2): Likewise.
44394         (SIZE): Likewise.
44395         (__mpn_add_n): Do not use BP_SYM
44396         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
44397         "bp-asm.h".
44398         (PARMS): Do not use macros from bp-asm.h.
44399         (S1): Likewise.
44400         (SIZE): Likewise.
44401         (__mpn_addmul_1): Do not use BP_SYM
44402         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
44403         "bp-asm.h".
44404         (PARMS): Do not use macros from bp-asm.h.
44405         (SIGMSK): Likewise.
44406         (_setjmp): Likewise.  Do not use BP_SYM.
44407         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
44408         "bp-asm.h".
44409         (PARMS): Do not use macros from bp-asm.h.
44410         (SIGMSK): Likewise.
44411         (setjmp): Likewise.  Do not use BP_SYM.
44412         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
44413         "bp-asm.h".
44414         (PARMS): Do not use macros from bp-asm.h.
44415         (__frexp): Do not use BP_SYM.
44416         (frexp): Likewise.
44417         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
44418         "bp-asm.h".
44419         (PARMS): Do not use macros from bp-asm.h.
44420         (__frexpf): Do not use BP_SYM.
44421         (frexpf): Likewise.
44422         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
44423         "bp-asm.h".
44424         (PARMS): Do not use macros from bp-asm.h.
44425         (__frexpl): Do not use BP_SYM.
44426         (frexpl): Likewise.
44427         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
44428         "bp-asm.h".
44429         (PARMS): Do not use macros from bp-asm.h.
44430         (__remquo): Do not use BP_SYM.
44431         (remquo): Likewise.
44432         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
44433         "bp-asm.h".
44434         (PARMS): Do not use macros from bp-asm.h.
44435         (__remquof): Do not use BP_SYM.
44436         (remquof): Likewise.
44437         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
44438         "bp-asm.h".
44439         (PARMS): Do not use macros from bp-asm.h.
44440         (__remquol): Do not use BP_SYM.
44441         (remquol): Likewise.
44442         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
44443         "bp-asm.h".
44444         (PARMS): Do not use macros from bp-asm.h.
44445         (DEST): Likewise.
44446         (SRC): Likewise.
44447         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
44448         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
44449         "bp-asm.h".
44450         (PARMS): Do not use macros from bp-asm.h.
44451         (strlen): Do not use BP_SYM.
44452         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
44453         "bp-asm.h".
44454         (PARMS): Do not use macros from bp-asm.h.
44455         (S1): Likewise.
44456         (S2): Likewise.
44457         (SIZE): Likewise.
44458         (__mpn_add_n): Do not use BP_SYM.
44459         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
44460         "bp-asm.h".
44461         (PARMS): Do not use macros from bp-asm.h.
44462         (S1): Likewise.
44463         (SIZE): Likewise.
44464         (__mpn_addmul_1): Do not use BP_SYM.
44465         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
44466         weak_alias.
44467         (bzero): Likewise.
44468         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
44469         "bp-asm.h".
44470         (PARMS): Do not use macros from bp-asm.h.
44471         (S): Likewise.
44472         (SIZE): Likewise.
44473         (__mpn_lshift): Do not use BP_SYM.
44474         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
44475         "bp-asm.h".
44476         (PARMS): Do not use macros from bp-asm.h.
44477         (DEST): Likewise.
44478         (SRC): Likewise.
44479         (LEN): Likewise.
44480         (memcpy): Likewise.  Do not use BP_SYM.
44481         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
44482         libc_hidden_def and weak_alias.
44483         (mempcpy): Do not use BP_SYM in weak_alias.
44484         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
44485         "bp-asm.h".
44486         (PARMS): Do not use macros from bp-asm.h.
44487         (DEST): Likewise.
44488         (LEN): Likewise.
44489         [!BZERO_P] (CHR): Likewise.
44490         (memset): Likewise.  Do not use BP_SYM.
44491         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
44492         "bp-asm.h".
44493         (PARMS): Do not use macros from bp-asm.h.
44494         (S1): Likewise.
44495         (SIZE): Likewise.
44496         (__mpn_mul_1): Do not use BP_SYM.
44497         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
44498         "bp-asm.h".
44499         (PARMS): Do not use macros from bp-asm.h.
44500         (S): Likewise.
44501         (SIZE): Likewise.
44502         (__mpn_rshift): Do not use BP_SYM.
44503         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
44504         "bp-asm.h".
44505         (PARMS): Do not use macros from bp-asm.h.
44506         (STR): Likewise.
44507         (CHR): Likewise.
44508         (strchr): Likewise.  Do not use BP_SYM.
44509         (index): Do not use BP_SYM in weak_alias.
44510         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
44511         "bp-asm.h".
44512         (PARMS): Do not use macros from bp-asm.h.
44513         (DEST): Likewise.
44514         (SRC): Likewise.
44515         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
44516         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
44517         "bp-asm.h".
44518         (PARMS): Do not use macros from bp-asm.h.
44519         (strlen): Do not use BP_SYM.
44520         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
44521         "bp-asm.h".
44522         (PARMS): Do not use macros from bp-asm.h.
44523         (S1): Likewise.
44524         (S2): Likewise.
44525         (SIZE): Likewise.
44526         (__mpn_sub_n): Do not use BP_SYM.
44527         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
44528         "bp-asm.h".
44529         (PARMS): Do not use macros from bp-asm.h.
44530         (S1): Likewise.
44531         (SIZE): Likewise.
44532         (__mpn_submul_1): Do not use BP_SYM.
44533         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
44534         "bp-asm.h".
44535         (PARMS): Do not use macros from bp-asm.h.
44536         (S1): Likewise.
44537         (S2): Likewise.
44538         (SIZE): Likewise.
44539         (__mpn_add_n): Do not use BP_SYM.
44540         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
44541         weak_alias.
44542         (bzero): Likewise.
44543         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
44544         "bp-asm.h".
44545         (PARMS): Do not use macros from bp-asm.h.
44546         (BLK2): Likewise.
44547         (LEN): Likewise.
44548         (memcmp): Do not use BP_SYM.
44549         (bcmp): Do not use BP_SYM in weak_alias.
44550         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
44551         "bp-asm.h".
44552         (PARMS): Do not use macros from bp-asm.h.
44553         (DEST): Likewise.
44554         (SRC): Likewise.
44555         (LEN): Likewise.
44556         (memcpy): Likewise.  Do not use BP_SYM.
44557         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
44558         "bp-asm.h".
44559         (PARMS): Do not use macros from bp-asm.h.
44560         (DEST): Likewise.
44561         (SRC): Likewise.
44562         (LEN): Likewise.
44563         (memmove): Likewise.  Do not use BP_SYM.
44564         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
44565         "bp-asm.h".
44566         (PARMS): Do not use macros from bp-asm.h.
44567         (DEST): Likewise.
44568         (SRC): Likewise.
44569         (LEN): Likewise.
44570         (__mempcpy): Likewise.  Do not use BP_SYM.
44571         (mempcpy): Do not use BP_SYM in weak_alias.
44572         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
44573         "bp-asm.h".
44574         (PARMS): Do not use macros from bp-asm.h.
44575         (DEST): Likewise.
44576         (LEN): Likewise.
44577         [!BZERO_P] (CHR): Likewise.
44578         (memset): Likewise.  Do not use BP_SYM.
44579         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
44580         "bp-asm.h".
44581         (PARMS): Do not use macros from bp-asm.h.
44582         (STR2): Likewise.
44583         (strcmp): Do not use BP_SYM.
44584         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
44585         "bp-asm.h".
44586         (PARMS): Do not use macros from bp-asm.h.
44587         (STR): Likewise.
44588         (DELIM): Likewise.
44589         [USE_AS_STRTOK_R] (SAVE): Likewise.
44590         (FUNCTION): Likewise.  Do not use BP_SYM.
44591         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
44592         aliases.
44593         (strtok_r): Likewise.
44594         (__GI___strtok_r): Likewise.
44595         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
44596         (PARMS): Do not use macros from bp-asm.h.
44597         (S): Likewise.
44598         (SIZE): Likewise.
44599         (__mpn_lshift): Do not use BP_SYM.
44600         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
44601         (PARMS): Do not use macros from bp-asm.h.
44602         (STR): Likewise.
44603         (CHR): Likewise.
44604         (__memchr): Do not use BP_SYM.
44605         (memchr): Do not use BP_SYM in weak_alias.
44606         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
44607         (PARMS): Do not use macros from bp-asm.h.
44608         (BLK2): Likewise.
44609         (LEN): Likewise.
44610         (memcmp): Do not use BP_SYM.
44611         (bcmp): Do not use BP_SYM in weak_alias.
44612         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
44613         (PARMS): Do not use macros from bp-asm.h.
44614         (S1): Likewise.
44615         (SIZE): Likewise.
44616         (__mpn_mul_1): Do not use BP_SYM.
44617         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
44618         "bp-asm.h".
44619         (PARMS): Do not use macros from bp-asm.h.
44620         (STR): Likewise.
44621         (CHR): Likewise.
44622         (__rawmemchr): Do not use BP_SYM.
44623         (rawmemchr): Do not use BP_SYM in weak_alias.
44624         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
44625         (PARMS): Do not use macros from bp-asm.h.
44626         (S): Likewise.
44627         (SIZE): Likewise.
44628         (__mpn_rshift): Do not use BP_SYM.
44629         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
44630         (PARMS): Do not use macros from bp-asm.h.
44631         (SIGMSK): Likewise.
44632         (__sigsetjmp): Likewise.  Do not use BP_SYM.
44633         * sysdeps/i386/start.S: Do not include "bp-sym.h".
44634         (_start): Do not use BP_SYM.
44635         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
44636         (PARMS): Do not use macros from bp-asm.h.
44637         (DEST): Likewise.
44638         (SRC): Likewise.
44639         (__stpcpy): Likewise.  Do not use BP_SYM.
44640         (stpcpy): Do not use BP_SYM in weak_alias.
44641         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
44642         "bp-asm.h".
44643         (PARMS): Do not use macros from bp-asm.h.
44644         (DEST): Likewise.
44645         (SRC): Likewise.
44646         (LEN): Likewise.
44647         (__stpncpy): Likewise.  Do not use BP_SYM.
44648         (stpncpy): Do not use BP_SYM in weak_alias.
44649         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
44650         (PARMS): Do not use macros from bp-asm.h.
44651         (STR): Likewise.
44652         (CHR): Likewise.
44653         (strchr): Likewise.  Do not use BP_SYM.
44654         * sysdeps/i386/strchrnul.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         (CHR): Likewise.
44659         (__strchrnul): Likewise.  Do not use BP_SYM.
44660         (strchrnul): Do not use BP_SYM in weak_alias.
44661         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
44662         "bp-asm.h".
44663         (PARMS): Do not use macros from bp-asm.h.
44664         (STOP): Likewise.
44665         (strcspn): Do not use BP_SYM.
44666         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
44667         "bp-asm.h".
44668         (PARMS): Do not use macros from bp-asm.h.
44669         (STR): Likewise.
44670         (STOP): Likewise.
44671         (strpbrk): Likewise.  Do not use BP_SYM.
44672         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
44673         "bp-asm.h".
44674         (PARMS): Do not use macros from bp-asm.h.
44675         (STR): Likewise.
44676         (CHR): Likewise.
44677         (strrchr): Likewise.  Do not use BP_SYM.
44678         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
44679         (PARMS): Do not use macros from bp-asm.h.
44680         (SKIP): Likewise.
44681         (strspn): Do not use BP_SYM.
44682         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
44683         (PARMS): Do not use macros from bp-asm.h.
44684         (STR): Likewise.
44685         (DELIM): Likewise.
44686         (SAVE): Likewise.
44687         (FUNCTION): Likewise.  Do not use BP_SYM.
44688         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
44689         aliases.
44690         (strtok_r): Likewise.
44691         (__GI___strtok_r): Likewise.
44692         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
44693         (PARMS): Do not use macros from bp-asm.h.
44694         (S1): Likewise.
44695         (S2): Likewise.
44696         (SIZE): Likewise.
44697         (__mpn_sub_n): Do not use BP_SYM.
44698         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
44699         "bp-asm.h".
44700         (PARMS): Do not use macros from bp-asm.h.
44701         (S1): Likewise.
44702         (SIZE): Likewise.
44703         (__mpn_submul_1): Do not use BP_SYM.
44704         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
44705         <bp-sym.h>.
44706         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
44707         and <bp-asm.h>.
44708         (PARMS): Do not use macros from bp-asm.h.
44709         (FLAGS): Likewise.
44710         (PTID): Likewise.
44711         (TLS): Likewise.
44712         (CTID): Likewise.
44713         (__clone): Do not use BP_SYM.
44714         (clone): Do not use BP_SYM in weak_alias.
44715         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
44716         and <bp-asm.h>.
44717         (PARMS): Do not use macros from bp-asm.h.
44718         (LEN): Likewise.
44719         (__mmap64): Do not use BP_SYM.
44720         (mmap64): Do not use BP_SYM in weak_alias.
44721         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
44722         <bp-sym.h> and <bp-asm.h>.
44723         (PARMS): Do not use macros from bp-asm.h.
44724         (__posix_fadvise64_l64): Do not use BP_SYM.
44725         * sysdeps/unix/sysv/linux/i386/semtimedop.S
44726         (PARMS): Do not use macros from bp-asm.h.
44727         (NSOPS): Likewise.
44728         (semtimedop): Do not use BP_SYM.
44729         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
44730         and <bp-asm.h>.
44732 2013-02-21  Allan McRae  <allan@archlinux.org>
44734         * manual/message.texi (Charset conversion in gettext):
44735         Move @end statement to beginning of line.
44737 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44739         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
44740         static.
44741         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
44742         Likewise.
44744         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
44745         (denorm): Likewise.
44746         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
44747         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
44749 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44751         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
44752         tail-call to the resolved function if pltexit isn't needed.
44754 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44756         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
44757         or Y being zero as being unlikely.
44758         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
44759         Likewise.
44761 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
44763         * manual/nss.texi (System Databases and Name Service Switch):
44764         Remove frobnicate @pxref.
44766 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
44768         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
44769         __attribute__ ((unused)) to __attribute__ ((__unused__)).
44771 2013-02-20  Petr Machata  <pmachata@redhat.com>
44773         * elf/elf.h (R_ARM_TARGET1): New macro.
44774         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
44775         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
44776         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
44777         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
44778         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
44779         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
44780         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
44781         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
44782         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
44783         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
44784         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
44785         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
44786         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
44787         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
44788         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
44789         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
44790         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
44791         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
44792         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
44793         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
44794         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
44795         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
44796         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
44797         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
44798         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
44799         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
44800         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
44801         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
44802         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
44803         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
44804         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
44805         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
44806         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
44807         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
44808         (R_ARM_THM_GOT_BREL12): Likewise.
44809         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
44810         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
44811         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
44812         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
44813         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
44814         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
44815         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
44816         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
44817         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
44819 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
44821         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
44822         __attribute_used__ to __attribute__ ((unused)).
44824 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44826         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
44827         powerpc mpa.c.
44828         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
44829         comment formatting.
44830         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
44832 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
44834         [BZ #13550]
44835         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
44836         Remove macro.
44837         (ENTER): Remove both macro definitions.
44838         (LEAVE): Likewise.
44839         (CHECK_BOUNDS_LOW): Likewise.
44840         (CHECK_BOUNDS_HIGH): Likewise.
44841         (CHECK_BOUNDS_BOTH): Likewise.
44842         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
44843         (RETURN_BOUNDED_POINTER): Likewise.
44844         (RETURN_NULL_BOUNDED_POINTER): Likewise.
44845         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
44846         (POP_ERRNO_LOCATION_RETURN): Likewise.
44847         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
44848         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44849         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
44850         macros.
44851         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44852         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
44853         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
44854         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
44855         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
44856         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
44857         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
44858         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
44859         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
44860         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
44861         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
44862         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
44863         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44864         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
44865         removed macros.
44866         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44867         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
44868         macros.
44869         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44870         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
44871         * sysdeps/i386/i586/memset.S (memset): Likewise.
44872         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
44873         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44874         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
44875         macros.
44876         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44877         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
44878         Change uses of L(2) to L(out).
44879         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
44880         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
44881         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
44882         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44883         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
44884         removed macros.
44885         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44886         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
44887         macros.
44888         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44889         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
44890         (RETURN): Do not use macro LEAVE.
44891         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
44892         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
44893         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
44894         * sysdeps/i386/i686/memset.S (memset): Likewise.
44895         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
44896         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
44897         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
44898         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
44899         Likewise.
44900         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
44901         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
44902         L(1_2) and L(1_3) into L(1).
44903         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
44904         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
44905         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44906         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
44907         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
44908         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
44909         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
44910         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44911         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
44912         macros.
44913         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
44914         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44915         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
44916         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
44917         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
44918         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44919         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
44920         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
44921         * sysdeps/i386/strcspn.S (strcspn): Likewise.
44922         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
44923         * sysdeps/i386/strrchr.S (strrchr): Likewise.
44924         * sysdeps/i386/strspn.S (strspn): Likewise.
44925         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
44926         conditional code.
44927         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
44928         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
44929         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
44930         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
44931         L(1_3) into L(1_1).
44932         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
44933         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44934         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
44935         macros.
44936         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44938 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
44940         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
44941         macro.
44943 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44945         * math/atest-exp.c (exp_mpn): Remove ROUND.
44946         * math/atest-exp2.c (exp_mpn): Likewise.
44947         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
44949         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
44950         * stdlib/tst-tls-atexit-lib.c: Likewise.
44951         * stdlib/tst-tls-atexit.c: Likewise.
44953 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
44955         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
44956         and __attribute_alloc_size__.
44958 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
44960         * include/programs/xmalloc.h: Change __attribute_alloc_size to
44961         __attribute_alloc_size__.
44962         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
44963         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
44965 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
44967         * include/programs/xmalloc.h: New file.
44968         * catgets/gencat.c: Include it.
44969         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
44970         * elf/pldd.c: Likewise.
44971         * iconv/iconv_charmap.c: Likewise.
44972         * iconv/iconvconfig.c: Likewise.
44973         * iconv/strtab.c: Likewise.
44974         * locale/programs/locale.c: Likewise.
44975         * locale/programs/localedef.h: Likewise.
44976         * locale/programs/simple-hash.c: Likewise.
44977         * nscd/nscd.h: Likewise.
44978         * nss/makedb.c: Likewise.
44979         * sysdeps/generic/ldconfig.h: Likewise.
44981 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44983         * Versions.def: Add GLIBC_2.18.
44984         * include/link.h (struct link_map): New member l_tls_dtor_count.
44985         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
44986         (__call_tls_dtors): Likewise.
44987         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
44988         __cxa_thread_atexit_impl.
44989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44990         Likewise.
44991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44992         Likewise.
44993         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
44994         Likewise.
44995         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
44996         Likewise.
44997         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44998         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
44999         Likewise.
45000         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
45001         Likewise.
45002         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
45003         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
45004         Likewise.
45005         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
45006         (tests): Add test case tst-tls-atexit.
45007         (modules-names): Add shared library for tst-tls-atexit.
45008         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
45009         (GLIBC_PRIVATE): Add __call_tls_dtors.
45010         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
45011         for libstdc++.
45012         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
45013         * stdlib/tst-tls-atexit.c: New test case.
45014         * stdlib/tst-tls-atexit-lib.c: New test case.
45016         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
45018         * elf/Versions (ld): Add _dl_find_dso_for_object.
45019         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
45020         * elf/dl-open.c (_dl_find_dso_for_object): New function.
45021         (dl_open_worker): Use _dl_find_dso_for_object.
45022         * elf/dl-sym.c (do_sym): Likewise.
45023         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
45025 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45027         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
45028         Syntactic changes only.
45029         (_dl_runtime_profile): Do a tail-call to the resolved function.
45031 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
45033         [BZ #13550]
45034         * sysdeps/x86_64/bp-asm.h: Remove file.
45035         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
45036         <bp-sym.h> and <bp-asm.h>.
45037         (__clone): Do not use BP_SYM.
45038         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
45039         <bp-sym.h> and <bp-asm.h>.
45040         * sysdeps/unix/x86_64/sysdep.S: Likewise.
45041         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
45042         "bp-asm.h".
45043         (_setjmp): Do not use BP_SYM.
45044         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
45045         "bp-asm.h".
45046         (setjmp): Do not use BP_SYM.
45047         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
45048         libc_hidden_def.
45049         (mempcpy): Do not use BP_SYM in weak_alias.
45050         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
45051         "bp-asm.h".
45052         (strchr): Do not use BP_SYM.
45053         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
45054         "bp-asm.h".
45055         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
45056         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
45057         (_start): Do not use BP_SYM.
45058         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
45059         "bp-asm.h".
45060         (strcat): Do not use BP_SYM.
45061         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
45062         "bp-asm.h".
45063         (STRCMP): Do not use BP_SYM.
45064         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
45065         "bp-asm.h".
45066         (STRCPY): Do not use BP_SYM.
45067         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
45068         "bp-asm.h".
45069         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
45070         "bp-asm.h".
45071         (FUNCTION): Do not use BP_SYM.
45072         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
45073         weak_alias.
45074         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
45076 2013-02-17  Andreas Jaeger  <aj@suse.de>
45078         * time/Versions: Sort entries.
45079         * string/Versions: Likewise.
45080         * resolv/Versions: Likewise.
45081         * posix/Versions: Likewise.
45082         * iconv/Versions: Likewise.
45083         * elf/Versions: Likewise.
45084         * wcsmbs/Versions: Likewise.
45086 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45088         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
45089         loop termination condition.
45091         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
45092         variable to calculate EZ.
45093         (__sqr): Likewise.
45095         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
45096         the lower precision input.
45098 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
45100         [BZ #13550]
45101         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
45102         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
45103         (run-via-rtld-prefix): Do not handle %-bp tests.
45104         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
45105         (all-object-suffixes): Remove .ob.
45106         (bppfx): Remove variable.
45107         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
45108         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
45109         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
45110         [$(build-bounded) = yes] (libtype.ob): Likewise.
45111         * Makerules (elide-routines.ob): Remove variable.
45112         (do-tests-clean): Do not handle *-bp.out.
45113         (common-mostlyclean): Do not handle *-bp and *-bp.out.
45114         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
45115         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
45116         (tests): Do not include $(tests-bp.out).
45117         (xtests): Do not include $(xtests-bp.out).
45118         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
45119         [$(build-bounded) = yes] ($(addprefix
45120         $(objpfx),$(binaries-bounded))): Remove rule.
45121         ($(objpfx)%-bp.out): Remove rule.
45122         * config.make.in (build-bounded): Remove variable.
45123         * crypt/Makefile [$(build-bounded) = yes]
45124         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
45125         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
45126         append to variable.
45127         [$(build-bounded) = yes] (install-lib): Likewise.
45128         [$(build-bounded) = yes] (generated): Likewise.
45129         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
45130         Remove rule.
45131         * intl/Makefile [$(build-bounded) = yes]
45132         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
45133         * math/Makefile [$(build-bounded) = yes]
45134         ($(tests:%=$(objpfx)%-bp): Likewise.
45135         * misc/Makefile [$(build-bounded) = yes]
45136         ($(objpfx)tst-tsearch-bp): Likewise.
45137         * nptl/Makeconfig (bounded-thread-library): Remove variable.
45138         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
45139         Remove dependency.
45140         * string/Makefile (o-objects.ob): Remove variable.
45141         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
45142         (CFLAGS-.ob): Remove variable.
45143         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
45144         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
45145         both definitions of variable.
45146         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
45147         (ASFLAGS-.ob): Remove variable.
45149 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
45151         [BZ #13550]
45152         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
45153         Remove __BOUNDED_POINTERS__ from condition.
45154         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
45155         * string/bits/string2.h [!__NO_STRING_INLINES &&
45156         !__BOUNDED_POINTERS__]: Likewise.
45157         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
45158         Likewise.
45159         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
45160         Remove conditional code.
45161         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
45162         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
45163         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
45164         condition.
45166         [BZ #13550]
45167         * csu/libc-start.c: Do not include <bp-sym.h>.
45168         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
45169         * elf/dl-open.c: Do not include <bp-sym.h>.
45170         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
45171         * math/fegetenv.c: Do not include <bp-sym.h>.
45172         (fegetenv): Do not use BP_SYM in versioned symbols.
45173         * nptl/sysdeps/pthread/bits/libc-lockP.h
45174         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
45175         <bp-sym.h>.
45176         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45177         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
45178         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45179         (__pthread_mutex_destroy): Likewise.
45180         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45181         (__pthread_mutex_lock): Likewise.
45182         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45183         (__pthread_mutex_trylock): Likewise.
45184         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45185         (__pthread_mutex_unlock): Likewise.
45186         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45187         (__pthread_mutexattr_init): Likewise.
45188         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45189         (__pthread_mutexattr_destroy): Likewise.
45190         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45191         (__pthread_mutexattr_settype): Likewise.
45192         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45193         (__pthread_rwlock_init): Likewise.
45194         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45195         (__pthread_rwlock_destroy): Likewise.
45196         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45197         (__pthread_rwlock_rdlock): Likewise.
45198         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45199         (__pthread_rwlock_tryrdlock): Likewise.
45200         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45201         (__pthread_rwlock_wrlock): Likewise.
45202         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45203         (__pthread_rwlock_trywrlock): Likewise.
45204         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45205         (__pthread_rwlock_unlock): Likewise.
45206         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45207         (__pthread_key_create): Likewise.
45208         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45209         (__pthread_setspecific): Likewise.
45210         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45211         (__pthread_getspecific): Likewise.
45212         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
45213         Likewise.
45214         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45215         (_pthread_cleanup_push_defer): Likewise.
45216         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45217         (_pthread_cleanup_pop_restore): Likewise.
45218         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45219         (pthread_setcancelstate): Likewise.
45220         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
45221         <bp-sym.h>.
45222         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
45223         (memchr): Do not use BP_SYM in weak_alias.
45224         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
45225         (fegetenv): Do not use BP_SYM in versioned symbols.
45226         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
45227         (fesetenv): Do not use BP_SYM in versioned symbols.
45228         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
45229         (feupdateenv): Do not use BP_SYM in versioned symbols.
45230         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
45231         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
45232         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
45233         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
45234         (open64): Do not use BP_SYM in weak_alias.
45235         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
45236         (fegetenv): Do not use BP_SYM in versioned symbols.
45237         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
45238         (fesetenv): Do not use BP_SYM in versioned symbols.
45239         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
45240         (feupdateenv): Do not use BP_SYM in versioned symbols.
45241         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
45242         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
45243         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
45244         (feraiseexcept): Do not use BP_SYM in versioned symbols.
45245         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
45246         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
45247         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
45248         <bp-sym.h>.
45249         (__libc_start_main): Do not use BP_SYM.
45251 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
45253         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
45254         redundant return line.
45255         (norm): Likewise.
45256         (denorm): Likewise.
45257         (dbl_mp): Likewise.
45258         (sub_magnitudes): Likewise.
45259         (__add): Likewise.
45260         (__sub): Likewise.
45261         (__mul): Likewise.
45262         (__inv): Likewise.
45263         (__dvd): Likewise.
45264         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
45265         (norm): Likewise.
45266         (denorm): Likewise.
45267         (dbl_mp): Likewise.
45268         (sub_magnitudes): Likewise.
45269         (__add): Likewise.
45270         (__sub): Likewise.
45271         (__mul): Likewise.
45272         (__inv): Likewise.
45273         (__dvd): Likewise.
45275         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
45276         instead of __mul.
45277         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
45278         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
45279         (cc32): Likewise.
45281         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
45282         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
45283         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
45284         of __mul for squares.
45285         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
45286         function
45287         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
45288         Likewise.
45289         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
45290         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
45292 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
45294         [BZ #13550]
45295         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
45296         code.
45297         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
45298         prototype or function definition.  Rename ubp_* variables and
45299         parameters.  Remove argv definitions conditional on
45300         [__BOUNDED_POINTERS__].
45301         * debug/backtrace.c (__backtrace): Do not use __unbounded.
45302         * elf/dl-runtime.c (_dl_fixup): Likewise.
45303         * include/set-hooks.h (RUN_HOOK): Likewise.
45304         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
45305         definition.
45306         * string/strcpy.c (strcpy): Do not use __unbounded.
45307         * sysdeps/generic/frame.h (struct layout): Likewise.
45308         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
45309         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
45310         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
45311         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
45312         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
45313         (__backtrace): Likewise.
45314         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
45315         use __ptrvalue.
45316         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
45317         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
45318         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
45319         Likewise.
45320         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
45321         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
45322         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
45323         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
45324         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
45325         Do not use __unbounded.
45326         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
45327         Rename __unboundedrlimits parameter to rlimits in prototype.
45328         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
45329         Do not use __unbounded.
45330         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
45331         not use __ptrvalue.
45332         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
45333         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
45334         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
45335         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
45336         __ptrvalue or __unbounded.
45337         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
45338         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
45339         use __unbounded.
45340         (__new_msgctl): Do not use __ptrvalue.
45341         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
45342         __unbounded.
45343         (__libc_msgrcv): Do not use __ptrvalue.
45344         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
45345         startup_info): Do not use __unbounded.
45346         (__libc_start_main): Likewise.  Rename ubp_* variables and
45347         parameters.  Remove argv definitions conditional on
45348         [__BOUNDED_POINTERS__].
45349         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
45350         __ptrvalue.
45351         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
45352         use __unbounded.
45353         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
45354         or __ptrvalue.
45355         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
45356         use __unbounded.
45357         (__new_shmctl): Do not use __ptrvalue.
45358         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
45359         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
45360         Likewise.
45361         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
45362         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
45363         (__libc_sigaction): Likewise.
45364         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
45365         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
45366         Likewise.
45367         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
45369 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
45371         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
45373         * string/mempcpy.c: Implement by calling memcpy.
45375 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
45377         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
45379         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
45380         evaluation.
45382         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
45383         values in the mantissa.
45385         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
45386         minimize writes to Z.
45387         (sub_magnitudes): Simplify code a bit.
45389 2013-02-12  Roland McGrath  <roland@hack.frob.com>
45391         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
45392         from the message.  The linker prefixes all warnings with that already.
45394 2013-02-12  Andreas Schwab  <schwab@suse.de>
45396         [BZ #15078]
45397         * posix/regexec.c (extend_buffers): Add parameter min_len.
45398         (check_matching): Pass minimum needed length.
45399         (clean_state_log_if_needed): Likewise.
45400         (get_subexp): Likewise.
45401         * posix/Makefile (tests): Add bug-regex34.
45402         (bug-regex34-ENV): Define.
45403         * posix/bug-regex34.c: New file.
45405         [BZ #11561]
45406         * posix/regcomp.c (parse_bracket_exp): When looking up collating
45407         elements compare against the byte sequence of it, not its name.
45408         * posix/Makefile (tests): Add bug-regex35.
45409         (bug-regex35-ENV): Define.
45410         * posix/bug-regex35.c: New file.
45412 2013-02-11  Tom de Vries  <tom@codesourcery.com>
45414         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
45415         comment.
45416         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
45417         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
45418         (CHECK_EOL): Add undef.
45420 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
45422         * bits/stdlib-bsearch.h: New file.
45423         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
45424         * stdlib/stdlib.h: Likewise.
45426 2013-02-11  Roland McGrath  <roland@hack.frob.com>
45428         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
45429         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
45430         declaration.
45431         * manual/search.texi (Array Search Function): Add missing const in
45432         lfind prototype.
45433         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
45434         declaration to use rlim_t.
45435         (Basic Scheduling Functions): Remove erroneous const from
45436         sched_getparam prototype.  Remove erroneous * from
45437         sched_get_priority_max and sched_get_priority_min prototypes.
45438         (Resource Usage): Fix summary @comment on vtimes to refer to
45439         sys/vtimes.h rather than vtimes.h.
45440         Add missing *s in vtimes prototype.
45441         (Limits on Resources): Fix ulimit prototype to return long int.
45442         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
45443         prototypes to use long int rather than double.
45444         (BSD Random): Fix initstate and setstate to use char *, not void *.
45445         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
45446         prototype to make second argument 'struct aiocb64 *const[]'.
45447         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
45448         (Status of AIO Operations): Remove erroneous const in aio_return and
45449         aio_return64 prototypes.
45450         (Synchronizing I/O): Fix sync prototype to return void.
45451         * manual/startup.texi (Suboptions): Remove an erroneous const in
45452         getsubopt prototype.
45453         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
45454         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
45455         use size_t rather than int.
45456         (Scanning All Users): Likewise for getpwent_r.
45457         (Setting Groups): Add missing const to setgroups prototype.
45458         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
45459         * manual/socket.texi (Host Names): Fix gethostbyaddr and
45460         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
45461         'const void *' rather than 'const char *'.
45462         (Host Address Functions): Likewise for inet_ntop.
45463         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
45464         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
45465         ssize_t for return value.
45466         (Sending Data): Likewise for send, sendto, sendmsg.
45467         (Socket Option Functions): Add a missing const in setsockopt prototype.
45468         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
45469         use wchar_t for the argument.
45470         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
45471         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
45472         take no arguments.
45473         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
45474         double/float/long double for second argument.
45475         Fix return types of significand, significandf, significandl.
45476         * manual/filesys.texi (Setting Permissions): Use mode_t for second
45477         argument in fchmod prototype.
45478         (File Owner): Use uid_t and gid_t in fchown prototype.
45479         (File Times): Add const to utimes, futimes, and lutimes prototypes.
45480         (Making Special Files): Use mode_t and dev_t in mknod prototype.
45481         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
45482         use 'const struct dirent **' as argument types to CMP function pointer
45483         argument.
45484         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
45485         (File Times): Fix summary magic @comment for struct utimbuf and utime
45486         to refer to utime.h, not time.h.
45487         * manual/string.texi (Argz Functions): Add missing const in
45488         argz_extract and argz_next prototypes.
45489         (Finding Tokens in a String): Likewise for basename.
45490         (String/Array Comparison): Fix typo in wcscasecmp prototype.
45491         (Copying and Concatenation): Fix typo in wmemmove prototype.
45492         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
45493         (Signal Stack): Remove erroneous const in sigstack prototype.
45494         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
45495         prototype.
45496         (Simple Calendar Time): Likewise for stime.
45497         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
45498         prototype.
45499         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
45500         say sys/sysctl.h instead.
45501         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
45502         and vsyslog prototypes.
45504 2013-02-11  Tom de Vries  <tom@codesourcery.com>
45506         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
45507         Remove.
45509 2013-02-11  Roland McGrath  <roland@hack.frob.com>
45511         * misc/sys/mman.h: Fix typo in mremap comment.
45513 2013-02-08  Roland McGrath  <roland@hack.frob.com>
45515         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
45516         the '\0' terminator.
45518 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
45520         [BZ #13550]
45521         * debug/segfault.c: Don't include <bp-checks.h>.
45522         * sysdeps/generic/bp-checks.h: Remove file.
45523         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
45524         (__GETDENTS): Don't use CHECK_N.
45525         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
45526         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
45527         (__getgroups): Don't use CHECK_N.
45528         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
45529         (setgroups): Don't use CHECK_N.
45530         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
45531         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
45532         (__libc_msgrcv): Don't use CHECK_N.
45533         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
45534         (__libc_msgsnd): Don't use CHECK_N.
45535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
45536         <bp-checks.h>.
45537         (__libc_pread): Don't use CHECK_N.
45538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
45539         include <bp-checks.h>.
45540         (__libc_pread64): Don't use CHECK_N.
45541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
45542         include <bp-checks.h>.
45543         (__libc_pwrite): Don't use CHECK_N.
45544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
45545         include <bp-checks.h>.
45546         (__libc_pwrite64): Don't use CHECK_N.
45547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
45548         <bp-checks.h>.
45549         (__libc_pread): Don't use CHECK_N.
45550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
45551         include <bp-checks.h>.
45552         (__libc_pread64): Don't use CHECK_N.
45553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
45554         include <bp-checks.h>.
45555         (__libc_pwrite): Don't use CHECK_N.
45556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
45557         include <bp-checks.h>.
45558         (__libc_pwrite64): Don't use CHECK_N.
45559         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
45560         (do_pread): Don't use CHECK_N.
45561         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
45562         (do_pread64): Don't use CHECK_N.
45563         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
45564         (do_pwrite): Don't use CHECK_N.
45565         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
45566         (do_pwrite64): Don't use CHECK_N.
45567         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
45568         (__libc_readv): Don't use CHECK_N.
45569         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
45570         (semop): Don't use CHECK_N.
45571         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
45572         <bp-checks.h>.
45573         (semtimedop): Don't use CHECK_N.
45574         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
45575         (__libc_pread): Don't use CHECK_N.
45576         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
45577         <bp-checks.h>.
45578         (__libc_pread64): Don't use CHECK_N.
45579         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
45580         <bp-checks.h>.
45581         (__libc_pwrite): Don't use CHECK_N.
45582         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
45583         <bp-checks.h>.
45584         (__libc_pwrite64): Don't use CHECK_N.
45585         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
45586         <bp-checks.h>.
45587         (__libc_msgrcv): Don't use CHECK_N.
45588         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
45589         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
45590         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
45591         (__libc_writev): Don't use CHECK_N.
45593 2013-02-08  Roland McGrath  <roland@hack.frob.com>
45595         * string/strcpy.c: Removed unused variable.
45597         * Makeconfig (+sysdep-includes): Define with := rather than =.
45598         Use an existing include/ subdir of each sysdeps dir before it.
45600 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
45602         * nscd/connection.c (register_traced_file): Comment function.
45603         [HAVE_INOTIFY] (union __inev): Define.
45604         [HAVE_INOTIFY] (inotify_check_files): New function.
45605         [HAVE_INOTIFY] (clear_db_cache): Likewise.
45606         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
45607         clear_db_cache.
45608         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
45610 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
45612         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
45613         loaded if not already and that a failure is permanent.
45615 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
45617         [BZ #15006]
45618         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
45619         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
45621 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
45623         [BZ #13550]
45624         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
45625         (CHECK_1_NULL_OK): Likewise.
45626         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
45627         (__fxstat): Do not use CHECK_1.
45628         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
45629         <bp-checks.h>.
45630         (___fxstat64): Do not use CHECK_1.
45631         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
45632         <bp-checks.h>.
45633         (__fxstatat): Do not use CHECK_1.
45634         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
45635         <bp-checks.h>.
45636         (__fxstatat64): Do not use CHECK_1.
45637         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
45638         <bp-checks.h>.
45639         (__fxstat): Do not use CHECK_1.
45640         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
45641         <bp-checks.h>.
45642         (__fxstatat): Do not use CHECK_1.
45643         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
45644         <bp-checks.h>.
45645         (__getresgid): Do not use CHECK_1.
45646         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
45647         <bp-checks.h>.
45648         (__getresuid): Do not use CHECK_1.
45649         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
45650         <bp-checks.h>.
45651         (__lxstat): Do not use CHECK_1.
45652         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
45653         <bp-checks.h>.
45654         (__old_msgctl): Do not use CHECK_1.
45655         (__new_msgctl): Likewise.
45656         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
45657         <bp-checks.h>.
45658         (__new_setrlimit): Do not use CHECK_1.
45659         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
45660         <bp-checks.h>.
45661         (__old_shmctl): Do not use CHECK_1.
45662         (__new_shmctl): Likewise.
45663         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
45664         <bp-checks.h>.
45665         (__xstat): Do not use CHECK_1.
45666         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
45667         (__lxstat): Do not use CHECK_1.
45668         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
45669         <bp-checks.h>.
45670         (___lxstat64): Do not use CHECK_1.
45671         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
45672         (__old_msgctl): Do not use CHECK_1.
45673         (__new_msgctl): Likewise.
45674         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
45675         <bp-checks.h>.
45676         (__gettimeofday): Do not use CHECK_1.
45677         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
45678         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
45679         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
45680         <bp-checks.h>.
45681         (__gettimeofday): Do not use CHECK_1.
45682         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
45683         (__old_shmctl): Do not use CHECK_1_NULL_OK.
45684         (__new_shmctl): Do not use CHECK_1.
45685         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
45686         <bp-checks.h>.
45687         (do_sigtimedwait): Do not use CHECK_1.
45688         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
45689         <bp-checks.h>.
45690         (do_sigwaitinfo): Do not use CHECK_1.
45691         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
45692         <bp-checks.h>.
45693         (msgctl): Do not use CHECK_1.
45694         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
45695         <bp-checks.h>.
45696         (shmctl): Do not use CHECK_1.
45697         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
45698         (ustat): Do not use CHECK_1.
45699         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
45700         <bp-checks.h>.
45701         (__fxstat): Do not use CHECK_1.
45702         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
45703         <bp-checks.h>.
45704         (__fxstatat): Do not use CHECK_1.
45705         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
45706         <bp-checks.h>.
45707         (__lxstat): Do not use CHECK_1.
45708         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
45709         <bp-checks.h>.
45710         (__xstat): Do not use CHECK_1.
45711         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
45712         (__xstat): Do not use CHECK_1.
45713         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
45714         (___xstat64): Do not use CHECK_1.
45716         [BZ #13550]
45717         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
45718         definitions.
45719         (CHECK_BOUNDS_HIGH): Likewise.
45720         * string/strcpy.c: Do not include <bp-checks.h>.
45721         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
45723 2013-02-07  Roland McGrath  <roland@hack.frob.com>
45725         * nscd/nscd-client.h (__nscd_drop_map_ref):
45726         Add __attribute__ ((unused)).
45727         * nis/nss-nisplus.h (niserr2nss): Likewise.
45729         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
45730         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
45732         * csu/libc-tls.c (init_static_tls, init_slotinfo):
45733         Remove inline keyword.
45734         * include/rounding-mode.h (round_away): Likewise.
45735         * libio/wfileops.c (adjust_wide_data): Likewise.
45736         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
45737         (__m128i_strloadu_tolower): Likewise.
45738         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
45739         (__m128i_strloadu_tolower): Likewise.
45740         * time/mktime.c (ydhms_diff): Likewise.
45741         * locale/elem-hash.h (elem_hash): Likewise.
45742         * locale/setlocale.c (setdata): Likewise.
45743         * posix/regex_internal.h (re_string_char_size_at): Likewise.
45744         (re_string_wchar_at): Likewise.
45745         (bitset_not, bitset_merge, bitset_mask): Likewise.
45746         [!(__GNUC__ > 3)] (inline): Remove macro.
45747         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
45748         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
45749         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
45750         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
45751         * string/memcmp.c (memcmp_bytes): Likewise.
45752         * locale/programs/locarchive.c (compute_hashval): Likewise.
45753         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
45754         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
45755         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
45756         * nss/getent.c (print_rpc, print_protocols): Likewise.
45757         (print_passwd, print_group, print_aliases): Likewise.
45758         * nis/nss-nisplus.h (niserr2nss): Likewise.
45759         * nscd/connections.c (restart_p): Likewise.
45760         Change return type to bool.
45762 2013-02-05  Roland McGrath  <roland@hack.frob.com>
45764         * Makeconfig (all-Depend-files): Add existing
45765         $(sorted-subdirs:=/Depend) files.
45766         (all-subdirs): Remove nss.
45767         * sysdeps/unix/inet/Subdirs: Add it here instead.
45768         * hesiod/Depend: New file.
45770         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
45771         instead of calling alloca.
45773         * io/lseek.c (__lseek): Rename to __libc_lseek.
45774         Define __lseek as an alias.
45776         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
45778 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
45780         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
45781         else clause and remove check for non-standard endianness.
45783 2013-02-04  David S. Miller  <davem@davemloft.net>
45785         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45787 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
45789         [BZ #13550]
45790         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
45791         (__ubp_memchr): Remove prototype.
45792         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
45793         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
45794         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
45795         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
45796         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
45797         Remove alias.
45798         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
45799         (__ubp_memchr): Likewise.
45800         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
45801         (__ubp_memchr): Likewise.
45802         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
45803         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
45804         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
45805         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
45806         CHECK_STRING.
45807         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
45808         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
45809         (__getcwd): Do not use CHECK_STRING.
45810         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
45811         <bp-checks.h>.
45812         (__real_chown): Do not use CHECK_STRING.
45813         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
45814         <bp-checks.h>.
45815         (fchownat): Do not use CHECK_STRING.
45816         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
45817         CHECK_STRING.
45818         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
45819         <bp-checks.h>.
45820         (__lchown): Do not use CHECK_STRING.
45821         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
45822         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
45823         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
45824         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
45825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
45826         include <bp-checks.h>.
45827         (truncate64): Do not use CHECK_STRING.
45828         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
45829         <bp-checks.h>.
45830         (__real_chown): Do not use CHECK_STRING.
45831         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
45832         <bp-checks.h>.
45833         (__lchown): Do not use CHECK_STRING.
45834         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
45835         <bp-checks.h>.
45836         (__chown): Do not use CHECK_STRING.
45837         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
45838         <bp-checks.h>.
45839         (truncate64): Do not use CHECK_STRING.
45840         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
45841         Likewise.
45842         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
45843         (__xmknod): Do not use CHECK_STRING.
45844         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
45845         <bp-checks.h>.
45846         (__xmknodat): Do not use CHECK_STRING.
45847         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
45848         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
45850 2013-02-04  Andreas Schwab  <schwab@suse.de>
45852         [BZ #14142]
45853         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
45854         * include/netdb.h: Likewise for h_errno.
45855         * elf/tst-stackguard1.c: Include <tls.h>.
45857 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
45859         * elf/link.h (struct link_map): Extend the l_addr comment.
45860         * include/link.h (struct link_map): Likewise.
45862 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
45864         [BZ #13550]
45865         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
45866         (BOUNDED_1): Remove macro.
45867         * debug/backtrace.c: Don't include <bp-checks.h>.
45868         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
45869         (__backtrace): Likewise.
45870         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
45871         <bp-checks.h>.
45872         (__backtrace): Don't use BOUNDED_1.
45873         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
45874         <bp-checks.h>.
45875         (__backtrace): Don't use BOUNDED_1.
45876         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
45877         (__backtrace): Don't use BOUNDED_1.
45878         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
45879         (shmat): Don't use BOUNDED_N.
45881 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
45883         [BZ #13550]
45884         * sysdeps/generic/bp-start.h: Remove file.
45885         * csu/libc-start.c: Don't include <bp-start.h>.
45886         (LIBC_START_MAIN): Set up __environ directly instead of using
45887         INIT_ARGV_and_ENVIRON.
45888         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
45889         <bp-start.h>.
45891         [BZ #13550]
45892         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
45893         definitions.
45894         (CHECK_FCNTL): Likewise.
45895         (CHECK_N_PAGES): Likewise.
45897         [BZ #13550]
45898         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
45899         definitions.
45900         (CHECK_SIGSET_NULL_OK): Likewise.
45901         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
45902         <bp-checks.h>.
45903         (sigpending): Don't use CHECK_SIGSET.
45904         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
45905         <bp-checks.h>.
45906         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
45907         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
45908         <bp-checks.h>.
45909         (do_sigsuspend): Don't use CHECK_SIGSET.
45910         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
45911         use CHECK_SIGSET.
45912         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
45913         (do_sigwait): Don't use CHECK_SIGSET.
45914         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
45915         use CHECK_SIGSET.
45916         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
45917         include <bp-checks.h>.
45918         (sigpending): Don't use CHECK_SIGSET.
45919         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
45920         include <bp-checks.h>.
45921         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
45922         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
45923         <bp-checks.h>.
45924         (sigpending): Don't use CHECK_SIGSET.
45925         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
45926         <bp-checks.h>.
45927         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
45929         [BZ #13550]
45930         * sysdeps/generic/bp-semctl.h: Remove file.
45931         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
45932         <bp-checks.h> and <bp-semctl.h>.
45933         (__old_semctl): Don't use CHECK_SEMCTL.
45934         (__new_semctl): Likewise.
45935         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
45936         and <bp-semctl.h>.
45937         (__old_semctl): Don't use CHECK_SEMCTL.
45938         (__new_semctl): Likewise.
45939         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
45940         <bp-checks.h> and <bp-semctl.h>.
45941         (__old_semctl): Don't use CHECK_SEMCTL.
45942         (__new_semctl): Likewise.
45943         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
45944         <bp-checks.h> and <bp-semctl.h>.
45945         (semctl): Don't use CHECK_SEMCTL.
45947         [BZ #13550]
45948         * Makerules (elide-bp-thunks): Remove variable.
45949         (elide-routines.oS): Don't use $(elide-bp-thunks).
45950         (elide-routines.os): Likewise.
45951         (elide-routines.o): Likewise.
45952         (elide-routines.op): Likewise.
45953         (elide-routines.og): Likewise.
45954         (objects): Don't use $(bp-thunks).
45955         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
45956         include.
45957         (common-generated): Do not add s-proto-bp.d.
45958         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
45959         (int): Likewise.
45960         (typ): Likewise.
45961         Do not generate makefile rules for bounded-pointer thunks.
45962         * sysdeps/generic/bp-thunks.h: Remove file.
45963         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
45964         * sysdeps/unix/s-proto-bp.S: Likewise.
45966         [BZ #15062]
45967         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
45968         parts of result separately when argument is not close to line from
45969         -i to i and one part of argument is small.
45970         * math/k_casinhf.c (__kernel_casinhf): Likewise.
45971         * math/k_casinhl.c (__kernel_casinhl): Likewise.
45972         * math/libm-test.inc (cacos_test): Add more tests.
45973         (casin_test): Likewise.
45974         (casinh_test): Likewise.
45975         * sysdeps/i386/fpu/libm-test-ulps: Update.
45976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45978 2013-01-31  David S. Miller  <davem@davemloft.net>
45980         * po/de.po: Update from translation team.
45982 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
45984         * time/tzfile.c: Include stdint.h for SIZE_MAX.
45986 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
45988         * configure.in (_AC_PROG_CC_C89): New definition.
45989         * configure: Regenerate.
45991         * configure.in (AC_PROG_CPP): New definition.
45992         * configure: Regenerate.
45994 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
45996         * debug/tst-backtrace.h: New file.
45997         * debug/tst-backtrace2.c: Include tst-backtrace.h.
45998         (ret): Remove variable.
45999         (x): Likewise.
46000         (FAIL): Remove macro.
46001         (NO_INLINE): Likewise.
46002         (fn1): Use match function instead of strstr.
46003         * debug/tst-backtrace3.c: Include tst-backtrace.h.
46004         (ret): Remove variable.
46005         (x): Likewise.
46006         (FAIL): Remove macro.
46007         (NO_INLINE): Likewise.
46008         (fn): Use match function instead of strstr.
46009         * debug/tst-backtrace4.c: Include tst-backtrace.h.
46010         (ret): Remove variable.
46011         (x): Likewise.
46012         (FAIL): Remove macro.
46013         (NO_INLINE): Likewise.
46014         (handle_signal): Use match function instead of strstr.
46015         * debug/tst-backtrace5.c: Include tst-backtrace.h.
46016         (ret): Remove variable.
46017         (x): Likewise.
46018         (FAIL): Remove macro.
46019         (NO_INLINE): Likewise.
46020         (handle_signal): Use match function instead of strstr.
46022 2013-01-23  Roland McGrath  <roland@hack.frob.com>
46024         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
46026 2013-01-23  David S. Miller  <davem@davemloft.net>
46028         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
46029         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
46030         argument of CAS if possible.
46031         * sysdeps/sparc/sparc64/bits/atomic.h
46032         (__arch_compare_and_exchange_val_32_acq): Likewise.
46033         (__arch_compare_and_exchange_val_64_acq): Likewise.
46035 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
46037         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
46038         * sysdeps/posix/ulimit.c: ... this.
46039         Include <limits.h>.
46040         * sysdeps/unix/bsd/ulimit.c: Remove file.
46042 2013-01-23  Adam Conrad  <adconrad@0c3.net>
46044         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
46045         (LDFLAGS-tst-array5): Likewise.
46047 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
46049         [BZ #15036]
46050         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
46051         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
46052         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
46053         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
46055 2013-01-21  David S. Miller  <davem@davemloft.net>
46057         * sysdeps/sparc/backtrace.c: New file.
46058         * sysdeps/sparc/sparc32/backtrace.h: New file.
46059         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
46060         * sysdeps/sparc/sparc64/backtrace.h: New file.
46061         * sysdeps/sparc/sparc64/backtrace.c: Delete.
46062         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
46063         -funwind-tables.
46065 2013-01-21  Andreas Schwab  <schwab@suse.de>
46067         [BZ #15020]
46068         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
46069         closed its stdout.
46071 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
46073         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
46074         "mpa2.h".
46075         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46077 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
46078             Mark Mitchell  <mark@codesourcery.com>
46079             Tom de Vries  <tom@codesourcery.com>
46080             Paul Pluzhnikov  <ppluzhnikov@google.com>
46082         * debug/tst-backtrace2.c: New file.
46083         * debug/tst-backtrace3.c: Likewise.
46084         * debug/tst-backtrace4.c: Likewise.
46085         * debug/tst-backtrace5.c: Likewise.
46086         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
46087         (CFLAGS-tst-backtrace3.c): Likewise.
46088         (CFLAGS-tst-backtrace4.c): Likewise.
46089         (CFLAGS-tst-backtrace5.c): Likewise.
46090         (LDFLAGS-tst-backtrace2): Likewise.
46091         (LDFLAGS-tst-backtrace3): Likewise.
46092         (LDFLAGS-tst-backtrace4): Likewise.
46093         (LDFLAGS-tst-backtrace5): Likewise.
46094         (tests): Add new tests tst-backtrace2, tst-backtrace3,
46095         tst-backtrace4 and tst-backtrace5.
46097 2013-01-18  Anton Blanchard  <anton@samba.org>
46098             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46100         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
46101         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
46102         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
46103         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
46104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
46105         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
46106         "+r" and remove output regs list as redundant.  Add explicit inline
46107         asm to specify register of return val to work around compiler codegen
46108         bug.  Remove (int) cast on return value.  Add return type parameter to
46109         use in macro so that this macro does not truncate return value for
46110         64-bit values.
46111         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
46112         pass to INTERNAL_VSYSCALL_NCS.
46113         (INLINE_VSYSCALL): Add 'long int' as return type to
46114         INTERNAL_VSYSCALL_NCS macro invocation.
46115         (INTERNAL_VSYSCALL): Add 'long int' as return type to
46116         INTERNAL_VSYSCALL_NCS macro invocation.
46117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46119 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46121         [BZ #14496]
46122         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
46123         Fix application of SIMD FP exception mask.
46125         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
46126         mp_no from a power of two.
46127         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
46128         __mpexp_twomm1.  Use __pow_mp.
46130         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
46131         multiplication.
46133 2013-01-17  David S. Miller  <davem@davemloft.net>
46135         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46137 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
46139         [BZ #15023]
46140         * include/complex.h: Condition contents on [!_COMPLEX_H].
46141         (__kernel_casinhf): New prototype.
46142         (__kernel_casinh): Likewise.
46143         (__kernel_casinhl): Likewise.
46144         * math/Makefile (libm_calls): Add k_casinh.
46145         * math/k_casinh.c: New file.
46146         * math/k_casinhf.c: Likewise.
46147         * math/k_casinhl.c: Likewise.
46148         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
46149         finite nonzero arguments.
46150         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
46151         finite nonzero arguments.
46152         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
46153         finite nonzero arguments.
46154         * math/s_casinh.c: Do not include <float.h>.
46155         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
46156         * math/s_casinhf.c: Do not include <float.h>.
46157         (__casinhf): Move code for finite nonzero arguments to
46158         k_casinhf.c.
46159         * math/s_casinhl.c: Do not include <float.h>.
46160         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
46161         redefine.
46162         (__casinhl): Move code for finite nonzero arguments to
46163         k_casinhl.c.
46164         * math/libm-test.inc (cacos_test): Add more tests.
46165         * sysdeps/i386/fpu/libm-test-ulps: Update.
46166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46168 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
46170         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
46171         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
46172         [!HAVE_MREMAP]: Remove [defined linux] case.
46173         * malloc/arena.c: Do not include <malloc-sysdep.h>.
46175 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
46177         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
46179 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
46181         * elf/elf.h (R_386_SIZE32): New relocation.
46182         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
46183         R_386_SIZE32.
46184         (elf_machine_rela): Likewise.
46185         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
46186         R_X86_64_SIZE64 and R_X86_64_SIZE32.
46188 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
46190         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
46191         (FP_FAST_FMA): Do not define.
46192         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
46193         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
46194         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
46195         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
46196         !_SOFT_FLOAT]: Likewise.
46197         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
46198         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
46199         value.
46200         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
46201         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
46202         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
46203         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
46204         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
46205         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
46206         file.
46208 2013-01-16  Andreas Schwab  <schwab@suse.de>
46210         [BZ #14327]
46211         * include/stdlib.h (__mktemp): Add declaration.
46212         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
46213         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
46215 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46217         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
46218         definitions.
46219         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
46220         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
46221         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
46222         definitions here.
46223         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
46224         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
46225         definitions.
46226         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
46227         and ONE.
46228         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
46229         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
46230         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
46231         definitions.
46232         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
46233         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
46234         definitions.
46235         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
46237         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
46239 2013-01-15  David S. Miller  <davem@davemloft.net>
46241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
46242         trunc{,f} to libm-sysdep_routes.
46243         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
46244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
46245         file.
46246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
46247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
46248         file.
46249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
46250         file.
46251         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
46252         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
46253         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
46254         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
46255         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
46256         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
46257         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
46258         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
46260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
46261         nearbyint{,f} to libm-sysdep_routes.
46262         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
46263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
46264         New file.
46265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
46266         file.
46267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
46268         New file.
46269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
46270         file.
46271         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
46272         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
46273         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
46274         file.
46275         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
46276         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
46277         file.
46278         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
46279         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
46280         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
46282         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
46283         libc_feholdexcept and libc_fesetenv.
46285 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
46287         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
46289 2013-01-14  David S. Miller  <davem@davemloft.net>
46291         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
46292         (SPARC_ASM_VIS2_IFUNC): Likewise.
46293         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
46294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
46295         use of 'siam' instruction.
46296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
46297         Likewise.
46298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
46299         Likewise.
46300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
46301         Likewise.
46302         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
46303         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
46304         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
46305         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
46306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
46307         file.
46308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
46309         file.
46310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
46311         file.
46312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
46313         file.
46314         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
46315         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
46316         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
46317         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
46318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
46319         new VIS2 routines.
46320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
46321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
46323         Likewise.
46324         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
46325         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
46326         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
46327         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
46328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
46329         routines to libm-sysdep_routines.
46330         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
46332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
46333         fdim/fdimf to libm-sysdep_routines.
46334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
46335         file.
46336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
46337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
46338         file.
46339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
46340         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
46341         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
46342         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
46343         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
46344         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
46345         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
46347 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
46349         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
46350         to optimize copies.
46352         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
46353         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
46354         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46356         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
46357         local variable MPTWO.
46358         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
46359         Likewise.
46361 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
46363         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
46364         GLOB_NOESCAPE.
46366 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
46368         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
46370 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
46372         * manual/pattern.texi (glob_t): Document gl_flags.
46373         (glob64_t): Likewise.
46375 2013-01-11  David S. Miller  <davem@davemloft.net>
46377         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
46378         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
46379         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
46380         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
46381         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
46382         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
46383         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
46384         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
46385         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
46386         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
46387         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
46388         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
46389         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
46391         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
46392         sparc V9 rather than using V8 code.
46393         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
46394         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
46396         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46397         Move to...
46398         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
46399         Here.
46401 2013-01-11  Roland McGrath  <roland@hack.frob.com>
46403         [BZ #14941]
46404         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
46405         not in the main loop.
46406         * configure: Regenerated.
46408 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
46410         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
46411         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
46412         to just #else.
46413         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
46414         [!__GLIBC_HAVE_LONG_LONG] case.
46415         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
46416         condition to just #else.
46417         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
46418         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
46419         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
46420         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
46421         unconditional.
46422         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
46423         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
46424         #elif condition to just #else.
46425         * sysdeps/unix/sysv/linux/sys/sysmacros.h
46426         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
46427         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
46428         #elif condition to just #else.
46430 2013-01-11  Steve Ellcey  <sellcey@mips.com>
46432         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
46433         (EF_MIPS_ARCH_64): Fix value.
46434         (EF_MIPS_ARCH_32R2): New.
46435         (EF_MIPS_ARCH_64R2): New.
46437 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
46439         * Makeconfig (+link-pie-before-libc): New.
46440         (+link-pie-after-libc): Likewise.
46441         (+link-pie-tests): Likewise.
46442         (+link-pie): Rewritten.
46443         (link-before-libc): Remove $(config-LDFLAGS).
46444         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
46445         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
46446         (config-LDFLAGS): Renamed to ...
46447         (rtld-LDFLAGS): This.
46448         (rtld-tests-LDFLAGS): New macro.
46449         (link-libc-rpath-link): Likewise.
46450         (link-libc-tests-rpath-link): Likewise.
46451         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
46452         (link-libc): Prepand $(link-libc-rpath-link).
46453         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
46454         (test-program-prefix): New macro.
46455         (test-via-rtld-prefix): Likewise.
46456         (test-program-cmd): Likewise.
46457         (host-test-program-cmd): Likewise.
46458         * Makefile ($(common-objpfx)testrun.sh): Replace
46459         $(run-program-prefix) with $(test-program-prefix).
46460         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
46461         $(rtld-LDFLAGS).
46462         ($(common-objpfx)shlib.lds): Likewise.
46463         (build-module-helper): Likewise.
46464         ($(common-objpfx)format.lds): Likewise.
46465         * Rules (binaries-pie-tests): New.
46466         (binaries-pie-notests): Likewise.
46467         (binaries-pie): Rewritten.
46468         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
46469         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
46470         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
46471         (make-test-out): Replace $(host-built-program-cmd) with
46472         $(host-test-program-cmd).
46473         * config.make.in (build-hardcoded-path-in-tests): New variable.
46474         * configure.in (--enable-hardcoded-path-in-tests): New configure
46475         option.
46476         (hardcoded_path_in_tests): New AC_SUBST.
46477         * configure: Regenerated.
46478         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
46479         $(built-program-cmd) with $(test-program-cmd).
46480         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
46481         (test_program_cmd): This.
46482         * elf/Makefile ($(objpfx)order.out): Run test with
46483         $(test-program-prefix).
46484         ($(objpfx)order2.out): Likewise.
46485         ($(objpfx)tst-initorder.out): Likewise.
46486         ($(objpfx)tst-initorder2.out): Likewise.
46487         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
46488         $(test-program-cmd).
46489         ($(objpfx)tst-array1-static.out): Likewise.
46490         ($(objpfx)tst-array2.out): Likewise.
46491         ($(objpfx)tst-array3.out): Likewise.
46492         ($(objpfx)tst-array4.out): Likewise.
46493         ($(objpfx)tst-array5.out): Likewise.
46494         ($(objpfx)tst-array5-static.out): Likewise.
46495         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
46496         $(test-program-cmd).
46497         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
46498         $(run-program-prefix) with $(test-program-prefix).
46499         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
46500         (test_program_prefix): This.
46501         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
46502         $(run-program-prefix) with $(test-program-prefix).
46503         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
46504         (test_program_prefix): This.
46505         * iconvdata/tst-tables.sh: Likewise.
46506         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
46507         $(run-program-prefix) with $(test-program-prefix).
46508         ($(objpfx)tst-translit.out): Likewise.
46509         ($(objpfx)tst-gettext2.out): Likewise.
46510         ($(objpfx)tst-gettext4.out): Likewise.
46511         ($(objpfx)tst-gettext6.out): Likewise.
46512         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
46513         (test_program_prefix): This.
46514         * intl/tst-gettext2.sh: Likewise.
46515         * intl/tst-gettext4.sh  Likewise.
46516         * intl/tst-gettext6.sh: Likewise.
46517         * intl/tst-translit.sh: Likewise.
46518         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
46519         with $(test-program-cmd).
46520         * libio/Makefile ($(objpfx)test-freopen.out): Replace
46521         $(run-program-prefix) with $(test-program-prefix).
46522         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
46523         (test_program_prefix): This.
46524         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
46525         $(run-program-prefix) with $(test-program-prefix).
46526         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
46527         (test_program_prefix): This.
46528         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
46529         * posix/Makefile ($(objpfx)globtest.out): Replace
46530         $(run-via-rtld-prefix) and $(test-wrapper) with
46531         $(test-program-prefix) and $(test-via-rtld-prefix).
46532         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
46533         $(test-program-prefix).
46534         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
46535         $(host-test-program-cmd).
46536         (tst-spawn-ARGS): Likewise.
46537         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
46538         $(test-program-prefix).
46539         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
46540         (test_via_rtld_prefix): This.
46541         (test_wrapper): Renamed to ...
46542         (test_program_prefix): This.
46543         (run_program_prefix): Replaced by test_program_prefix.
46544         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
46545         (test_program_prefix): This.
46546         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
46547         with $(host-test-program-cmd).
46548         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
46549         $(run-program-prefix) with $(test-program-prefix).
46550         ($(objpfx)tst-printf.out): Likewise.
46551         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
46552         $(test-program-cmd).
46553         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
46554         (test_program_prefix): This.
46555         * stdio-common/tst-unbputc.sh: Likewise.
46556         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
46557         $(run-program-prefix) with $(test-program-prefix).
46558         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
46559         (test_program_prefix): This.
46560         * string/Makefile ($(objpfx)tst-svc.out):  Replace
46561         $(built-program-cmd) with $(test-program-cmd).
46563 2013-01-11  Andreas Jaeger  <aj@suse.de>
46565         [BZ #15003]
46566         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
46567         value. Sync with Linux 3.7.
46569 2013-01-10  David S. Miller  <davem@davemloft.net>
46571         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
46572         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
46573         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
46575 2013-01-10  Roland McGrath  <roland@hack.frob.com>
46577         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
46578         never set.
46579         * configure: Regenerated.
46581 2013-01-10  David S. Miller  <davem@davemloft.net>
46583         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
46584         sparc V9 rather than using V8 code.
46585         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
46586         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
46588 2013-01-10  Roland McGrath  <roland@hack.frob.com>
46590         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
46591         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
46592         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
46593         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
46594         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
46595         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
46596         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
46597         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
46598         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
46599         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
46600         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
46601         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
46602         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
46603         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
46604         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
46605         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
46606         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
46607         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
46608         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
46609         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
46610         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
46611         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
46612         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
46613         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
46614         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
46615         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
46616         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
46618 2013-01-10  David S. Miller  <davem@davemloft.net>
46620         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46622 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
46624         * posix/Makefile (tests-static): New variable.
46625         (tests): Add $(tests-static).
46626         (tst-exec-static-ARGS): New variable.
46627         (tst-spawn-static-ARGS): Likewise.
46628         * posix/tst-exec-static.c: New file.
46629         * posix/tst-spawn-static.c: Likewise.
46630         * posix/tst-exec.c: Support run directly.
46631         * posix/tst-spawn.c: Likewise.
46633 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
46635         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
46636         long.
46637         * math/bits/mathcalls.h (llrint): Likewise.
46638         (llround): Likewise.
46639         * stdlib/stdlib.h (struct drand48_data): Likewise.
46640         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
46641         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
46642         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
46643         Likewise.
46644         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
46645         Likewise.
46646         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
46647         (elf_greg_t): Likewise.
46648         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
46649         (__jmp_buf): Likewise.
46650         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
46651         definitions.
46652         (llrint): Likewise, for all definitions.
46653         (llrintl): Likewise.
46655         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
46656         Remove [__GNUC__] condition.
46657         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
46658         condition to just [__USE_ISOC99].
46659         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
46661 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
46663         [BZ #14200]
46664         * sysdeps/unix/sysv/linux/x86/bits/environments.h
46665         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
46666         defined.
46667         (_POSIX_V6_ILP32_OFF32): Likewise.
46668         (_XBS5_ILP32_OFF32): Likewise.
46669         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
46670         (__ILP32_OFFBIG_LDFLAGS): Likewise.
46672 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46674         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
46676         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
46677         doubles __mpexp_twomm1.  Adjust usage.
46678         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
46679         Remove.
46681 2013-01-10  Andreas Schwab  <schwab@suse.de>
46683         [BZ #14964]
46684         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
46685         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
46687 2013-01-09  David S. Miller  <davem@davemloft.net>
46689         [BZ #15003]
46690         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
46691         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
46692         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
46693         (TCP_FASTOPEN): Define.
46694         (tcp_repair_opt): New structure.
46695         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
46696         enum values.
46697         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
46698         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
46699         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
46700         (tcp_cookie_transactions): New structure.
46702 2013-01-09  Anton Blanchard  <anton@samba.org>
46704         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
46705         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
46706         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
46707         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
46709 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
46711         * include/features.h (__USE_ANSI): Remove.
46713 2013-01-09  Roland McGrath  <roland@hack.frob.com>
46715         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
46717         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
46719 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
46721         * sysdeps/s390/fpu/libm-test-ulps: Update.
46723         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46725         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
46726         (__acr): Likewise.
46727         (__cpy): Likewise.
46728         (norm): Likewise.
46729         (denorm): Likewise.
46730         (__mp_dbl): Likewise.
46731         (__dbl_mp): Likewise.
46732         (add_magnitudes): Likewise.
46733         (sub_magnitudes): Likewise.
46734         (__add): Likewise.
46735         (__sub): Likewise.
46736         (__mul): Likewise.
46737         (__inv): Likewise.
46738         (__dvd): Likewise.
46739         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
46740         (__acr): Likewise.
46741         (__cpy): Likewise.
46742         (norm): Likewise.
46743         (denorm): Likewise.
46744         (__mp_dbl): Likewise.
46745         (__dbl_mp): Likewise.
46746         (add_magnitudes): Likewise.
46747         (sub_magnitudes): Likewise.
46748         (__add): Likewise.
46749         (__sub): Likewise.
46750         (__mul): Likewise.
46751         (__inv): Likewise.
46752         (__dvd): Likewise.
46753         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
46754         (__acr): Likewise.
46755         (__cpy): Likewise.
46756         (norm): Likewise.
46757         (denorm): Likewise.
46758         (__mp_dbl): Likewise.
46759         (__dbl_mp): Likewise.
46760         (add_magnitudes): Likewise.
46761         (sub_magnitudes): Likewise.
46762         (__add): Likewise.
46763         (__sub): Likewise.
46764         (__mul): Likewise.
46765         (__inv): Likewise.
46766         (__dvd): Likewise.
46768 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
46770         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
46771         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
46772         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
46773         2 && __USE_EXTERN_INLINES]: Likewise.
46775 2013-01-08  Andreas Jaeger  <aj@suse.de>
46777         [BZ# 14985]
46778         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
46779         Remove.
46780         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
46781         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
46783 2013-01-07  Anton Blanchard  <anton@samba.org>
46785         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
46786         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
46787         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
46788         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
46789         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
46790         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46791         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
46792         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
46793         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
46794         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
46795         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46796         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46797         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46798         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46799         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
46800         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46801         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46802         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46803         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
46804         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
46805         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
46806         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
46807         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46808         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
46809         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
46810         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
46811         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46812         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
46813         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
46814         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46815         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
46816         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46817         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
46818         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
46819         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
46820         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46821         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46822         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
46823         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
46824         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
46825         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
46826         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46827         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
46829 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
46831         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
46832         (__MALLOC_PMT): Likewise.
46833         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
46834         [__GNUC__], only on [_LIBC].
46835         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
46836         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
46837         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
46838         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
46839         forward declaration.
46840         (realloc_hook_ini): Likewise.
46841         (memalign_hook_ini): Likewise.
46842         (__libc_memalign): Do not use __MALLOC_PMT in variable
46843         declaration.
46844         (__libc_valloc): Likewise.
46845         (__libc_pvalloc): Likewise.
46846         (__libc_calloc): Likewise.
46847         (__posix_memalign): Likewise.
46849         [BZ #14996]
46850         * math/s_casinh.c: Include <float.h>.
46851         (__casinh): Do not do computation with squaring and square root
46852         for large arguments.
46853         * math/s_casinhf.c: Include <float.h>.
46854         (__casinhf): Do not do computation with squaring and square root
46855         for large arguments.
46856         * math/s_casinhl.c: Include <float.h>.
46857         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
46858         (__casinhl): Do not do computation with squaring and square root
46859         for large arguments.
46860         * math/libm-test.inc (casin_test): Add more tests.
46861         (casinh_test): Likewise.
46862         * sysdeps/i386/fpu/libm-test-ulps: Update.
46863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46865 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
46867         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
46868         (__x86_64_raw_data_cache_size): Likewise.
46869         (__x86_64_data_cache_size_half): Likewise.
46870         (__x86_64_raw_data_cache_size_half): Likewise.
46871         (__x86_64_shared_cache_size): Likewise.
46872         (__x86_64_raw_shared_cache_size): Likewise.
46873         (__x86_64_shared_cache_size_half): Likewise.
46874         (__x86_64_raw_shared_cache_size_half): Likewise.
46875         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
46876         to ...
46877         (__x86_data_cache_size): This.
46878         (__x86_64_raw_data_cache_size): Renamed to ...
46879         (__x86_raw_data_cache_size): This.
46880         (__x86_64_data_cache_size_half): Renamed to ...
46881         (__x86_data_cache_size_half): This.
46882         (__x86_64_raw_data_cache_size_half): Renamed to ...
46883         (__x86_raw_data_cache_size_half): This.
46884         (__x86_64_shared_cache_size): Renamed to ...
46885         (__x86_shared_cache_size): This.
46886         (__x86_64_raw_shared_cache_size): Renamed to ...
46887         (__x86_raw_shared_cache_size): This.
46888         (__x86_64_shared_cache_size_half): Renamed to ...
46889         (__x86_shared_cache_size_half): This.
46890         (__x86_64_raw_shared_cache_size_half): Renamed to ...
46891         (__x86_raw_shared_cache_size_half): This.
46892         * sysdeps/x86_64/memcpy.S: Updated.
46893         * sysdeps/x86_64/memset.S: Likewise.
46894         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
46895         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46896         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46898 2013-01-04  David S. Miller  <davem@davemloft.net>
46900         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46902 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
46904         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
46905         1 to avoid redefinition warning.
46906         (__USE_GNU): Don't define.
46907         (init_signaling_nan): Protoize.
46909         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46911 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46913         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
46914         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
46915         (__cpymn): Likewise.
46916         (norm): Remove commented code.
46917         (denorm): Likewise.
46918         (__mp_dbl): Likewise.
46919         (__inv): Likewise.
46920         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
46921         (__cpymn): Likewise.
46922         (norm): Remove commented code.
46923         (denorm): Likewise.
46924         (__mp_dbl): Likewise.
46925         (__inv): Likewise.
46927         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
46928         mp_no value for 1.0 and 2.0.
46929         (norm): Use RADIXI instead of radixi.d.
46930         (denorm): Likewise.
46931         (__mul): Use 0.0 instead of zero.d.
46932         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
46933         mp_no value for 1.0 and 2.0.
46934         (norm): Use RADIXI instead of radixi.d.
46935         (denorm): Likewise.
46936         (__mul): Use 0.0 instead of zero.d.
46938 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
46940         [BZ #14994]
46941         * math/s_casinh.c (__casinh): Reduce finite argument to first
46942         quadrant then set signs of results at the end.
46943         * math/s_casinhf.c (__casinhf): Likewise.
46944         * math/s_casinhl.c (__casinhl): Likewise.
46945         * math/libm-test.inc (casin_test): Add more tests.
46946         (casinh_test): Likewise.
46947         * sysdeps/i386/fpu/libm-test-ulps: Update.
46948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46950 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46952         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
46954         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
46956         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
46957         declarations.
46958         (denorm): Likewise.
46959         (__mp_dbl): Likewise.
46960         (__inv): Likewise.
46962         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
46963         and adjust the header comment.
46965         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
46966         variable name from declaration.
46968 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
46970         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46971         Initialize COMMON_CPUID_INDEX_7 element.
46972         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
46973         (CPUID_RTM): Likewise.
46974         (HAS_RTM): Likewise.
46975         (COMMON_CPUID_INDEX_7): New enum.
46977 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
46979         [BZ #14981]
46980         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
46981         size is zero, record memory as freed.
46983 2013-01-03  Andreas Jaeger  <aj@suse.de>
46985         * po/ia.po: Add new Interlingua translation.
46987 2012-01-03  Allan McRae  <allan@archlinux.org>
46989         * locale/programs/localedef.c: Fix description of '--posix' flag.
46991 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
46993         * NEWS: Update dates in second copyright notice.
46994         * README: Update copyright dates in example.
46995         * manual/libc.texinfo: Update copyright dates.
46996         * scripts/test-installation.pl: Update copyright date in --version
46997         output.
46999         * hurd/ctty-input.c: Fix copyright notice formatting.
47000         * hurd/ctty-output.c: Likewise.
47001         * hurd/dtable.c: Likewise.
47002         * hurd/hurd-raise.c: Likewise.
47003         * hurd/hurdprio.c: Likewise.
47004         * hurd/msgportdemux.c: Likewise.
47005         * misc/sys/file.h: Likewise.
47006         * misc/sys/ioctl.h: Likewise.
47007         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
47008         * sysdeps/mach/hurd/chdir.c: Likewise.
47009         * sysdeps/mach/hurd/fchdir.c: Likewise.
47010         * sysdeps/mach/hurd/rename.c: Likewise.
47011         * sysdeps/mach/hurd/rmdir.c: Likewise.
47012         * sysdeps/mach/hurd/seekdir.c: Likewise.
47013         * sysdeps/mach/hurd/setsid.c: Likewise.
47014         * sysdeps/posix/wait3.c: Likewise.
47016         * All files with FSF copyright notices: Update copyright dates
47017         using scripts/update-copyrights.
47018         * intl/plural.c: Regenerated.
47019         * locale/programs/charmap-kw.h: Likewise.
47020         * locale/programs/locfile-kw.h: Likewise.
47022 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47024         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
47025         four values.
47027         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
47028         calculation loop and add branch prediction.
47030         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
47031         check access beyond bounds of m1np.
47033         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
47034         MPTWO.
47035         (__inv): Remove local variable MPTWO to use the global
47036         constant.
47037         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
47038         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
47039         variable MPTWO.
47040         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
47041         MP3HALFS static const.
47043 2013-01-01  David S. Miller  <davem@davemloft.net>
47045         * po/ca.po: Update from translation team.
47047 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
47049         * scripts/update-copyrights: New file.
47050         * Makeconfig: Reformat copyright notice.
47051         * ctype/ctype.h: Likewise.
47052         * debug/swprintf_chk.c: Likewise.
47053         * elf/dl-cache.c: Likewise.
47054         * elf/dl-debug.c: Likewise.
47055         * elf/dl-object.c: Likewise.
47056         * grp/initgroups.c: Likewise.
47057         * hurd/Makefile: Likewise.
47058         * hurd/hurd/signal.h: Likewise.
47059         * hurd/hurdfault.c: Likewise.
47060         * hurd/hurdioctl.c: Likewise.
47061         * hurd/hurdlookup.c: Likewise.
47062         * hurd/intr-msg.c: Likewise.
47063         * iconv/gconv_open.c: Likewise.
47064         * libio/swprintf.c: Likewise.
47065         * locale/lc-ctype.c: Likewise.
47066         * locale/nl_langinfo.c: Likewise.
47067         * mach/Machrules: Likewise.
47068         * mach/Makefile: Likewise.
47069         * malloc/obstack.h: Likewise.
47070         * manual/Makefile: Likewise.
47071         * manual/tsort.awk: Likewise.
47072         * misc/bits/stab.def: Likewise.
47073         * nis/nis_print_group_entry.c: Likewise.
47074         * nis/nis_table.c: Likewise.
47075         * nis/nss_compat/compat-pwd.c: Likewise.
47076         * nis/nss_compat/compat-spwd.c: Likewise.
47077         * po/Makefile: Likewise.
47078         * posix/fnmatch.c: Likewise.
47079         * posix/regex.h: Likewise.
47080         * resolv/Makefile: Likewise.
47081         * resolv/nss_dns/dns-network.c: Likewise.
47082         * resolv/res_hconf.c: Likewise.
47083         * scripts/gen-sorted.awk: Likewise.
47084         * soft-fp/soft-fp.h: Likewise.
47085         * stdio-common/printf.h: Likewise.
47086         * stdlib/monetary.h: Likewise.
47087         * stdlib/random.c: Likewise.
47088         * stdlib/random_r.c: Likewise.
47089         * sysdeps/generic/Makefile: Likewise.
47090         * sysdeps/gnu/Makefile: Likewise.
47091         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47092         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47093         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47094         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47095         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47096         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47097         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47098         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47099         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47100         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47101         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
47102         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
47103         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
47104         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
47105         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
47106         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
47107         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
47108         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47109         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47110         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47111         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47112         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47113         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47114         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
47115         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
47116         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
47117         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
47118         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
47119         * sysdeps/mach/hurd/errnos.awk: Likewise.
47120         * sysdeps/mach/hurd/fork.c: Likewise.
47121         * sysdeps/mach/hurd/getcwd.c: Likewise.
47122         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
47123         * sysdeps/mach/hurd/mmap.c: Likewise.
47124         * sysdeps/mach/hurd/utimes.c: Likewise.
47125         * sysdeps/mach/hurd/xmknod.c: Likewise.
47126         * sysdeps/posix/profil.c: Likewise.
47127         * sysdeps/posix/readdir_r.c: Likewise.
47128         * sysdeps/powerpc/bits/mathdef.h: Likewise.
47129         * sysdeps/powerpc/bits/setjmp.h: Likewise.
47130         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
47131         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
47132         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
47133         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47134         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47135         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47136         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47137         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47138         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47139         * sysdeps/pthread/lio_listio.c: Likewise.
47140         * sysdeps/sparc/dl-procinfo.h: Likewise.
47141         * sysdeps/unix/i386/sysdep.S: Likewise.
47142         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
47143         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
47144         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
47145         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
47146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47147         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
47148         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
47149         * sysdeps/unix/sysv/linux/speed.c: Likewise.
47150         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
47151         * sysdeps/wordsize-32/divdi3.c: Likewise.
47152         * time/sys/time.h: Likewise.
47153         * wcsmbs/Makefile: Likewise.
47155 2013-01-01  David S. Miller  <davem@davemloft.net>
47157         * po/fr.po: Update from translation team.
47159         * catgets/gencat.c: Update copyright year.
47160         * csu/version.c: Likewise.
47161         * debug/catchsegv.sh: Likewise.
47162         * debug/pcprofiledump.c: Likewise.
47163         * debug/xtrace.sh: Likewise.
47164         * elf/ldconfig.c: Likewise.
47165         * elf/ldd.bash.in: Likewise.
47166         * elf/pldd.c: Likewise.
47167         * elf/sotruss.ksh: Likewise.
47168         * elf/sprof.c: Likewise.
47169         * iconv/iconv_prog.c: Likewise.
47170         * iconv/iconvconfig.c: Likewise.
47171         * locale/programs/locale.c: Likewise.
47172         * locale/programs/localedef.c: Likewise.
47173         * login/programs/pt_chown.c: Likewise.
47174         * malloc/memusage.sh: Likewise.
47175         * malloc/memusagestat.c: Likewise.
47176         * malloc/mtrace.pl: Likewise.
47177         * nscd/nscd.c: Likewise.
47178         * nss/getent.c: Likewise.
47179         * nss/makedb.c: Likewise.
47180         * posix/getconf.c: Likewise.
47182 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
47184         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
47185         numbers.
47187 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
47189         * math/bits/mathcalls.h (modf): Use __nonnull.
47191 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47193         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
47194         (split): Use macro CN instead of the bare value.
47195         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
47196         could be used.
47197         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
47198         instead of the bare value.
47199         (power1): Likewise.
47201 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47203         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
47204         __ATAN_TWOM.
47205         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
47207         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
47208         their values.
47209         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
47210         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
47211         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
47212         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
47214 2012-12-28  Andreas Jaeger  <aj@suse.de>
47216         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
47217         values are from Linux 3.7.
47219         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
47220         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
47222 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47224         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
47225         TRUE case.
47227         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
47228         (norm): Likewise.
47229         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
47230         variables with preprocessor constants.
47231         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
47232         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
47233         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
47235 2012-12-27  Bruno Haible  <bruno@clisp.org>
47237         [BZ #14317]
47238         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
47239         only if needed.
47241 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47243         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
47244         and use variable directly.
47245         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
47247         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
47248         MPONE.
47249         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
47250         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
47251         variable MPONE.
47252         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
47253         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
47254         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
47255         include directive.  Remove local variable MPONE.
47256         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
47257         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
47258         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
47260 2012-12-25  David S. Miller  <davem@davemloft.net>
47262         * version.h (RELEASE): Set to "development".
47263         (VERSION): Set to "2.17.90".
47264         * NEWS: Add 2.18 section.
47266 2012-12-21  David S. Miller  <davem@davemloft.net>
47268         * po/hr.po: Update from translation team.
47270 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47272         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
47274 2012-12-19  Steve Ellcey  <sellcey@mips.com>
47276         * NEWS:  Mention new memcpy for MIPS.
47278 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47280         * manual/contrib.texi (Contributors): Spelling correction.
47282 2012-12-15  David S. Miller  <davem@davemloft.net>
47284         * po/ru.po: Update from translation team.
47286 2012-12-13  David S. Miller  <davem@davemloft.net>
47288         * NEWS: Mention IFUNC testsuite enhancements.
47290         * po/pl.po: Update from translation team.
47291         * po/bg.po: Likewise.
47293         * manual/contrib.texi (Contributors): Update entries for Hongjiu
47294         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
47296 2012-12-11  David S. Miller  <davem@davemloft.net>
47298         * po/sv.po: Update from translation team.
47300         * po/vi.po: Update from translation team.
47302         * po/cs.po: Update from translation team.
47304         * po/de.po: Update from translation team.
47305         * po/eo.po: Likewise.
47306         * po/nl.po: Likewise.
47308 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47310         [BZ #14246]
47311         * manual/argp.texi (Argp Helper Functions): Move node to follow
47312         Argp Parsing State.
47314         [BZ #14872]
47315         * manual/conf.texi (Limits on File System Capacity): Mention if
47316         terminating null is included in the max size.
47318 2012-12-10  Andreas Jaeger  <aj@suse.de>
47320         * po/cs.po: Update from translation team.
47322 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
47324         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
47325         void pointer and cast to uintptr_t.
47326         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
47327         path.
47328         * sysdeps/s390/s390-64/memcpy.S: Likewise.
47329         * sysdeps/s390/s390-64/memset.S: Likewise.
47331 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
47333         [BZ #14833]
47334         * menual/message.texi (Message Translation): Fix typos.
47335         (Helper programs for gettext): Likewise.
47337 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
47339         [BZ #14898]
47340         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
47341         Change to -1.
47343 2012-12-07  David S. Miller  <davem@davemloft.net>
47345         * po/libc.pot: Update.
47347 2012-12-07  Richard Henderson  <rth@redhat.com>
47349         [BZ #10114]
47350         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
47351         normal/normal case to before the switch.
47352         (_FP_DIV): Likewise.
47354 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
47355             Mike Frysinger  <vapier@gentoo.org>
47357         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
47358         check for __NR_fadvise64_64.
47360 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
47362         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
47363         0, not just to plain "0" as a statement.
47364         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
47365         with cw.
47367 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
47369         * NEWS: Use sourceware.org in Bugzilla URL.
47371 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
47374         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
47376         * stdio-common/tst-put-error.c (do_test): Add newline to the
47377         padded test to ensure flush.
47379 2012-12-05  Jeff Law  <law@redhat.com>
47381         * sunrpc/etc.rpc (fedfs_admin): Add entry.
47383 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
47385         * README: Don't refer to ports add-on as distributed separately.
47386         Mention AArch64 in list of systems supported in the ports add-on.
47388         * LICENSES: Add more non-FSF copyright and license notices.
47390         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
47391         ((unused)).
47393         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
47395         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
47396         10000 as width of padded output.
47398 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
47400         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
47402         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
47403         variable LX with __attribute__ ((unused)).
47404         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
47405         Likewise.
47406         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
47407         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47408         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
47409         with __attribute__ ((unused)).
47411 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
47413         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
47415 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
47417         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
47418         (CFLAGS-nldbl-acos.c): New variable.
47419         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
47420         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
47421         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
47422         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
47423         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
47424         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
47425         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
47426         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
47427         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
47428         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
47429         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
47430         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
47431         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
47432         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
47433         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
47434         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
47435         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
47436         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
47437         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
47438         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
47439         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
47440         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
47441         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
47442         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
47443         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
47444         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
47445         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
47446         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
47447         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
47448         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
47449         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
47450         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
47451         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
47452         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
47453         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
47454         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
47455         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
47456         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
47457         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
47458         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
47459         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
47460         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
47461         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
47462         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
47463         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
47464         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
47465         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
47466         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
47467         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
47468         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
47469         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
47470         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
47471         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
47472         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
47473         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
47474         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
47475         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
47476         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
47477         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
47478         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
47479         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
47480         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
47481         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
47482         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
47483         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
47484         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
47485         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
47486         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
47487         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
47488         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
47489         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
47490         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
47491         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
47492         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
47493         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
47494         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
47495         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
47496         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
47497         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
47498         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
47499         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
47500         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
47501         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
47502         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
47503         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
47504         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
47505         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
47506         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
47507         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
47508         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
47509         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
47510         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
47511         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
47512         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
47513         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
47514         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
47515         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
47517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
47518         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
47520         [BZ #14914]
47521         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
47522         whole low double instead of just low 47 bits when splitting values
47523         into two parts.
47525 2012-12-03  Allan McRae  <allan@archlinux.org>
47527         * manual/stdio.texi (Predefined Printf Handlers): Remove
47528         @hsep and @vsep usage.
47530 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
47532         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
47533         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
47535 2012-12-03  Jeff Law  <law@redhat.com>
47537         * time/sys/time.h (settimeofday): Do not mark TV argument
47538         as __nonnull.
47540 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
47542         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
47543         when currently writing and seek to current position when not.
47544         * libio/Makefile (tests): Remove bug-fclose1.
47545         * libio/bug-fclose1.c: Delete.
47547 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
47549         * manual/arith.texi (feenableexcept): Fix typo.
47550         (fedisableexcept): Likewise.
47552 2012-11-30  Roland McGrath  <roland@hack.frob.com>
47554         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
47555         second, differently-typed declaration, rather than a cast.
47557 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47559         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
47560         * include/rpc/svc.h: ... here.
47562 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
47564         [BZ #13013]
47565         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
47566         depending n and resplen2 to catch cases where answer
47567         equals answerp2.
47569 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
47571         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
47572         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
47574 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
47576         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
47578 2012-11-29  Roland McGrath  <roland@hack.frob.com>
47580         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
47582 2012-11-28  Jeff Law  <law@redhat.com>
47584         [BZ #13761]
47585         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
47586         dataset_temporary.  Track alloca usage into alloca_used.
47587         If dataset is large allocate and release it via malloc/free.
47589 2012-06-04  Florian Weimer  <fweimer@redhat.com>
47591         [BZ #14197]
47592         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
47594 2012-11-28  David S. Miller  <davem@davemloft.net>
47596         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47598 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
47600         [BZ #14803]
47601         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
47602         of pi/2 rounded to nearest to 64 bits.
47603         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
47604         nearest to 64 bits.
47605         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
47606         bits.
47608 2012-11-28  Jeff Law <law@redhat.com>
47609             Martin Osvald <mosvald@redhat.com>
47611         [BZ #14889]
47612         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
47613         * sunrpc/svc.c: Include time.h.
47614         (__svc_accept_failed): New function.
47615         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
47616         any reason other than EINTR, call __svc_accept_failed.
47617         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
47618         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
47620 2012-11-28  Andreas Schwab  <schwab@suse.de>
47622         * scripts/abilist.awk: Also handle indirect functions in .opd
47623         section.
47625 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
47627         [BZ #13881]
47628         * sysdeps/x86/fpu/powl_helper.c: New file.
47629         * sysdeps/x86/fpu/Makefile: Likewise.
47630         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
47631         (p3): New object.
47632         (__ieee754_powl): Use __powl_helper for finite arguments except
47633         integer exponents below 8.
47634         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
47635         (p3): New object.
47636         (__ieee754_powl): Use __powl_helper for finite arguments except
47637         integer exponents below 8.
47638         * math/libm-test.inc (pow_test): Add more tests and enable some
47639         previously disabled tests.
47640         * sysdeps/i386/fpu/libm-test-ulps: Update.
47641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47643 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47644             Carlos O'Donell  <carlos_odonell@mentor.com>
47646         * nss/makedb.c (is_prime): Assert that input is odd and greater
47647         than 4.  Note that fact in a comment too.
47648         (next_prime): Add 4 to input.
47650 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47652         [BZ #11741]
47653         * libio/Makefile (tests): Add test case tst-fwrite-error.
47654         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
47655         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
47656         * libio/tst-fwrite-error.c: New test case.
47658 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
47660         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
47661         before casting to void *.
47662         * include/libc-internal.h (__pointer_type): New macro.
47663         (__integer_if_pointer_type_sub): Likewise.
47664         (__integer_if_pointer_type): Likewise.
47665         (cast_to_integer): Likewise.
47666         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
47667         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
47668         before casting to atomic64_t.
47669         (atomic_exchange_acq): Likewise.
47670         (__arch_exchange_and_add_body): Likewise.
47671         (__arch_add_body): Likewise.
47672         (atomic_add_negative): Likewise.
47673         (atomic_add_zero): Likewise.
47675 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
47677         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
47678         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
47679         (add_fdes): Likewise.
47680         (linear_search_fdes): Likewise.
47681         (binary_search_unencoded_fdes): Likewise.
47683 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
47685         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
47687 2012-11-24  Adam Conrad  <adconrad@0c3.net>
47689         * configure.in: Autodetect C++ header directories.
47690         * configure: Regenerated.
47692 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
47694         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
47696 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
47698         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47700 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
47702         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
47703         LDBL_MANT_DIG == 106]: Disable some tests.
47704         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
47705         Likewise.
47706         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
47707         Likewise.
47709         [BZ #14871]
47710         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
47711         input for small inputs.  Return +/- pi/2 for large inputs.
47712         * math/libm-test.inc (atan_test): Add more tests.
47714         * sysdeps/generic/unwind-dw2-fde-glibc.c
47715         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
47716         __attribute__ ((unused)).
47718         [BZ #14645]
47719         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
47720         x * y if x and y are nonzero and z is zero.
47722         [BZ #14811]
47723         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
47724         nonzero exponents with absolute value below 0x1p-117 to +/-
47725         0x1p-117.
47727         [BZ #14869]
47728         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
47729         up arguments below 2**-450, not just those below 2**-500.
47730         * math/libm-test.inc (hypot_test): Add another test.
47732         [BZ #14868]
47733         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
47734         Return a+b for ratio over 2**120, not 2**60.
47735         * math/libm-test.inc (hypot_test): Add another test.
47737         * math/libm-test.inc (clog_test): Use
47738         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
47739         (clog10_test): Likewise.
47741         [BZ #6778]
47742         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
47744 2012-11-22  Andreas Schwab  <schwab@suse.de>
47746         * sysdeps/i386/fpu/libm-test-ulps: Update.
47748 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
47750         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
47751         printf output with newline.
47753 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
47755         [BZ #14865]
47756         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
47757         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
47758         -z nodlopen, -z initfirst and -z execstack support.
47759         * configure: Regenerated.
47761         * elf/elf.h (DF_1_NODIRECT): New macro.
47762         (DF_1_IGNMULDEF): Likewise.
47763         (DF_1_NOKSYMS): Likewise.
47764         (DF_1_NOHDR): Likewise.
47765         (DF_1_EDITED): Likewise.
47766         (DF_1_NORELOC): Likewise.
47767         (DF_1_SYMINTPOSE): Likewise.
47768         (DF_1_GLOBAUDIT): Likewise.
47769         (DF_1_SINGLETON): Likewise.
47770         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
47771         DT_1_SUPPORTED_MASK bits.
47772         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
47774 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
47776         * sysdeps/unix/make-syscalls.sh: Document prefixes.
47778 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
47780         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
47781         macro.
47783         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
47784         (sendmmsg): Move declarations...
47785         * socket/sys/socket.h: ... here.
47786         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
47787         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
47788         include it from...
47789         * socket/recvmmsg.c: ... this new file.
47790         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
47791         (sendmmsg): Rename to __sendmmsg, create weak alias and make
47792         definition of __sendmmsg hidden.
47793         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
47794         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
47795         Move ENOSYS stub into and include it from...
47796         * socket/sendmmsg.c: ... this new file.
47797         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
47798         (sysdep_routines): Move recvmmsg and sendmmsg...
47799         * socket/Makefile (routines): ... here.
47800         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
47801         (GLIBC_PRIVATE): Add __sendmmsg.
47802         * include/sys/socket.h (__sendmmsg): Add declarations.
47803         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
47804         sendmmsg.
47806 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
47808         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
47809         variable I1 with __attribute__ ((unused)).
47810         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
47812 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
47814         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
47815         DUMMY variables with __attribute__ ((unused)).
47817         * bits/byteswap.h: Include <bits/types.h>.
47818         (__bswap_64): Use __uint64_t instead of unsigned long long int.
47820 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
47822         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
47823         string_t.  Do not manually set errno.
47824         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
47825         length with __strnlen.  Make sure to both set errno and return it on
47826         failure.
47828 2012-11-19  David S. Miller  <davem@davemloft.net>
47830         With help from Joseph Myers.
47831         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
47832         very large arguments properly.
47833         * math/libm-test.inc (atan_test): New tests.
47834         (atan2_test): New tests.
47835         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47836         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47838 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
47840         [BZ #14856]
47841         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
47842         Define to 3.
47844         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
47845         [POSIX] (EADDRNOTAVAIL): Likewise.
47846         [POSIX] (EAFNOSUPPORT): Likewise.
47847         [POSIX] (EALREADY): Likewise.
47848         [POSIX] (ECONNABORTED): Likewise.
47849         [POSIX] (ECONNREFUSED): Likewise.
47850         [POSIX] (ECONNRESET): Likewise.
47851         [POSIX] (EDESTADDRREQ): Likewise.
47852         [POSIX] (EDQUOT): Likewise.
47853         [POSIX] (EHOSTUNREACH): Likewise.
47854         [POSIX] (EIDRM): Likewise.
47855         [POSIX] (EISCONN): Likewise.
47856         [POSIX] (ELOOP): Likewise.
47857         [POSIX] (EMULTIHOP): Likewise.
47858         [POSIX] (ENETDOWN): Likewise.
47859         [POSIX] (ENETUNREACH): Likewise.
47860         [POSIX] (ENOBUFS): Likewise.
47861         [POSIX] (ENODATA): Likewise.
47862         [POSIX] (ENOLINK): Likewise.
47863         [POSIX] (ENOMSG): Likewise.
47864         [POSIX] (ENOPROTOOPT): Likewise.
47865         [POSIX] (ENOSR): Likewise.
47866         [POSIX] (ENOSTR): Likewise.
47867         [POSIX] (ENOTCONN): Likewise.
47868         [POSIX] (ENOTSOCK): Likewise.
47869         [POSIX] (EOPNOTSUPP): Likewise.
47870         [POSIX] (EOVERFLOW): Likewise.
47871         [POSIX] (EPROTO): Likewise.
47872         [POSIX] (EPROTONOSUPPORT): Likewise.
47873         [POSIX] (EPROTOTYPE): Likewise.
47874         [POSIX] (ESTALE): Likewise.
47875         [POSIX] (ETIME): Likewise.
47876         [POSIX] (ETXTBSY): Likewise.
47877         [POSIX] (EWOULDBLOCK): Likewise.
47878         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
47879         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
47880         [POSIX] (SEEK_CUR): Likewise.
47881         [POSIX] (SEEK_END): Likewise.
47882         [POSIX || UNIX98] (mode_t): Do not require.
47883         [POSIX] (off_t): Likewise.
47884         [POSIX] (pid_t): Likewise.
47885         [POSIX] (sys/stat.h): Do not allow header.
47886         [POSIX] (unistd.h): Likewise.
47887         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
47888         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
47889         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
47890         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
47891         require.
47892         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
47893         sigevent): Specify elements.
47894         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
47895         entry.
47896         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
47897         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
47899         * conform/data/cpio.h-data [POSIX]: Disable whole file.
47900         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
47901         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
47902         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
47903         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
47904         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
47905         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
47906         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
47907         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
47908         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
47909         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
47910         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
47911         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
47912         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
47913         Likewise.
47914         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
47915         Likewise.
47916         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
47917         Likewise.
47918         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
47919         Likewise.
47920         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
47921         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
47922         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
47923         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
47924         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
47925         Specify lower bound on value.
47926         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
47927         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
47928         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
47929         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
47930         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
47931         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
47932         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
47933         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
47934         value.
47935         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
47936         as optional.
47937         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
47938         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
47939         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
47940         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
47941         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
47942         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
47943         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
47944         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
47945         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
47946         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
47947         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
47948         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
47949         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
47950         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
47951         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
47952         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
47953         entry.
47954         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
47955         optional.
47956         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
47957         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
47958         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
47959         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
47960         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
47961         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
47962         Likewise.
47963         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
47964         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
47965         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
47966         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
47967         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
47968         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
47969         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
47970         as optional.
47971         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
47972         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
47973         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
47974         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
47975         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
47976         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
47977         specify as optional.
47978         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
47979         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
47980         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
47981         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
47982         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
47983         [XPG3] (NL_LANGMAX): Likewise.
47984         [POSIX || XPG3] (NL_MSGMAX): Likewise.
47985         [POSIX || XPG3] (NL_NMAX): Likewise.
47986         [POSIX || XPG3] (NL_SETMAX): Likewise.
47987         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
47988         [XPG3] (NZERO): Likewise.
47989         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
47990         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
47991         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
47992         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
47993         (REG_ERANGE): Expect.
47994         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
47995         optional-constant.
47996         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
47997         Use (void) in prototype.
47998         [POSIX] (*_t): Allow.
47999         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
48000         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
48001         (WRDE_BADVAL): Expect.
48003         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
48004         expect.
48005         [XPG3 || XPG4] (O_RSYNC): Likewise.
48006         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
48007         Likewise.
48008         [XPG3 || XPG4] (pthread_sigmask): Likewise.
48009         [XPG3 || XPG4] (sigqueue): Likewise.
48010         [XPG3 || XPG4] (sigtimedwait): Likewise.
48011         [XPG3 || XPG4] (sigwaitinfo): Likewise.
48012         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
48013         [XPG3 || XPG4] (vsnprintf): Likewise.
48014         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
48015         Likewise.
48016         [XPG3 || XPG4] (blksize_t): Likewise.
48017         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
48018         Likewise.
48019         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
48020         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
48021         [XPG3 || XPG4] (struct itimerspec): Likewise.
48022         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
48023         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
48024         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
48025         [XPG3 || XPG4] (clockid_t): Likewise.
48026         [XPG3 || XPG4] (timer_t): Likewise.
48027         [XPG3 || XPG4] (clock_getres): Likewise.
48028         [XPG3 || XPG4] (clock_gettime): Likewise.
48029         [XPG3 || XPG4] (clock_settime): Likewise.
48030         [XPG3 || XPG4] (nanosleep): Likewise.
48031         [XPG3 || XPG4] (timer_create): Likewise.
48032         [XPG3 || XPG4] (timer_delete): Likewise.
48033         [XPG3 || XPG4] (timer_gettime): Likewise.
48034         [XPG3 || XPG4] (timer_getoverrun): Likewise.
48035         [XPG3 || XPG4] (timer_settime): Likewise.
48036         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
48037         [XPG3 || XPG4] (getlogin_r): Likewise.
48038         [XPG3 || XPG4] (pread): Likewise.
48039         [XPG3 || XPG4] (pthread_atfork): Likewise.
48040         [XPG3 || XPG4] (pwrite): Likewise.
48042         [BZ #14835]
48043         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
48044         <bits/siginfo.h>.
48046 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
48048         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
48049         finalizing MALLSTREAM.
48051         * sysdeps/mach/hurd/syncfs.c: New file.
48053 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48055         [BZ #14719]
48056         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
48057         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
48058         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
48059         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
48060         (_nss_dns_gethostbyname4_r): Likewise.
48061         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
48062         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
48064 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
48066         [BZ #13763]
48067         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
48069 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
48071         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
48072         * elf/cache.c (print_entry): Print ",AArch64" for
48073         FLAG_AARCH64_LIB64
48075         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
48076         * elf/cache.c (print_entry): Print ",hard-float" for
48077         FLAG_ARM_LIBHF.
48079 2012-11-18  David S. Miller  <davem@davemloft.net>
48081         With help from Joseph Myers.
48082         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
48083         cutoff to 2**-13.
48084         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
48085         cutoff to 2**-25.
48086         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
48087         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
48088         small.
48089         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
48090         * math/libm-test.inc (y0_test): New tests.
48091         (y1_test): New tests.
48092         * sysdeps/i386/fpu/libm-test-ulps: Update.
48093         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48094         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48096 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
48098         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
48099         64-bit targets.
48100         * configure: Regenerated.
48102 2012-11-17  David S. Miller  <davem@davemloft.net>
48104         [BZ #14811]
48105         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
48106         nonzero exponents with absolute value below 0x1p-128 to +/-
48107         0x1p-128.
48109 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
48111         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
48113         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
48115         * posix/getconf-speclist.c: New file.
48116         * posix/posix-envs.def: Likewise.
48117         * posix/confstr.c (START_ENV_GROUP): New macro.
48118         (END_ENV_GROUP): Likewise.
48119         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
48120         (KNOWN_PRESENT_ENV_STRING): Likewise.
48121         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
48122         (UNKNOWN_ENVIRONMENT): Likewise.
48123         (confstr): Include posix-envs.def instead of handling
48124         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
48125         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
48126         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
48127         (END_ENV_GROUP): Likewise.
48128         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
48129         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
48130         (UNKNOWN_ENVIRONMENT): Likewise.
48131         (__sysconf): Include posix-envs.def instead of handling associated
48132         cases directly here.
48133         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
48134         preprocessing getconf-speclist.c rather than running getconf or
48135         generating empty file.
48137 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
48139         * scripts/check-local-headers.sh: Ignore 'mach' headers.
48141 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
48143         [BZ #14672]
48144         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
48146 2012-11-16  David S. Miller  <davem@davemloft.net>
48148         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
48149         smaller than LDBL_EPSILON/2.0L, just return xm1.
48151 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
48153         * elf/tst-array1.c (init): Set constructor priority to 1000.
48154         (fini): Set destructor priority to 1000.
48155         * elf/tst-array2dep.c: Likewise.
48157 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48159         [BZ #11741]
48160         * libio/fileops.c (_IO_new_file_write): Correctly return error.
48161         (_IO_new_file_xsputn): Also return EOF if none of the input
48162         data was written when overflow failed.
48163         * libio/iopadn.c (_IO_padn): Likewise.
48164         * libio/iowpadn.c (_IO_wpadn): Likewise.
48165         * stdio-common/tst-put-error.c: Add copyright notice.
48166         (do_test): Add case for printing padded string.
48167         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
48168         _IO_padn returned error.
48169         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
48170         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
48171         return EOF.
48173 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48175         * libio/libioP.h: Add comment note that the references to C++
48176         bits are now obsolete.
48178 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48180         * math/libm-test.inc (check_complex): Use asprintf.
48182 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
48184         * debug/pcprofiledump.c (print_version): Update copyright year.
48185         * malloc/memusagestat.c (print_version): Likewise.
48187 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
48189         [BZ #14831]
48190         * elf/Makefile (tests): Add tst-audit8.
48191         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
48192         ($(objpfx)tst-audit8.out): New target.
48193         (tst-audit8-ENV): New variable.
48194         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
48195         audit if l_reloc_result is NULL.
48196         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
48197         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
48198         * elf/tst-audit8.c: New file.
48200 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48202         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
48203         * misc/Makefile (CFLAGS-select.c): Define.
48204         * posix/Makefile (CFLAGS-pause.c): Define.
48206 2012-11-13  David S. Miller  <davem@davemloft.net>
48208         * crypt/Makefile: Move test targets after toplevel Rules
48209         inclusion.  Grab any necessary sysdep routines when linking.
48210         * crypt/md5.c (md5_process_block): Remove define, we will always
48211         name it __md5_process_block.
48212         (md5_finish_ctx): Update md5_process_block call.
48213         (md5_stream): Likewise.
48214         (md5_process_bytes): Likewise.
48215         (md5_process_block): Rename to __md5_process_block and move to ...
48216         * crypt/md5-block.c: ... here.
48217         * crypt/sha256.c (sha256_process_block): Move to ...
48218         * crypt/sha256-block.c: ... here.
48219         * crypt/sha512.c (sha512_process_block): Move to ...
48220         * crypt/sha512-block.c: ... here.
48221         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
48222         path.
48223         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
48224         * sysdeps/sparc/sparc64/multiarch/Makefile
48225         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
48226         crypt subdir.
48227         (localedef-aux): Add md5 crypto assembler when in locale subdir.
48228         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
48229         multiarch changes.
48230         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
48231         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
48232         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
48233         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
48234         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
48235         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
48236         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
48237         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
48238         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
48239         file.
48240         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
48241         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
48242         file.
48243         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
48245 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
48247         * timezone/tzselect.ksh: Update from tzcode git revision
48248         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
48249         * timezone/zdump.c: Likewise.
48250         * timezone/zic.c: Likewise.
48251         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
48252         in TZVERSION setting, not $(PKGVERSION).
48253         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
48254         REPORT_BUGS_TO settings.
48256         [BZ #14838]
48257         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
48258         macro.
48260 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48262         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
48263         detection to immediately after _FP_ROUND().
48264         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
48265         bits are 0.
48267 2012-11-11  David S. Miller  <davem@davemloft.net>
48269         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
48270         inttypes.h
48271         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
48272         __close rather than their public counterparts.
48274 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
48276         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
48277         file.
48278         [UNIX98] (sem_timedwait): Do not expect.
48279         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
48280         [XPG4 || UNIX98] (sockatmark): Do not expect.
48281         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
48282         (clock_getcpuclockid): Do not expect.
48283         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
48284         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
48285         Do not expect.
48286         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
48287         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
48288         [UNIX98] (vwscanf): Likewise.
48289         [UNIX98] (vswscanf): Likewise.
48291 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
48293         * timezone/version.h: Remove file.
48294         * timezone/README: Do not refer to version.h.
48295         * timezone/Makefile ($(objpfx)zic.o): New dependency on
48296         $(objpfx)version.h.
48297         ($(objpfx)zdump.o): Likewise.
48298         ($(objpfx)version.h): New target.
48300         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
48301         2012i.
48302         * timezone/README: Don't mention modification to tzselect.ksh.
48303         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
48304         work on unmodified tzselect.ksh.  Substitute version numbers in
48305         tzselect.ksh.
48307         * Makefile (format-me): Remove.
48308         (INSTALL): Adjust indentation.  Use commands directly instead of
48309         using $(format-me).
48311         * aclocal.m4 (ACX_PKGVERSION): New macro.
48312         (ACX_BUGURL): Likewise.
48313         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
48314         (PKGVERSION): New AC_DEFINE_UNQUOTED.
48315         (REPORT_BUGS_TO): Likewise.
48316         * configure: Regenerated.
48317         * config.h.in (PKGVERSION): New macro.
48318         (REPORT_BUGS_TO): Likewise.
48319         * config.make.in (PKGVERSION): New variable.
48320         (PKGVERSION_TEXI): Likewise.
48321         (REPORT_BUGS_TO): Likewise.
48322         (REPORT_BUGS_TEXI): Likewise.
48323         * Makefile (format-me): Use -I$(common-objpfx)manual.
48324         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
48325         ($(common-objpfx)manual/%): New target.
48326         (manual/%): Remove target.
48327         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
48328         (print_version): Use PKGVERSION.
48329         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
48330         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
48331         and REPORT_BUGS_TO.
48332         ($(objpfx)xtrace): Likewise.
48333         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
48334         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
48335         (print_version): Use PKGVERSION.
48336         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
48337         (do_version): Use PKGVERSION.
48338         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
48339         REPORT_BUGS_TO.
48340         (common-ldd-rewrite): Likewise.
48341         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
48342         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
48343         (print_version): Use PKGVERSION.
48344         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
48345         * elf/pldd.c (argp_program_bug_address): Remove variable.
48346         (more_help): New function.
48347         (argp): Use more_help.
48348         (print_version): Use PKGVERSION.
48349         * elf/sln.c (main): Use PKGVERSION.
48350         (usage): Use REPORT_BUGS_TO.
48351         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
48352         (top level): Use PKGVERSION.
48353         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
48354         (print_version): Use PKGVERSION.
48355         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
48356         (print_version): Use PKGVERSION.
48357         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
48358         (print_version): Use PKGVERSION.
48359         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
48360         (print_version): Use PKGVERSION.
48361         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
48362         (print_version): Use PKGVERSION.
48363         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
48364         (print_version): Use PKGVERSION.
48365         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
48366         and BUGURL.
48367         ($(objpfx)memusage): Likewise.
48368         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
48369         (do_version): Use PKGVERSION.
48370         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
48371         (print_version): Use PKGVERSION.
48372         * malloc/mtrace.pl ($PACKAGE): Remove variable.
48373         ($PKGVERSION): New variable.
48374         ($REPORT_BUGS_TO): Likewise.
48375         (usage): Use $REPORT_BUGS_TO.
48376         (top level): Use $PKGVERSION.
48377         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
48378         ($(objpfx)pkgvers.texi): New rule.
48379         ($(objpfx)stamp-pkgvers): Likewise.
48380         * manual/install.texi: Include pkgvers.texi.
48381         (--with-pkgversion): Document new configure option.
48382         (--with-bugurl): Likewise.
48383         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
48384         than necessarily for this particular distribution.  Use
48385         REPORT_BUGS_TO for where to report bugs.
48386         * INSTALL: Regenerated.
48387         * manual/libc.texinfo: Include pkgvers.texi.
48388         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
48389         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
48390         (print_version): Use PKGVERSION.
48391         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
48392         (print_version): Use PKGVERSION.
48393         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
48394         (print_version): Use PKGVERSION.
48395         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
48396         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
48397         macro.
48398         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
48399         (print_version): Use PKGVERSION.
48400         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
48401         (print_version): Use PKGVERSION.
48402         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
48403         and PKGVERSION.
48405         * timezone/checktab.awk: Update from tzcode 2012i.
48406         * timezone/ialloc.c: Likewise.
48407         * timezone/private.h: Likewise.
48408         * timezone/scheck.c: Likewise.
48409         * timezone/tzfile.h: Likewise.
48410         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
48411         (TZVERSION): Hardcode tzcode version number.
48412         * timezone/zdump.c: Update from tzcode 2012i.
48413         * timezone/zic.c: Likewise.
48414         * timezone/version.h: New file.
48415         * timezone/README: Describe version.h.  Update upstream location.
48417         [BZ #14824]
48418         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
48419         (mktemp): Enable declaration.
48420         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
48421         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
48422         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
48423         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
48424         Likewise.
48425         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
48426         Likewise.
48427         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
48428         Likewise.
48429         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
48430         Likewise.
48431         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
48432         Likewise.
48433         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
48434         Likewise.
48436         [BZ #14821]
48437         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
48438         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
48439         for copies of such integer values.
48440         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48441         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48443 2012-11-09  Andreas Jaeger  <aj@suse.de>
48445         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
48446         definitions and declarations that are provided by
48447         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
48449 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48451         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
48452         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
48453         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
48454         definition.
48456 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48458         * elf/elf.h: Update comment before AArch64 relocations.
48460 2012-11-07  David S. Miller  <davem@davemloft.net>
48462         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
48463         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
48464         (__start_context): Declare.
48465         (__makecontext_ret): Delete.
48466         (__makecontext): Hook up __start_context instead of
48467         __makecontext_ret.
48468         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
48469         (sysdep_routines): Add __start_context when in stdlib.
48471 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
48473         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
48474         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
48475         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
48476         hardcoded "nm".
48477         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
48478         (READELF): New variable.  Use it instead of hardcoded "readelf".
48480 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
48482         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
48483         * sysdeps/x86/Makefile: Here.
48484         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
48485         * sysdeps/x86/tst-xmmymm.sh: This.
48487 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
48489         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
48490         expectations.
48491         [UNIX98] (pthread_barrier_t): Do not expect.
48492         [UNIX98] (pthread_barrierattr_t): Likewise.
48493         [UNIX98] (pthread_spinlock_t): Likewise.
48494         [UNIX98] (pthread_barrier_destroy): Likewise.
48495         [UNIX98] (pthread_barrier_init): Likewise.
48496         [UNIX98] (pthread_barrier_wait): Likewise.
48497         [UNIX98] (pthread_barrierattr_destroy): Likewise.
48498         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
48499         [UNIX98] (pthread_barrierattr_init): Likewise.
48500         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
48501         [UNIX98] (pthread_getcpuclockid): Likewise.
48502         [UNIX98] (pthread_mutex_timedlock): Likewise.
48503         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
48504         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
48505         [UNIX98] (pthread_sigmask): Likewise.
48506         [UNIX98] (pthread_spin_destroy): Likewise.
48507         [UNIX98] (pthread_spin_init): Likewise.
48508         [UNIX98] (pthread_spin_lock): Likewise.
48509         [UNIX98] (pthread_spin_trylock): Likewise.
48510         [UNIX98] (pthread_spin_unlock): Likewise.
48511         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
48512         Do not expect.
48513         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
48514         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
48515         [XPG3 || XPG4] (pthread_cond_t): Likewise.
48516         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
48517         [XPG3 || XPG4] (pthread_key_t): Likewise.
48518         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
48519         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
48520         [XPG3 || XPG4] (pthread_once_t): Likewise.
48521         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
48522         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
48523         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
48524         [XPG3 || XPG4] (pthread_t): Likewise.
48526         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
48527         not expect.
48528         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
48530         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
48531         Change function return type to int.
48533         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
48534         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
48535         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
48536         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
48537         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
48538         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
48539         [!POSIX] (posix_madvise): Likewise.
48540         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
48541         && !UNIX98].
48542         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
48543         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
48544         (mode_t): Likewise.
48545         (posix_mem_offset): Likewise.
48546         (posix_typed_mem_get_info): Likewise.
48547         (posix_typed_mem_open): Likewise.
48549         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
48550         Change condition to [XOPEN2K8].
48552         * conform/conformtest.pl: Preprocess allow-header data with -x c
48553         instead of from stdin.
48554         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
48555         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
48556         [C99-based standards] (cerfc): Likewise.
48557         [C99-based standards] (cexp2): Likewise.
48558         [C99-based standards] (cexpm1): Likewise.
48559         [C99-based standards] (clog10): Likewise.
48560         [C99-based standards] (clog1p): Likewise.
48561         [C99-based standards] (clog2): Likewise.
48562         [C99-based standards] (clgamma): Likewise.
48563         [C99-based standards] (ctgamma): Likewise.
48564         [C99-based standards] (cerff): Likewise.
48565         [C99-based standards] (cerfcf): Likewise.
48566         [C99-based standards] (cexp2f): Likewise.
48567         [C99-based standards] (cexpm1f): Likewise.
48568         [C99-based standards] (clog10f): Likewise.
48569         [C99-based standards] (clog1pf): Likewise.
48570         [C99-based standards] (clog2f): Likewise.
48571         [C99-based standards] (clgammaf): Likewise.
48572         [C99-based standards] (ctgammaf): Likewise.
48573         [C99-based standards] (cerfl): Likewise.
48574         [C99-based standards] (cerfcl): Likewise.
48575         [C99-based standards] (cexp2l): Likewise.
48576         [C99-based standards] (cexpm1l): Likewise.
48577         [C99-based standards] (clog10l): Likewise.
48578         [C99-based standards] (clog1pl): Likewise.
48579         [C99-based standards] (clog2l): Likewise.
48580         [C99-based standards] (clgammal): Likewise.
48581         [C99-based standards] (ctgammal): Likewise.
48582         * conform/data/inttypes.h-data [C99-based standards]: Include
48583         stdint.h-data.  Remove all expectations for stdint.h contents.
48584         [C99-based standards] (PRI*): Do not allow.
48585         [C99-based standards] (SCN*): Likewise.
48586         [C99-based standards] (*_t): Likewise.
48587         [C99-based-standards] (PRId8): Expect macro.
48588         [C99-based-standards] (PRIi8): Likewise.
48589         [C99-based-standards] (PRIo8): Likewise.
48590         [C99-based-standards] (PRIu8): Likewise.
48591         [C99-based-standards] (PRIx8): Likewise.
48592         [C99-based-standards] (PRIX8): Likewise.
48593         [C99-based-standards] (SCNd8): Likewise.
48594         [C99-based-standards] (SCNi8): Likewise.
48595         [C99-based-standards] (SCNo8): Likewise.
48596         [C99-based-standards] (SCNu8): Likewise.
48597         [C99-based-standards] (SCNx8): Likewise.
48598         [C99-based-standards] (PRIdLEAST8): Likewise.
48599         [C99-based-standards] (PRIiLEAST8): Likewise.
48600         [C99-based-standards] (PRIoLEAST8): Likewise.
48601         [C99-based-standards] (PRIuLEAST8): Likewise.
48602         [C99-based-standards] (PRIxLEAST8): Likewise.
48603         [C99-based-standards] (PRIXLEAST8): Likewise.
48604         [C99-based-standards] (SCNdLEAST8): Likewise.
48605         [C99-based-standards] (SCNiLEAST8): Likewise.
48606         [C99-based-standards] (SCNoLEAST8): Likewise.
48607         [C99-based-standards] (SCNuLEAST8): Likewise.
48608         [C99-based-standards] (SCNxLEAST8): Likewise.
48609         [C99-based-standards] (PRIdFAST8): Likewise.
48610         [C99-based-standards] (PRIiFAST8): Likewise.
48611         [C99-based-standards] (PRIoFAST8): Likewise.
48612         [C99-based-standards] (PRIuFAST8): Likewise.
48613         [C99-based-standards] (PRIxFAST8): Likewise.
48614         [C99-based-standards] (PRIXFAST8): Likewise.
48615         [C99-based-standards] (SCNdFAST8): Likewise.
48616         [C99-based-standards] (SCNiFAST8): Likewise.
48617         [C99-based-standards] (SCNoFAST8): Likewise.
48618         [C99-based-standards] (SCNuFAST8): Likewise.
48619         [C99-based-standards] (SCNxFAST8): Likewise.
48620         [C99-based-standards] (PRId16): Likewise.
48621         [C99-based-standards] (PRIi16): Likewise.
48622         [C99-based-standards] (PRIo16): Likewise.
48623         [C99-based-standards] (PRIu16): Likewise.
48624         [C99-based-standards] (PRIx16): Likewise.
48625         [C99-based-standards] (PRIX16): Likewise.
48626         [C99-based-standards] (SCNd16): Likewise.
48627         [C99-based-standards] (SCNi16): Likewise.
48628         [C99-based-standards] (SCNo16): Likewise.
48629         [C99-based-standards] (SCNu16): Likewise.
48630         [C99-based-standards] (SCNx16): Likewise.
48631         [C99-based-standards] (PRIdLEAST16): Likewise.
48632         [C99-based-standards] (PRIiLEAST16): Likewise.
48633         [C99-based-standards] (PRIoLEAST16): Likewise.
48634         [C99-based-standards] (PRIuLEAST16): Likewise.
48635         [C99-based-standards] (PRIxLEAST16): Likewise.
48636         [C99-based-standards] (PRIXLEAST16): Likewise.
48637         [C99-based-standards] (SCNdLEAST16): Likewise.
48638         [C99-based-standards] (SCNiLEAST16): Likewise.
48639         [C99-based-standards] (SCNoLEAST16): Likewise.
48640         [C99-based-standards] (SCNuLEAST16): Likewise.
48641         [C99-based-standards] (SCNxLEAST16): Likewise.
48642         [C99-based-standards] (PRIdFAST16): Likewise.
48643         [C99-based-standards] (PRIiFAST16): Likewise.
48644         [C99-based-standards] (PRIoFAST16): Likewise.
48645         [C99-based-standards] (PRIuFAST16): Likewise.
48646         [C99-based-standards] (PRIxFAST16): Likewise.
48647         [C99-based-standards] (PRIXFAST16): Likewise.
48648         [C99-based-standards] (SCNdFAST16): Likewise.
48649         [C99-based-standards] (SCNiFAST16): Likewise.
48650         [C99-based-standards] (SCNoFAST16): Likewise.
48651         [C99-based-standards] (SCNuFAST16): Likewise.
48652         [C99-based-standards] (SCNxFAST16): Likewise.
48653         [C99-based-standards] (PRId32): Likewise.
48654         [C99-based-standards] (PRIi32): Likewise.
48655         [C99-based-standards] (PRIo32): Likewise.
48656         [C99-based-standards] (PRIu32): Likewise.
48657         [C99-based-standards] (PRIx32): Likewise.
48658         [C99-based-standards] (PRIX32): Likewise.
48659         [C99-based-standards] (SCNd32): Likewise.
48660         [C99-based-standards] (SCNi32): Likewise.
48661         [C99-based-standards] (SCNo32): Likewise.
48662         [C99-based-standards] (SCNu32): Likewise.
48663         [C99-based-standards] (SCNx32): Likewise.
48664         [C99-based-standards] (PRIdLEAST32): Likewise.
48665         [C99-based-standards] (PRIiLEAST32): Likewise.
48666         [C99-based-standards] (PRIoLEAST32): Likewise.
48667         [C99-based-standards] (PRIuLEAST32): Likewise.
48668         [C99-based-standards] (PRIxLEAST32): Likewise.
48669         [C99-based-standards] (PRIXLEAST32): Likewise.
48670         [C99-based-standards] (SCNdLEAST32): Likewise.
48671         [C99-based-standards] (SCNiLEAST32): Likewise.
48672         [C99-based-standards] (SCNoLEAST32): Likewise.
48673         [C99-based-standards] (SCNuLEAST32): Likewise.
48674         [C99-based-standards] (SCNxLEAST32): Likewise.
48675         [C99-based-standards] (PRIdFAST32): Likewise.
48676         [C99-based-standards] (PRIiFAST32): Likewise.
48677         [C99-based-standards] (PRIoFAST32): Likewise.
48678         [C99-based-standards] (PRIuFAST32): Likewise.
48679         [C99-based-standards] (PRIxFAST32): Likewise.
48680         [C99-based-standards] (PRIXFAST32): Likewise.
48681         [C99-based-standards] (SCNdFAST32): Likewise.
48682         [C99-based-standards] (SCNiFAST32): Likewise.
48683         [C99-based-standards] (SCNoFAST32): Likewise.
48684         [C99-based-standards] (SCNuFAST32): Likewise.
48685         [C99-based-standards] (SCNxFAST32): Likewise.
48686         [C99-based-standards] (PRId64): Likewise.
48687         [C99-based-standards] (PRIi64): Likewise.
48688         [C99-based-standards] (PRIo64): Likewise.
48689         [C99-based-standards] (PRIu64): Likewise.
48690         [C99-based-standards] (PRIx64): Likewise.
48691         [C99-based-standards] (PRIX64): Likewise.
48692         [C99-based-standards] (SCNd64): Likewise.
48693         [C99-based-standards] (SCNi64): Likewise.
48694         [C99-based-standards] (SCNo64): Likewise.
48695         [C99-based-standards] (SCNu64): Likewise.
48696         [C99-based-standards] (SCNx64): Likewise.
48697         [C99-based-standards] (PRIdLEAST64): Likewise.
48698         [C99-based-standards] (PRIiLEAST64): Likewise.
48699         [C99-based-standards] (PRIoLEAST64): Likewise.
48700         [C99-based-standards] (PRIuLEAST64): Likewise.
48701         [C99-based-standards] (PRIxLEAST64): Likewise.
48702         [C99-based-standards] (PRIXLEAST64): Likewise.
48703         [C99-based-standards] (SCNdLEAST64): Likewise.
48704         [C99-based-standards] (SCNiLEAST64): Likewise.
48705         [C99-based-standards] (SCNoLEAST64): Likewise.
48706         [C99-based-standards] (SCNuLEAST64): Likewise.
48707         [C99-based-standards] (SCNxLEAST64): Likewise.
48708         [C99-based-standards] (PRIdFAST64): Likewise.
48709         [C99-based-standards] (PRIiFAST64): Likewise.
48710         [C99-based-standards] (PRIoFAST64): Likewise.
48711         [C99-based-standards] (PRIuFAST64): Likewise.
48712         [C99-based-standards] (PRIxFAST64): Likewise.
48713         [C99-based-standards] (PRIXFAST64): Likewise.
48714         [C99-based-standards] (SCNdFAST64): Likewise.
48715         [C99-based-standards] (SCNiFAST64): Likewise.
48716         [C99-based-standards] (SCNoFAST64): Likewise.
48717         [C99-based-standards] (SCNuFAST64): Likewise.
48718         [C99-based-standards] (SCNxFAST64): Likewise.
48719         [C99-based-standards] (PRIdMAX): Likewise.
48720         [C99-based-standards] (PRIiMAX): Likewise.
48721         [C99-based-standards] (PRIoMAX): Likewise.
48722         [C99-based-standards] (PRIuMAX): Likewise.
48723         [C99-based-standards] (PRIxMAX): Likewise.
48724         [C99-based-standards] (PRIXMAX): Likewise.
48725         [C99-based-standards] (SCNdMAX): Likewise.
48726         [C99-based-standards] (SCNiMAX): Likewise.
48727         [C99-based-standards] (SCNoMAX): Likewise.
48728         [C99-based-standards] (SCNuMAX): Likewise.
48729         [C99-based-standards] (SCNxMAX): Likewise.
48730         [C99-based-standards] (PRIdPTR): Likewise.
48731         [C99-based-standards] (PRIiPTR): Likewise.
48732         [C99-based-standards] (PRIoPTR): Likewise.
48733         [C99-based-standards] (PRIuPTR): Likewise.
48734         [C99-based-standards] (PRIxPTR): Likewise.
48735         [C99-based-standards] (PRIXPTR): Likewise.
48736         [C99-based-standards] (SCNdPTR): Likewise.
48737         [C99-based-standards] (SCNiPTR): Likewise.
48738         [C99-based-standards] (SCNoPTR): Likewise.
48739         [C99-based-standards] (SCNuPTR): Likewise.
48740         [C99-based-standards] (SCNxPTR): Likewise.
48741         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
48742         allow.
48743         * conform/data/stdint.h-data: Update comments to clarify
48744         requirements.
48745         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
48746         type.
48747         [C99-based standards] (INT8_MAX): Likewise.
48748         [C99-based standards] (INT16_MIN): Likewise.
48749         [C99-based standards] (INT16_MAX): Likewise.
48750         [C99-based standards] (INT32_MIN): Likewise.
48751         [C99-based standards] (INT32_MAX): Likewise.
48752         [C99-based standards] (INT64_MIN): Likewise.
48753         [C99-based standards] (INT64_MAX): Likewise.
48754         [C99-based standards] (UINT8_MAX): Likewise.
48755         [C99-based standards] (UINT16_MAX): Likewise.
48756         [C99-based standards] (UINT32_MAX): Likewise.
48757         [C99-based standards] (UINT64_MAX): Likewise.
48758         [C99-based standards] (INT_LEAST8_MIN): Likewise.
48759         [C99-based standards] (INT_LEAST8_MAX): Likewise.
48760         [C99-based standards] (INT_LEAST16_MIN): Likewise.
48761         [C99-based standards] (INT_LEAST16_MAX): Likewise.
48762         [C99-based standards] (INT_LEAST32_MIN): Likewise.
48763         [C99-based standards] (INT_LEAST32_MAX): Likewise.
48764         [C99-based standards] (INT_LEAST64_MIN): Likewise.
48765         [C99-based standards] (INT_LEAST64_MAX): Likewise.
48766         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
48767         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
48768         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
48769         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
48770         [C99-based standards] (INT_FAST8_MIN): Likewise.
48771         [C99-based standards] (INT_FAST8_MAX): Likewise.
48772         [C99-based standards] (INT_FAST16_MIN): Likewise.
48773         [C99-based standards] (INT_FAST16_MAX): Likewise.
48774         [C99-based standards] (INT_FAST32_MIN): Likewise.
48775         [C99-based standards] (INT_FAST32_MAX): Likewise.
48776         [C99-based standards] (INT_FAST64_MIN): Likewise.
48777         [C99-based standards] (INT_FAST64_MAX): Likewise.
48778         [C99-based standards] (UINT_FAST8_MAX): Likewise.
48779         [C99-based standards] (UINT_FAST16_MAX): Likewise.
48780         [C99-based standards] (UINT_FAST32_MAX): Likewise.
48781         [C99-based standards] (UINT_FAST64_MAX): Likewise.
48782         [C99-based standards] (INTPTR_MIN): Likewise.
48783         [C99-based standards] (INTPTR_MAX): Likewise.
48784         [C99-based standards] (UINTPTR_MAX): Likewise.
48785         [C99-based standards] (INTMAX_MIN): Likewise.
48786         [C99-based standards] (INTMAX_MAX): Likewise.
48787         [C99-based standards] (UINTMAX_MAX): Likewise.
48788         [C99-based standards] (PTRDIFF_MIN): Likewise.
48789         [C99-based standards] (PTRDIFF_MAX): Likewise.
48790         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
48791         [C99-based standards] (SIZE_MAX): Likewise.
48792         [C99-based standards] (WCHAR_MAX): Likewise.
48793         [C99-based standards] (WINT_MAX): Likewise.
48794         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
48795         constraint on value.
48796         [C99-based standards] (WCHAR_MIN): Likewise.
48797         [C99-based standards] (WINT_MIN): Likewise.
48798         [C99-based standards] (*_t): Allow.
48799         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
48800         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
48801         Include math.h-data and complex.h-data.  Remove all expectations
48802         of math.h and complex.h contents.
48803         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
48804         at end of line.
48805         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
48806         (struct tm): Expect tag.
48807         [C99-based-standards] (wcstof): Expect function.
48808         [C99-based-standards] (wcstold): Likewise.
48809         [C99-based-standards] (wcstoll): Likewise.
48810         [C99-based-standards] (wcstoull): Likewise.
48811         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
48812         macro-int-constant.  Specify type.
48813         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
48814         constraint on value.
48815         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
48816         Specify type.
48817         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
48818         Specify value.
48819         [ISO C standards]: Do not allow headers.
48820         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
48821         wcs[abcdefghijklmnopqrstuvwxyz]*.
48822         [ISO C standards] (*_t): Do not allow.
48823         * conform/data/wctype.h-data [C99-based standards] (iswblank):
48824         Expect function.
48825         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
48826         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
48827         Specify type.
48828         [ISO C standards]: Do not allow headers.
48829         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
48830         is[abcdefghijklmnopqrstuvwxyz]*.
48831         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
48832         to[abcdefghijklmnopqrstuvwxyz]*.
48833         [ISO C standards] (*_t): Do not allow.
48834         * conform/data/stdalign.h-data: New file.
48835         * conform/data/stdbool.h-data: Likewise.
48836         * conform/data/stdnoreturn.h-data: Likewise.
48838 2012-11-07  Roland McGrath  <roland@hack.frob.com>
48840         [BZ #14815]
48841         * manual/filesys.texi (Directory Entries): Typo fix.
48842         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
48844 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48846         * elf/elf.h (EM_AARCH64): New macro.
48847         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
48848         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
48849         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
48850         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
48851         (R_AARCH64_TLSDESC): Likewise.
48852         (NT_ARM_TLS): Likewise.
48853         (NT_ARM_HW_BREAK): Likewise.
48854         (NT_ARM_HW_WATCH): Likewise.
48856 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
48858         [BZ #14811]
48859         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
48860         (__ieee754_powl): Saturate nonzero exponents with absolute value
48861         below 0x1p-79 to +/- 0x1p-79.
48862         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
48863         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
48864         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
48865         nonzero exponents with absolute value below 0x1p-32 to +/-
48866         0x1p-32.
48867         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
48868         (__ieee754_powl): Saturate nonzero exponents with absolute value
48869         below 0x1p-79 to +/- 0x1p-79.
48870         * math/libm-test.inc (pow_test): Add more tests.
48872 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48874         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
48875         _dl_s390_cap_flags with kernel. Increase string length.
48876         (_dl_s390_platforms): Add z196 and zEC12.
48878 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
48880         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
48881         Change XOPEN21K to XOPEN2K.
48883 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
48885         * string/memmove.c: Use memcpy when possible.
48887 2012-11-06  Andreas Jaeger  <aj@suse.de>
48889         * po/eo.po: Update from translation team.
48891 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
48893         [BZ #14793]
48894         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
48895         exponent and small x and y exponents, scale x or y up.  Increase
48896         by 2 the exponent used in scaling up.
48897         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48898         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48899         * math/libm-test.inc (fma_test): Add more tests.
48900         (fma_test_towardzero): Likewise.
48901         (fma_test_downward): Likewise.
48902         (fma_test_upward): Likewise.
48904 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
48906         [BZ #14805]
48907         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
48908         fenv_t *.
48910         [BZ #14801]
48911         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
48912         namespace for names of struct fields.
48913         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
48914         fenv_t fields.
48915         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
48916         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
48918 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48920         [BZ #3665]
48921         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
48923 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
48925         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
48926         PTR_DEMANGLE.
48928         [BZ #5246]
48929         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
48930         PTR_DEMANGLE.
48932 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
48934         [BZ #14797]
48935         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
48936         definitely overflow as x * y not x * y + z.
48937         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48938         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48939         * math/libm-test.inc (fma_test): Add more tests.
48940         (fma_test_towardzero): Likewise.
48941         (fma_test_downward): Likewise.
48942         (fma_test_upward): Likewise.
48944 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
48946         [BZ #157]
48948         * include/stub-tag.h: Remove file.
48949         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
48950         '#include' of it.
48951         * manual/maint.texi (Porting): Don't reference it.
48952         * Makerules ($(objpfx)stubs): Likewise.
48953         * dirent/closedir.c: Don't include <stub-tag.h>.
48954         * dirent/dirfd.c: Likewise.
48955         * dirent/fdopendir.c: Likewise.
48956         * dirent/getdents.c: Likewise.
48957         * dirent/getdents64.c: Likewise.
48958         * dirent/opendir.c: Likewise.
48959         * dirent/readdir.c: Likewise.
48960         * dirent/readdir64.c: Likewise.
48961         * dirent/readdir64_r.c: Likewise.
48962         * dirent/readdir_r.c: Likewise.
48963         * dirent/rewinddir.c: Likewise.
48964         * dirent/seekdir.c: Likewise.
48965         * dirent/telldir.c: Likewise.
48966         * gmon/profil.c: Likewise.
48967         * grp/setgroups.c: Likewise.
48968         * inet/if_index.c: Likewise.
48969         * io/access.c: Likewise.
48970         * io/chdir.c: Likewise.
48971         * io/chmod.c: Likewise.
48972         * io/chown.c: Likewise.
48973         * io/close.c: Likewise.
48974         * io/dup.c: Likewise.
48975         * io/dup2.c: Likewise.
48976         * io/dup3.c: Likewise.
48977         * io/euidaccess.c: Likewise.
48978         * io/faccessat.c: Likewise.
48979         * io/fchdir.c: Likewise.
48980         * io/fchmod.c: Likewise.
48981         * io/fchmodat.c: Likewise.
48982         * io/fchown.c: Likewise.
48983         * io/fchownat.c: Likewise.
48984         * io/fcntl.c: Likewise.
48985         * io/flock.c: Likewise.
48986         * io/fstatfs.c: Likewise.
48987         * io/fstatfs64.c: Likewise.
48988         * io/fstatvfs.c: Likewise.
48989         * io/fstatvfs64.c: Likewise.
48990         * io/futimens.c: Likewise.
48991         * io/fxstat.c: Likewise.
48992         * io/fxstat64.c: Likewise.
48993         * io/fxstatat.c: Likewise.
48994         * io/fxstatat64.c: Likewise.
48995         * io/getcwd.c: Likewise.
48996         * io/isatty.c: Likewise.
48997         * io/lchmod.c: Likewise.
48998         * io/lchown.c: Likewise.
48999         * io/link.c: Likewise.
49000         * io/linkat.c: Likewise.
49001         * io/lseek.c: Likewise.
49002         * io/lseek64.c: Likewise.
49003         * io/lxstat64.c: Likewise.
49004         * io/mkdir.c: Likewise.
49005         * io/mkdirat.c: Likewise.
49006         * io/mkfifo.c: Likewise.
49007         * io/mkfifoat.c: Likewise.
49008         * io/open.c: Likewise.
49009         * io/open64.c: Likewise.
49010         * io/openat.c: Likewise.
49011         * io/openat64.c: Likewise.
49012         * io/pipe.c: Likewise.
49013         * io/pipe2.c: Likewise.
49014         * io/poll.c: Likewise.
49015         * io/posix_fadvise.c: Likewise.
49016         * io/posix_fadvise64.c: Likewise.
49017         * io/posix_fallocate.c: Likewise.
49018         * io/posix_fallocate64.c: Likewise.
49019         * io/read.c: Likewise.
49020         * io/readlink.c: Likewise.
49021         * io/readlinkat.c: Likewise.
49022         * io/rmdir.c: Likewise.
49023         * io/sendfile.c: Likewise.
49024         * io/sendfile64.c: Likewise.
49025         * io/statfs.c: Likewise.
49026         * io/statfs64.c: Likewise.
49027         * io/statvfs.c: Likewise.
49028         * io/statvfs64.c: Likewise.
49029         * io/symlink.c: Likewise.
49030         * io/symlinkat.c: Likewise.
49031         * io/ttyname.c: Likewise.
49032         * io/ttyname_r.c: Likewise.
49033         * io/umask.c: Likewise.
49034         * io/unlink.c: Likewise.
49035         * io/unlinkat.c: Likewise.
49036         * io/utime.c: Likewise.
49037         * io/utimensat.c: Likewise.
49038         * io/write.c: Likewise.
49039         * io/xmknod.c: Likewise.
49040         * io/xmknodat.c: Likewise.
49041         * io/xstat.c: Likewise.
49042         * io/xstat64.c: Likewise.
49043         * login/getpt.c: Likewise.
49044         * login/grantpt.c: Likewise.
49045         * login/unlockpt.c: Likewise.
49046         * math/e_acoshl.c: Likewise.
49047         * math/e_acosl.c: Likewise.
49048         * math/e_asinl.c: Likewise.
49049         * math/e_atan2l.c: Likewise.
49050         * math/e_atanhl.c: Likewise.
49051         * math/e_coshl.c: Likewise.
49052         * math/e_expl.c: Likewise.
49053         * math/e_fmodl.c: Likewise.
49054         * math/e_gammal_r.c: Likewise.
49055         * math/e_hypotl.c: Likewise.
49056         * math/e_j0l.c: Likewise.
49057         * math/e_j1l.c: Likewise.
49058         * math/e_jnl.c: Likewise.
49059         * math/e_lgammal_r.c: Likewise.
49060         * math/e_log10l.c: Likewise.
49061         * math/e_log2l.c: Likewise.
49062         * math/e_logl.c: Likewise.
49063         * math/e_powl.c: Likewise.
49064         * math/e_rem_pio2l.c: Likewise.
49065         * math/e_sinhl.c: Likewise.
49066         * math/e_sqrtl.c: Likewise.
49067         * math/fclrexcpt.c: Likewise.
49068         * math/fedisblxcpt.c: Likewise.
49069         * math/feenablxcpt.c: Likewise.
49070         * math/fegetenv.c: Likewise.
49071         * math/fegetexcept.c: Likewise.
49072         * math/fegetround.c: Likewise.
49073         * math/feholdexcpt.c: Likewise.
49074         * math/fesetenv.c: Likewise.
49075         * math/fesetround.c: Likewise.
49076         * math/feupdateenv.c: Likewise.
49077         * math/fgetexcptflg.c: Likewise.
49078         * math/fraiseexcpt.c: Likewise.
49079         * math/fsetexcptflg.c: Likewise.
49080         * math/ftestexcept.c: Likewise.
49081         * math/k_cosl.c: Likewise.
49082         * math/k_rem_pio2l.c: Likewise.
49083         * math/k_sinl.c: Likewise.
49084         * math/k_tanl.c: Likewise.
49085         * math/s_asinhl.c: Likewise.
49086         * math/s_atanl.c: Likewise.
49087         * math/s_cbrtl.c: Likewise.
49088         * math/s_erfl.c: Likewise.
49089         * math/s_expm1l.c: Likewise.
49090         * math/s_log1pl.c: Likewise.
49091         * math/s_tanhl.c: Likewise.
49092         * misc/acct.c: Likewise.
49093         * misc/brk.c: Likewise.
49094         * misc/chflags.c: Likewise.
49095         * misc/chroot.c: Likewise.
49096         * misc/fchflags.c: Likewise.
49097         * misc/fgetxattr.c: Likewise.
49098         * misc/flistxattr.c: Likewise.
49099         * misc/fremovexattr.c: Likewise.
49100         * misc/fsetxattr.c: Likewise.
49101         * misc/fsync.c: Likewise.
49102         * misc/ftruncate.c: Likewise.
49103         * misc/futimes.c: Likewise.
49104         * misc/futimesat.c: Likewise.
49105         * misc/getdomain.c: Likewise.
49106         * misc/getdtsz.c: Likewise.
49107         * misc/gethostid.c: Likewise.
49108         * misc/gethostname.c: Likewise.
49109         * misc/getloadavg.c: Likewise.
49110         * misc/getpagesize.c: Likewise.
49111         * misc/getsysstats.c: Likewise.
49112         * misc/getxattr.c: Likewise.
49113         * misc/gtty.c: Likewise.
49114         * misc/ioctl.c: Likewise.
49115         * misc/lgetxattr.c: Likewise.
49116         * misc/listxattr.c: Likewise.
49117         * misc/llistxattr.c: Likewise.
49118         * misc/lremovexattr.c: Likewise.
49119         * misc/lsetxattr.c: Likewise.
49120         * misc/lutimes.c: Likewise.
49121         * misc/madvise.c: Likewise.
49122         * misc/mincore.c: Likewise.
49123         * misc/mlock.c: Likewise.
49124         * misc/mlockall.c: Likewise.
49125         * misc/mmap.c: Likewise.
49126         * misc/mprotect.c: Likewise.
49127         * misc/msync.c: Likewise.
49128         * misc/munlock.c: Likewise.
49129         * misc/munlockall.c: Likewise.
49130         * misc/munmap.c: Likewise.
49131         * misc/preadv.c: Likewise.
49132         * misc/preadv64.c: Likewise.
49133         * misc/ptrace.c: Likewise.
49134         * misc/pwritev.c: Likewise.
49135         * misc/pwritev64.c: Likewise.
49136         * misc/readv.c: Likewise.
49137         * misc/reboot.c: Likewise.
49138         * misc/remap_file_pages.c: Likewise.
49139         * misc/removexattr.c: Likewise.
49140         * misc/revoke.c: Likewise.
49141         * misc/select.c: Likewise.
49142         * misc/setdomain.c: Likewise.
49143         * misc/setegid.c: Likewise.
49144         * misc/seteuid.c: Likewise.
49145         * misc/sethostid.c: Likewise.
49146         * misc/sethostname.c: Likewise.
49147         * misc/setregid.c: Likewise.
49148         * misc/setreuid.c: Likewise.
49149         * misc/setxattr.c: Likewise.
49150         * misc/sstk.c: Likewise.
49151         * misc/stty.c: Likewise.
49152         * misc/swapoff.c: Likewise.
49153         * misc/swapon.c: Likewise.
49154         * misc/sync.c: Likewise.
49155         * misc/syncfs.c: Likewise.
49156         * misc/syscall.c: Likewise.
49157         * misc/truncate.c: Likewise.
49158         * misc/ualarm.c: Likewise.
49159         * misc/usleep.c: Likewise.
49160         * misc/ustat.c: Likewise.
49161         * misc/utimes.c: Likewise.
49162         * misc/vhangup.c: Likewise.
49163         * misc/writev.c: Likewise.
49164         * posix/_exit.c: Likewise.
49165         * posix/alarm.c: Likewise.
49166         * posix/execve.c: Likewise.
49167         * posix/fexecve.c: Likewise.
49168         * posix/fork.c: Likewise.
49169         * posix/fpathconf.c: Likewise.
49170         * posix/getaddrinfo.c: Likewise.
49171         * posix/getegid.c: Likewise.
49172         * posix/geteuid.c: Likewise.
49173         * posix/getgid.c: Likewise.
49174         * posix/getgroups.c: Likewise.
49175         * posix/getlogin.c: Likewise.
49176         * posix/getlogin_r.c: Likewise.
49177         * posix/getpgid.c: Likewise.
49178         * posix/getpid.c: Likewise.
49179         * posix/getppid.c: Likewise.
49180         * posix/getresgid.c: Likewise.
49181         * posix/getresuid.c: Likewise.
49182         * posix/getsid.c: Likewise.
49183         * posix/getuid.c: Likewise.
49184         * posix/glob64.c: Likewise.
49185         * posix/nanosleep.c: Likewise.
49186         * posix/pathconf.c: Likewise.
49187         * posix/pause.c: Likewise.
49188         * posix/posix_madvise.c: Likewise.
49189         * posix/pread.c: Likewise.
49190         * posix/pread64.c: Likewise.
49191         * posix/pwrite.c: Likewise.
49192         * posix/pwrite64.c: Likewise.
49193         * posix/sched_getaffinity.c: Likewise.
49194         * posix/sched_getp.c: Likewise.
49195         * posix/sched_gets.c: Likewise.
49196         * posix/sched_primax.c: Likewise.
49197         * posix/sched_primin.c: Likewise.
49198         * posix/sched_rr_gi.c: Likewise.
49199         * posix/sched_setaffinity.c: Likewise.
49200         * posix/sched_setp.c: Likewise.
49201         * posix/sched_sets.c: Likewise.
49202         * posix/sched_yield.c: Likewise.
49203         * posix/setgid.c: Likewise.
49204         * posix/setlogin.c: Likewise.
49205         * posix/setpgid.c: Likewise.
49206         * posix/setresgid.c: Likewise.
49207         * posix/setresuid.c: Likewise.
49208         * posix/setsid.c: Likewise.
49209         * posix/setuid.c: Likewise.
49210         * posix/sleep.c: Likewise.
49211         * posix/spawni.c: Likewise.
49212         * posix/sysconf.c: Likewise.
49213         * posix/times.c: Likewise.
49214         * posix/wait.c: Likewise.
49215         * posix/wait3.c: Likewise.
49216         * posix/wait4.c: Likewise.
49217         * posix/waitpid.c: Likewise.
49218         * resolv/gai_sigqueue.c: Likewise.
49219         * resource/getpriority.c: Likewise.
49220         * resource/getrlimit.c: Likewise.
49221         * resource/getrusage.c: Likewise.
49222         * resource/nice.c: Likewise.
49223         * resource/setpriority.c: Likewise.
49224         * resource/setrlimit.c: Likewise.
49225         * resource/ulimit.c: Likewise.
49226         * rt/aio_cancel.c: Likewise.
49227         * rt/aio_fsync.c: Likewise.
49228         * rt/aio_read.c: Likewise.
49229         * rt/aio_sigqueue.c: Likewise.
49230         * rt/aio_suspend.c: Likewise.
49231         * rt/aio_write.c: Likewise.
49232         * rt/clock_getres.c: Likewise.
49233         * rt/clock_gettime.c: Likewise.
49234         * rt/clock_nanosleep.c: Likewise.
49235         * rt/clock_settime.c: Likewise.
49236         * rt/lio_listio.c: Likewise.
49237         * rt/mq_close.c: Likewise.
49238         * rt/mq_getattr.c: Likewise.
49239         * rt/mq_notify.c: Likewise.
49240         * rt/mq_open.c: Likewise.
49241         * rt/mq_receive.c: Likewise.
49242         * rt/mq_send.c: Likewise.
49243         * rt/mq_setattr.c: Likewise.
49244         * rt/mq_timedreceive.c: Likewise.
49245         * rt/mq_timedsend.c: Likewise.
49246         * rt/mq_unlink.c: Likewise.
49247         * rt/shm_open.c: Likewise.
49248         * rt/shm_unlink.c: Likewise.
49249         * rt/timer_create.c: Likewise.
49250         * rt/timer_delete.c: Likewise.
49251         * rt/timer_getoverr.c: Likewise.
49252         * rt/timer_gettime.c: Likewise.
49253         * rt/timer_settime.c: Likewise.
49254         * setjmp/__longjmp.c: Likewise.
49255         * setjmp/setjmp.c: Likewise.
49256         * signal/kill.c: Likewise.
49257         * signal/killpg.c: Likewise.
49258         * signal/raise.c: Likewise.
49259         * signal/sigaction.c: Likewise.
49260         * signal/sigaltstack.c: Likewise.
49261         * signal/sigblock.c: Likewise.
49262         * signal/sigignore.c: Likewise.
49263         * signal/sigintr.c: Likewise.
49264         * signal/signal.c: Likewise.
49265         * signal/sigpause.c: Likewise.
49266         * signal/sigpending.c: Likewise.
49267         * signal/sigqueue.c: Likewise.
49268         * signal/sigreturn.c: Likewise.
49269         * signal/sigset.c: Likewise.
49270         * signal/sigsetmask.c: Likewise.
49271         * signal/sigstack.c: Likewise.
49272         * signal/sigsuspend.c: Likewise.
49273         * signal/sigtimedwait.c: Likewise.
49274         * signal/sigvec.c: Likewise.
49275         * signal/sigwait.c: Likewise.
49276         * signal/sigwaitinfo.c: Likewise.
49277         * signal/sysv_signal.c: Likewise.
49278         * socket/accept.c: Likewise.
49279         * socket/accept4.c: Likewise.
49280         * socket/bind.c: Likewise.
49281         * socket/connect.c: Likewise.
49282         * socket/getpeername.c: Likewise.
49283         * socket/getsockname.c: Likewise.
49284         * socket/getsockopt.c: Likewise.
49285         * socket/isfdtype.c: Likewise.
49286         * socket/listen.c: Likewise.
49287         * socket/recv.c: Likewise.
49288         * socket/recvfrom.c: Likewise.
49289         * socket/recvmsg.c: Likewise.
49290         * socket/send.c: Likewise.
49291         * socket/sendmsg.c: Likewise.
49292         * socket/sendto.c: Likewise.
49293         * socket/setsockopt.c: Likewise.
49294         * socket/shutdown.c: Likewise.
49295         * socket/sockatmark.c: Likewise.
49296         * socket/socket.c: Likewise.
49297         * socket/socketpair.c: Likewise.
49298         * stdio-common/ctermid.c: Likewise.
49299         * stdio-common/cuserid.c: Likewise.
49300         * stdio-common/remove.c: Likewise.
49301         * stdio-common/rename.c: Likewise.
49302         * stdio-common/renameat.c: Likewise.
49303         * stdio-common/tempname.c: Likewise.
49304         * stdlib/getcontext.c: Likewise.
49305         * stdlib/makecontext.c: Likewise.
49306         * stdlib/setcontext.c: Likewise.
49307         * stdlib/swapcontext.c: Likewise.
49308         * stdlib/system.c: Likewise.
49309         * streams/fattach.c: Likewise.
49310         * streams/fdetach.c: Likewise.
49311         * streams/getmsg.c: Likewise.
49312         * streams/getpmsg.c: Likewise.
49313         * streams/putmsg.c: Likewise.
49314         * streams/putpmsg.c: Likewise.
49315         * sysdeps/unix/bsd/getpt.c: Likewise.
49316         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
49317         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
49318         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
49319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
49320         Likewise.
49321         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
49322         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
49323         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
49324         * sysvipc/msgctl.c: Likewise.
49325         * sysvipc/msgget.c: Likewise.
49326         * sysvipc/msgrcv.c: Likewise.
49327         * sysvipc/msgsnd.c: Likewise.
49328         * sysvipc/semctl.c: Likewise.
49329         * sysvipc/semget.c: Likewise.
49330         * sysvipc/semop.c: Likewise.
49331         * sysvipc/semtimedop.c: Likewise.
49332         * sysvipc/shmat.c: Likewise.
49333         * sysvipc/shmctl.c: Likewise.
49334         * sysvipc/shmdt.c: Likewise.
49335         * sysvipc/shmget.c: Likewise.
49336         * termios/tcdrain.c: Likewise.
49337         * termios/tcflow.c: Likewise.
49338         * termios/tcflush.c: Likewise.
49339         * termios/tcgetattr.c: Likewise.
49340         * termios/tcgetpgrp.c: Likewise.
49341         * termios/tcsendbrk.c: Likewise.
49342         * termios/tcsetattr.c: Likewise.
49343         * termios/tcsetpgrp.c: Likewise.
49344         * time/adjtime.c: Likewise.
49345         * time/clock.c: Likewise.
49346         * time/getitimer.c: Likewise.
49347         * time/gettimeofday.c: Likewise.
49348         * time/setitimer.c: Likewise.
49349         * time/settimeofday.c: Likewise.
49350         * time/stime.c: Likewise.
49351         * time/time.c: Likewise.
49353 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
49355         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
49356         /usr/old/bin.
49358         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
49359         instead of spaces.
49360         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
49362 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
49364         [BZ #14796]
49365         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
49366         FE_TONEAREST before applying Dekker multiplication and Knuth
49367         addition.  Clear inexact exceptions and check for exact zero
49368         results afterwards.
49369         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49370         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
49371         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49372         * math/libm-test.inc (fma_test): Add more tests.
49373         (fma_test_towardzero): Likewise.
49374         (fma_test_downward): Likewise.
49375         (fma_test_upward): Likewise.
49376         * sysdeps/generic/math_private.h (default_libc_fesetround): New
49377         function.
49378         (libc_fesetround): New macro.
49379         (libc_fesetroundf): Likewise.
49380         (libc_fesetroundl): Likewise.
49381         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
49382         function.
49383         (libc_fesetround_387): Likewise.
49384         (libc_fesetroundf): New macro.
49385         (libc_fesetround): Likewise.
49386         (libc_fesetroundl): Likewise.
49387         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
49388         function.
49389         (libc_fesetroundf): New macro.
49390         (libc_fesetround): Likewise.
49391         (libc_fesetroundl): Likewise.
49392         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
49393         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
49394         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
49395         libm_hidden_ver.
49396         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
49397         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
49398         libm_hidden_def.
49399         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
49400         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
49401         libm_hidden_ver.
49402         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
49403         libm_hidden_def.
49405         [BZ #3439]
49406         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
49407         integer constant usable in #if and use that to give value to enum
49408         constant.
49409         (FE_DIVBYZERO): Likewise.
49410         (FE_UNDERFLOW): Likewise.
49411         (FE_OVERFLOW): Likewise.
49412         (FE_INVALID): Likewise.
49413         (FE_INVALID_SNAN): Likewise.
49414         (FE_INVALID_ISI): Likewise.
49415         (FE_INVALID_IDI): Likewise.
49416         (FE_INVALID_ZDZ): Likewise.
49417         (FE_INVALID_IMZ): Likewise.
49418         (FE_INVALID_COMPARE): Likewise.
49419         (FE_INVALID_SOFTWARE): Likewise.
49420         (FE_INVALID_SQRT): Likewise.
49421         (FE_INVALID_INTEGER_CONVERSION): Likewise.
49422         (FE_TONEAREST): Likewise.
49423         (FE_TOWARDZERO): Likewise.
49424         (FE_UPWARD): Likewise.
49425         (FE_DOWNWARD): Likewise.
49426         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
49427         (FE_DIVBYZERO): Likewise.
49428         (FE_OVERFLOW): Likewise.
49429         (FE_UNDERFLOW): Likewise.
49430         (FE_INEXACT): Likewise.
49431         (FE_TONEAREST): Likewise.
49432         (FE_DOWNWARD): Likewise.
49433         (FE_UPWARD): Likewise.
49434         (FE_TOWARDZERO): Likewise.
49435         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
49436         (FE_UNDERFLOW): Likewise.
49437         (FE_OVERFLOW): Likewise.
49438         (FE_DIVBYZERO): Likewise.
49439         (FE_INVALID): Likewise.
49440         (FE_TONEAREST): Likewise.
49441         (FE_TOWARDZERO): Likewise.
49442         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
49443         (FE_OVERFLOW): Likewise.
49444         (FE_UNDERFLOW): Likewise.
49445         (FE_DIVBYZERO): Likewise.
49446         (FE_INEXACT): Likewise.
49447         (FE_TONEAREST): Likewise.
49448         (FE_TOWARDZERO): Likewise.
49449         (FE_UPWARD): Likewise.
49450         (FE_DOWNWARD): Likewise.
49451         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
49452         (FE_DIVBYZERO): Likewise.
49453         (FE_OVERFLOW): Likewise.
49454         (FE_UNDERFLOW): Likewise.
49455         (FE_INEXACT): Likewise.
49456         (FE_TONEAREST): Likewise.
49457         (FE_DOWNWARD): Likewise.
49458         (FE_UPWARD): Likewise.
49459         (FE_TOWARDZERO): Likewise.
49461 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
49463         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
49465 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
49467         * scripts/cross-test-ssh.sh (command): Use newlines to separate
49468         commands.  Quote $PWD.
49469         (blacklist_exports): Don't use remove_newlines.  Replace "declare
49470         -x" by "export".
49471         (remove_newlines): Remove.
49473 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
49475         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
49476         * stdlib/stdlib.h (atof): Moved to ...
49477         * include/bits/stdlib-float.h: Here.  New file.
49478         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
49479         * stdlib/bits/stdlib-float.h: New file.
49480         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
49481         -mno-sse -mno-mmx.
49482         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
49483         <xmmintrin.h>.
49485 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
49487         * conform/conformtest.pl (@headers): Add fenv.h.
49488         * conform/data/fenv.h-data: New file.
49489         * include/fenv.h [_ISOMAC]: Disable all contents of file except
49490         include of <math/fenv.h>.
49492         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
49493         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
49494         && !UNIX98].  Enables tests for XOPEN2K8.
49495         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
49496         POSIX2008]: Likewise.
49498         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
49499         (struct rusage): Do not expect type or its members.
49501         [BZ #3439]
49502         * math/math.h (FP_NAN): Define macro to integer constant usable in
49503         #if and use that to give value to enum constant.
49504         (FP_INFINITE): Likewise.
49505         (FP_ZERO): Likewise.
49506         (FP_SUBNORMAL): Likewise.
49507         (FP_NORMAL): Likewise.
49509 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
49511         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
49512         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
49513         arguments.
49515 2012-11-02  Roland McGrath  <roland@hack.frob.com>
49517         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
49518         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
49519         autoconf-time if not.
49520         * configure.in: Remove AC_PREREQ.
49522 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49524         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
49525         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
49526         of the internal implementation.
49528 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
49530         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
49531         except include of <misc/sys/syslog.h>.
49533 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
49535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
49536         function returns with a NULL context exit with zero.
49538 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49540         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
49542 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
49544         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
49545         (run_program_cmd): This.
49546         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
49547         (tst_langinfo): New variable.  Use it.
49549 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
49551         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
49552         floating point opcodes.
49554 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
49556         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
49557         variable.
49559         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
49561         * sysdeps/mach/hurd/powerpc: Remove directory.
49562         * sysdeps/mach/powerpc: Likewise.
49564 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
49566         * scripts/check-local-headers.sh: Ignore c++ headers.
49568 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
49570         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
49571         __libc_cleanup_region_start argument.
49573 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
49575         [BZ #14784]
49576         [BZ #14785]
49577         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
49578         x * y using scaling, not as x * y + z.
49579         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49580         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49581         * math/libm-test.inc (fma_test): Add more tests.
49582         (fma_test_towardzero): Likewise.
49583         (fma_test_downward): Likewise.
49584         (fma_test_upward): Likewise.
49586 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
49588         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
49590 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
49592         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
49593         New variable.
49595 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
49597         * rt/tst-shm.c (worker): Correct checking for mmap failure.
49599 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
49601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49602         Fix sort order.
49603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49604         Likewise.
49606 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49609         Fix the order of the list for glibc 2.17.
49610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49611         Likewise.
49613 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
49615         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49617 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
49619         [BZ #14610]
49620         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
49621         for low part of x being zero before using __atanl (y).
49622         * math/libm-test.inc (atan2_test): Add another test.
49624         * manual/install.texi (Configuring and compiling): Document
49625         general use of test-wrapper and test-wrapper-env.
49626         * INSTALL: Regenerated.
49628         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
49629         (__fma): Do not extract and scale down low bits on after-rounding
49630         systems when result rounded to normal precision would have normal
49631         exponent.
49632         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
49633         (__fmal): Do not extract and scale down low bits on after-rounding
49634         systems when result rounded to normal precision would have normal
49635         exponent.
49636         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
49637         (__fmal): Do not extract and scale down low bits on after-rounding
49638         systems when result rounded to normal precision would have normal
49639         exponent.
49640         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
49641         macro.
49642         (fma_test): Add more tests.
49643         (fma_test_towardzero): Likewise.
49644         (fma_test_downward): Likewise.
49645         (fma_test_upward): Likewise.
49647 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
49649         * sysdeps/i386/tininess.h: Renamed to ...
49650         * sysdeps/x86/tininess.h: This.
49651         * sysdeps/x86_64/tininess.h: Removed.
49653 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
49655         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
49656         input.  Use $(build-program-cmd).
49657         ($(objpfx)tst-array1-static.out): Likewise.
49658         ($(objpfx)tst-array2.out): Likewise.
49659         ($(objpfx)tst-array3.out): Likewise.
49660         ($(objpfx)tst-array4.out): Likewise.
49661         ($(objpfx)tst-array5.out): Likewise.
49662         ($(objpfx)tst-array5-static.out): Likewise.
49664 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
49666         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
49667         if defined.
49669         * nss/nsswitch.h (nss_interface_function): Provide new
49670         macro for use with NSS functions.
49671         * grp/initgroups.c: Use new macro.
49672         * nss/getXXbyYY.c: Likewise.
49673         * nss/getXXbyYY_r.c: Likewise.
49674         * nss/getXXent.c: Likewise.
49675         * nss/getXXent_r.c: Likewise.
49676         * sysdeps/posix/getaddrinfo.c: Likewise.
49678 2012-10-30  Andreas Jaeger  <aj@suse.de>
49680         * po/ru.po: Update Russion translation from translation project.
49682 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
49684         [BZ #14152]
49685         [BZ #14783]
49686         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
49687         result and shift together with sticky bit instead of replicating
49688         round-to-nearest rounding.
49689         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49690         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49691         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
49692         missing underflow exceptions.
49693         (fma_test_towardzero): Add more tests.
49694         (fma_test_downward): Likewise.
49695         (fma_test_upward): Likewise.
49697         [BZ #14047]
49698         * sysdeps/generic/tininess.h: New file.
49699         * sysdeps/i386/tininess.h: Likewise.
49700         * sysdeps/sh/tininess.h: Likewise.
49701         * sysdeps/x86_64/tininess.h: Likewise.
49702         * stdlib/tst-strtod-underflow.c: Likewise.
49703         * stdlib/tst-tininess.c: Likewise.
49704         * stdlib/strtod_l.c: Include <tininess.h>.
49705         (round_and_return): Do not set errno for exact underflow cases.
49706         Force an underflow exception when setting errno for underflow.
49707         Determine underflow based on rounding to normal precision if
49708         TININESS_AFTER_ROUNDING.
49709         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
49710         ERANGE for exact underflow cases.
49711         * stdlib/Makefile (tests): Add tst-tininess and
49712         tst-strtod-underflow.
49713         ($(objpfx)tst-tininess): Use $(link-libm).
49714         ($(objpfx)tst-strtod-underflow): Likewise.
49716 2012-10-30  Andreas Jaeger  <aj@suse.de>
49718         [BZ#14767]
49719         * elf/Makefile (tests): Remove conditional for have-initfini-array
49720         since this is now always required and the variable does not exist
49721         anymore.
49722         (tests-static): Likewise.
49723         (modules-names): Likewise.
49725         * po/eo.po: Add Esperanto translation from translation project.
49727         * elf/tst-array1.c (fini_array): Make writeable so that it can be
49728         merged with constructor/destructor.
49729         (init_array): Likewise.
49730         * elf/tst-array2dep.c (fini_array): Likewise.
49731         (init_array): Likewise.
49733 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
49735         * manual/message.texi: Delete @cartouche tags.
49737 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
49739         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
49740         EOPNOTSUPP.
49741         * sysdeps/mach/hurd/fsync.c: Likewise.
49743         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
49744         [_POSIX_REALTIME_SIGNALS]: Change condition to
49745         [_POSIX_REALTIME_SIGNALS > 0].
49747 2012-10-27  Andreas Jaeger  <aj@suse.de>
49749         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
49750         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
49751         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
49752         [__WORDSIZE != 64]: Likewise.
49754 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
49756         *  iconvdata/tst-table.sh: Remove ${SHELL}.
49757         *  iconvdata/tst-tables.sh: Likewise.
49759 2012-10-25  David S. Miller  <davem@davemloft.net>
49761         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49762         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
49763         of strtoull.
49765         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
49766         ifunc-impl-list.c
49767         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49768         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
49769         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
49770         file.
49772 2012-10-25  Roland McGrath  <roland@hack.frob.com>
49774         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49775         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
49776         __getdirentries.
49778 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
49779             Jim Blandy  <jimb@codesourcery.com>
49781         * scripts/cross-test-ssh.sh: New file.
49782         * manual/install.texi (Configuring and compiling): Document use of
49783         cross-test-ssh.sh.
49784         * INSTALL: Regenerated.
49786 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
49788         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
49789         EOPNOTSUPP.
49791 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
49793         * Makeconfig (run-program-prefix): Fix comment.
49795 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
49796             Jim Blandy  <jimb@codesourcery.com>
49798         * Makeconfig (test-wrapper): New variable,
49799         (test-wrapper-env): Likewise.
49800         [$(cross-compiling) = yes && $(test-wrapper) != ""]
49801         (run-built-tests): Define to yes.
49802         (run-program-prefix): Use $(test-wrapper).
49803         (built-program-cmd): Likewise.
49804         * Rules (make-test-out): Use $(test-wrapper-env) and
49805         $(host-built-program-cmd).
49806         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
49807         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
49808         tst-pathopt.sh.
49809         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
49810         $(test-wrapper-env) to tst-rtld-load-self.sh.
49811         ($(objpfx)order2.out): Use $(test-wrapper).
49812         ($(objpfx)tst-initorder.out): Likewise.
49813         ($(objpfx)tst-initorder2.out): Likewise.
49814         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
49815         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
49816         (test_wrapper_env): New variable.  Use it to run ld.so.
49817         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
49818         Use it to run ld.so.
49819         (test_wrapper_env): Likewise.
49820         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
49821         $(test-wrapper) to run-iconv-test.sh.
49822         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
49823         (ICONV): Use $test_wrapper.
49824         * posix/Makefile ($(objpfx)globtest.out): Pass
49825         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
49826         globtest.sh, not $(run-program-prefix).
49827         * posix/globtest.sh (run_via_rtld_prefix): New variable.
49828         (test_wrapper): Likewise.
49829         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
49830         set together with run_via_rtld_prefix.
49831         (run_program_prefix): Define in terms of test_wrapper and
49832         run_via_rtld_prefix.
49834 2012-10-24  Roland McGrath  <roland@hack.frob.com>
49836         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
49837         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
49838         Targets removed.
49840         [BZ #14743]
49841         * include/time.h: Remove librt_hidden_proto (clock_gettime).
49842         Declare __clock_getres, __clock_gettime, __clock_settime,
49843         __clock_nanosleep, and __clock_getcpuclockid.
49844         * rt/clock_gettime.c: Define __clock_gettime as an alias.
49845         Remove librt_hidden_def (clock_gettime).
49846         * sysdeps/unix/clock_gettime.c: Likewise.
49847         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
49848         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
49849         * rt/clock_getres.c: Define __clock_getres as an alias.
49850         * sysdeps/posix/clock_getres.c: Likewise.
49851         * rt/clock_settime.c: Define __clock_settime as an alias.
49852         * sysdeps/unix/clock_settime.c: Likewise.
49853         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
49854         * sysdeps/unix/clock_nanosleep.c: Likewise.
49855         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
49856         * rt/clock-compat.c: New file.
49857         * rt/Makefile (librt-routines): Add clock-compat and move
49858         $(clock-routines) to ...
49859         (routines): ... here, new variable.
49860         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
49861         Don't add get_clockfreq here.
49862         * rt/Versions (libc: GLIBC_2.17): New version set.
49863         Add clock_* symbols here.
49864         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
49865         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
49866         (GLIBC_2.17): Add clock_* symbols.
49867         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
49868         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
49869         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
49870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49871         Likewise.
49872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49873         Likewise.
49874         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
49875         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
49876         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
49877         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
49878         * NEWS: Mention the move.
49880         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
49881         Use __open, __read, __close rather than their public counterparts.
49882         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49883         (__get_clockfreq_via_cpuinfo): Likewise.
49884         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
49885         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
49887         * config.h.in (HAVE_IFUNC): New #undef.
49888         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
49889         was successful.
49890         * configure: Regenerated.
49892 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
49894         * configure.in: Move READELF check to start of file.
49895         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
49896         libc_cv_asm_gnu_indirect_function in the process.
49897         * configure: Regenerated.
49899 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
49901         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
49902         send the output to /dev/null.
49903         (libc_cv_cc_with_libunwind): Likewise.
49904         (libc_cv_as_noexecstack): Likewise.
49905         * configure: Regenerate.
49907 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
49909         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
49911         * posix/globtest.sh (TMPDIR): Do not set.
49912         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
49913         (testout): Likewise.
49915 2012-10-24  Andreas Jaeger  <aj@suse.de>
49917         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
49918         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
49919         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
49920         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
49921         posix_fadvise64, posix_fallocate64.
49923         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
49924         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
49925         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
49926         Likewise.
49927         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
49928         Likewise.
49929         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
49931         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
49932         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
49933         <bits/fcntl-linux.h>.
49934         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
49936         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
49937         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
49938         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
49939         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
49940         [__WORDSIZE != 64]: Likewise.
49942 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
49944         * Makeconfig (run-built-tests): New variable.
49945         * Rules [$(cross-compiling) = yes]: Change condition to
49946         [$(run-built-tests) = no].
49947         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
49948         to [$(run-built-tests) = yes].
49949         * elf/Makefile [$(cross-compiling) = no]: Likewise
49950         * grp/Makefile [$(cross-compiling) = no]: Likewise.
49951         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
49952         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
49953         * intl/Makefile [$(cross-compiling) = no]: Likewise.
49954         * io/Makefile [$(cross-compiling) = no]: Likewise.
49955         * libio/Makefile [$(cross-compiling) = no]: Likewise.
49956         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
49957         * misc/Makefile [$(cross-compiling) = no]: Likewise.
49958         * posix/Makefile [$(cross-compiling) = no]: Likewise.
49959         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
49960         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
49961         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
49962         * string/Makefile [$(cross-compiling) = no]: Likewise.
49964         * posix/Makefile ($(objpfx)globtest.out): Pass
49965         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
49966         $(rtld-installed-name).
49967         * posix/globtest.sh (elf_objpfx): Remove variable.
49968         (rtld_installed_name): Likewise.
49969         (library_path): Likewise.
49970         (run_program_prefix): New variable.  Use for running globtest
49971         binary.
49973 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
49974             Joseph Myers  <joseph@codesourcery.com>
49976         * Makeconfig (host-built-program-cmd): New variable.
49977         * elf/Makefile (tst-stackguard1-ARGS): Use
49978         $(host-built-program-cmd).
49979         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
49980         (tst-spawn-ARGS): Likewise.
49981         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
49983 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
49984             Jim Blandy  <jimb@codesourcery.com>
49986         * Makeconfig (run-via-rtld-prefix): New variable.
49987         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
49988         (built-program-cmd): Likewise.
49990 2012-10-22  Andreas Jaeger  <aj@suse.de>
49992         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
49993         __O_RSYNC if it exists, otherwise to O_SYNC.
49995 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
49996             Joseph Myers  <joseph@codesourcery.com>
49998         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
49999         /dev/null.
50000         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
50001         from /dev/null
50002         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
50003         /dev/null.
50005 2012-10-22  Andreas Jaeger  <aj@suse.de>
50007         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
50008         Define always.
50009         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
50011         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50012         bits/fcntl-linux.h.
50014         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
50015         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
50017         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
50018         to __O_LARGEFILE.
50019         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
50020         to __O_LARGEFILE.
50022 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
50023             Joseph Myers  <joseph@codesourcery.com>
50025         * config.make.in (NM): New variable.
50027 2012-10-21  Andreas Jaeger  <aj@suse.de>
50029         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
50030         definitions and declarations that are provided by
50031         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
50033 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
50035         [BZ #14683]
50036         * elf/Makefile (tests-static): Add tst-leaks1-static.
50037         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
50038         ($(objpfx)tst-leaks1-static): New rule.
50039         ($(objpfx)tst-leaks1-static-mem): Likewise.
50040         (tst-leaks1-static-ENV): New macro.
50041         * elf/dl-open.c (dl_open_worker): Check the main application
50042         only if SHARED is defined.
50043         * elf/tst-leaks1-static.c: New file.
50045 2012-10-20  Andreas Jaeger  <aj@suse.de>
50047         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
50048         generic values for Linux.
50049         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
50050         and declarations that are provided by <bits/fcntl-linux.h> and
50051         include <bits/fcntl-linux.h>.
50052         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50053         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50055 2012-10-20  Roland McGrath  <roland@hack.frob.com>
50057         * io/fcntl.h: Move include of <bits/types.h> to the top and
50058         include it unconditionally.
50060 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
50062         * wcsmbs/Makefile (tests-ifunc): New variable.
50063         (tests): Add $(tests-ifunc).
50064         * wcsmbs/test-wcschr-ifunc.c: New file.
50065         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
50066         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
50067         * wcsmbs/test-wcslen-ifunc.c: Likewise.
50068         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
50069         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
50071         * string/Makefile (tests-ifunc): New variable.
50072         (tests): Add $(tests-ifunc).
50073         * string/test-memccpy.c (TEST_NAME): New macro.
50074         * string/test-memchr.c (TEST_NAME): Likewise.
50075         * string/test-memcmp.c (TEST_NAME): Likewise.
50076         * string/test-memcpy.c (TEST_NAME): Likewise.
50077         * string/test-memmem.c (TEST_NAME): Likewise.
50078         * string/test-memmove.c (TEST_NAME): Likewise.
50079         * string/test-memset.c (TEST_NAME): Likewise.
50080         * string/test-rawmemchr.c (TEST_NAME): Likewise.
50081         * string/test-stpcpy.c (TEST_NAME): Likewise.
50082         * string/test-stpncpy.c (TEST_NAME): Likewise.
50083         * string/test-strcasecmp.c (TEST_NAME): Likewise.
50084         * string/test-strcasestr.c (TEST_NAME): Likewise.
50085         * string/test-strcat.c (TEST_NAME): Likewise.
50086         * string/test-strchr.c (TEST_NAME): Likewise.
50087         * string/test-strcmp.c(TEST_NAME): Likewise.
50088         * string/test-strcpy.c (TEST_NAME): Likewise.
50089         * string/test-strcspn.c (TEST_NAME): Likewise.
50090         * string/test-strlen.c (TEST_NAME): Likewise.
50091         * string/test-strncasecmp.c (TEST_NAME): Likewise.
50092         * string/test-strncmp.c (TEST_NAME): Likewise.
50093         * string/test-strncpy.c (TEST_NAME): Likewise.
50094         * string/test-strnlen.c (TEST_NAME): Likewise.
50095         * string/test-strpbrk.c (TEST_NAME): Likewise.
50096         * string/test-strrchr.c (TEST_NAME): Likewise.
50097         * string/test-strspn.c (TEST_NAME): Likewise.
50098         * string/test-strstr.c (TEST_NAME): Likewise.
50099         * string/test-bcopy-ifunc.c: New file.
50100         * string/test-bzero-ifunc.c: Likewise.
50101         * string/test-memccpy-ifunc.c: Likewise.
50102         * string/test-memchr-ifunc.c: Likewise.
50103         * string/test-memcmp-ifunc.c: Likewise.
50104         * string/test-memcpy-ifunc.c: Likewise.
50105         * string/test-memmem-ifunc.c: Likewise.
50106         * string/test-memmove-ifunc.c: Likewise.
50107         * string/test-mempcpy-ifunc.c: Likewise.
50108         * string/test-memset-ifunc.c: Likewise.
50109         * string/test-rawmemchr-ifunc.c: Likewise.
50110         * string/test-stpcpy-ifunc.c: Likewise.
50111         * string/test-stpncpy-ifunc.c: Likewise.
50112         * string/test-strcasecmp-ifunc.c: Likewise.
50113         * string/test-strcasestr-ifunc.c: Likewise.
50114         * string/test-strcat-ifunc.c: Likewise.
50115         * string/test-strchr-ifunc.c: Likewise.
50116         * string/test-strchrnul-ifunc.c: Likewise.
50117         * string/test-strcmp-ifunc.c: Likewise.
50118         * string/test-strcpy-ifunc.c: Likewise.
50119         * string/test-strcspn-ifunc.c: Likewise.
50120         * string/test-strlen-ifunc.c: Likewise.
50121         * string/test-strncasecmp-ifunc.c: Likewise.
50122         * string/test-strncat-ifunc.c: Likewise.
50123         * string/test-strncmp-ifunc.c: Likewise.
50124         * string/test-strncpy-ifunc.c: Likewise.
50125         * string/test-strnlen-ifunc.c: Likewise.
50126         * string/test-strpbrk-ifunc.c: Likewise.
50127         * string/test-strrchr-ifunc.c: Likewise.
50128         * string/test-strspn-ifunc.c: Likewise.
50129         * string/test-strstr-ifunc.c: Likewise.
50131         * debug/Makefile (tests-ifunc): New variable.
50132         (tests): Add $(tests-ifunc).
50133         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
50134         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
50135         * debug/test-stpcpy_chk-ifunc.c: New file.
50136         * debug/test-strcpy_chk-ifunc.c: Likewise.
50138 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
50140         [BZ #13601]
50141         * elf/dl-load.c (open_verify): Retry read if the entire ELF
50142         header is not read in.
50144 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
50146         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
50147         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
50148         directly.  Pass built executable to script as
50149         $(built-program-cmd).
50150         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
50151         $testprogram without using LD_LIBRARY_PATH and $ldso.
50153         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
50154         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
50155         $(rtld-installed-name).
50156         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
50157         (rtld_installed_name): Likewise.
50158         (library_path): Likewise.
50159         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
50160         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
50161         $(run-program-prefix) to tst-tables.sh.
50162         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
50163         it to run tst-table-from and tst-table-to.
50164         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
50165         Pass it to tst-table.sh.
50166         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
50167         $(run-program-prefix) to tst-gettext.sh.
50168         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
50169         tst-translit.sh.
50170         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
50171         tst-gettext2.sh.
50172         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
50173         to run tst-gettext.
50174         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
50175         to run tst-gettext2.
50176         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
50177         to run tst-translit.
50178         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
50179         $(run-program-prefix) to tst-mtrace.sh.
50180         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
50181         to run tst-mtrace.
50182         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
50183         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
50184         $(rtld-installed-name).
50185         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
50186         (rtld_installed_name): Likewise.
50187         (run_program_prefix): New variable.  Use it to run wordexp-test.
50189         * Makeconfig (ARCH): Remove all definitions.
50190         (machine): Likewise.
50191         [ARCH]: Remove conditional code.
50192         [!objdir]: Give error.
50193         [!objdir] (objpfx): Remove.
50194         [!objdir] (common-objpfx): Likewise.
50195         [!objdir] (common-objdir): Likewise.
50196         * configure.in (config_makefile): Remove.  Hardcode Makefile in
50197         AC_CONFIG_FILES call.
50198         * configure: Regenerated.
50200         [BZ #13888]
50201         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
50202         or TMPDIR.
50203         (testout): Likewise.
50205         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
50206         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
50207         $(rtld-installed-name).
50208         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
50209         (rtld_installed_name): Likwise.
50210         (runit): Remove function.
50211         (run_getconf): New variable,  Use it for running getconf binary.
50213 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
50215         [BZ #14716]
50216         * string/test-memmem.c (check_result): New function.
50217         (do_one_test): Use it.
50218         (check1): New function.
50219         (test_main): Use it.
50221 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
50223         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
50225 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
50227         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
50228         (_G_LSEEK64): Likewise.
50229         (_G_MMAP64): Likewise.
50230         (_G_FSTAT64): Likewise.
50231         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
50232         (_G_LSEEK64): Likewise.
50233         (_G_MMAP64): Likewise.
50234         (_G_FSTAT64): Likewise.
50235         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
50236         unconditional.  Call __mmap64 directly.
50237         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
50238         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
50239         __lseek64 directly.
50240         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
50241         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
50242         __mmap64 directly.
50243         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
50244         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
50245         __lseek64 directly.
50246         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
50247         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
50248         __lseek64 directly.
50249         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
50250         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
50251         __lseek64 directly.
50252         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
50253         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
50254         __fxstat64 directly.
50255         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
50256         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
50257         unconditional.
50258         (freopen64) [!_G_OPEN64]: Remove conditional code.
50259         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
50260         unconditional.
50261         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
50262         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
50263         unconditional.
50264         (ftello64) [!_G_LSEEK64]: Remove conditional code.
50265         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
50266         unconditional.
50267         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
50268         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
50269         unconditional.
50270         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
50271         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
50272         unconditional.
50273         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
50274         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
50275         unconditional.
50276         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
50277         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
50278         unconditional.
50279         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
50281 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50283         [BZ #12140]
50284         * manual/memory.texi (Malloc Tunable Parameters): Add note
50285         about free list pointers overwriting some perturb bytes.
50286         Wording suggested by Roland McGrath.
50288 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
50290         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
50291         (lgamma_test): Likewise.
50292         (tgamma_test): Likewise.
50294 2012-10-16  Florian Weimer  <fweimer@redhat.com>
50296         [BZ #14700]
50297         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
50298         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
50300 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
50302         * NEWS: Mention BZ #14716.
50303         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
50304         when removing AVAILABLE1_USES_J macro.
50306 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
50308         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
50309         (__bswap_64): __uint64_t for unsigned 64-bit int.
50311 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
50313         * include/string.h (memmem): Declare libc hidden alias.
50314         * string/memmem.c (memmem): Define libc hidden alias.
50315         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
50316         __read, __close instead of open, read, close.
50318 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
50320         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
50321         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
50322         global and hidden.
50323         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
50324         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
50325         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
50326         Likewise.
50327         (__rawmemchr_sse2): Likewise.
50328         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
50329         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
50330         (__strchr_sse2): Likewise.
50331         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
50332         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
50333         (__strcasecmp_sse2): Likewise.
50334         (__strncasecmp_sse2): Likewise.
50335         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
50336         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
50337         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
50338         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
50339         (__strrchr_sse2): Likewise.
50340         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
50341         ifunc-impl-list.c.
50342         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
50343         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
50344         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
50345         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
50346         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
50347         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
50348         * sysdeps/x86_64/multiarch/memset.S: Likewise.
50349         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
50350         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
50351         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
50352         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
50353         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
50354         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
50355         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
50356         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
50357         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
50358         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
50359         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
50360         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
50361         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
50362         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
50363         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
50364         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
50365         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
50366         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
50367         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50368         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
50369         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
50370         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
50371         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
50373         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
50374         global and hidden.
50375         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
50376         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
50377         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
50378         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
50379         Likewise.
50380         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
50381         Likewise.
50382         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
50383         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
50384         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
50385         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
50386         ifunc-impl-list.c.
50387         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
50388         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
50389         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
50390         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
50391         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
50392         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
50393         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
50394         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
50395         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
50396         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
50397         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
50398         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
50399         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
50400         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
50401         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
50402         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50403         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
50404         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
50405         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
50406         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
50407         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50408         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
50409         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
50410         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
50411         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50412         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
50413         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
50414         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
50415         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
50416         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
50417         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
50418         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
50419         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
50420         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
50421         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
50422         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
50423         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
50424         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
50425         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
50426         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
50427         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
50429         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
50430         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
50431         * include/ifunc-impl-list.h: New file.
50432         * misc/ifunc-impl-list.c: Likewise.
50433         * misc/Makefile (routines): Add ifunc-impl-list.
50434         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
50435         * string/test-string.h: Include <ifunc-impl-list.h>.
50436         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
50437         TEST_NAME]: New variables.
50438         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
50439         are defined.
50440         (test_init): Call __libc_ifunc_impl_list to initialize
50441         func_list if TEST_IFUNC and TEST_NAME are defined.
50443         * string/Makefile (strop-tests): Add bcopy and bzero.
50444         * string/test-bcopy.c: New file.
50445         * string/test-bzero.c: Likewise.
50446         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
50447         defined.
50448         * string/test-memset.c: Support bzero test if TEST_BZERO is
50449         defined.
50450         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
50451         __libc_memmove.
50452         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
50453         __libc_memset.
50454         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
50455         of memset.
50457 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
50459         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
50460         * configure: Regenerated.
50462         * Makeconfig (+link-static-before-libc): Don't include
50463         $(link-static-libc).
50465         * libio/libio.h (_IO_pos_t): Remove.
50467 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
50469         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
50470         McGrath.
50472 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
50474         * crypt/crypt-entry.c: Include fips-private.h.
50475         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
50476         * crypt/md5c-test.c (main): Tolerate disabled MD5.
50477         * sysdeps/unix/sysv/linux/fips-private.h: New file.
50478         * sysdeps/generic/fips-private.h: New file, dummy fallback.
50480 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
50482         * crypt/crypt-private.h: Include stdbool.h.
50483         (_ufc_setup_salt_r): Return bool.
50484         * crypt/crypt-entry.c: Include errno.h.
50485         (__crypt_r): Return NULL with EINVAL for bad salt.
50486         * crypt/crypt_util.c (bad_for_salt): New.
50487         (_ufc_setup_salt_r): Check that salt is long enough and within
50488         the specified alphabet.
50489         * crypt/badsalttest.c: New file.
50490         * crypt/Makefile (tests): Add it.
50491         ($(objpfx)badsalttest): New.
50493 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
50495         * NEWS: Add entry for BZ #14602.
50497 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
50499         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
50500         type-generic.
50501         * math/libm-test.inc: Update comment listing what functions and
50502         macros are tested.
50503         (isgreater_test): New function.
50504         (isgreaterequal_test): Likewise.
50505         (isless_test): Likewise.
50506         (islessequal_test): Likewise.
50507         (islessgreater_test): Likewise.
50508         (isunordered_test): Likewise.
50509         (main): Call the new functions.
50511 2012-10-09  Roland McGrath  <roland@hack.frob.com>
50513         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
50514         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
50515         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
50516         * sysdeps/i386/configure: Regenerated.
50517         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
50518         * sysdeps/mach/configure: Regenerated.
50519         * sysdeps/mach/hurd/configure: Regenerated.
50520         * sysdeps/powerpc/configure: Regenerated.
50521         * sysdeps/powerpc/powerpc32/configure: Regenerated.
50522         * sysdeps/powerpc/powerpc64/configure: Regenerated.
50523         * sysdeps/s390/s390-32/configure: Regenerated.
50524         * sysdeps/s390/s390-64/configure: Regenerated.
50525         * sysdeps/sh/configure: Regenerated.
50526         * sysdeps/sparc/configure: Regenerated.
50527         * sysdeps/unix/sysv/linux/configure: Regenerated.
50528         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
50529         * sysdeps/x86_64/configure: Regenerated.
50531         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
50532         defined.  Don't check if MAP is NULL.
50534 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
50536         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
50537         (_G_stat64): Likewise.
50538         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
50539         (_G_stat64): Likewise.
50540         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
50541         instead of struct _G_stat64.
50542         * libio/fileops.c (mmap_remap_check): Likewise.
50543         (decide_maybe_mmap): Likewise.
50544         (_IO_new_file_seekoff): Likewise.
50545         (_IO_file_stat): Likewise.
50546         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
50547         _G_off64_t.
50548         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
50549         instead of struct _G_stat64.
50550         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
50552 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
50554         [BZ #14602]
50555         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
50556         Replace with ...
50557         (CHECK_EOL): New macro.
50558         (two_way_short_needle): Check beginning of haystack for EOL.  Use
50559         CHECK_EOL.
50560         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
50561         Replace with CHECK_EOL.
50562         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
50563         Replace with CHECK_EOL.
50565 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
50567         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
50568         type-generic.
50569         * math/libm-test.inc: Update comment listing what functions and
50570         macros are tested.
50571         (finite_test): New function.
50572         (isinf_test): Likewise.
50573         (isnan_test): Likewise.
50574         (fpclassify_test): Test subnormal input.
50575         (isfinite_test): Likewise.
50576         (isnormal_test): Likewise.
50577         (main): Call the new functions.
50579 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
50581         [BZ #14660]
50582         * Makerules (%.dynsym): Force C locale when running
50583         $(OBJDUMP) --dynamic-syms.
50585 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
50587         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
50588         <stdint.h>.
50590 2012-10-06  David S. Miller  <davem@davemloft.net>
50592         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
50593         upper 32-bits of the length value in %o2 since we use branch-on-register
50594         tests which consider the entire 64-bit register.
50596 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
50598         * string/test-strstr.c (check2): Add a test for page boundary.
50600 2012-10-05  David S. Miller  <davem@davemloft.net>
50602         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
50603         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
50604         file.
50605         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
50606         sysdep_routines.
50607         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
50608         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
50609         and bzero when HWCAP_SPARC_CRYPTO is present.
50611 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
50613         [BZ #14602]
50614         * string/test-strstr.c (check2): New function.
50615         (test_main): Call check2.
50617         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
50618         and bug-strchr1.
50619         * string/bug-strcasestr1.c (do_test): Moved to ...
50620         * string/test-strcasestr.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-strchr1.c (do_test): Moved to ...
50626         * string/test-strchr.c (check1): Here.  New function.
50627         (do_one_test): Break out result checking code into ...
50628         (check_result): This.  New function.
50629         (do_one_test): Call check_result.
50630         (test_main): Call check1.
50631         * string/bug-strstr1.c (main): Moved to ...
50632         * string/test-strstr.c (check1): Here.  New function.
50633         (do_one_test): Break out result checking code into ...
50634         (check_result): This.  New function.
50635         (do_one_test): Call check_result.
50636         (test_main): Call check1.
50637         * string/bug-strcasestr1.c: Removed.
50638         * string/bug-strchr1.c: Likewise.
50639         * string/bug-strstr1.c: Likewise.
50641         * elf/Makefile (dl-routines): Add hwcaps.
50642         * elf/dl-support.c (_dl_important_hwcaps): Removed.
50643         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
50644         (_dl_important_hwcaps): Moved to ...
50645         * elf/dl-hwcaps.c: Here.  New file.
50646         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
50648         [BZ #14557]
50649         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
50650         if IS_IN_rtld isn't defined.
50652         * elf/dl-support.c (_dl_sysinfo_map): New.
50653         Include "get-dynamic-info.h" and "setup-vdso.h".
50654         (_dl_non_dynamic_init): Call setup_vdso.
50655         * elf/dynamic-link.h: Don't include <assert.h>.
50656         (elf_get_dynamic_info): Moved to ...
50657         * elf/get-dynamic-info.h: Here.  New file.
50658         * elf/dynamic-link.h: Include "get-dynamic-info.h".
50659         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
50660         * elf/setup-vdso.h: Here.  New file.
50661         * elf/rtld.c: Include "setup-vdso.h".
50662         (dl_main): Call setup_vdso.
50664 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
50666         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
50667         creal in comment listing functions tested.  List finite, isinf,
50668         isnan, isless, islessequal, isgreater, isgreaterequal,
50669         islessgreater, isunordered, lgamma_r and pow10 as functions and
50670         macros not tested.  Mention which functions not tested are aliases
50671         for other functions.  Fix typo.  Note that signs of NaNs are not
50672         tested.
50674         * scripts/config.guess: Update from config.git.
50675         * scripts/config.sub: Likewise.
50677 2012-10-04  Roland McGrath  <roland@hack.frob.com>
50679         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
50680         * misc/madvise.c (madvise): Renamed to __madvise.
50681         Make madvise a weak alias.
50682         * include/sys/mman.h: Declare __madvise.
50683         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
50684         * sysdeps/unix/syscalls.list
50685         (madvise): Make __madvise the strong name, and madvise a weak alias.
50686         * sysdeps/unix/sysv/linux/syscalls.list
50687         (madvise, mmap): Remove redundant entries.
50688         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
50689         * malloc/malloc.c (mtrim): Likewise.
50690         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
50692 2012-10-03  Roland McGrath  <roland@hack.frob.com>
50694         * sysdeps/mach/hurd/dl-cache.c: File removed.
50695         * config.h.in (USE_LDCONFIG): New #undef.
50696         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
50697         * configure: Regenerated.
50698         * elf/Makefile (dl-routines): Add dl-cache only under
50699         [$(use-ldconfig) = yes].
50700         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
50701         cache on [USE_LDCONFIG].
50702         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
50703         [USE_LDCONFIG].
50704         * elf/rtld.c (dl_main): Likewise.
50706 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
50708         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
50709         _SC_LEVEL4_CACHE_LINESIZE.
50711 2012-10-03  Roland McGrath  <roland@hack.frob.com>
50713         * sysdeps/unix/bsd/confstr.h: File removed.
50715 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
50717         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
50718         sys/sdt-config.h.
50720 2012-10-02  Roland McGrath  <roland@hack.frob.com>
50722         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
50723         Make 'mapoff' field ElfW(Off) rather than off_t.
50725 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
50727         * nscd/Makefile: Remove nscd-cflags and all its users.
50728         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
50729         (CFLAGS-nonlib): Add compiler flags for nscd modules.
50731         [BZ #10631]
50732         * malloc.c (malloc_printerr): Clarify error message.
50734 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
50736         [BZ #14648]
50737         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50738         Set bit_FMA_Usable if FMA is supported.
50739         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
50740         macro.
50741         (bit_FMA4_Usable): Updated.
50742         (index_FMA_Usable): New macro.
50743         (CPUID_FMA): Likewise
50744         (HAS_FMA): Defined with bit_FMA_Usable.
50746 2012-10-01  Roland McGrath  <roland@hack.frob.com>
50748         * bits/types.h (__swblk_t): Type removed.
50749         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
50750         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
50751         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50752         (__SWBLK_T_TYPE): Likewise.
50753         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
50754         (__SWBLK_T_TYPE): Likewise.
50755         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50756         (__SWBLK_T_TYPE): Likewise.
50757         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50758         (__SWBLK_T_TYPE): Likewise.
50760 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
50761             Honza Horak <hhorak@redhat.com>
50763         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
50764         (xdr_mapname): Use YPMAXMAP as maxsize.
50765         (xdr_peername): Use YPMAXPEER as maxsize.
50766         (xdr_keydat): Use YPAXRECORD as maxsize.
50767         (xdr_valdat): Use YPMAXRECORD as maxsize.
50769 2012-10-01  Roland McGrath  <roland@hack.frob.com>
50771         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
50773         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
50774         * csu/init-first.c: ... here.
50775         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
50776         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
50777         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
50778         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
50779         * sysdeps/i386/init-first.c: File removed.
50780         * sysdeps/sh/init-first.c: File removed.
50782 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
50784         [BZ #14645]
50785         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
50786         if x * y might underflow to zero and z is zero.
50787         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50788         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50789         * math/libm-test.inc (min_subnorm_value): New variable.
50790         (fma_test): Add more tests.
50791         (fma_test_towardzero): Likewise.
50792         (fma_test_downward): Likewise
50793         (fma_test_upward): Likewise.
50794         (initialize): Set min_subnorm_value.
50796 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
50798         [BZ #14638]
50799         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
50800         0 + 0.
50801         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
50802         mode for addition resulting in exact zero.
50803         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
50804         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
50805         exact 0 + 0.
50806         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
50807         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50808         * math/libm-test.inc (fma_test): Add more tests.
50809         (fma_test_towardzero): New function.
50810         (fma_test_downward): Likewise.
50811         (fma_test_upward): Likewise.
50812         (main): Call the new functions.
50814 2012-09-28  David S. Miller  <davem@davemloft.net>
50816         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
50818 2012-09-28  Roland McGrath  <roland@hack.frob.com>
50820         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
50821         instead of SIGALRM.
50823         * sysdeps/gnu/_G_config.h: Moved to ...
50824         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
50825         * sysdeps/mach/hurd/_G_config.h: Moved to ...
50826         * sysdeps/generic/_G_config.h: ... here.
50828         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
50830         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
50832         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
50833         Conditionalize target on [libnss_test1.so-version].
50835         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
50837         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
50838         (elfobjdir): Move out of conditionals.
50840         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
50841         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
50842         (__nss_lookup_function): Conditionalize label remove_from_tree on
50843         [!DO_STATIC_NSS || SHARED], matching its only use.
50845 2012-09-28  David S. Miller  <davem@davemloft.net>
50847         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
50848         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
50849         file.
50850         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
50851         sysdep_routines.
50852         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
50853         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
50854         when HWCAP_SPARC_CRYPTO is present.
50856 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
50858         * io/tst-mknodat.c: Create a FIFO instead of a socket.
50860 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
50862         [BZ #6530]
50863         * stdio-common/vfprintf.c (process_string_arg): Revert
50864         2000-07-22 change.
50866 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
50868         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
50869         for testcase.
50870         * stdio-common/tst-sprintf.c: Include <locale.h>
50871         (main): Test sprintf's handling of incomplete multibyte
50872         characters.
50874 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
50876         * elf/dl-runtime.c (VERSYMIDX): Removed.
50877         * elf/dl-version.c (VERSYMIDX): Likewise.
50878         * elf/do-rel.h (VERSYMIDX): Likewise.
50879         (VALIDX): Likewise.
50880         * elf/dynamic-link.h (VERSYMIDX): Likewise.
50881         * elf/rtld.c (VALIDX): Likewise.
50882         (ADDRIDX): Likewise.
50883         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
50884         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
50885         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
50886         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
50887         (VALIDX): Likewise.
50888         (ADDRIDX): Likewise.
50890 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
50892         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
50894 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
50896         [BZ #11438]
50897         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
50898         to global scope.
50899         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
50900         addresses are in the same scope as 192.0.2/24.
50901         * posix/gai.conf: Document new scope table defaults.
50903 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50905         [BZ #5298]
50906         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
50907         for ftell.  Compute offsets from write pointers instead.
50908         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
50910 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50912         [BZ #14543]
50913         * libio/Makefile (tests): New test case tst-fseek.
50914         * libio/tst-fseek.c: New test case to verify that fseek/ftell
50915         combination works in wide mode.
50916         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
50917         state when the external buffer state changes.
50919 2012-09-27  David S. Miller  <davem@davemloft.net>
50921         [BZ #14376]
50922         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
50923         pass reloc->r_addend in as the 'high' argument to
50924         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
50926         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50928 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
50930         * rt/tst-aio2.c: Include <pthread.h>.
50931         * rt/tst-aio3.c: Likewise.
50933 2012-09-27  Steve Ellcey  <sellcey@mips.com>
50935         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
50937 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
50939         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
50940         contents on [SHARED].
50942 2012-09-26  Marek Polacek  <polacek@redhat.com>
50944         [BZ #14530]
50945         [BZ #13741]
50946         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
50947         for C++ and GCC <4.3 as well as for non GCC compilers.
50949 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
50951         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50953 2012-09-25  Roland McGrath  <roland@hack.frob.com>
50955         * Makefile.in (all, install): Declare with .PHONY.
50956         Reported by Michael Hope <michael.hope@linaro.org>.
50958 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50960         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
50961         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
50962         system header.
50963         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
50964         Likewise.
50965         (sydep_routines): Add the new and the internal functions.
50966         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
50967         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
50968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
50969         (GLIBC_2.17): Add the new function.
50970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
50971         (GLIBC_2.17): Likewise.
50972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
50973         (GLIBC_2.17): Likewise.
50974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
50975         (GLIBC_2.17): Likewise.
50976         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
50978 2012-09-25  Alan Modra  <amodra@gmail.com>
50980         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
50981         Add release barrier before setting once_control to say
50982         initialisation is done.  Add hints on lwarx.  Use macro in
50983         place of isync.
50984         (clear_once_control): Add release barrier.
50986 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
50988         [BZ #13629]
50989         * math/s_clog.c (__clog): Handle more values close to |z| = 1
50990         specially.
50991         * math/s_clog10.c (__clog10): Likewise.
50992         * math/s_clog10f.c (__clog10f): Likewise.
50993         * math/s_clog10l.c (__clog10l): Likewise.
50994         * math/s_clogf.c (__clogf): Likewise.
50995         * math/s_clogl.c (__clogl): Likewise.
50996         * math/Makefile (libm-calls): Add x2y2m1.
50997         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
50998         (__x2y2m1): Likewise.
50999         (__x2y2m1l): Likewise.
51000         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
51001         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
51002         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
51003         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
51004         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
51005         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
51006         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
51007         * sysdeps/i386/fpu/libm-test-ulps: Update.
51008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51010         [BZ #14621]
51011         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
51012         int as type of variable DEPTH.
51013         (glob): Use size_t instead of int as type of variables NEWCOUNT
51014         and OLD_PATHC.
51016 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51018         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
51019         Add s_sincosf-sse2.
51020         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
51021         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
51022         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
51023         macros for using routine as __sincosf_ia32.
51024         Use macro for function declaration and weak_alias.
51025         * sysdeps/i386/fpu/libm-test-ulps: Update.
51027         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
51028         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51030         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
51031         subnormal argument.
51032         * math/s_cexpf.c (__cexpf): Likewise.
51033         * math/s_csinf.c (__csinf): Likewise.
51034         * math/s_csinhf.c (__csinhf): Likewise.
51035         * math/s_ctanf.c (__ctanf): Likewise.
51036         * math/s_ctanhf.c (__ctanhf): Likewise.
51037         * math/s_ccosh.c (__ccoshf): Likewise.
51038         * math/s_cexp.c (__cexpl): Likewise.
51039         * math/s_csin.c (__csin): Likewise.
51040         * math/s_csinh.c (__csinh): Likewise.
51041         * math/s_ctan.c (__ctan): Likewise.
51042         * math/s_ctanh.c (ctanh): Likewise.
51043         * math/s_ccoshl.c (__ccoshl): Likewise.
51044         * math/s_cexpl.c (__cexpl): Likewise.
51045         * math/s_csinl.c (__csinl): Likewise.
51046         * math/s_csinhl.c (__csinhl): Likewise.
51047         * math/s_ctanl.c (__ctanl): Likewise.
51048         * math/s_ctanhl.c (__ctanhl): Likewise.
51050 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
51052         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
51053         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
51054         (_IO_off_t): Define to __off_t, not _G_off_t.
51055         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
51056         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
51057         (_IO_wint_t): Define to wint_t, not _G_wint_t.
51058         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
51059         type of __dummy and __dummy2 fields.
51060         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
51061         (_G_ssize_t): Likewise.
51062         (_G_off_t): Likewise.
51063         (_G_pid_t): Likewise.
51064         (_G_uid_t): Likewise.
51065         (_G_wchar_t): Likewise.
51066         (_G_wint_t): Likewise.
51067         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
51068         (_G_ssize_t): Likewise.
51069         (_G_off_t): Likewise.
51070         (_G_pid_t): Likewise.
51071         (_G_uid_t): Likewise.
51072         (_G_wchar_t): Likewise.
51073         (_G_wint_t): Likewise.
51074         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
51075         (_G_ssize_t): Likewise.
51076         (_G_off_t): Likewise.
51077         (_G_pid_t): Likewise.
51078         (_G_uid_t): Likewise.
51079         (_G_wchar_t): Likewise.
51080         (_G_wint_t): Likewise.
51082 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51084         * malloc/arena.c: Include malloc-sysdep.h.
51085         (shrink_heap): Use check_may_shrink_heap to decide if madvise
51086         is sufficient to shrink the heap or an unmap is needed.
51087         * sysdeps/generic/malloc-sysdep.h: New file.  Define
51088         new function check_may_shrink_heap.
51089         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
51090         new function check_may_shrink_heap.
51092 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51094         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
51095         comments.
51097 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
51099         * catgets/test-gencat.sh: Add "set -e".
51100         * elf/tst-pathopt.sh: Likewise.
51101         * grp/tst_fgetgrent.sh: Likewise.
51102         * iconvdata/run-iconv-test.sh: Likewise.
51103         * intl/tst-gettext.sh: Likewise.
51104         * intl/tst-gettext2.sh: Likewise.
51105         * intl/tst-gettext4.sh: Likewise.
51106         * intl/tst-gettext6.sh: Likewise.
51107         * intl/tst-translit.sh: Likewise.
51108         * io/ftwtest-sh: Likewise.
51109         * libio/test-freopen.sh: Likewise.
51110         * malloc/tst-mtrace.sh: Likewise.
51111         * posix/globtest.sh: Likewise.
51112         * posix/tst-getconf.sh: Likewise.
51113         * posix/wordexp-tst.sh: Likewise.
51114         * stdio-common/tst-printf.sh: Likewise.
51115         * stdio-common/tst-unbputc.sh: Likewise.
51116         * stdlib/tst-fmtmsg.sh: Likewise.
51117         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
51118         * catgets/Makefile: Do not specify -e option when running
51119         testsuite shell scripts.
51120         * elf/Makefile: Likewise.
51121         * grp/Makefile: Likewise.
51122         * iconvdata/Makefile: Likewise.
51123         * intl/Makefile: Likewise.
51124         * io/Makefile: Likewise.
51125         * libio/Makefile: Likewise.
51126         * malloc/Makefile: Likewise.
51127         * posix/Makefile: Likewise.
51128         * stdio-common/Makefile: Likewise.
51129         * stdlib/Makefile: Likewise.
51130         * sysdeps/x86_64/Makefile: Likewise.
51132         * io/ftwtest-sh: Add copyright header.
51133         * posix/globtest.sh: Likewise.
51134         * posix/tst-getconf.sh: Likewise.
51135         * posix/wordexp-tst.sh: Likewise.
51136         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
51138 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
51140         [BZ #13679]
51141         * Makeconfig (+link): Defined as $(+link-static) if
51142         $(build-shared) isn't yes.
51143         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
51144         isn't yes.
51145         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
51147         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
51149         [BZ #14562]
51150         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
51151         new chunk size with MALLOC_ALIGN_MASK.
51153 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
51155         [BZ #5044]
51156         * stdio-common/printf_fphex.c: Include <stdbool.h> and
51157         <rounding-mode.h>.
51158         (__printf_fphex): Determine rounding using get_rounding_mode and
51159         round_away.
51160         * stdio-common/tst-printf-round.c (struct hex_test): New
51161         structure.
51162         (hex_tests): New variable.
51163         (test_hex_in_one_mode): New function.
51164         (do_test): Also run tests for hex float output.
51166 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
51168         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
51169         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
51170         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
51171         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
51172         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
51173         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
51174         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
51175         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
51177 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
51179         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
51180         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
51181         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
51182         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
51184 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
51186         [BZ #14579]
51187         * elf/rtld.c (dl_main): Limit the check for self loading to normal
51188         mode only.
51189         * elf/tst-rtld-load-self.sh: New test.
51190         * elf/Makefile: Run it.
51192 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
51194         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
51195         (tst-writev-ENV): Remove.
51196         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
51198 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
51200         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
51202 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
51204         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
51205         unconditional.
51206         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
51207         Likewise.
51208         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
51209         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
51210         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
51211         Likewise.
51213 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
51215         [BZ #14587]
51216         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
51217         * config.make.in (have-cpp-asm-debuginfo): Removed.
51218         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
51219         * configure: Regenerated.
51221 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
51223         [BZ #5044]
51224         * stdio-common/printf_fp.c: Include <stdbool.h> and
51225         <rounding-mode.h>.
51226         (___printf_fp): Determine rounding using get_rounding_mode and
51227         round_away.
51228         * stdio-common/tst-printf-round.c: New file.
51229         * stdio-common/Makefile (tests): Add tst-printf-round.
51230         (link-libm): New variable.
51231         ($(objpfx)tst-printf-round): Depend in $(link-libm).
51233 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
51235         [BZ #14576]
51236         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
51237         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
51238         Likewise.
51239         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
51240         Likewise.
51242 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
51244         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
51245         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
51246         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
51247         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
51249 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
51251         [BZ #14518]
51252         * include/rounding-mode.h: New file.
51253         * sysdeps/generic/get-rounding-mode.h: Likewise.
51254         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
51255         * stdlib/strtod_l.c: Include <rounding-mode.h>.
51256         (MAX_VALUE): New macro.
51257         (MIN_VALUE): Likewise.
51258         (overflow_value): New function.
51259         (underflow_value): Likewise.
51260         (round_and_return): Use overflow_value and underflow_value to
51261         determine return values in overflow and underflow cases.  Use
51262         round_away to determine rounding depending on rounding mode.
51263         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
51264         determine return values in overflow and underflow cases.
51265         * stdlib/tst-strtod-round.c: Include <fenv.h>.
51266         (struct test_results): New structure.
51267         (struct test): Use struct test_results to store expected results
51268         for all rounding modes.
51269         (TEST): Include expected results for all rounding modes.
51270         (test_in_one_mode): New function.
51271         (do_test): Use test_in_one_mode to compute and check results.
51272         Check results for all rounding modes.
51273         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
51274         $(link-libm).
51276 2012-12-09  Allan McRae  <allan@archlinux.org>
51278         * sysdeps/i386/fpu/libm-test-ulps: Update
51280 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
51282         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
51283         (_G_int32_t): Likewise.
51284         (_G_uint16_t): Likewise.
51285         (_G_uint32_t): Likewise.
51286         (_G_HAVE_BOOL): Likewise.
51287         (_G_HAVE_ATEXIT): Likewise.
51288         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
51289         (_G_HAVE_IO_FILE_OPEN): Likewise.
51290         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
51291         (_G_int32_t): Likewise.
51292         (_G_uint16_t): Likewise.
51293         (_G_uint32_t): Likewise.
51294         (_G_HAVE_BOOL): Likewise.
51295         (_G_HAVE_ATEXIT): Likewise.
51296         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
51297         (_G_HAVE_IO_FILE_OPEN): Likewise.
51298         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
51299         (_G_int32_t): Likewise.
51300         (_G_uint16_t): Likewise.
51301         (_G_uint32_t): Likewise.
51302         (_G_HAVE_BOOL): Likewise.
51303         (_G_HAVE_ATEXIT): Likewise.
51304         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
51305         (_G_HAVE_IO_FILE_OPEN): Likewise.
51307 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
51309         * csu/libc-tls.c: Update copyright years.
51311 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
51313         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
51314         [!_G_USING_THUNKS]: Remove conditional code.
51315         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
51316         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
51318         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
51319         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
51320         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
51321         (_G_VTABLE_LABEL_PREFIX): Likewise.
51322         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
51323         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
51324         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
51325         (_G_VTABLE_LABEL_PREFIX): Likewise.
51326         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
51327         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
51328         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
51329         (_G_VTABLE_LABEL_PREFIX): Likewise.
51330         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
51332 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
51334         * libio/Makefile: Include ../Makeconfig before tests.
51335         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
51336         only if $(build-shared) is yes.
51338         * iconv/gconv_db.c: Update copyright years.
51340 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51342         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
51343         unwind info if defined PIC. Fix special cases description.
51344         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
51346         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
51347         DP_HI_MASK entry.
51348         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
51350 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
51352         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
51354         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
51355         is NULL.
51357         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
51358         (LDLIBS-tst-chk4): This.
51359         (LDFLAGS-tst-chk5): Renamed to ...
51360         (LDLIBS-tst-chk5): This.
51361         (LDFLAGS-tst-chk6): Renamed to ...
51362         (LDLIBS-tst-chk6): This.
51363         (LDFLAGS-tst-lfschk4): Renamed to ...
51364         (LDLIBS-tst-lfschk4): This.
51365         (LDFLAGS-tst-lfschk5): Renamed to ...
51366         (LDLIBS-tst-lfschk5): This.
51367         (LDFLAGS-tst-lfschk6): Renamed to ...
51368         (LDLIBS-tst-lfschk6): This.
51370         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
51371         on $(common-objpfx)soversions.mk.
51373 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
51375         [BZ #10014]
51376         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
51377         example host name.
51379 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
51381         * malloc/arena.c (arena_get_retry): New function that gets
51382         another arena for the caller to try its request on.
51383         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
51384         current arena cannot fulfill the request.
51385         (__libc_memalign): Likewise.
51386         (__libc_memalign): Likewise.
51387         (__libc_pvalloc): Likewise.
51388         (__libc_calloc): Likewise.
51390 2012-09-05  John Tobey  <john.tobey@gmail.com>
51392         [BZ #13542]
51393         * manual/arith.texi (Operations on Complex): Fix description
51394         of carg branch cut.
51396 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
51398         [BZ #10014]
51399         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
51400         host name.
51402         [BZ #10038]
51403         * manual/memory.texi (Memory): Make order of menu items match
51404         order of sections.
51406 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
51408         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
51409         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
51410         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
51412 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
51414         * csu/libc-tls.c (static_dtv): Renamed to ...
51415         (_dl_static_dtv): This.  Make it global.
51416         (_dl_initial_dtv): Removed.
51417         (__libc_setup_tls): Updated.
51418         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
51419         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
51420         DL_INITIAL_DTV.
51422 2012-09-06  Petr Machata  <pmachata@redhat.com>
51424         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
51425         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
51426         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
51427         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
51429 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
51431         [BZ #14545]
51432         * csu/libc-tls.c (_dl_initial_dtv): New variable.
51433         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
51434         freeing dtv[-1].
51436 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
51438         [BZ #14544]
51439         * Makeconfig (link-static-before-libc): Replace $(+prector)
51440         with $(+prectorT).
51441         (link-static-after-libc): Replace $(+postctor) with
51442         $(+postctorT).
51443         (link-bounded): Replace $(+prector)/$(+postctor) with
51444         $(+prectorT)/$(+postctorT).
51445         (+prectorT): New macro.
51446         (+postctorT): Likewise.
51448 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
51450         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
51451         (round_str): Handle values above the maximum for IBM long double
51452         as inexact.
51453         * stdlib/tst-strtod-round.c (tests): Regenerated.
51455 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51457         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
51458         assembler flag.
51459         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
51460         zarch_nohighgprs around the zarch optimized routines.
51461         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
51462         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
51463         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
51464         for zarch.
51466 2012-09-05  David S. Miller  <davem@davemloft.net>
51468         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51470         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
51471         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
51472         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
51473         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
51474         entries.
51476 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
51478         * malloc/arena.c: Fold copyright years.
51479         * malloc/mcheck.c, malloc/memusage.c: Likewise.
51481 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
51483         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
51485 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
51487         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
51489 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
51491         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
51492         change internal state upon failure.
51494 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
51496         * malloc/mcheck.c (mcheck_check_all): Fix typo.
51497         * malloc/memusage.c (mmap): Likewise.
51498         (mmap64, mremap): Likewise.  Adjust name in comment.
51500 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51502         * libio/fileops.c: Fix typos in comments.
51503         * libio/oldfileops.c: Likewise.
51504         * libio/wfileops.c: Likewise.
51506 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51508         [BZ #1349]
51509         * malloc/Makefile (tests): Add tst-malloc-usable test case.
51510         (tst-malloc-usable-ENV): Set environment for test case.
51511         * malloc/hooks.c (malloc_check_get_size): New function to get
51512         requested size.
51513         * malloc/malloc.c (musable): Use malloc_check_get_size.
51514         * malloc/tst-malloc-usable.c: New test case.
51516 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
51518         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
51520 2012-09-05  Allan McRae  <allan@archlinux.org>
51522         [BZ #13966]
51523         * configure.in (CXX_SYSINCLUDES): Use compiler output to
51524         determine header location.
51525         * configure: Regenerated.
51527 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
51529         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
51530         float format.
51531         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
51532         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
51533         format.
51534         (test): Regenerate.
51536 2012-09-04  David S. Miller  <davem@davemloft.net>
51538         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
51539         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
51540         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
51542 2012-09-04  Florian Weimer  <fweimer@redhat.com>
51544         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
51545         failures.
51547         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
51549 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
51551         [BZ #9914]
51552         * libio/iogetdelim.c: Include <limits.h>.
51553         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
51554         + len + 1 would overflow.
51556 2012-09-03  Andreas Jaeger  <aj@suse.de>
51558         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51559         * sysdeps/i386/fpu/libm-test-ulps: Update.
51561 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51563         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
51564         Add s_sinf-sse2, s_conf-sse2.
51566         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
51567         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
51568         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
51569         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
51571         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
51572         for using routine as __sinf_ia32.
51573         Use macro for function declaration and weak_alias.
51574         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
51575         for using routine as __cosf_ia32.
51576         Use macro for function declaration and weak_alias.
51578         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
51579         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
51581         * sysdeps/x86_64/fpu/s_sinf.S: New file.
51582         * sysdeps/x86_64/fpu/s_cosf.S: New file.
51583         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51585         * math/libm-test.inc (cos_test): Add more test cases.
51586         (sin_test): Likewise.
51587         (sincos_test): Likewise.
51589 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51591         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
51592         (IFUNC_RESOLVE): Make pointers to the specialized implementations
51593         hidden.
51594         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
51596 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
51598         [BZ #14538]
51599         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
51600         first element of the GOT.
51601         (elf_machine_load_address): Return the difference between
51602         the runtime address of _DYNAMIC and elf_machine_dynamic ().
51604 2012-09-01  Allan McRae  <allan@archlinux.org>
51606         [BZ #13412]
51607         * configure.in (AWK): Require gawk version 3.0 or later.
51608         * configure: Regenerated.
51610 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
51612         * sysdeps/unix/sysv/linux/kernel-features.h
51613         (__ASSUME_POSIX_CPU_TIMERS): Remove.
51614         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
51615         [__NR_clock_getres]: Make code unconditional.
51616         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
51617         (clock_getcpuclockid): Remove code left unreachable by removal of
51618         conditionals.
51619         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
51620         code unconditional.
51621         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
51622         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
51623         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
51624         Make code unconditional.
51625         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
51626         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
51627         * sysdeps/unix/sysv/linux/clock_settime.c
51628         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
51629         conditional code.
51630         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
51631         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
51633 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
51635         [BZ #14476]
51636         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
51637         scripts/test-installation.pl.
51639         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
51640         and $ld_so_version if it is set.
51642 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
51644         [BZ #14516]
51645         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
51646         failure if reading from procfs failed.
51647         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
51649 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
51651         * sysdeps/unix/sysv/linux/kernel-features.h
51652         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
51653         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
51654         Remove conditional code.
51655         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51656         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
51657         Remove conditional code.
51658         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51659         * sysdeps/unix/sysv/linux/i386/fxstat.c
51660         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
51661         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51662         * sysdeps/unix/sysv/linux/i386/fxstatat.c
51663         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
51664         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51665         * sysdeps/unix/sysv/linux/i386/lxstat.c
51666         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
51667         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51668         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
51669         Remove conditional code.
51670         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51671         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
51672         Remove conditional code.
51673         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51674         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
51675         <kernel-features.h>.
51676         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
51677         Remove.
51678         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
51679         Remove conditional code.
51680         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51681         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
51682         Remove conditional.
51684 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
51686         [BZ #5400]
51687         * NEWS: Add fixed bug number.
51689 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
51691         [BZ #14519]
51692         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
51693         underflowing exponent in case of negative sign.
51694         * stdlib/tst-strtod-round-data: Add more tests.
51695         * stdlib/tst-strtod-round.c (tests): Regenerated.
51697         [BZ #3479]
51698         * stdlib/strtod_l.c (NDIG): Remove.
51699         (HEXNDIG): Likewise.
51700         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
51701         smallest representable value.
51702         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
51703         lie within an exact representation of 1/2 ulp of the result.
51704         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
51705         unconditionally.
51706         (TENS_P9_IDX): Define unconditionally.
51707         (TENS_P9_SIZE): Likewise.
51708         (TENS_P10_IDX): Likewise.
51709         (TENS_P10_SIZE): Likewise.
51710         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
51711         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
51712         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
51713         entries for 10^2^13 and 10^2^14.
51714         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
51715         (TENS_P13_IDX): Define.
51716         (TENS_P13_SIZE): Likewise.
51717         (TENS_P14_IDX): Likewise.
51718         (TENS_P14_SIZE): Likewise.
51719         (_fpioconst_pow10): Change array size to
51720         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
51721         unconditional.
51722         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
51723         1024]: Add entries for 10^2^13 and 10^2^14.
51724         [LAST_POW10 > _LAST_POW10]: Remove #error.
51725         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
51726         (_fpioconst_pow10): Change array size to
51727         FPIOCONST_POW10_ARRAY_SIZE.
51728         * stdlib/gen-fpioconst.c: New file.
51729         * stdlib/gen-tst-strtod-round.c: Likewise.
51730         * stdlib/tst-strtod-round-data: Likewise.
51731         * stdlib/tst-strtod-round.c: Likewise.
51732         * stdlib/Makefile (tests): Add tst-strtod-round.
51734         [BZ #14459]
51735         * stdlib/strtod_l.c: Include <stdint.h>.
51736         (NDEBUG): Do not define.
51737         (round_and_return): Change EXPONENT parameter to type intmax_t.
51738         Rearrange calculations to avoid internal overflow possibilities.
51739         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
51740         Rearrange calculations to avoid internal overflow possibilities.
51741         Assert that number fits inside MPNSIZE limbs.
51742         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
51743         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
51744         calculations and add assertions to avoid internal overflow
51745         possibilities.  Add casts to avoid signed/unsigned operations.
51746         * stdlib/tst-strtod-overflow.c: New file.
51747         * stdlib/Makefile (tests): Add tst-strtod-overflow.
51749 2012-08-25  Marek Polacek  <polacek@redhat.com>
51751         * time/time.h: Fix some typos in comments.
51753 2012-08-23  Roland McGrath  <roland@hack.frob.com>
51755         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
51756         * posix/tst-rfc3484-2.c: Likewise.
51757         * posix/tst-rfc3484-3.c: Likewise.
51759 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
51761         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
51762         (EF_ARM_ABI_FLOAT_HARD): Likewise.
51764 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
51766         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
51767         #include of fxstatat64.c.
51769 2012-08-22  Roland McGrath  <roland@hack.frob.com>
51771         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
51772         * shadow/getspent_r.c: Likewise.
51773         * shadow/getspnam.c: Likewise.
51774         * shadow/getspnam_r.c: Likewise.
51775         * gshadow/getsgent.c: Likewise.
51776         * gshadow/getsgent_r.c: Likewise.
51777         * gshadow/getsgnam.c: Likewise.
51778         * gshadow/getsgnam_r.c: Likewise.
51779         * inet/getnetbyad.c: Likewise.
51780         * inet/getnetbyad_r.c: Likewise.
51781         * inet/getnetbynm.c: Likewise.
51782         * inet/getnetbynm_r.c: Likewise.
51783         * inet/getnetent.c: Likewise.
51784         * inet/getnetent_r.c: Likewise.
51785         * inet/getproto.c: Likewise.
51786         * inet/getproto_r.c: Likewise.
51787         * inet/getprtent.c: Likewise.
51788         * inet/getprtent_r.c: Likewise.
51789         * inet/getprtname.c: Likewise.
51790         * inet/getprtname_r.c: Likewise.
51791         * inet/getrpcbyname.c: Likewise.
51792         * inet/getrpcbyname_r.c: Likewise.
51793         * inet/getrpcbynumber.c: Likewise.
51794         * inet/getrpcbynumber_r.c: Likewise.
51795         * inet/getrpcent.c: Likewise.
51796         * inet/getrpcent_r.c: Likewise.
51797         * inet/getaliasent.c: Likewise.
51798         * inet/getaliasent_r.c: Likewise.
51799         * inet/getaliasname.c: Likewise.
51800         * inet/getaliasname_r.c: Likewise.
51801         * nscd/getgrgid_r.c: Likewise.
51802         * nscd/getgrnam_r.c: Likewise.
51803         * nscd/gethstbyad_r.c: Likewise.
51804         * nscd/gethstbynm3_r.c: Likewise.
51805         * nscd/getpwnam_r.c: Likewise.
51806         * nscd/getpwuid_r.c: Likewise.
51807         * nscd/getsrvbynm_r.c: Likewise.
51808         * nscd/getsrvbypt_r.c: Likewise.
51809         * nscd/gai.c: Likewise.
51811         * configure.in (build_nscd): New substituted variable, set
51812         by --disable-build-nscd and defaults to $use_nscd.
51813         * configure: Regenerated.
51814         * config.make.in (build-nscd): New substituted variable.
51815         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
51816         Change conditional to require [$(build-nscd) = yes] as well.
51817         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
51819         [BZ# 13696]
51820         * configure.in (use_nscd): New substituted variable, set by
51821         --disable-nscd.  If enabled, define USE_NSCD.
51822         * configure: Regenerated.
51823         * config.h.in: Add USE_NSCD.
51824         * config.make.in (use-nscd): New substituted variable.
51825         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
51826         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
51827         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
51828         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
51829         (CFLAGS-getgrnam_r.c): Likewise.
51830         (CFLAGS-initgroups.c): Likewise.
51831         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
51832         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
51833         Variables removed.
51834         * inet/getnetgrent_r.c
51835         (nscd_setnetgrent): New function, broken out of ...
51836         (setnetgrent): ... here.  Call it.
51837         (innetgr): Conditionalize nscd bits on [USE_NSCD].
51838         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
51839         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
51840         * nscd/Makefile (routines, aux): Move definitions after include of
51841         Makeconfig.  Conditionalize on [$(use-nscd) != no].
51842         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
51843         Conditionalize on [USE_NSCD].
51844         (is_nscd, nscd_init_cb): Likewise.
51845         (nss_load_library): Conditionalize init callback on [USE_NSCD].
51846         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
51847         * nss/nss_db/db-init.c: Likewise.
51848         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
51849         [USE_NSCD].
51850         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
51851         (make_request): Use it.
51852         (cache_valid_p): New function.
51853         (__check_pf): Use it.
51854         * NEWS: Add item for --disable-nscd.
51856 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
51858         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
51859         to support sed >= 4.2.1-20-ga9bf076.
51860         * configure: Regenerated.
51862 2012-08-22  Roland McGrath  <roland@hack.frob.com>
51864         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
51865         Conditionalize whole body on [IREL].
51867 2012-08-22  Jeff Law <law@redhat.com>
51869         [BZ #14505]
51870         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
51871         if the family is PF_UNSPEC.
51873 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
51875         * Makerules (lib-version): Rename from V.
51876         (install-lib-nosubdir): Change V to lib-version.
51878 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
51880         [BZ #14252]
51881         * powerpc32/power6/wcschr.c: New file.
51882         * powerpc32/power6/wcscpy.c: New file.
51883         * powerpc32/power6/wcsrchr.c: New file.
51884         * powerpc64/power6/wcschr.c: New file.
51885         * powerpc64/power6/wcscpy.c: New file.
51886         * powerpc64/power6/wcsrchr.c: New file.
51888 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
51890         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
51891         (two_way_short_needle): Use it.
51892         * string/strstr.c (AVAILABLE1_USES_J): Define.
51893         * string/strcasestr.c: Likewise.
51895         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
51896         array references.
51897         * string/strcasestr.c (TOLOWER): Make side-effect safe.
51899         [BZ #11607]
51900         * NEWS: Add an entry.
51901         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
51902         define their defaults.
51903         (two_way_short_needle): Detect end-of-string on-the-fly.
51904         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
51905         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
51906         * string/bug-strcasestr1.c: New test.
51907         * string/Makefile: Run it.
51909 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
51911         [BZ #11607]
51912         * string/str-two-way.h (two_way_short_needle): Optimize matching of
51913         the first character.
51915 2012-08-21  Roland McGrath  <roland@hack.frob.com>
51917         * csu/elf-init.c (__libc_csu_irel): Function removed.
51918         * csu/libc-start.c (apply_irel): New function.
51919         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
51921 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
51923         * sysdeps/unix/sysv/linux/kernel-features.h
51924         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
51925         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
51926         <kernel-features.h>.
51927         [__NR_fadvise64_64]: Make code unconditional.
51928         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
51929         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
51930         !__NR_fadvise64_64)]: Likewise.
51931         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
51932         !__NR_fadvise64_64))]: Likewise.
51933         [__NR_fadvise64]: Make code unconditional.
51934         [!__NR_fadvise64]: Remove conditional code.
51935         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
51936         <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.
51941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
51942         not include <kernel-features.h>.
51943         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
51944         unconditional.
51945         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
51946         conditional code.
51947         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
51948         include <kernel-features.h>.
51949         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
51950         unconditional.
51951         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
51952         conditional code.
51954 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
51956         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
51957         slight instruction rearrangements per scrollpipe analysis.
51958         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
51960 2012-08-20  Roland McGrath  <roland@hack.frob.com>
51962         * manual/syslog.texi (syslog; vsyslog, closelog):
51963         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
51964         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
51966         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
51967         DSOCAPS to match condition on defining it.
51969 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
51971         * sysdeps/unix/sysv/linux/kernel-features.h
51972         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
51973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
51974         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
51975         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
51976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
51977         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
51978         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
51979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
51980         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
51981         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
51983         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
51984         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
51986         * sysdeps/unix/sysv/linux/kernel-features.h
51987         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
51988         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
51989         unconditional.
51990         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51991         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
51992         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
51993         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51994         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
51995         Make code unconditional.
51996         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51997         (__mmap64) [!__NR_mmap2]: Likewise.
51998         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
51999         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
52000         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
52001         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
52002         [__NR_mmap2]: Make code unconditional.
52003         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
52004         (__mmap64) [!__NR_mmap2]: Likewise.
52006 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52008         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
52010 2012-08-18  Andreas Jaeger  <aj@suse.de>
52012         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
52014 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
52016         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
52017         * include/unistd.h (__have_sock_cloexec): Likewise.
52018         (__have_pipe2): Likewise.
52019         (__have_dup3): Likewise.
52021 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
52023         [BZ #9685]
52024         * include/unistd.h (__have_pipe2): Change define into an extern int.
52025         (__have_dup3): Likewise.
52026         * socket/have_sock_cloexec.c: Include fcntl.h.
52027         (__have_pipe2): New variable.
52028         (__have_dup3): Likewise.
52030 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
52032         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
52034 2012-08-17  Marek Polacek  <polacek@redhat.com>
52036         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
52037         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
52039 2012-08-17  Roland McGrath  <roland@hack.frob.com>
52041         * configure.in: Add AC_SUBST for sysheaders.
52042         * configure: Regenerated.
52043         * config.make.in (sysheaders): New substituted variable.
52045         * sysdeps/unix/mkfifo.c: Moved ...
52046         * sysdeps/posix/mkfifo.c: ... here.
52047         * sysdeps/unix/mkfifoat.c: Moved ...
52048         * sysdeps/posix/mkfifoat.c: ... here.
52050         * sysdeps/unix/utime.c: Moved ...
52051         * sysdeps/posix/utime.c: ... here.
52053         * sysdeps/unix/time.c: Moved ...
52054         * sysdeps/posix/time.c: ... here.
52055         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
52056         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
52058         * sysdeps/unix/nice.c: Moved ...
52059         * sysdeps/posix/nice.c: ... here.
52061         * sysdeps/unix/alarm.c: Moved ...
52062         * sysdeps/posix/alarm.c: ... here.
52064         * intl/Makefile ($(codeset_mo)): Depend on the input file.
52066 2012-08-17  Jeff Law <law@redhat.com>
52068         * intl/Makefile (codeset_mo): New variable.
52069         ($(codeset_mo)): New target.
52070         (tst-codeset.out): Depend on that.  Remove explicit rule.
52071         (tst-gettext3.out, tst-gettext5.out): Likewise.
52072         (LOCPATH-ENV, tst-codeset-ENV): New variables.
52073         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
52074         * intl/tst-codeset.sh: Remove.
52075         * intl/tst-gettext3.sh: Likewise.
52076         * intl/tst-gettext5.sh: Likewise.
52078 2012-08-17  Roland McGrath  <roland@hack.frob.com>
52080         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
52081         * sysdeps/unix/syscalls.list: ... here.
52083         * sysdeps/posix/getaddrinfo.c
52084         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
52085         (gaiconf_init, gaiconf_reload): Use them.
52086         [!_STATBUF_ST_NSEC]
52087         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
52088         Define using time_t rather than struct timespec.
52090         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
52091         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
52092         Macros removed.
52093         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
52094         [!NO_THREADS].
52095         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
52096         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
52097         Likewise.
52099         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
52100         __libc_cleanup_push argument.
52102         * bits/param.h: New file.
52103         * misc/sys/param.h: New file.
52104         * include/sys/param.h: New file.
52105         * misc/Makefile (headers): Add bits/param.h.
52106         * sysdeps/generic/sys/param.h: File removed.
52107         * sysdeps/unix/sysv/linux/bits/param.h: New file.
52108         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
52109         * sysdeps/mach/hurd/bits/param.h: New file.
52110         * sysdeps/mach/hurd/sys/param.h: File removed.
52112         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
52113         last change.
52115         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
52116         [_IO_MTSAFE_IO].
52117         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
52118         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
52119         New macros.
52121         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
52122         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
52123         rather than -D_IO_MTSAFE_IO conditionally.
52124         * stdio-common/Makefile (CPPFLAGS): Likewise.
52125         * wcsmbs/Makefile (CPPFLAGS): Likewise.
52126         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
52127         Use $(libio-mtsafe).
52128         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
52129         of -D_IO_MTSAFE_IO.
52130         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
52131         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
52132         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
52133         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
52134         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
52135         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
52136         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
52137         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
52138         (CFLAGS-fread_u_chk.c): Likewise.
52139         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
52140         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
52141         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
52142         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
52143         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
52144         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
52145         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
52146         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
52147         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
52149         * libio/Makefile: Test [$(libc-reentrant) = yes]
52150         instead of [$(filter %REENTRANT, $(defines)) nonempty].
52152         * Makeconfig
52153         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
52154         * sysdeps/pthread/configure: File removed.
52155         * sysdeps/pthread/Makeconfig: New file.
52156         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
52157         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
52159 2012-08-16  Gary Benson  <gbenson@redhat.com>
52161         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
52162         unmapping the first object in a namespace.
52164 2012-08-16  Roland McGrath  <roland@hack.frob.com>
52166         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
52167         (__internal_setnetgrent): ... this.  Add internal_function to
52168         definition.  Add libc_hidden_def.
52169         (setnetgrent): Update caller.
52170         (internal_endnetgrent): Renamed to ...
52171         (__internal_endnetgrent): ... this.  Add internal_function to
52172         definition.  Add libc_hidden_def.
52173         (endnetgrent): Update caller.
52174         (internal_getnetgrent_r): Renamed to ...
52175         (__internal_getnetgrent_r): ... this.  Add internal_function to
52176         definition.  Add libc_hidden_def.
52177         (__getnetgrent_r): Update caller.
52178         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
52180 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
52182         * stdlib/longlong.h: Update from GCC.
52184 2012-08-16  Roland McGrath  <roland@hack.frob.com>
52186         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
52187         on _QL, which is set by umul_ppmm but never used.
52188         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
52189         variables, which are set by GMP macros but never used.
52190         * stdio-common/_itowa.c (_itowa): Likewise.
52191         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
52192         * stdlib/mod_1.c (mpn_mod_1): Likewise.
52194 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
52196         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
52197         struct La_sh_regs is not constant.
52198         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
52199         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
52200         and struct La_sparc64_regs are not constant.
52202 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
52204         * sysdeps/unix/sysv/linux/kernel-features.h
52205         (__ASSUME_POSIX_TIMERS): Remove.
52206         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
52207         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52208         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
52209         Make code unconditional.
52210         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52211         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
52212         Make code unconditional.
52213         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52214         * sysdeps/unix/sysv/linux/clock_nanosleep.c
52215         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
52216         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52217         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
52218         Make code unconditional.
52219         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52220         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
52221         (__libc_missing_posix_timers): Remove.
52223 2012-08-15  Roland McGrath  <roland@hack.frob.com>
52225         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
52226         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
52228         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
52230         * elf/dl-sym.c: Include <stdlib.h>.
52232         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
52233         constants, which avoids warnings in 32-bit builds.
52235         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
52236         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
52238         * misc/lseek.c: File moved to ...
52239         * io/lseek.c: ... here.
52241         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
52243         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
52244         shifting LEN more than 31 bits at once.
52246 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52248         [BZ #14195]
52249         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
52250         segmentation fault for a case of two empty input strings.
52251         * string/test-strncasecmp.c (check1): Renamed to...
52252         (bz12205): ...this.
52253         (bz14195): Add new testcase for two empty input strings and N > 0.
52254         (test_main): Call new testcase, adapt for renamed function.
52256 2012-08-15  Andreas Jaeger  <aj@suse.de>
52258         [BZ #14090]
52259         * crypt/md5test2.c: New test, based on test supplied by Serge
52260         Belyshev <belyshev@depni.sinp.msu.ru>.
52261         * crypt/Makefile (xtests): Add md5test-giant..
52262         * crypt/Makefile ($(objpfx)md5test-giant): Add.
52264 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
52266         [BZ #14090]
52267         * crypt/md5.c (md5_process_block): Don't assume the buffer
52268         length is less than 2**32.
52269         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
52270         length is less than 2**64.
52272 2012-08-15  Roland McGrath  <roland@hack.frob.com>
52274         * string/str-two-way.h: Include <sys/param.h>.
52275         (MAX): Macro removed.
52277         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
52278         Move #define and #undef of memmove to just before and after
52279         including <string.h>.
52281         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
52282         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
52283         and after including <string.h>.  Move declarations of
52284         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
52285         to before #include "string/memmove.c".
52287         * include/dirent.h: Declare __getdirentries.
52289         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
52290         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
52292 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
52294         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
52295         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
52296         * sysdeps/i386/configure: Regenerated.
52297         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
52298         STABS_CURRENT_FILE, and STABS_FUN.
52299         (END): Remove call to STABS_FUN_END.
52300         (STABS_CURRENT_FILE1): Delete.
52301         (STABS_CURRENT_FILE): Likewise.
52302         (STABS_FUN): Likewise.
52303         (STABS_FUN_END): Likewise.
52304         (STABS_FUN2): Likewise.
52305         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
52306         * sysdeps/x86_64/configure: Regenerated.
52308 2012-08-14  Roland McGrath  <roland@hack.frob.com>
52310         * elf/dl-open.c: Include <atomic.h>.
52311         * elf/dl-lookup.c: Likewise.
52313 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
52315         * sysdeps/unix/sysv/linux/kernel-features.h
52316         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
52317         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
52318         unconditionally.
52319         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
52320         unconditionally.
52321         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
52322         condition on __ASSUME_CLONE_THREAD_FLAGS.
52324 2012-08-14  Andreas Jaeger  <aj@suse.de>
52326         * sysdeps/i386/fpu/libm-test-ulps: Update.
52328 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
52330         * include/atomic.h (atomic_exchange_and_add): Split into ...
52331         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
52332         New atomic macros.
52334 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
52336         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52338 2012-08-13  Jeff Law <law@redhat.com>
52340         * manual/stdio.texi (snprintf): Clarify handling of the trailing
52341         null byte in the output string.
52343 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
52345         * sysdeps/unix/sysv/linux/kernel-features.h
52346         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
52347         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
52348         (__ASSUME_ARG_MAX_STACK_BASED): Define.
52349         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
52350         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
52351         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
52352         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
52354 2012-08-09  Jeff Law <law@redhat.com>
52356         [BZ #13939]
52357         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
52358         When avoid_arena is set, don't retry in the that arena.  Pick the
52359         next one, whatever it might be.
52360         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
52361         (arena_lock): Pass in new parameter to arena_get2.
52362         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
52363         arena_get2.
52364         (__libc_malloc): Unify retrying after main arena failure with
52365         __libc_memalign version.
52366         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
52368 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
52370         [BZ #14166]
52371         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
52372         to __redirect_strstr.
52373         (__strstr_sse42): Use typeof __redirect_strstr.
52374         (__strstr_ia32): Likewise.
52375         (__libc_strstr): New prototype.
52376         (strstr): Renamed to ...
52377         (__libc_strstr): This.
52378         (strstr): New strong alias of __libc_strstr.
52379         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
52380         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
52381         __redirect_time.
52382         Include <time.h>.
52383         (__libc_time): New prototype.
52384         (time_ifunc): Replace time with __libc_time.
52385         (time): New strong alias and hidden definition of __libc_time.
52386         (__GI_time): Remove strong alias.
52387         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
52388         Include <stddef.h>.
52389         (memmove): Redefined to __redirect_memmove.
52390         (__memmove_sse2): Use typeof __redirect_memmove.
52391         (__memmove_ssse3): Likewise.
52392         (__memmove_ssse3_back): Likewise.
52393         (__libc_memmove): New prototype.
52394         (memmove): Renamed to ...
52395         (__libc_memmove): This.
52396         (memmove): New strong alias of __libc_memmove.
52398 2012-08-08  Mark Salter  <msalter@redhat.com>
52400         * elf/elf.h
52401         (R_MN10300_TLS_GD): Define.
52402         (R_MN10300_TLS_LD): Likewise.
52403         (R_MN10300_TLS_LDO): Likewise.
52404         (R_MN10300_TLS_GOTIE): Likewise.
52405         (R_MN10300_TLS_IE): Likewise.
52406         (R_MN10300_TLS_LE): Likewise.
52407         (R_MN10300_TLS_DTPMOD): Likewise.
52408         (R_MN10300_TLS_DTPOFF): Likewise.
52409         (R_MN10300_TLS_TPOFF): Likewise.
52410         (R_MN10300_SYM_DIFF): Likewise.
52411         (R_MN10300_ALIGN): Likewise.
52412         (R_MN10300_NUM): Update.
52414 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
52416         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
52417         Remove.
52419 2012-08-08  Roland McGrath  <roland@hack.frob.com>
52421         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
52423         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
52424         sysdeps/unix -> sysdeps/posix move.
52425         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
52427 2012-08-07      Allan McRae     <allan@archlinux.org>
52429         [BZ #14303]
52430         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
52431         (SUNOS_CPP): Likewise.
52432         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
52433         not found.
52434         (open_input): Call CPP using execvp.
52436 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
52438         * sysdeps/unix/sysv/linux/kernel-features.h
52439         (__ASSUME_PROT_GROWSUPDOWN): Remove.
52440         (__ASSUME_NO_CLONE_DETACHED): Likewise.
52441         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
52442         (__ASSUME_WAITID_SYSCALL): Likewise.
52443         * sysdeps/unix/sysv/linux/dl-execstack.c
52444         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
52445         code unconditional.
52446         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
52447         conditional code.
52448         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
52449         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
52450         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
52451         code.
52452         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
52453         unconditional.
52454         [__ASSUME_WAITID_SYSCALL]: Likewise.
52455         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
52457 2012-08-07  Roland McGrath  <roland@hack.frob.com>
52459         * sysdeps/unix/closedir.c: Renamed to ...
52460         * sysdeps/posix/closedir.c: ... here.
52461         * sysdeps/unix/dirfd.c: Renamed to ...
52462         * sysdeps/posix/dirfd.c: ... here.
52463         * sysdeps/unix/dirstream.h: Renamed to ...
52464         * sysdeps/posix/dirstream.h: ... here.
52465         * sysdeps/unix/fdopendir.c: Renamed to ...
52466         * sysdeps/posix/fdopendir.c: ... here.
52467         * sysdeps/unix/opendir.c: Renamed to ...
52468         * sysdeps/posix/opendir.c: ... here.
52469         * sysdeps/unix/readdir.c: Renamed to ...
52470         * sysdeps/posix/readdir.c: ... here.
52471         * sysdeps/unix/readdir_r.c: Renamed to ...
52472         * sysdeps/posix/readdir_r.c: ... here.
52473         * sysdeps/unix/rewinddir.c: Renamed to ...
52474         * sysdeps/posix/rewinddir.c: ... here.
52475         * sysdeps/unix/seekdir.c: Renamed to ...
52476         * sysdeps/posix/seekdir.c: ... here.
52477         * sysdeps/unix/telldir.c: Renamed to ...
52478         * sysdeps/posix/telldir.c: ... here.
52479         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
52480         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
52481         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
52482         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
52484         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
52485         * bits/fcntl.h: ... here.
52487         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
52488         not 0.
52489         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
52490         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
52491         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
52492         (struct flock): Move l_start, l_len to the beginning.
52493         Use __pid_t for l_pid.
52494         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
52495         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
52496         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
52497         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
52498         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
52499         [__USE_LARGEFILE64] (struct flock64): New type.
52500         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
52502         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
52503         * bits/dirent.h: ... here.
52505         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
52506         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
52508 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
52510         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
52511         Change from 2.6.0 to 2.6.16.
52512         * sysdeps/unix/sysv/linux/configure: Regenerated.
52513         * sysdeps/unix/sysv/linux/kernel-features.h
52514         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
52515         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
52516         version.
52517         (__ASSUME_UTIMES): Likewise.
52518         (__ASSUME_CLONE_STOPPED): Remove.
52519         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
52520         architectures, not kernel version.
52521         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
52522         (__ASSUME_NO_CLONE_DETACHED): Likewise.
52523         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
52524         (__ASSUME_WAITID_SYSCALL): Likewise.
52525         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
52526         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
52527         * README: State 2.6.16 as minimum Linux kernel version.  Do not
52528         refer to older versions.
52530 2012-08-06  Roland McGrath  <roland@hack.frob.com>
52532         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
52533         Define alphasort64 as an alias.
52534         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
52535         Define versionsort64 as an alias.
52536         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
52537         Define scandir64 as an alias.
52538         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
52539         Define scandirat64 as an alias.
52540         * dirent/alphasort64.c (alphasort64):
52541         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
52542         * dirent/versionsort64.c: Likewise.
52543         * dirent/scandir64.c: Likewise.
52544         * dirent/scandirat64.c: Likewise.
52545         * sysdeps/wordsize-64/alphasort.c: File removed.
52546         * sysdeps/wordsize-64/alphasort64.c: File removed.
52547         * sysdeps/wordsize-64/scandir.c: File removed.
52548         * sysdeps/wordsize-64/scandir64.c: File removed.
52549         * sysdeps/wordsize-64/scandirat.c: File removed.
52550         * sysdeps/wordsize-64/scandirat64.c: File removed.
52551         * sysdeps/wordsize-64/versionsort.c: File removed.
52552         * sysdeps/wordsize-64/versionsort64.c: File removed.
52553         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
52554         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
52555         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
52556         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
52557         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
52558         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
52559         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
52560         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
52562         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
52563         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
52564         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
52565         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52566         [defined __arch64__ || defined __sparcv9]
52567         (__INO_T_MATCHES_INO64_T): New macro.
52568         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
52569         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
52570         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
52571         * sysdeps/unix/sysv/linux/bits/dirent.h
52572         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
52573         (_DIRENT_MATCHES_DIRENT64): New macro.
52575         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
52576         Define lockf64 as an alias.
52577         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
52578         Define fseeko64 as an alias.
52579         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
52580         Define ftello64 as an alias.
52581         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
52582         Define _IO_fgetpos64 and fgetpos64 as aliases.
52583         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
52584         Define _IO_fsetpos64 and fsetpos64 as aliases.
52585         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
52586         Conditionalize body on this.
52587         * libio/fseeko64.c: Likewise.
52588         * libio/ftello64.c: Likewise.
52589         * libio/iofgetpos64.c: Likewise.
52590         * libio/iofsetpos64.c: Likewise.
52591         * sysdeps/wordsize-64/lockf.c: File removed.
52592         * sysdeps/wordsize-64/lockf64.c: File removed.
52593         * sysdeps/wordsize-64/fseeko.c: File removed.
52594         * sysdeps/wordsize-64/fseeko64.c: File removed.
52595         * sysdeps/wordsize-64/ftello.c: File removed.
52596         * sysdeps/wordsize-64/ftello64.c: File removed.
52597         * sysdeps/wordsize-64/iofgetpos.c: File removed.
52598         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
52599         * sysdeps/wordsize-64/iofsetpos.c: File removed.
52600         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
52601         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
52602         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
52603         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
52604         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
52605         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
52606         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
52607         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
52608         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
52609         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
52610         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
52612         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
52613         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
52614         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
52615         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52616         [defined __arch64__ || defined __sparcv9]
52617         (__OFF_T_MATCHES_OFF64_T): New macro.
52618         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
52619         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
52620         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52621         (__OFF_T_MATCHES_OFF64_T): New macro.
52623 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
52625         * stdlib/secure-getenv.c (__secure_getenv): Replace
52626         GLIBC_2_16 with GLIBC_2_17.
52628 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
52630         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
52631         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
52633 2012-08-03  David S. Miller  <davem@davemloft.net>
52635         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52637 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
52639         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
52640         Remove.
52641         (__ASSUME_CORRECT_SI_PID): Likewise.
52642         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
52643         (__ASSUME_TMPFS_NAME): Likewise.
52644         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
52645         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
52646         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
52647         (HAVE_AUX_SECURE): Make definition unconditional.
52648         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
52649         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
52651 2012-08-03  Roland McGrath  <roland@hack.frob.com>
52653         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
52654         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
52655         * sysdeps/mach/hurd/eloop-threshold.h: New file.
52656         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
52657         __eloop_threshold instead of SYMLOOP_MAX.
52659         * sysdeps/generic/eloop-threshold.h: New file.
52660         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
52661         of MAXSYMLINKS.
52662         * elf/chroot_canon.c (chroot_canon): Likewise.
52664 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
52666         [BZ #13717]
52667         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
52668         Change to 2.6.0 everywhere.
52669         * sysdeps/unix/sysv/linux/configure: Regenerated.
52670         * sysdeps/unix/sysv/linux/kernel-features.h
52671         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
52672         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
52673         kernel versions.
52674         (__ASSUME_POSIX_TIMERS): Define unconditionally.
52675         (__ASSUME_FUTEX_REQUEUE): Remove.
52676         (__ASSUME_STATFS64): Define unconditionally.
52677         (__ASSUME_AT_SECURE): Likewise.
52678         (__ASSUME_CORRECT_SI_PID): Likewise.
52679         (__ASSUME_TGKILL): Define without depending on kernel version for
52680         i386.
52681         (__ASSUME_UTIMES): Likewise.
52682         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
52683         kernel version.
52684         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
52685         (__ASSUME_TMPFS_NAME): Likewise.
52686         * README: Update reference to Linux kernel versions.
52688 2012-08-02  Marek Polacek  <polacek@redhat.com>
52690         [BZ# 14150]
52691         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
52692         libc_cv_asm_type_prefix with %.
52693         * configure: Regenerated.
52694         * include/libc-symbols.h: Remove comment about
52695         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
52696         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
52697         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
52698         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
52699         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
52700         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
52701         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
52702         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
52703         * elf/tst-unique2mod1.c: Likewise.
52704         * elf/tst-unique1mod2.c: Likewise.
52705         * elf/tst-unique1mod1.c: Likewise.
52706         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
52707         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
52708         Replace ASM_TYPE_DIRECTIVE with .type.
52709         * sysdeps/s390/s390-64/sysdep.h: Likewise.
52710         * sysdeps/i386/sysdep.h: Likewise.
52711         * sysdeps/x86_64/sysdep.h: Likewise.
52712         * sysdeps/sh/sysdep.h: Likewise.
52713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
52714         Do not define ASM_TYPE_DIRECTIVE.
52715         * sysdeps/powerpc/sysdep.h: Likewise.
52716         * sysdeps/powerpc/powerpc32/sysdep.h:
52717         Replace ASM_TYPE_DIRECTIVE with .type.
52718         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
52719         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
52720         * sysdeps/i386/fpu/e_powf.S: Likewise.
52721         * sysdeps/i386/fpu/e_expl.S: Likewise.
52722         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52723         * sysdeps/i386/fpu/e_acosh.S: Likewise.
52724         * sysdeps/i386/fpu/e_pow.S: Likewise.
52725         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
52726         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52727         * sysdeps/i386/fpu/s_expm1.S: Likewise.
52728         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
52729         * sysdeps/i386/fpu/e_log2.S: Likewise.
52730         * sysdeps/i386/fpu/e_log2l.S: Likewise.
52731         * sysdeps/i386/fpu/e_scalb.S: Likewise.
52732         * sysdeps/i386/fpu/e_powl.S: Likewise.
52733         * sysdeps/i386/fpu/e_log10f.S: Likewise.
52734         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
52735         * sysdeps/i386/fpu/e_logl.S: Likewise.
52736         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
52737         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
52738         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
52739         * sysdeps/i386/fpu/e_log2f.S: Likewise.
52740         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52741         * sysdeps/i386/fpu/e_log.S: Likewise.
52742         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52743         * sysdeps/i386/fpu/e_logf.S: Likewise.
52744         * sysdeps/i386/fpu/e_log10l.S: Likewise.
52745         * sysdeps/i386/fpu/e_atanh.S: Likewise.
52746         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
52747         * sysdeps/i386/fpu/e_log10.S: Likewise.
52748         * sysdeps/i386/fpu/s_frexp.S: Likewise.
52749         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52750         * sysdeps/i386/fpu/s_asinh.S: Likewise.
52751         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
52752         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52753         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
52754         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
52755         * sysdeps/i386/i686/strtok.S: Likewise.
52756         * sysdeps/i386/i386-mcount.S: Likewise.
52757         * sysdeps/i386/strtok.S: Likewise.
52758         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
52759         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52760         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52761         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52762         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
52763         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52764         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
52765         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
52766         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52767         * sysdeps/x86_64/_mcount.S: Likewise.
52768         * sysdeps/x86_64/strtok.S: Likewise.
52769         * sysdeps/sh/_mcount.S: Likewise.
52771 2012-08-01  Roland McGrath  <roland@hack.frob.com>
52773         * libio/iofopen.c: Include <fcntl.h>.
52774         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
52775         (_IO_fopen64, fopen64): Define as aliases.
52776         * libio/iofopen64.c: Include <fcntl.h>.
52777         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
52778         Conditionalize body on this.
52779         * sysdeps/wordsize-64/iofopen.c: File removed.
52780         * sysdeps/wordsize-64/iofopen64.c: File removed.
52782 2012-08-01  Marek Polacek  <polacek@redhat.com>
52784         * libc/Makeconfig: Use elf in place of binfmt-subdir.
52785         Use dlfcn directly instead of a variable.
52786         (binfmt-subdir): Do not define.
52787         (dlfcn): Likewise.
52789 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
52791         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
52792         Remove all definitions.
52793         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
52794         <kernel-features.h>.
52795         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
52796         (miss_F_GETOWN_EX): Remove all definitions.
52797         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
52798         macro definition.
52799         [!__ASSUME_FCNTL64]: Remove conditional code.
52800         [__ASSUME_FCNTL64]: Make code unconditional.
52801         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
52802         <kernel-features.h>.
52803         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
52804         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
52805         (lockf64) [__NR_fcntl64]: Make code unconditional.
52806         (lockf64) [__ASSUME_FCNTL64]: Likewise.
52808         * sysdeps/unix/sysv/linux/kernel-features.h
52809         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
52810         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
52811         Make code unconditional.
52812         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
52813         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
52814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
52815         [__NR_vfork]: Make code unconditional.
52816         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
52817         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
52818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
52819         [__NR_vfork]: Make code unconditional.
52820         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
52821         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
52823 2012-08-01  Roland McGrath  <roland@hack.frob.com>
52825         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
52826         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
52828         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
52829         Define mkstemp64 as an alias.
52830         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
52831         Define mkstemps64 as an alias.
52832         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
52833         Define mkostemp64 as an alias.
52834         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
52835         Define mkostemps64 as an alias.
52836         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
52837         Conditionalize body on this.
52838         * misc/mkostemp64.c: Likewise.
52839         * misc/mkostemps64.c: Likewise.
52840         * misc/mkstemps64.c: Likewise.
52841         * sysdeps/wordsize-64/mkstemp64.c: File removed.
52842         * sysdeps/wordsize-64/mkostemp64.c: File removed.
52843         * sysdeps/wordsize-64/mkostemp.c: File removed.
52844         * sysdeps/wordsize-64/mkstemp.c: File removed.
52845         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
52846         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
52847         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
52848         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
52850         [BZ #14138]
52851         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
52852         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
52853         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
52854         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
52856         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
52857         compat_symbol macros from <shlib-compat.h> rather than the underlying
52858         default_symbol_version and symbol_version macros, so that DEFAULT
52859         lines in shlib-versions are respected.
52860         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
52862 2012-08-01  Florian Weimer  <fweimer@redhat.com>
52864         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
52865         Declare with warn_unused_result.
52866         (setgid, setregid, setegid, setresgid): Likewise.
52867         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
52868         Likewise.
52869         * WUR-REPORT: Remove set*id functions.
52871 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
52873         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
52875 2012-07-31  Roland McGrath  <roland@hack.frob.com>
52877         [BZ #10191]
52878         * include/sys/socket.h (__libc_accept, __libc_accept4):
52879         Add attribute_hidden.
52880         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
52882         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
52883         use of PTR_MANGLE.
52884         * inet/getnetgrent_r.c (setup): Likewise.
52886         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
52888 2012-07-31  David S. Miller  <davem@davemloft.net>
52890         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52892 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
52894         [BZ #13629]
52895         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
52896         value between 1.0 and 2.0 and smaller part has absolute value less
52897         than 1.0.
52898         * math/s_clog10.c (__clog10): Likewise.
52899         * math/s_clog10f.c (__clog10f): Likewise.
52900         * math/s_clog10l.c (__clog10l): Likewise.
52901         * math/s_clogf.c (__clogf): Likewise.
52902         * math/s_clogl.c (__clogl): Likewise.
52903         * math/libm-test.inc (clog_test): Add more tests.
52904         (clog10_test): Likewise.
52905         * sysdeps/i386/fpu/libm-test-ulps: Update.
52906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52908 2012-07-31  Florian Weimer  <fweimer@redhat.com>
52910         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
52911         Exit with zero in case no suitable GID is found, and write a
52912         message to standard error.
52914 2012-07-30  Roland McGrath  <roland@hack.frob.com>
52916         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
52917         rather than to 1.
52918         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
52919         (MAXPATHLEN): Removed.
52920         (NOGROUP, NODEV): New macros.
52921         (setbit, clrbit, isset, isclr): New macros.
52922         (howmany, roundup, powerof2): New macros.
52923         (DEV_BSIZE): New macro.
52925         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
52926         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
52928         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
52929         definition on [!__NO_LONG_DOUBLE_MATH].
52931         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
52932         PTR_MANGLE and PTR_DEMANGLE.
52934         * socket/accept4.c (accept4): Rename to __libc_accept4.
52935         Define accept4 as a weak alias.
52937         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
52938         on [_DIRENT_HAVE_D_TYPE].
52939         * io/ftw.c (ftw_dir): Likewise.
52941         * io/xmknod.c (__xmknod): Don't check PATH for being null.
52943         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
52945         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
52946         Use the BSD numbers rather than the arbitrary ones we had.
52947         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
52948         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
52949         (SIGXCPU, SIGXFSZ): New macros.
52950         (_NSIG): Now 32.
52952         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
52953         initializer on [_LIBC_REENTRANT].
52955         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
52956         definitions inside [_POSIX_MAPPED_FILES].
52958         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
52960         * dirent/opendir.c: Include <fcntl.h>.
52962         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
52963         (__libc_getspecific): Likewise.
52964         (__libc_key_create): Likewise.
52966         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
52967         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
52968         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
52969         (tmpfile64): Define as alias.
52970         * sysdeps/wordsize-64/tmpfile.c: File removed.
52971         * sysdeps/wordsize-64/tmpfile64.c: File removed.
52972         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
52973         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
52975         * stdio-common/vfscanf.c: Include <stdbool.h>.
52976         * nss/makedb.c: Likewise.
52977         * stdio-common/_i18n_number.h: Likewise.
52978         * argp/argp-help.c: Likewise.
52979         * posix/wordexp.c: Likewise.
52980         * sysdeps/posix/spawni.c: Likewise.
52981         * nss/nss_files/files-initgroups.c: Likewise.
52982         * stdio-common/reg-modifier.c: Include <stdlib.h>.
52983         * nss/nss_files/files-initgroups.c: Likewise.
52984         * nss/nss_db/db-netgrp.c: Likewise.
52985         * nss/nss_db/db-initgroups.c: Likewise.
52986         * io/fchmodat.c: Include <sys/stat.h>.
52988         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
52989         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
52991         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
52992         [HAVE_MMAP].
52994         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
52995         Add multiple inclusion protection.
52997 2012-07-27  David S. Miller  <davem@davemloft.net>
52999         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53001 2012-07-27  Gary Benson  <gbenson@redhat.com>
53003         [BZ #14298]
53004         * elf/rtld.c: Include <stap-probe.h>.
53005         (dl_main): Added static probes "init_start" and "init_complete".
53006         * elf/dl-load.c: Include <stap-probe.h>.
53007         (lose): Take new parameter "nsid".
53008         Added static probe "map_failed".
53009         (_dl_map_object_from_fd): Pass namespace id to lose.
53010         Added static probe "map_start".
53011         (open_verify): Pass namespace id to lose.
53012         * elf/dl-open.c: Include <stap-probe.h>.
53013         (dl_open_worker) Added static probes "map_complete", "reloc_start"
53014         and "reloc_complete".
53015         * elf/dl-close.c: Include <stap-probe.h>.
53016         (_dl_close_worker): Added static probes "unmap_start" and
53017         "unmap_complete".
53018         * elf/rtld-debugger-interface.txt: New file documenting the above.
53020 2012-07-26  Roland McGrath  <roland@hack.frob.com>
53022         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
53023         rather than a string variable.
53024         * sunrpc/rpc_main.c (h_output): Likewise.
53025         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
53027 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
53029         * inet/check_native.c: New file.
53031 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
53033         [BZ #13629]
53034         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
53035         if larger part has absolute value 1.0.
53036         * math/s_clog10.c (__clog10): Likewise.
53037         * math/s_clog10f.c (__clog10f): Likewise.
53038         * math/s_clog10l.c (__clog10l): Likewise.
53039         * math/s_clogf.c (__clogf): Likewise.
53040         * math/s_clogl.c (__clogl): Likewise.
53041         * math/libm-test.inc (clog_test): Add more tests.
53042         (clog10_test): Likewise.
53043         * sysdeps/i386/fpu/libm-test-ulps: Update.
53044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53046         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
53047         (pltexit): Likewise.
53048         (La_regs): Likewise.
53049         (La_retval): Likewise.
53050         (int_retval): Likewise.
53051         Update #error for removed macros to refer only to definitions in
53052         tst-audit.h.
53053         * elf/tst-auditmod3b.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-auditmod4b.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-auditmod5b.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-auditmod6b.c (pltenter): Remove all definitions of
53072         macro.
53073         (pltexit): Likewise.
53074         (La_regs): Likewise.
53075         (La_retval): Likewise.
53076         (int_retval): Likewise.
53077         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
53078         macro.
53079         (pltexit): Likewise.
53080         (La_regs): Likewise.
53081         (La_retval): Likewise.
53082         (int_retval): Likewise.
53083         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
53084         macro.
53085         (pltexit): Likewise.
53086         (La_regs): Likewise.
53087         (La_retval): Likewise.
53088         (int_retval): Likewise.
53089         * sysdeps/generic/tst-audit.h: Update comment to refer only to
53090         macro definitions in tst-audit.h.
53091         * sysdeps/i386/tst-audit.h: New file.
53092         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
53093         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
53094         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
53095         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
53096         * sysdeps/sh/tst-audit.h: Likewise.
53097         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
53098         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
53099         * sysdeps/x86_64/tst-audit.h: Likewise.
53101 2012-07-26  Andreas Jaeger  <aj@suse.de>
53103         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
53104         ptrace.
53106         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
53107         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
53108         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
53109         PTRACE_O_MASK.
53110         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
53111         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
53112         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
53114         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
53115         value.
53117         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
53118         _sigsys.
53119         (si_call_addr, si_syscall, si_arch): Define new macro.
53120         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
53121         _sigsys.
53122         (si_call_addr, si_syscall, si_arch): Define new marcro.
53123         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
53124         _sigsys.
53125         (si_call_addr, si_syscall, si_arch): Define new macro.
53126         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
53127         _sigsys.
53128         (si_call_addr, si_syscall, si_arch): Define new macro.
53130 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
53132         [BZ #13717]
53133         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
53134         Change to 2.4.21 where previously 2.4.1.
53135         * sysdeps/unix/sysv/linux/configure: Regenerated.
53136         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
53137         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
53138         Linux kernel version.
53139         (__ASSUME_STD_AUXV): Remove.
53140         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
53141         kernel version.
53142         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
53143         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
53144         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
53145         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
53146         (__ASSUME_NETLINK_SUPPORT): Likewise.
53147         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
53148         (__no_netlink_support): Remove conditional definition.
53149         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
53150         Remove.
53151         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
53152         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
53153         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
53154         (if_nameindex_ioctl): Remove.
53155         (if_nameindex_netlink): Do not handle __no_netlink_support.
53156         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
53157         code.
53158         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
53159         Remove conditional code.
53160         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
53161         code.
53162         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
53163         unconditional.
53164         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
53165         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
53166         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
53167         Remove.
53168         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
53169         [!__ASSUME_STD_AUXV]: Remove conditional code.
53170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
53171         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
53172         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
53173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
53174         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
53175         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
53176         code.
53177         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
53178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
53179         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
53180         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
53181         conditional code.
53182         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
53183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
53184         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
53185         code.
53186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
53187         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
53188         conditional code.
53189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
53190         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
53191         code unconditional.
53192         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53193         conditional code.
53194         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
53195         unconditional.
53196         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53197         conditional code.
53198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53199         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
53200         unconditional.
53201         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53202         conditional code.
53203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
53204         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
53205         code unconditional.
53206         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53207         conditional code.
53208         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
53209         unconditional.
53210         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53211         conditional code.
53212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
53213         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
53214         code unconditional.
53215         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53216         conditional code.
53217         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
53218         unconditional.
53219         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53220         conditional code.
53222 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
53224         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
53225         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
53226         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
53227         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
53228         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
53229         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
53230         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
53231         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
53232         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
53233         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
53234         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
53235         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
53236         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
53237         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
53238         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
53239         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
53240         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
53241         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
53242         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
53243         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
53244         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
53245         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
53246         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
53248 2012-07-25  Florian Weimer  <fweimer@redhat.com>
53250         * Versions.def: Add GLIBC_2.17.
53251         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
53252         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
53253         Introduce __libc_secure_getenv.
53254         * stdlib/Versions (2.17): Add secure_getenv
53255         (GLIBC_PRIVATE): Add __libc_secure_getenv.
53256         * stdlib/secure-getenv.c: Rename __secure_getenv to
53257         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
53258         symbol __secure_getenv for GLIBC_2.0.
53259         * stdlib/tst-secure-getenv.c: New.
53260         * stdlib/Makefile (tests): Add testcase.
53261         * manual/startup.texi (Environment Access): Document
53262         secure_getenv.
53263         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
53264         __libc_secure_getenv.
53265         * inet/ruserpass.c (ruserpass): Likewise.
53266         * malloc/mtrace.c (mtrace): Likewise.
53267         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
53268         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
53269         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
53270         * sysdeps/posix/tempname.c: Likewise.  Evaluate
53271         HAVE_SECURE_GETENV.
53272         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
53273         __secure_getenv to __libc_secure_getenv.
53274         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
53275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53276         Likewise.
53277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53278         Likewise.
53279         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
53280         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
53281         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
53282         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
53283         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
53284         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
53285         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
53287 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
53289         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
53290         (struct La_i86_retval): Likewise.
53291         (struct La_x86_64_regs): Likewise.
53292         (struct La_x86_64_retval): Likewise.
53293         (struct La_x32_regs): Likewise.
53294         (struct La_x32_retval): Likewise.
53295         (struct La_ppc32_regs): Likewise.
53296         (struct La_ppc32_retval): Likewise.
53297         (struct La_ppc64_regs): Likewise.
53298         (struct La_ppc64_retval): Likewise.
53299         (struct La_sh_regs): Likewise.
53300         (struct La_sh_retval): Likewise.
53301         (struct La_s390_32_regs): Likewise.
53302         (struct La_s390_32_retval): Likewise.
53303         (struct La_s390_64_regs): Likewise.
53304         (struct La_s390_64_retval): Likewise.
53305         (struct La_sparc32_regs): Likewise.
53306         (struct La_sparc32_retval): Likewise.
53307         (struct La_sparc64_regs): Likewise.
53308         (struct La_sparc64_retval): Likewise.
53309         (struct audit_ifaces): Remove architecture-specific pltenter and
53310         pltexit members.
53311         * sysdeps/i386/ldsodefs.h: New file.
53312         * sysdeps/powerpc/ldsodefs.h: Likewise.
53313         * sysdeps/s390/ldsodefs.h: Likewise.
53314         * sysdeps/sh/ldsodefs.h: Likewise.
53315         * sysdeps/sparc/ldsodefs.h: Likewise.
53316         * sysdeps/x86_64/ldsodefs.h: Likewise.
53318 2012-07-25  Marek Polacek  <polacek@redhat.com>
53320         [BZ #6808]
53321         * math/libm-test.inc (yn_test): Add another test.
53322         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
53323         to ERANGE when the result is +-Inf.
53324         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
53325         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
53326         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
53327         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
53329 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
53331         * conform/data/time.h-data (NULL): Use macro-constant.  Require
53332         equal to 0.
53333         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
53334         clock_t.
53335         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
53337 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
53339         * configure.in <sysdeps resolving>: Correct printing
53340         Implies_before.
53341         * configure: Regenerate.
53343 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
53345         * math/w_ilogb.c: Include <limits.h>.
53346         * math/w_ilogbl.c: Likewise.
53348 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
53350         * manual/lang.texi (__va_copy): Document primarily as ISO C99
53351         va_copy.  Document allowing for unavailable va_copy only as
53352         pre-C99 compatibility.
53353         * manual/string.texi (Copying and Concatenation): Use va_copy
53354         instead of __va_copy in concat example.
53356 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
53358         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
53359         (__sendto): Use create_address_port.  Initialize APORT and deallocate
53360         it if not null.
53362         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
53363         with O_NOLINK passed to __file_name_lookup.
53365         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
53366         with O_NOLINK passed to __file_name_lookup.
53368         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
53369         negative N or less than NGIDS.
53371         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
53372         type to string_t.  Set ERANGE as errno and return it if NAME is not big
53373         enough.  Use memcpy instead of strncpy.
53375 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
53377         * elf/Makefile (check-data): Remove.
53378         (localplt.data): New vpath directive.
53379         ($(objpfx)check-localplt.out): Use localplt.data from vpath
53380         instead of $(check-data).
53381         * scripts/data/localplt-generic.data: Move to ...
53382         * sysdeps/generic/localplt.data: ... here.
53383         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
53384         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
53385         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
53386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
53387         ... here.
53388         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
53389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
53390         ... here.
53391         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
53392         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
53393         ... here.
53394         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
53395         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
53396         ... here.
53397         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
53398         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
53399         ... here.
53400         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
53401         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
53402         ... here.
53404 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53406         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
53407         PPC32 and PPC64 files.
53408         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
53409         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
53411 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53413         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
53414         __makecontext_ret to ...
53415         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
53416         ... here and call exit if uc_link is NULL.  New file.
53417         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
53418         __makecontext_ret.S.
53419         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
53420         __makecontext_ret to ...
53421         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
53422         ... here and call exit if uc_link is NULL.  New file.
53423         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
53424         __makecontext_ret.S.
53426 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53428         * elf/elf.h (R_390_IRELATIVE): New definition.
53429         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
53430         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
53431         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
53432         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
53433         (elf_machine_lazy_rel): Likewise.
53434         * sysdeps/s390/dl-irel.h: New file.
53435         * sysdeps/s390/s390-64/memcpy.S: New asm code.
53436         * sysdeps/s390/s390-64/memset.S: New asm code.
53437         * sysdeps/s390/s390-64/memcmp.S: New asm code.
53438         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
53439         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
53440         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
53441         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
53442         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
53443         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
53444         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
53445         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
53446         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
53447         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
53448         * sysdeps/s390/s390-32/memcpy.S: New asm code.
53449         * sysdeps/s390/s390-32/memset.S: New asm code.
53450         * sysdeps/s390/s390-32/memcmp.S: New asm code.
53452 2012-07-17  Marek Polacek  <polacek@redhat.com>
53454         [BZ #14349]
53455         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
53456         * sysdeps/s390/s390-64/configure.in: Likewise.
53457         * sysdeps/sparc/configure.in: Likewise.
53458         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
53459         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
53460         * sysdeps/i386/configure.in: Likewise.
53461         * sysdeps/x86_64/configure.in: Likewise.
53462         * sysdeps/sh/configure.in: Likewise.
53463         * sysdeps/s390/s390-32/configure: Regenerated.
53464         * sysdeps/s390/s390-64/configure: Likewise.
53465         * sysdeps/x86_64/configure: Likewise.
53466         * sysdeps/sh/configure: Likewise.
53467         * sysdeps/powerpc/powerpc64/configure: Likewise.
53468         * sysdeps/powerpc/powerpc32/configure: Likewise.
53469         * sysdeps/sparc/configure: Likwise.
53470         * sysdeps/i386/configure: Likewise.
53472         * elf/dl-open.c: Comment fixes.
53474 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
53476         * Makefile [CXX] (check-data): Remove.
53477         [CXX] (c++-types.data): New vpath directive.
53478         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
53479         vpath.  Do not allow for C++ type data being missing.
53480         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
53481         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
53482         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
53483         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
53484         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
53485         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
53486         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
53487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
53488         ... here.
53489         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
53490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
53491         ... here.
53492         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
53493         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
53494         ... here.
53495         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
53496         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
53497         ... here.
53498         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
53499         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
53500         ... here.
53501         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
53502         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
53503         ... here.
53504         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
53505         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
53506         ... here.
53507         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
53508         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
53510         * elf/tls-macros.h (TLS_LE): Move architecture-specific
53511         definitions to architecture-specific files.
53512         (TLS_IE): Likewise.
53513         (TLS_LD): Likewise.
53514         (TLS_GD): Likewise.
53515         * sysdeps/i386/tls-macros.h: New file.
53516         * sysdeps/powerpc/tls-macros.h: Likewise.
53517         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
53518         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
53519         * sysdeps/sh/tls-macros.h: Likewise.
53520         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
53521         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
53522         * sysdeps/x86_64/tls-macros.h: Likewise.
53524 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
53526         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
53527         zero value for regular exit case.
53529         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
53530         (__start_context): Preserve zero value for regular exit case.
53532 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
53533             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53535         * manual/setjmp.texi (setcontext): Clarify normal process
53536         termination when uc_link is the null pointer.
53537         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
53538         exit call.
53540 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
53542         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
53543         preprocessor.  Test for each exception mask separately.
53545 2012-07-16  Andreas Jaeger  <aj@suse.de>
53547         * po/ru.po: Update from translation team.
53549 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
53551         * conform/data/string.h-data (NULL): Use macro-constant.  Require
53552         equal to 0.
53553         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
53554         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
53555         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
53556         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
53557         [ISO || ISO99 || ISO11] (*_t): Do not allow.
53559 2012-07-13  Andreas Jaeger  <aj@suse.de>
53561         * po/fr.po: Update from translation team.
53563 2012-07-12  Marek Polacek  <polacek@redhat.com>
53565         [BZ #14173]
53566         * math/libm-test.inc (yn_test): Add test for BZ #14173.
53567         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
53568         loop condition.
53570 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
53572         [BZ #13717]
53573         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
53574         Change to 2.4.1 where previously 2.4.0.
53575         * sysdeps/unix/sysv/linux/configure: Regenerated.
53576         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
53577         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
53578         version.
53579         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
53580         (__ASSUME_AT_CLKTCK): Remove.
53581         (__ASSUME_AT_PAGESIZE): Likewise.
53582         (__ASSUME_AT_XID): Likewise.
53583         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
53584         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
53585         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
53586         unconditionally.
53587         (HAVE_AUX_PAGESIZE): Likewise.
53588         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
53589         [__ASSUME_AT_CLKTCK]: Make code unconditional.
53590         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
53592 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
53594         [BZ #14307]
53595         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
53596         the temporary buffer used to invoke __gethostbyname2_r,
53597         __gethostbyaddr_r and gethostbyname4_r to make room for struct
53598         host_data / struct gaih_addrtuple.
53599         * resolv/nss_dns/dns-host.c (global scope): Move definition of
53600         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
53601         header file nss/nsswitch.h.
53602         * nss/nsswitch.h (global scope): Add definition of implementation
53603         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
53604         resolv/nss_dns/dns-host.c).
53606 2012-07-11  Andreas Jaeger  <aj@suse.de>
53608         * po/fr.po: Update from translation team.
53610         * po/sv.po: Update from translation team
53611         * po/fr.po: Another update from translation team.
53613 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53615         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
53616         for subnormals or multiply small sinh result by itself.
53617         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
53618         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53620 2012-07-11  David S. Miller  <davem@davemloft.net>
53622         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53624 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
53626         [BZ #14347]
53627         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
53628         (INTERNAL_MARK): Shift it here.
53630 2012-07-10  Marek Polacek  <polacek@redhat.com>
53632         [BZ #14151]
53633         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
53634         libc_cv_asm_global_directive with .globl.
53635         * configure: Regenerated.
53636         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
53637         with .globl.
53638         * sysdeps/i386/configure: Regenerated.
53639         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
53640         with .globl.
53641         * sysdeps/x86_64/configure: Regenerated.
53642         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
53643         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
53644         * elf/tst-unique2mod2.c: Likewise.
53645         * elf/tst-unique2mod1.c: Likewise.
53646         * elf/tst-unique1mod2.c: Likewise.
53647         * elf/tst-unique1mod1.c: Likewise.
53648         * sysdeps/s390/s390-32/sysdep.h: Likewise.
53649         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
53650         * sysdeps/s390/s390-64/sysdep.h: Likewise.
53651         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
53652         * sysdeps/mach/sysdep.h: Likewise.
53653         * sysdeps/i386/sysdep.h: Likewise.
53654         * sysdeps/i386/i386-mcount.S: Likewise.
53655         * sysdeps/x86_64/_mcount.S: Likewise.
53656         * sysdeps/x86_64/sysdep.h: Likewise.
53657         * sysdeps/sh/_mcount.S: Likewise.
53658         * sysdeps/sh/sysdep.h: Likewise.
53659         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
53660         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
53661         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
53662         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
53663         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
53664         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
53665         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
53666         * locale/localeinfo.h: Likewise.
53667         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
53668         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
53670 2012-07-09  Roland McGrath  <roland@hack.frob.com>
53672         [BZ #14336]
53673         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
53674         system".
53675         * manual/message.texi (The Uniforum approach): Likewise.
53676         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
53677         (glibc iconv Implementation): Likewise.
53679 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
53681         [BZ #14337]
53682         * math/s_clog.c (__clog): Avoid scaling a value down where that
53683         could result in underflow.
53684         * math/s_clog10.c (__clog10): Likewise.
53685         * math/s_clog10f.c (__clog10f): Likewise.
53686         * math/s_clog10l.c (__clog10l): Likewise.
53687         * math/s_clogf.c (__clogf): Likewise.
53688         * math/s_clogl.c (__clogl): Likewise.
53689         * math/libm-test.inc (clog_test): Add more tests.
53690         (clog10_test): Likewise.
53691         * sysdeps/i386/fpu/libm-test-ulps: Update.
53692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53694 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
53696         [BZ #14283]
53697         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
53698         by 7 not 8 to examine high bit of fractional part.
53700         [BZ #14042]
53701         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
53702         for call to __mcount_internal.
53703         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
53704         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
53705         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
53707 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
53709         [BZ #14154]
53710         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
53711         approximation for values within 0x1p-13f of an odd multiple of
53712         pi/4.
53713         * math/libm-test.inc (tan_test): Do not allow spurious underflow
53714         exception.  Add more tests.
53715         * sysdeps/i386/fpu/libm-test-ulps: Update.
53717         [BZ #6778]
53718         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
53719         inputs and return -1 for them.  Do not check for +Inf in case not
53720         reachable for +Inf.
53721         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
53722         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
53723         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
53724         and return -1 for them.  Do not check for +Inf in case not
53725         reachable for +Inf.
53726         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
53727         define.
53728         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
53729         and return -1 for them.  Do not check for +Inf in case not
53730         reachable for +Inf.
53731         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
53732         spurious underflow.
53733         * sysdeps/i386/fpu/libm-test-ulps: Update.
53734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53736 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
53738         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
53740 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
53742         [BZ #14157]
53743         [BZ #14331]
53744         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
53745         could result in spurious underflow.  Scale down values above
53746         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
53747         * math/s_csqrtf.c (__csqrtf): Likewise.
53748         * math/s_csqrtl.c (__csqrtl): Likewise.
53749         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
53750         spurious underflow.
53751         * sysdeps/i386/fpu/libm-test-ulps: Update.
53752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53754 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
53756         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
53757         xopen-msg.sed.
53758         * catgets/xopen-msg.awk: New file.
53759         * catgets/xopen-msg.sed: Removed.
53761         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
53762         po2text.sed.
53763         * intl/po2test.awk: New file.
53764         * intl/po2test.sed: Removed.
53766 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
53768         [BZ #14328]
53769         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
53770         or multiply small sinh result by itself.
53771         * math/s_ctanf.c (__ctanf): Likewise.
53772         * math/s_ctanh.c (__ctanh): Likewise.
53773         * math/s_ctanhf.c (__ctanhf): Likewise.
53774         * math/s_ctanhl.c (__ctanhl): Likewise.
53775         * math/s_ctanl.c (__ctanl): Likewise.
53776         * math/libm-test.inc (ctan_test_tonearest): New function.
53777         (ctan_test_towardzero): Likewise.
53778         (ctan_test_downward): Likewise.
53779         (ctan_test_upward): Likewise.
53780         (ctanh_test_tonearest): Likewise.
53781         (ctanh_test_towardzero): Likewise.
53782         (ctanh_test_downward): Likewise.
53783         (ctanh_test_upward): Likewise.
53784         (main): Call these new functions.
53785         * sysdeps/i386/fpu/libm-test-ulps: Update.
53786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53788 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
53790         * .gitignore: Delete /ports entry.
53792 2012-07-03  Andreas Jaeger  <aj@suse.de>
53794         * po/bg.po: Update from translation team.
53795         * po/cs.po: Likewise.
53796         * po/de.po: Likewise.
53797         * po/hr.po: Likewise.
53798         * po/nl.pl: Likewise.
53799         * po/pl.po: Likewise.
53800         * po/vi.po: Likewise.
53802 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
53804         * Makeconfig [!+link] (+link-before-libc): New variable.
53805         [!+link] (+link-after-libc): Likewise.
53806         [!+link] (+link-tests): Likewise.
53807         [!+link] (+link): Define in terms of $(+link-before-libc) and
53808         $(+link-after-libc).
53809         [!+link-static] (+link-static-before-libc): New variable.
53810         [!+link-static] (+link-static-after-libc): Likewise.
53811         [!+link-static] (+link-static-tests): Likewise.
53812         [!+link-static] (+link-static): Define in terms of
53813         $(+link-static-before-libc) and $(+link-static-after-libc).
53814         [build-shared] (link-libc-before-gnulib): New variable.
53815         [build-shared] (link-libc-tests): Likewise.
53816         [build-shared] (link-libc): Define in terms of
53817         $(link-libc-before-gnulib).
53818         [!build-shared] (link-libc-tests): New variable.
53819         (link-libc-static-tests): New variable.
53820         [!gnulib] (gnulib-arch): New variable.
53821         [!gnulib] (gnulib-tests): Likewise.
53822         [!gnulib] (static-gnulib-arch): Likewise.
53823         [!gnulib] (static-gnulib-tests): Likewise.
53824         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
53825         Define with "=" instead of ":=".
53826         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
53827         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
53828         * Rules (binaries-all-notests): New variable.
53829         (binaries-all-tests): Likewise.
53830         (binaries-static-notests): Likewise.
53831         (binaries-static-tests): Likewise.
53832         (binaries-all): Define using $(binaries-all-notests) and
53833         $(binaries-all-tests).
53834         (binaries-static): Define using $(binaries-static-notests) and
53835         $(binaries-static-tests).
53836         (binaries-shared-tests): New variable.
53837         (binaries-shared-notests): Likewise.
53838         (binaries-shared): Remove variable.
53839         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
53840         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
53841         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
53842         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
53843         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
53844         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
53845         * elf/Makefile (sln-modules): New variable.
53846         (extra-objs): Add $(sln-modules:=.o).
53847         (ldconfig-modules): Add static-stubs.
53848         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
53849         * elf/static-stubs.c: New file.
53851         [BZ #14283]
53852         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
53853         by 7 not 8 to examine high bit of fractional part.  Use volatile
53854         variables when splitting into final array of floats if
53855         __FLT_EVAL_METHOD__ != 0.
53856         * math/libm-test.inc (cos_test): Add another test.
53857         (sin_test): Likewise.
53858         * sysdeps/i386/fpu/libm-test-ulps: Update.
53860         [BZ #14273]
53861         * math/libm-test.inc (cosh_test): Add more tests.
53863         * version.h (RELEASE): Set to "development".
53864         (VERSION): Set to "2.16.90".
53866 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
53868         * NEWS: Update copyright. Remove last-updated date.
53869         Mention math library bug fixes and timezone data changes.
53870         * README: Mention GNU/Hurd, x32, and HPPA support status.
53872 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
53874         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
53876 2012-06-27  Andreas Jaeger  <aj@suse.de>
53878         * manual/contrib.texi (Contributors): Add Samuel Thibault.
53880 2012-06-25  Andreas Jaeger  <aj@suse.de>
53882         * sysdeps/s390/fpu/libm-test-ulps: Update.
53884 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
53885             Thomas Schwinge  <thomas@codesourcery.com>
53887         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
53888         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
53889         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
53890         fanotify_mark.
53892 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
53894         * sysdeps/mach/start.c: Remove file.
53895         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
53896         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
53897         * sysdeps/sh/init-first.c: Likewise.
53899         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
53900         registers for frame unwinding purposes, add CFI directives.
53901         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
53902         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
53903         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
53904         Likewise.
53906         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
53907         __fortify_fail returning.
53908         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
53910         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
53911         sysdeps/sh/____longjmp_chk.S.
53912         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
53913         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
53914         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
53915         (gen-as-const-headers): Append sigaltstack-offsets.sym.
53917         * sysdeps/sh/abort-instr.h: New file.
53918         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
53919         process in case exit returns.
53921         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
53922         initialize the GOT register before use.
53924         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
53925         calculation of ARGC > 4.
53927         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
53928         meaningful names to some local labels.
53930 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53931             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53933         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
53934         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
53935         (__arch_compare_and_exchange_val_16_acq): Likewise.
53936         (__arch_compare_and_exchange_val_32_acq): Likewise.
53937         (atomic_exchange_and_add): Fix gUSA sequence.
53938         (atomic_add): Likewise.
53939         (atomic_add_negative): Likewise.
53940         (atomic_add_zero): Likewise.
53941         (atomic_bit_test_set): Likewise.
53943 2012-06-22  Andreas Schwab  <schwab@redhat.com>
53945         [BZ #13579]
53946         * include/link.h (struct link_map): Add l_free_initfini.
53947         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
53948         l_initfini.
53949         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
53950         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
53951         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
53952         set.
53954 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
53956         * configure.in: Use AC_LANG_SOURCE.
53957         * configure: Regenerate.
53959 2012-06-22  Roland McGrath  <roland@hack.frob.com>
53961         * configure.in (libc_cv_localstatedir): New substituted variable.
53962         * configure: Regenerated.
53963         * config.make.in (localstatedir): New variable, substituted from
53964         libc_cv_localstatedir.
53965         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
53966         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
53967         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
53968         * sysdeps/gnu/configure: Regenerated.
53970 2012-06-21  Jeff Law  <law@redhat.com>
53972         [BZ #14277]
53973         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
53974         free.  Simplify list management for _LIBC case.
53976 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
53978         [BZ #14273]
53979         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
53980         Clear sign bit of 64-bit integer value before comparing against
53981         overflow value.
53983         * sysdeps/mach/configure: Regenerated.
53985 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
53987         [BZ #14278]
53988         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
53990 2012-06-21  Jeff Law  <law@redhat.com>
53992         [BZ #13882]
53993         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
53994         uint16_t for elements in the "seen" array to avoid char overflows.
53995         * elf/dl-fini.c (_dl_sort_fini): Likewise.
53996         * elf/dl-open.c (dl_open_worker): Likewise.
53998 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
54000         * scripts/list-sources.sh: Scan PORTS for translations.
54001         * po/libc.pot: Regenerated.
54003 2012-06-21  Andreas Jaeger  <aj@suse.de>
54005         [BZ #12194]
54006         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
54007         warning.
54008         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
54009         * bits/byteswap-16.h (__bswap_16): Likewise.
54010         * bits/byteswap.h (__bswap_constant_16): Likewise.
54012 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
54014         [BZ #14117]
54015         * sysdeps/i386/fpu_control.h: Removed.
54016         * sysdeps/x86_64/fpu_control.h: Moved to ...
54017         * sysdeps/x86/fpu_control.h: Here.
54019         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
54020         (_FPU_SETCW): Likewise.
54022 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
54024         [BZ #14117]
54025         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
54026         * sysdeps/x86/fpu/bits/mathinline.h: This.
54027         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
54029         [BZ #14050]
54030         [BZ #14117]
54031         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
54032         functions if __x86_64__ is defined.
54034 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
54036         * string/endian.h: Add !__ASSEMBLER__ condition for including
54037         conversion interfaces.
54039 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
54041         [BZ #14241]
54042         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
54043         of ABS(x) in calculating zero to negative powers other than odd
54044         integers.
54045         * math/libm-test.inc (pow_test): Add more tests.
54047 2012-06-15  Andreas Jaeger  <aj@suse.de>
54049         * manual/contrib.texi (Contributors): Update entry of Liubov
54050         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
54051         Machado Filho.
54053 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
54055         * string/string.h: Add __wur to GNU version of strerror_r.
54057 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
54059         [BZ #14229]
54060         * string/Makefile (tests): Add tst-strtok_r.
54061         * string/tst-strtok_r.c: New file.
54062         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
54063         RAX_LP/RDX_LP on SAVE_PTR.
54065 2012-06-14  Roland McGrath  <roland@hack.frob.com>
54067         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
54069 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
54071         * libm_test.inc (csqrt_test): Allow more spurious underflow
54072         exceptions.
54073         (j0_test): Likewise.
54074         (j1_test): Likewise.
54075         (y0_test): Likewise.
54076         (y1_test): Likewise.
54078 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
54080         * po/Makefile (libc.pot): Use UTF-8 charset.
54082 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
54084         [BZ #14210]
54085         Suppress sign-conversion warning from FD_SET.
54086         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
54087         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
54088         not unsigned long int.
54089         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
54091 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
54093         [BZ #14050]
54094         [BZ #14117]
54095         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
54096         __extern_always_inline instead of __extern_inline.
54097         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
54098         (__signbit): Likewise.
54099         (__signbitl): Support C++ namespace.
54100         (lrintf): New inline function.
54101         (lrint): Likewise.
54102         (llrintf): Likewise.
54103         (llrint): Likewise.
54104         (fmaxf): Likewise.
54105         (fmax): Likewise.
54106         (fminf): Likewise.
54107         (fmin): Likewise.
54108         (rint): Likewise.
54109         (rintf): Likewise.
54110         (ceil): Likewise.
54111         (ceilf): Likewise.
54112         (floor): Likewise.
54113         (floorf): Likewise.
54114         (nearbyint): Likewise.
54115         (nearbyintf): Likewise.
54117 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
54119         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
54120         non-default versions.
54122 2012-06-11  Roland McGrath  <roland@hack.frob.com>
54124         [BZ #14218]
54125         * manual/argp.texi (Argp): Reword argp_parse description slightly.
54127 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
54129         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
54130         (FE_UPWARD, FE_DOWNWARD): Don't define.
54131         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
54132         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
54134         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
54135         reading it.
54136         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
54137         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54139 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54141         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
54142         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
54143         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
54144         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
54146 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
54148         [BZ #14117]
54149         * sysdeps/i386/fpu/bits/fenv.h: Removed.
54150         * sysdeps/i386/fpu/Implies: New file.
54151         * sysdeps/x86_64/fpu/Implies: Likewise.
54152         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
54153         * sysdeps/x86/fpu/bits/fenv.h: This.
54155         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
54156         __SSE_MATH__.
54158 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
54160         [BZ #14134]
54161         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
54162         character 0xffff that matches the last element of the
54163         conversion table.
54165 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54167         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
54168         fmodl commit.
54170 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54172         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
54173         values higher than 25.6283.
54175 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54177         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
54178         subnormal exponent extraction and add some __builtin_expect.
54179         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
54180         Fix for subnormal mantissa calculation.
54182 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
54184         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
54185         cpu2 is -1 and errno is not ENOSYS.
54187 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
54189         [BZ #14117]
54190         * sysdeps/i386/i486/bits/string.h: Renamed to ...
54191         * sysdeps/x86/bits/string.h: This.
54192         * sysdeps/x86_64/bits/string.h: Removed.
54194         * sysdeps/i386/i486/bits/string.h: Define inline functions only
54195         if not compiling for x86-64, but compiling for >= i486.
54197         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
54198         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
54200         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
54201         New macro from Linux kernel 3.4.0.
54202         (FP_XSTATE_MAGIC2): Likewise.
54203         (FP_XSTATE_MAGIC2_SIZE): Likewise.
54204         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
54205         (struct _fpx_sw_bytes): New struct.
54206         (struct _xsave_hdr): Likewise.
54207         (struct _ymmh_state): Likewise.
54208         (struct _xstate): Likewise.
54210         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
54211         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
54212         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
54213         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
54214         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
54215         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
54217         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
54218         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
54219         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
54220         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
54221         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
54222         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
54224 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54226         [BZ #13743]
54227         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
54228         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
54229         (sysdep_headers): Include sys/platform/ppc.h.
54230         * sysdeps/powerpc/test-gettimebase.c: Test for
54231         __ppc_get_timebase() to catch future ISA opcode/insn changes.
54232         * manual/Makefile (appendices): Include platform.texi.
54233         * manual/contrib.texi (Contributors): Update @node pointers.
54234         * manual/maint.texi (Maintenance): Likewise.
54235         (Platform): New node.
54236         * manual/platform.texi: New file.  Document the new features.
54238 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54239             Jakub Jelinek  <jakub@redhat.com>
54241         [BZ #14188]
54242         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
54243         where __builtin_expect is unavailable.
54245 2012-06-03  David S. Miller  <davem@davemloft.net>
54247         * stdlib/longlong.h: Updated from GCC.
54249 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
54251         [BZ #14042]
54252         * sysdeps/powerpc/powerpc32/mcount.c: New file.
54253         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
54254         __mcount_internal.
54255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
54256         (GLIBC_2.16): Likewise.
54258 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
54260         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
54262 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
54264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
54265         (default-abi): New variable.
54266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
54267         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
54268         variable.
54269         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
54270         Likewise.
54271         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
54272         Likewise.
54273         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
54274         Likewise.
54276         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
54277         definition.  Document in comment.
54279 2012-06-01  David S. Miller  <davem@davemloft.net>
54281         * stdlib/longlong.h: Updated from GCC.
54283 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
54285         [BZ #14117]
54286         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
54287         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
54288         sys/debugreg.h sys/io.h here.
54289         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
54290         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
54291         sys/io.h.
54292         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
54293         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
54294         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
54295         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
54296         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
54297         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
54299         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
54300         Define only if __x86_64__ is defined.
54302 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
54304         [BZ #14048]
54305         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
54306         Use int64_t for variable i.
54307         * math/libm-test.inc (fmod_test): Add more tests.
54309         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
54310         z computation is not scheduled after fetestexcept.
54311         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
54312         Use math_force_eval instead of asm to ensure calculation scheduled
54313         before exception test.
54314         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
54315         Ensure a1 + u.d computation is not scheduled after fetestexcept.
54317 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
54319         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
54320         computation is not scheduled after fetestexcept.
54322 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
54324         [BZ #14117]
54325         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
54326         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
54328 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54330         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
54331         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
54333 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
54335         [BZ #14117]
54336         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
54337         <bits/wordsize.h>.
54338         (__WCHAR_MIN): Support __WORDSIZE == 64.
54339         (__WCHAR_MAX): Likewise.
54341         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
54342         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
54344         [BZ #14183]
54345         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
54346         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
54348         [BZ #14117]
54349         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
54350         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
54352         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
54353         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
54355         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
54356         Defined to 1 if __x86_64__ isn't defined.
54357         (_STAT_VER_LINUX_OLD): New.
54358         (st_atime): Remove duplicate.
54359         (st_mtime): Likewise.
54360         (st_ctime): Likewise.
54362 2012-05-31  David S. Miller  <davem@davemloft.net>
54364         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
54365         entries.
54367 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
54369         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
54370         gen-libm-test.pl.
54372         [BZ #14132]
54373         * elf/dl-reloc.c: Include <_itoa.h>.
54374         (_dl_reloc_bad_type): Remove use of INTUSE.
54375         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
54376         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
54377         * stdio-common/psiginfo.c (psiginfo): Likewise.
54378         * stdio-common/psignal.c (psignal): Likewise.
54379         * string/strsignal.c (strsignal): Likewise.
54380         * include/signal.h (_sys_siglist): Declare hidden proto.
54381         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
54382         INTVARDEF with libc_hidden_data_def.
54383         * stdio-common/itoa-udigits.c: Likewise.
54384         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
54385         (_itoa_lower_digits_internal): Remove declaration.
54386         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
54387         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
54388         (_sys_sigabbrev_internal): Remove aliases.
54389         (_sys_siglist): Define hidden alias.
54391 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
54393         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54394         bits/sysctl.h.
54396 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
54398         [BZ #14117]
54399         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
54400         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
54402         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
54403         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
54404         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
54405         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
54406         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
54407         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
54409         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
54410         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
54411         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
54413         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
54414         with __addr.
54415         (insw): Likewise.
54416         (insl): Likewise.
54417         (outsb): Likewise.
54418         (outsw): Likewise.
54419         (outsl): Likewise.
54421         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
54422         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
54423         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
54425         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
54426         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
54427         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
54428         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
54429         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
54430         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
54432         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
54433         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
54435         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
54436         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
54438         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
54439         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
54440         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
54442         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
54443         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
54444         to ...
54445         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
54447         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
54448         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
54449         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
54451         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
54452         for x86-64.
54453         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
54455 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
54457         * math/math.h (M_El): Use two more decimal places.
54458         (M_LOG2El): Likewise.
54459         (M_LOG10El): Likewise.
54460         (M_LN2l): Likewise.
54461         (M_LN10l): Likewise.
54462         (M_PIl): Likewise.
54463         (M_PI_2l): Likewise.
54464         (M_PI_4l): Likewise.
54465         (M_1_PIl): Likewise.
54466         (M_2_PIl): Likewise.
54467         (M_2_SQRTPIl): Likewise.
54468         (M_SQRT2l): Likewise.
54469         (M_SQRT1_2l): Likewise.
54471 2012-05-31  David S. Miller  <davem@davemloft.net>
54473         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
54474         values between float registers.
54475         * sysdeps/sparc/sparc64/memset.S: Likewise.
54476         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
54478 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
54480         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
54481         -D_FORTIFY_SOURCE=1.
54482         (CPPFLAGS-tst-longjmp_chk.c): Define.
54483         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
54484         (CPPFLAGS-tst-longjmp_chk2.c): Define.
54485         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
54486         CFLAGS-tst-wchar-h.c.
54488 2012-05-31  Marek Polacek  <polacek@redhat.com>
54490         [BZ #14132]
54491         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
54492         __endmntent_internal): Remove declaration.
54493         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
54494         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
54495         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
54497 2012-05-30  David S. Miller  <davem@davemloft.net>
54499         * sysdeps/sparc/sparc32/soft-fp/q_util.c
54500         (___Q_simulate_exceptions): Use real FP ops rather than writing
54501         into the %fsr.
54502         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
54503         Likewise.
54505 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
54507         [BZ #14117]
54508         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
54509         * sysdeps/x86/bits/xtitypes.h: This.
54511         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
54512         * sysdeps/x86/bits/wordsize.h: This.
54514         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
54515         * sysdeps/x86/bits/huge_vall.h: This.
54517         * sysdeps/i386/bits/select.h: Removed.
54518         * sysdeps/x86_64/bits/select.h: Renamed to ...
54519         * sysdeps/x86/bits/select.h: This.
54521         * sysdeps/i386/bits/setjmp.h: Removed.
54522         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
54523         * sysdeps/x86/bits/setjmp.h: This.
54525         * sysdeps/i386/bits/mathdef.h: Removed.
54526         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
54527         * sysdeps/x86/bits/mathdef.h: This.
54529 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
54531         [BZ #14132]
54532         * include/sys/socket.h (__connect_internal)
54533         (__libc_sa_len_internal): Remove declaration.
54534         (__connect, __libc_sa_len): Declare hidden_proto.
54535         (SA_LEN): Remove use of INTUSE.
54536         * socket/connect.c: Add libc_hidden_def.
54537         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
54538         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
54539         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
54540         alias.
54541         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
54542         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
54543         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
54544         of adding _internal alias.
54546 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
54548         [BZ #14117]
54549         * sysdeps/i386/bits/link.h: Removed.
54550         * sysdeps/i386/bits/linkmap.h: Likewise.
54551         * sysdeps/x86_64/bits/link.h: Renamed to ...
54552         * sysdeps/x86/bits/link.h: This.
54553         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
54554         * sysdeps/x86/bits/linkmap.h: This.
54556         * sysdeps/i386/bits/endian.h: Removed.
54557         * sysdeps/x86_64/bits/endian.h: Renamed to ...
54558         * sysdeps/x86/bits/endian.h: This.
54560         * sysdeps/i386/bits/byteswap.h: Removed.
54561         * sysdeps/i386/bits/byteswap-16.h: Likewise.
54562         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
54563         * sysdeps/x86/bits/byteswap.h: This.
54564         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
54565         * sysdeps/x86/bits/byteswap-16.h: This.
54566         * sysdeps/i386/Implies: Add x86.
54567         * sysdeps/x86_64/Implies: Likewise.
54569 2012-05-30  David S. Miller  <davem@davemloft.net>
54571         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
54572         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
54573         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
54574         (FP_TRAPPING_EXCEPTIONS): Define.
54575         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
54576         (FP_TRAPPING_EXCEPTIONS): Define.
54577         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
54578         subnormals only when inexact has been signalled or underflow
54579         exceptions are enabled.
54580         (_FP_PACK_CANONICAL): Likewise.
54582 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
54584         [BZ #14183]
54585         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
54586         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
54588 2012-05-30  Richard Henderson  <rth@twiddle.net>
54590         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
54591         with #ifndef NOT_IN_libc.
54593         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
54594         marked to avoid plt entry.
54596 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
54598         [BZ #14112]
54599         * Makeconfig (default-abi): New macro.
54600         (abi-includes): Likewise.
54601         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
54602         $(abi-$(default-abi)-lib-soname) for soname if defined.
54603         ($(common-objpfx)gnu/lib-names.stmp): Generate from
54604         abi-variants.
54605         * Makefile (installed-stubs): Likewise.
54606         * include/stubs-biarch.h: Removed.
54607         * scripts/lib-names.awk: Only handle one library at a time.
54608         * scripts/soversions.awk: Remove WORDSIZE support.
54609         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
54610         entries.
54611         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
54612         Removed.
54613         (syscall-list-default-condition): Likewise.
54614         (syscall-list-default-condition): Likewise.
54615         (syscall-list-includes): Likewise.
54616         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
54617         syscall-list-* with abi-*.  Handle undefined abi-variants.
54618         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
54619         * sysdeps/unix/sysv/linux/i386/Implies: New file.
54620         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
54621         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
54622         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
54623         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
54624         Removed.
54625         (syscall-list-32-options): Likewise.
54626         (syscall-list-32-condition): Likewise.
54627         (syscall-list-64-options): Likewise.
54628         (syscall-list-64-condition): Likewise.
54629         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
54630         macro.
54631         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
54632         Renamed to ...
54633         (abi-*): This.
54634         (abi-64-ld-soname): New macro.
54635         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
54636         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
54637         Renamed to ...
54638         (abi-*): This.
54639         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
54640         * sysdeps/x86_64/x32/shlib-versions: Likewise.
54642 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
54644         * sysdeps/unix/sysv/linux/kernel-features.h
54645         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
54646         * sysdeps/unix/sysv/linux/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/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.
54658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
54659         include <kernel-features.h>.
54660         [!__NR_ftruncate64]: Remove conditional code.
54661         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54662         [__NR_ftruncate64]: Make code unconditional.
54663         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
54665         include <kernel-features.h>.
54666         [!__NR_ftruncate64]: Remove conditional code.
54667         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54668         [__NR_ftruncate64]: Make code unconditional.
54669         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54671         * configure.in (libc_cv_fpie): Weaken to a compile test using
54672         LIBC_TRY_CC_OPTION.
54673         * configure: Regenerated.
54675 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54677         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
54678         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
54679         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
54680         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
54681         Refreshed.
54682         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
54683         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
54684         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
54685         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
54686         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
54687         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
54688         Refreshed.
54690 2012-05-27  David S. Miller  <davem@davemloft.net>
54692         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
54693         (___Q_zero): New.
54694         (__Q_simulate_exceptions): Return void.  Change to simulate
54695         exceptions by writing into the %fsr.
54696         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
54697         (__Qp_handle_exceptions): Likewise.
54698         (numbers): Delete.
54699         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
54700         __Qp_handle_exceptions.
54701         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
54702         __Qp_handle_exceptions.
54703         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
54704         as unused and give dummy FP_RND_NEAREST initializer.
54705         (FP_INHIBIT_RESULTS): Define.
54706         (___Q_simulate_exceptions): Update declaration.
54707         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
54708         formatting.
54709         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
54710         as unused and give dummy FP_RND_NEAREST initializer.
54711         (__Qp_handle_exceptions): Update declaration.
54712         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
54713         formatting.
54715 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
54717         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
54718         the temporary FPU control word.
54719         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
54720         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
54721         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
54722         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
54723         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
54724         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
54725         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
54726         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
54727         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
54728         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
54729         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54731 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54733         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
54734         fields.
54736 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
54738         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
54739         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
54740         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
54741         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
54742         Likewise.
54743         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
54744         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
54745         Likewise.
54747 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
54749         * po/h.po: Update from translation team.
54751 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
54753         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
54755         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
54756         handling of denormals.
54757         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
54758         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
54759         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
54760         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
54761         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
54762         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
54763         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
54764         Likewise.
54766 2012-05-26  Marek Polacek  <polacek@redhat.com>
54768         [BZ #14152]
54769         * math/libm-test.inc (fma_test): Don't always expect underflow
54770         exception.
54772 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54774         [BZ #12416]
54775         * elf/tst-execstack.c: Include stackinfo.h.
54776         (do_test): Adjust test case to ensure that pthread_getattr_np
54777         behaviour remains the same after marking stack executable.
54779 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
54781         * sysdeps/unix/sysv/linux/kernel-features.h
54782         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
54783         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
54784         kernel-features.h.
54785         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
54786         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
54787         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
54788         kernel-features.h.
54789         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
54790         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
54792 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
54794         * configure.in: Define the default includes to being none.
54795         * configure: Regenerated.
54797 2012-05-25  Roland McGrath  <roland@hack.frob.com>
54799         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
54800         * sysdeps/x86_64/setjmp.S: Likewise.
54801         * sysdeps/i386/bsd-setjmp.S: Likewise.
54802         * sysdeps/i386/bsd-_setjmp.S: Likewise.
54803         * sysdeps/i386/setjmp.S: Likewise.
54804         * sysdeps/i386/__longjmp.S: Likewise.
54805         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
54806         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
54808         * include/stap-probe.h: New file.
54809         * configure.in: Handle --enable-systemtap.
54810         * configure: Regenerated.
54811         * config.h.in (USE_STAP_PROBE): New #undef.
54812         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
54813         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
54814         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
54816 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
54818         [BZ #13717]
54819         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
54820         to 2.4.0 where earlier.
54821         * sysdeps/unix/sysv/linux/configure: Regenerated.
54822         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
54823         <kernel-features.h>.
54824         [__ASSUME_32BITUIDS]: Make code unconditional.
54825         [!__ASSUME_32BITUIDS]: Remove conditional code.
54826         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
54827         <kernel-features.h>.
54828         [__ASSUME_32BITUIDS]: Make code unconditional.
54829         [!__ASSUME_32BITUIDS]: Remove conditional code.
54830         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
54831         [__ASSUME_32BITUIDS]: Make code unconditional.
54832         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
54833         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.c: Do not include
54862         <kernel-features.h>.
54863         [__ASSUME_32BITUIDS]: Make code unconditional.
54864         [!__ASSUME_32BITUIDS]: Remove conditional code.
54865         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
54866         <kernel-features.h>.
54867         [__ASSUME_32BITUIDS]: Make code unconditional.
54868         [!__ASSUME_32BITUIDS]: Remove conditional code.
54869         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
54870         <kernel-features.h>.
54871         [__ASSUME_32BITUIDS]: Make code unconditional.
54872         [!__ASSUME_32BITUIDS]: Remove conditional code.
54873         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
54874         <kernel-features.h>.
54875         [__NR_setresgid] (__setresgid): Do not declare.
54876         [__ASSUME_32BITUIDS]: Make code unconditional.
54877         [!__ASSUME_32BITUIDS]: Remove conditional code.
54878         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
54879         <kernel-features.h>.
54880         [__NR_setresuid] (__setresuid): Do not declare.
54881         [__ASSUME_32BITUIDS]: Make code unconditional.
54882         [!__ASSUME_32BITUIDS]: Remove conditional code.
54883         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/i386/setreuid.c: Do not include
54912         <kernel-features.h>.
54913         [__ASSUME_32BITUIDS]: Make code unconditional.
54914         [!__ASSUME_32BITUIDS]: Remove conditional code.
54915         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
54916         <kernel-features.h>.
54917         [__ASSUME_32BITUIDS]: Make code unconditional.
54918         [!__ASSUME_32BITUIDS]: Remove conditional code.
54919         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
54920         <kernel-features.h>.
54921         [__ASSUME_32BITUIDS]: Make code unconditional.
54922         [!__ASSUME_32BITUIDS]: Remove conditional code.
54923         * sysdeps/unix/sysv/linux/kernel-features.h
54924         (__ASSUME_SETRESUID_SYSCALL): Remove.
54925         (__ASSUME_SETRESGID_SYSCALL): Likewise.
54926         (__ASSUME_32BITUIDS): Likewise.
54927         (__ASSUME_LDT_WORKS): Likewise.
54928         (__ASSUME_O_DIRECTORY): Likewise.
54929         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
54930         architecture but not kernel version.
54931         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
54932         (__ASSUME_MMAP2_SYSCALL): Likewise.
54933         (__ASSUME_STAT64_SYSCALL): Likewise.
54934         (__ASSUME_IPC64): Likewise.
54935         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
54936         <kernel-features.h>.
54937         [__ASSUME_32BITUIDS]: Make code unconditional.
54938         [!__ASSUME_32BITUIDS]: Remove conditional code.
54939         * sysdeps/unix/sysv/linux/opendir.c: Do not include
54940         <kernel-features.h>.
54941         [__ASSUME_O_DIRECTORY]: Make code unconditional.
54942         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
54943         132096]: Remove conditional code.
54944         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
54945         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
54946         <kernel-features.h>.
54947         [__ASSUME_32BITUIDS]: Make code unconditional.
54948         [!__ASSUME_32BITUIDS]: Remove conditional code.
54949         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
54950         <kernel-features.h>.
54951         [__ASSUME_32BITUIDS]: Make code unconditional.
54952         [!__ASSUME_32BITUIDS]: Remove conditional code.
54953         * sysdeps/unix/sysv/linux/setegid.c: Do not include
54954         <kernel-features.h>.
54955         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
54956         unconditional.
54957         (__setresgid): Do not declare.
54958         [__ASSUME_32BITUIDS]: Make code unconditional.
54959         [!__ASSUME_32BITUIDS]: Remove conditional code.
54960         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
54961         <kernel-features.h>.
54962         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
54963         unconditional.
54964         (__setresuid): Do not declare.
54965         [__ASSUME_32BITUIDS]: Make code unconditional.
54966         [!__ASSUME_32BITUIDS]: Remove conditional code.
54967         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
54968         <kernel-features.h>.
54969         [__ASSUME_32BITUIDS]: Make code unconditional.
54970         [!__ASSUME_32BITUIDS]: Remove conditional code.
54971         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
54972         <kernel-features.h>.
54973         [__ASSUME_32BITUIDS]: Make code unconditional.
54974         [!__ASSUME_32BITUIDS]: Remove conditional code.
54976 2012-05-25  Richard Henderson  <rth@twiddle.net>
54978         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
54979         dl_hwcap to ifunc resolver.
54980         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
54981         elf_ifunc_invoke.
54982         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
54983         dl_hwcap to ifunc resolver.
54984         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
54986 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
54988         [BZ #14153]
54989         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
54990         for |x| <= 2**-26, not 2**-57.
54991         * math/libm-test.inc (acos_test): Do not allow spurious underflow
54992         exception.
54994 2012-05-24  Jeff Law  <law@redhat.com>
54996         * stdio-common/Makefile (tests): Add bug25.
54997         * stdio-common/bug25.c: New test.
54999 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
55001         [BZ #13576]
55002         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
55003         multiple of MALLOC_ALIGNMENT in size.
55004         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
55006 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
55008         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
55009         Require >= 256.
55010         (FILENAME_MAX): Use macro-int-constant.
55011         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
55012         (_IOFBF): Use macro-int-constant.
55013         (_IOLBF): Likewise.
55014         (_IONBF): Likewise.
55015         (SEEK_CUR): Likewise.
55016         (SEEK_END): Likewise.
55017         (SEEK_SET): Likewise.
55018         (TMP_MAX): Likewise.
55019         (EOF): Use macro-int-constant.  Require < 0.
55020         (NULL): Use macro-constant.  Require == 0.
55021         (stdin): Require type to be FILE *.
55022         (stdout): Likewise.
55023         (stderr): Likewise.
55024         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
55025         macro-int-constant.
55026         (EXIT_SUCCESS): Likewise.
55027         (NULL): Use macro-constant.  Require == 0.
55028         (RAND_MAX): Use macro-int-constant.
55029         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
55030         [C99-based standards] (strtof): Require function.
55031         [C99-based standards] (strtold): Likewise.
55032         [C99-based standards] (strtoll): Likewise.
55033         [C99-based standards] (strtoull): Likewise.
55034         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
55035         [ISO || ISO99 || ISO11] (limits.h): Likewise.
55036         [ISO || ISO99 || ISO11] (math.h): Likewise.
55037         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
55038         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
55039         [ISO || ISO99 || ISO11] (*_t): Do not allow.
55041 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
55043         [BZ #14132]
55044         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
55045         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
55046         * intl/dgettext.c (DCGETTEXT): Likewise.
55047         * intl/gettext.c (DCGETTEXT): Likewise.
55048         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
55049         * posix/regex_internal.h (gettext): Likewise.
55050         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
55051         Remove declaration.
55052         * include/argz.h (__argz_count_internal)
55053         (__argz_stringify_internal): Remove declaration.
55054         (__argz_count, __argz_stringify): Declare hidden proto.
55055         * intl/dcgettext.c: Remove use of INTDEF.
55056         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
55057         * string/argz-stringify.c: Likewise.
55058         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
55059         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
55060         Declare hidden proto.
55061         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
55062         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
55063         Declare hidden proto.
55064         * include/stdio.h (__asprintf_internal): Don't declare.
55065         (__asprintf): Don't define as macro.  Declare hidden proto.
55066         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
55067         (__fsetlocking): Declare hidden proto.
55068         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
55069         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
55070         hidden proto.
55071         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
55072         (_IO_setlinebuf): Remove use of INTUSE.
55073         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
55074         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
55075         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
55076         Remove declaration.
55077         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
55078         (_IO_do_flush): Remove use of INTUSE.
55079         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
55080         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
55081         (_IO_adjust_column, _IO_least_wmarker)
55082         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
55083         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
55084         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
55085         (_IO_default_doallocate, _IO_wdefault_doallocate)
55086         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
55087         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
55088         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
55089         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
55090         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
55091         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
55092         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
55093         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
55094         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
55095         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
55096         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
55097         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
55098         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
55099         proto.
55100         (_IO_flush_all_internal, _IO_adjust_column_internal)
55101         (_IO_default_uflow_internal, _IO_default_finish_internal)
55102         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
55103         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
55104         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
55105         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
55106         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
55107         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
55108         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
55109         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
55110         (_IO_file_close_internal, _IO_file_close_it_internal)
55111         (_IO_file_underflow_internal, _IO_file_overflow_internal)
55112         (_IO_file_init_internal, _IO_file_attach_internal)
55113         (_IO_file_fopen_internal, _IO_file_read_internal)
55114         (_IO_file_sync_internal, _IO_file_seek_internal)
55115         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
55116         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
55117         (_IO_str_underflow_internal, _IO_str_overflow_internal)
55118         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
55119         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
55120         (_IO_list_all_internal, _IO_link_in_internal)
55121         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
55122         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
55123         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
55124         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
55125         (_IO_do_write_internal, _IO_padn_internal)
55126         (_IO_getline_info_internal, _IO_getline_internal)
55127         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
55128         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
55129         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
55130         (_IO_vfscanf_internal, _IO_vfprintf_internal)
55131         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
55132         (_IO_init_internal, _IO_un_link_internal): Don't declare.
55133         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
55134         with libc_hidden_ver, remove use of INTUSE.
55135         * libio/genops.c: Likewise.
55136         * libio/freopen.c: Likewise.
55137         * libio/freopen64.c: Likewise.
55138         * libio/iofclose.c: Likewise.
55139         * libio/iofdopen.c: Likewise.
55140         * libio/iofflush.c: Likewise.
55141         * libio/iofflush_u.c: Likewise.
55142         * libio/iofgets.c: Likewise.
55143         * libio/iofgets_u.c: Likewise.
55144         * libio/iofopen.c: Likewise.
55145         * libio/iofopncook.c: Likewise.
55146         * libio/iofread.c: Likewise.
55147         * libio/iofread_u.c: Likewise.
55148         * libio/ioftell.c: Likewise.
55149         * libio/iofwrite.c: Likewise.
55150         * libio/iogetline.c: Likewise.
55151         * libio/iogets.c: Likewise.
55152         * libio/iogetwline.c: Likewise.
55153         * libio/iopadn.c: Likewise.
55154         * libio/iopopen.c: Likewise.
55155         * libio/ioseekoff.c: Likewise.
55156         * libio/ioseekpos.c: Likewise.
55157         * libio/iosetbuffer.c: Likewise.
55158         * libio/iosetvbuf.c: Likewise.
55159         * libio/ioungetc.c: Likewise.
55160         * libio/ioungetwc.c: Likewise.
55161         * libio/iovdprintf.c: Likewise.
55162         * libio/iovsprintf.c: Likewise.
55163         * libio/iovsscanf.c: Likewise.
55164         * libio/memstream.c: Likewise.
55165         * libio/obprintf.c: Likewise.
55166         * libio/oldfileops.c: Likewise.
55167         * libio/oldiofclose.c: Likewise.
55168         * libio/oldiofdopen.c: Likewise.
55169         * libio/oldiofopen.c: Likewise.
55170         * libio/oldiopopen.c: Likewise.
55171         * libio/oldstdfiles.c: Likewise.
55172         * libio/putc.c: Likewise.
55173         * libio/setbuf.c: Likewise.
55174         * libio/setlinebuf.c: Likewise.
55175         * libio/stdfiles.c: Likewise.
55176         * libio/strops.c: Likewise.
55177         * libio/vasprintf.c: Likewise.
55178         * libio/vscanf.c: Likewise.
55179         * libio/vsnprintf.c: Likewise.
55180         * libio/vswprintf.c: Likewise.
55181         * libio/wfiledoalloc.c: Likewise.
55182         * libio/wfileops.c: Likewise.
55183         * libio/wgenops.c: Likewise.
55184         * libio/wmemstream.c: Likewise.
55185         * libio/wstrops.c: Likewise.
55186         * libio/__fpurge.c: Likewise.
55187         * libio/__fsetlocking.c: Likewise.
55188         * assert/assert.c: Likewise.
55189         * debug/fgets_chk.c: Likewise.
55190         * debug/fgets_u_chk.c: Likewise.
55191         * debug/fread_chk.c: Likewise.
55192         * debug/fread_u_chk.c: Likewise.
55193         * debug/gets_chk.c: Likewise.
55194         * debug/obprintf_chk.c: Likewise.
55195         * debug/vasprintf_chk.c: Likewise.
55196         * debug/vdprintf_chk.c: Likewise.
55197         * debug/vsnprintf_chk.c: Likewise.
55198         * debug/vsprintf_chk.c: Likewise.
55199         * malloc/mtrace.c: Likewise.
55200         * misc/error.c: Likewise.
55201         * misc/syslog.c: Likewise.
55202         * stdio-common/asprintf.c: Likewise.
55203         * stdio-common/fxprintf.c: Likewise.
55204         * stdio-common/getw.c: Likewise.
55205         * stdio-common/isoc99_fscanf.c: Likewise.
55206         * stdio-common/isoc99_scanf.c: Likewise.
55207         * stdio-common/isoc99_vfscanf.c: Likewise.
55208         * stdio-common/isoc99_vscanf.c: Likewise.
55209         * stdio-common/isoc99_vsscanf.c: Likewise.
55210         * stdio-common/printf-prs.c: Likewise.
55211         * stdio-common/printf_fp.c: Likewise.
55212         * stdio-common/printf_fphex.c: Likewise.
55213         * stdio-common/printf_size.c: Likewise.
55214         * stdio-common/putw.c: Likewise.
55215         * stdio-common/scanf.c: Likewise.
55216         * stdio-common/sprintf.c: Likewise.
55217         * stdio-common/tmpfile.c: Likewise.
55218         * stdio-common/vfprintf.c: Likewise.
55219         * stdio-common/vfscanf.c: Likewise.
55220         * stdlib/strfmon_l.c: Likewise.
55221         * sunrpc/openchild.c: Likewise.
55222         * sunrpc/xdr_stdio.c: Likewise.
55223         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
55224         * sysdeps/mach/hurd/tmpfile.c: Likewise.
55226 2012-05-24  Roland McGrath  <roland@hack.frob.com>
55228         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
55230         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
55231         in the third column, to generate for the shared library an IFUNC
55232         that uses _dl_vdso_vsym.
55233         * Makerules (COMPILE.c, compile-stdin.c): New variables.
55234         * Makeconfig (object-suffixes-noshared): New variable.
55236         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
55237         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
55238         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
55239         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
55241         [BZ #14132]
55242         * include/sys/time.h (__gettimeofday): Remove macro.
55243         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
55244         * time/gettimeofday.c (__gettimeofday): Remove #undef.
55245         Remove INTDEF.
55246         (__gettimeofday): Add libc_hidden_def.
55247         (gettimeofday): Add libc_hidden_weak.
55248         * sysdeps/mach/gettimeofday.c: Likewise.
55249         * sysdeps/posix/gettimeofday.c: Likewise.
55250         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
55251         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
55252         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
55253         (__gettimeofday_internal): Remove strong_alias.
55254         (__gettimeofday): Add libc_hidden_def.
55255         (gettimeofday): Add libc_hidden_weak.
55256         * sysdeps/unix/syscalls.list (gettimeofday):
55257         Remove __gettimeofday_internal alias.
55259 2012-05-24  Daniel Jacobowitz  <drow@false.org>
55260             H.J. Lu  <hongjiu.lu@intel.com>
55262         [BZ #12495]
55263         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
55264         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
55265         (largebin_index_32_big): New.
55266         (largebin_index): Use it for 16-byte alignment.
55267         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
55268         correction with front_misalign.
55270 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
55272         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
55273         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
55274         Likewise.
55275         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
55276         Likewise.
55277         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
55278         Likewise.
55279         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
55280         Likewise.
55281         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
55282         Likewise.
55283         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
55284         Likewise.
55285         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
55286         Likewise.
55287         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
55288         Likewise.
55289         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
55290         Likewise.
55291         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
55292         Likewise.
55293         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
55294         Likewise.
55295         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
55296         Likewise.
55298         * scripts/data/c++-types-x32-linux-gnu.data: New file.
55299         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
55301 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
55303         [BZ #10846]
55304         [BZ #14036]
55305         * math/libm-test.inc (exp_test): Add test from bug 14036.
55306         (pow_test): Add test from bug 10846.
55308         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
55309         and other flags.
55310         (special_function): Do not include flags in test name.
55311         (parse_args): Likewise.
55312         * sysdeps/i386/fpu/libm-test-ulps: Update.
55313         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55314         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55315         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55318         * math/gen-libm-test.pl (%beautify): Add entries for underflow
55319         exceptions.
55320         * math/libm-test.inc ("Philosophy"): Update comment about
55321         exception testing.
55322         (UNDERFLOW_EXCEPTION): New macro.
55323         (UNDERFLOW_EXCEPTION_OK): Likewise.
55324         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
55325         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
55326         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
55327         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
55328         (INVALID_EXCEPTION_OK): Update value.
55329         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
55330         (OVERFLOW_EXCEPTION_OK): Likewise.
55331         (IGNORE_ZERO_INF_SIGN): Likewise.
55332         (test_exceptions): Handle underflow exceptions.
55333         (acos_test): Update for underflow exception expectations.
55334         (cexp_test): Likewise.
55335         (clog_test): Likewise.
55336         (clog10_test): Likewise.
55337         (csqrt_test): Likewise.
55338         (ctan_test): Likewise.
55339         (ctanh_test): Likewise.
55340         (exp_test): Likewise.
55341         (exp10_test): Likewise.
55342         (exp2_test): Likewise.
55343         (expm1_test): Likewise.
55344         (fma_test): Likewise.
55345         (j0_test): Likewise.
55346         (jn_test): Likewise.
55347         (nexttoward_test): Likewise.
55348         (pow_test): Likewise.
55349         (scalbn_test): Likewise.
55350         (scalbln_test): Likewise.
55351         (tan_test): Likewise.
55352         (y1_test): Likewise.
55353         * sysdeps/i386/fpu/libm-test-ulps: Update.
55354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55356 2012-05-23  David S. Miller  <davem@davemloft.net>
55358         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
55359         (__libc_sigaction): Remove unused local variables.
55361 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
55363         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
55365 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
55367         mktime: avoid signed integer overflow
55368         * time/mktime.c (__mktime_internal): Do not mishandle the case
55369         where diff == INT_MIN.
55371         mktime: simplify computation of average
55372         * time/mktime.c (ranged_convert): Use new time_t_avg function
55373         instead of rolling our own (probably-slower) code.
55375         mktime: do not assume signed right shift propagates sign bit
55376         * time/mktime.c (isdst_differ): New static function.
55377         (__mktime_internal): No need to normalize tm_isdst now.
55378         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
55379         tm_isdst values.
55381         mktime: merge another wrapv change from gnulib
55382         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
55383         from some compilers.
55385         mktime: remove incorrect attempt at unusual arithmetics
55386         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
55387         The code didn't really work on such machines anyway.
55388         (TYPE_MINIMUM): Assume two's complement.
55389         (twos_complement_arithmetic): Verify that long_int and time_t
55390         are two's complement (or unsigned, in the latter case).
55392         mktime: check signed shifts on long_int and time_t, too
55393         * time/mktime.c (SHR): Check that shifts work as desired
55394         on the types long_int and time_t too, as SHR is used on
55395         such types.
55397         mktime: do not assume 'long' is wide enough
55398         * time/mktime.c (verify): Move decl up.
55399         (long_int): New type.
55400         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
55401         to remove assumption in the code that 'long' is wide enough to
55402         store year values.  This assumption is not true on x32 and on
55403         some non-glibc platforms.
55405         mktime: merge wrapv change from gnulib
55406         * time/mktime.c (WRAPV): New macro.
55407         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
55408         (guess_time_tm, __mktime_internal): Do not assume that signed
55409         integer overflow wraps around; modern compilers generate code
55410         where this assumption is no longer valid.
55412 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
55414         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
55415         Replace "jmp L(pseudo_end)" with "ret".
55416         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
55417         Likewise.
55419 2012-05-23  Andreas Jaeger  <aj@suse.de>
55421         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
55422         * sysdeps/unix/sysv/linux/poll.c: Remove file.
55424 2012-05-23  Andreas Jaeger  <aj@suse.de>
55425             Maximilian Attems  <max@stro.at>
55427         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
55428         New macros.
55430 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
55432         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
55433         code so that pseudo_end is just ret and the stack pointer is
55434         correct also for static library in error case.
55436 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
55438         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
55439         move to syscalls.list.
55440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
55441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
55442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
55443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
55445         * manual/install.texi (Running make install): Do not mention Linux
55446         kernel version for which pt_chown is not needed.
55447         (Linux): Do not mention problems with nscd with 2.0 kernels.
55448         * INSTALL: Regenerated.
55450 2012-05-23  Andreas Jaeger  <aj@suse.de>
55452         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
55453         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
55454         macro.
55455         * sysdeps/unix/sysv/linux/s390/bits/mman.h
55456         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55457         * sysdeps/unix/sysv/linux/sh/bits/mman.h
55458         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55459         * sysdeps/unix/sysv/linux/i386/bits/mman.h
55460         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55461         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
55462         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55463         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
55464         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55465         * sysdeps/unix/sysv/linux/bits/in.h
55466         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
55468 2012-05-22  Roland McGrath  <roland@hack.frob.com>
55470         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
55471         (PREPARE_VERSION): Just use assert instead, it will be elided
55472         under [NDEBUG] anyway.
55474 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
55476         * sysdeps/unix/sysv/linux/Makefile: Include
55477         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
55478         (sysdep_routines): Remove sysctl.
55479         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
55480         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
55481         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
55482         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
55483         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
55485 2012-05-22  Andreas Jaeger  <aj@suse.de>
55487         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
55488         that pseudo_end is just ret and the stack pointer is correct also
55489         for static library in error case.
55491 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
55493         [BZ #14122]
55494         * nss/nsswitch.c (defconfig_entries): New variable.
55495         (__nss_database_lookup): Don't leak defconfig entries.
55496         (nss_parse_service_list): Don't leak on error paths.
55497         (free_database_entries): New function.
55498         (free_defconfig): New function.
55499         (free_mem): Move common code to free_database_entries.
55501 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
55503         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
55504         Add arch_prctl.
55505         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
55507         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
55508         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
55509         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
55510         New macro.
55511         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
55512         (INTERNAL_SYSCALL_TYPES): Likewise.
55513         (LOAD_ARGS_TYPES_[1-6]): Likewise.
55514         (LOAD_REGS_TYPES_[1-6]): Likewise.
55515         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
55516         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
55518 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55520         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
55521         copysignl for GLIBC_2_0.
55522         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
55523         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
55524         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
55525         logbl for GLIBC_2_0.
55526         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
55527         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
55529 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
55531         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
55532         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
55534         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
55535         Use "neg %eax".
55537         * time/mktime.c: Update copyright years.
55539 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
55541         mktime: merge comment-quoting-style change from gnulib
55542         * time/mktime.c: Quote 'like this' in comments.
55543         The GNU coding standards suggest that we no longer quote `like this',
55544         as "`" and "'" are typically rendered asymmetrically nowadays.
55545         The typical gnulib style is to quote 'like this' when quoting
55546         code, and "like this" when quoting English.
55548         * time/mktime.c (compile-command): Add "-I.".
55550         mktime: merge mktime-internal.h change from gnulib
55551         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
55553         mktime: merge time_r change from gnulib
55554         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
55556         mktime: merge DEBUG change from gnulib
55557         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
55558         case system <time.h> has a #define.
55560         mktime: merge <sys/types.h> change from gnulib
55561         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
55562         since <time.t> is now guaranteed to define time_t.
55564         mktime: merge HAVE_CONFIG_H change from gnulib
55565         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
55567 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
55569         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
55570         Use "neg %eax".
55572         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
55573         __rlim_t cast.
55574         (struct rusage): Use anonymous union to pad each field to
55575         __syscall_slong_t.
55577 2012-05-21  David S. Miller  <davem@davemloft.net>
55579         * Makefules (o-iterator): Remove .s cases.
55580         (compile-command.s): Delete.
55581         (COMPILE.s): Delete.
55582         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
55584 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
55586         * configure.in (libc_cv_predef_stack_protector): Only consider
55587         "foobar" and "__stack_chk_fail" lines in libc_undefs.
55588         * configure: Regenerated.
55590 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
55592         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
55593         New macro.  Use R*LP on int and pointer.
55594         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
55595         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
55596         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
55597         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
55599         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
55600         [__WORDSIZE_TIME64_COMPAT32] instead of
55601         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
55602         (struct utmp): Likewise.
55603         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
55604         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
55605         Renamed to ...
55606         (__WORDSIZE_TIME64_COMPAT32): This.
55607         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
55608         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
55609         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
55610         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
55611         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
55612         (__WORDSIZE_TIME64_COMPAT32): New macro.
55614 2012-05-21  Andreas Jaeger  <aj@suse.de>
55616         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
55617         only if [SHARED]. Add prototype for __wcschr_ia32.
55619 2012-05-21  Roland McGrath  <roland@hack.frob.com>
55621         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
55622         of %rbp unmolested in the jmp_buf while mangling the low bits.
55623         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
55624         unmolested high bits of %rbp while demangling the low bits.
55625         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
55627 2012-05-21  Andreas Jaeger  <aj@suse.de>
55629         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
55630         * sunrpc/svc_simple.c: Use it for registerrpc.
55631         * sunrpc/xcrypt.c: Use it for passwd2des.
55633         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
55635 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
55637         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
55638         Don't define if [__SYSCALL_WORDSIZE != 32].
55639         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
55640         New macro.
55642 2012-05-21  Bruno Haible  <bruno@clisp.org>
55643             Andreas Jaeger  <aj@suse.de>
55645         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
55646         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
55647         inptr and inend for must_buffer_ch.
55648         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
55649         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
55650         * stdio-common/Makefile (tests): Remove bug15.
55651         (bug15-ENV): Remove macro.
55652         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
55653         anymore.
55655 2012-05-19  Andreas Jaeger  <aj@suse.de>
55656             Roland McGrath  <roland@hack.frob.com>
55658         * manual/contrib.texi: Completely rewritten. It contains now an
55659         alphabetical list of contributors and their contributions.
55661 2012-05-21  Richard Henderson  <rth@twiddle.net>
55663         * misc/getauxval.c (__getauxval): Use unsigned long int.
55664         * misc/sys/auxv.h: Include <sys/cdefs.h>.
55665         (getauxval): Use unsigned long int.
55667 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
55669         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
55671 2012-05-21  Roland McGrath  <roland@hack.frob.com>
55673         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
55674         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
55675         __alignof__ (long double).
55677 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55679         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55681 2012-05-20  Richard Henderson  <rth@twiddle.net>
55683         * misc/getauxval.c: New file.
55684         * misc/sys/auxv.h: New file.
55685         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
55686         (routines): Add getauxval.
55687         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
55688         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
55689         * elf/dl-sysdep.c (_dl_auxv): Remove.
55690         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
55691         * elf/dl-support.c (_dl_auxv): New variable.
55692         (_dl_aux_init): Initialize it.
55693         * manual/startup.texi (Auxiliary Vector): New node.
55694         * sysdeps/generic/bits/hwcap.h: New file.
55695         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
55696         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
55697         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
55698         * sysdeps/sparc/sysdep.h: ... here.  Include it.
55699         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
55700         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
55701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55702         Update.
55703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
55704         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
55705         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
55706         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
55707         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
55708         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
55709         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
55710         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
55712 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55714         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55716 2012-05-19  David S. Miller  <davem@davemloft.net>
55718         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55720 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
55722         [BZ #14123]
55723         * math/s_ccosh.c: Include <float.h>
55724         (__ccosh): Avoid internal overflow calculating sinh and cosh
55725         values before multiplying by sin and cos values.
55726         * math/s_ccoshf.c: Likewise.
55727         * math/s_ccoshl.c: Likewise.
55728         * math/s_csin.c: Likewise.
55729         * math/s_csinf.c: Likewise.
55730         * math/s_csinl.c: Likewise.
55731         * math/s_csinh.c: Likewise.
55732         * math/s_csinhf.c: Likewise.
55733         * math/s_csinhl.c: Likewise.
55734         * math/libm-test.inc (ccos_test): Add more tests.
55735         (ccosh_test): Likewise.
55736         (csin_test): Likewise.
55737         (csinh_test): Likewise.
55738         * sysdeps/i386/fpu/libm-test-ulps: Update.
55739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55741 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
55743         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
55744         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
55746         * sysdeps/x86_64/x32/_itoa.h: Add comment.
55748 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
55750         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
55751         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
55752         * sysdeps/powerpc/soft-fp/Versions: Likewise.
55753         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
55754         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
55755         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
55756         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
55757         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
55758         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
55759         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
55760         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
55761         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
55762         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
55763         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
55764         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
55765         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
55766         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
55767         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
55768         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
55769         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
55770         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
55771         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
55772         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
55773         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
55774         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
55775         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
55776         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
55777         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
55778         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
55779         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
55780         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
55782 2012-05-18  Andreas Jaeger  <aj@suse.de>
55784         * csu/.gitignore: Delete.
55786 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
55788         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
55789         (timex): Use __syscall_slong_t.
55791 2012-05-18  Andreas Jaeger  <aj@suse.de>
55792             Carlos O'Donell  <carlos_odonell@mentor.com>
55794         * manual/install.texi (Configuring and compiling): Update
55795         description about files modified in the source directory.
55796         * INSTALL: Regenerated.
55798 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
55800         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
55801         value.  Use "or" to set return value to -1.
55802         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
55803         negate return value.
55805 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55807         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
55808         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
55809         failure if the compiler has Graphite support disabled.
55810         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
55811         Likewise.
55812         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
55813         (CFLAGS-memmove.c): Likewise.
55814         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
55815         Likewise.
55817 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
55819         * sysdeps/x86_64/x32/_itoa.h: New file.
55821         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
55822         getdents system call only if kernel and user dirents have the
55823         same d_ino and d_off.
55825         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
55826         LLONG_MAX != LONG_MAX.
55827         (_itoa_word): Use _ITOA_WORD_TYPE on value.
55828         (_fitoa_word): Likewise.
55830         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
55831         years.
55832         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
55833         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
55834         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
55836         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
55837         include <bits/wordsize.h>.  Check __x86_64__ instead of
55838         __WORDSIZE.
55839         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
55840         if __x86_64__ is defined.  Use anonymous union on fpstate.
55842         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
55843         anonymous union.
55845 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
55847         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
55848         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
55849         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
55850         Refer to _rtld_local_ro instead of _rtld_global_ro.
55851         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
55852         Likewise.
55853         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
55854         Likewise.
55855         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
55856         Likewise.
55857         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
55858         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
55859         of _rtld_global, and rtld_progname instead of _dl_argv[0].
55861         [BZ #10882]
55862         * sysdeps/powerpc/powerpc32/dl-machine.c
55863         (__elf_machine_runtime_setup) [PROF]: Don't reference
55864         _dl_prof_resolve.
55866 2012-05-18  Andreas Jaeger  <aj@suse.de>
55868         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
55869         function only available for GCCs before 3.4 since GCC 3.4
55870         introduced a builtin.
55871         (lrint): Likewise.
55872         (llrintf): Likewise.
55873         (llrint): Likewise.
55874         (fmaxf): Likewise.
55875         (fmax): Likewise.
55876         (fminf): Likewise.
55877         (fmin): Likewise.
55878         (rint): Likewise.
55879         (rintf): Likewise.
55880         (nearbyint): Likewise.
55881         (nearbyintf): Likewise.
55882         (ceil): Likewise.
55883         (ceilf): Likewise.
55884         (floor): Likewise.
55885         (floorf): Likewise.
55887 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
55889         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
55890         on both fields and cast pointer to __syscall_ulong_t.
55892         * bits/types.h (__fsword_t): New type.
55893         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
55894         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
55895         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55896         (__FSWORD_T_TYPE): Likewise.
55897         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
55898         (__FSWORD_T_TYPE): Likewise.
55899         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55900         (__FSWORD_T_TYPE): Likewise.
55901         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
55902         (__FSWORD_T_TYPE): Likewise.
55903         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
55904         __SWORD_TYPE with __fsword_t.
55905         (statfs64): Likewise.
55907 2012-05-17  David S. Miller  <davem@davemloft.net>
55909         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
55911 2012-05-17  Andreas Jaeger  <aj@suse.de>
55913         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
55914         warning.
55916 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
55918         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
55920 2012-05-17  Andreas Jaeger  <aj@suse.de>
55922         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
55923         when it is used.
55925 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
55927         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
55929 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
55931         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
55932         * sysdeps/x86_64/tst-mallocalign1.c: New file.
55934 2012-05-17  Andreas Jaeger  <aj@suse.de>
55935             Carlos O'Donell  <carlos_odonell@mentor.com>
55937         [BZ #14059]
55938         * sysdeps/x86_64/multiarch/init-arch.h
55939         (bit_YMM_Usable): Rename to...
55940         (bit_AVX_Usable): ... this.
55941         (bit_FMA4_Usable): New macro.
55942         (bit_XMM_state): New macro.
55943         (bit_YMM_state): New macro.
55944         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
55945         [__ASSEMBLER__] (index_AVX_Usable): ... this.
55946         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
55947         (CPUID_OSXSAVE): New macro.
55948         (CPUID_AVX): New macro.
55949         (CPUID_FMA4): New macro.
55950         (index_YMM_Usable): Rename to...
55951         (index_AVX_Usable): ... this.
55952         (HAS_AVX): Use HAS_ARCH_FEATURE.
55953         (HAS_FMA4): Likewise.
55954         (HAS_YMM_USABLE): Remove.
55955         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55956         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
55957         are present.
55958         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
55959         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
55960         * sysdeps/x86_64/multiarch/Makefile: Likewise.
55961         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
55962         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
55964 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
55966         * math/libm-test.c: Support platforms without multiple rounding modes.
55967         * math/bug-nextafter.c: Support platforms without FP exceptions.
55968         * math/bug-nexttoward.c: Likewise.
55969         * math/test-fenv.c: Likewise.
55970         * math/test-misc.c: Likewise.
55971         * stdlib/bug-getcontext.c: Likewise.
55973 2012-05-17  Andreas Jaeger  <aj@suse.de>
55975         * manual/examples/search.c (critter_cmp): Change signature to
55976         avoid warnings.
55977         * manual/string.texi (Collation Functions): Likewise.
55979 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55981         * bits/types.h: Fold copyright years.
55982         * bits/typesizes.h: Likewise.
55983         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
55984         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
55985         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
55986         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
55987         * time/time.h: Likewise.
55989 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
55991         [BZ #208]
55992         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
55993         in instead of returning them.  Return void.
55994         (__libc_mallinfo): Accumulate over all arenas.
55995         (__malloc_stats): Adjust for change in int_mallinfo interface.
55997 2012-05-16  Roland McGrath  <roland@hack.frob.com>
55999         [BZ #10375]
56000         * configure.in (NM): Add AC_CHECK_TOOL for it.
56001         (libc_extra_cflags): New substituted variable.
56002         Check for -fstack-protector being used implicitly.
56003         * configure: Regenerated.
56004         * config.make.in (config-extra-cflags): New variable,
56005         gets @libc_extra_cflags@.
56006         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
56008         [BZ #10375]
56009         * configure.in: Check for _FORTIFY_SOURCE being predefined.
56010         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
56011         * configure: Regenerated.
56012         * config.make.in (CPPUNDEFS): New substituted variable.
56013         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
56014         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
56015         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
56017 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56019         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
56020         (mq_attr): Use __syscall_slong_t.
56022 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56024         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
56025         Check __x86_64__ instead of __WORDSIZE.
56026         (_STAT_VER_LINUX): Likewise.
56027         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
56028         __syscall_ulong_t and __syscall_slong_t.
56029         (stat64): Likewise.
56031 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56033         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
56035 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56037         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
56039 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56041         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
56042         __syscall_ulong_t.
56044         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
56045         include <bits/wordsize.h>.  Check __x86_64__ instead of
56046         __WORDSIZE.
56047         (greg_t): Use "__extension__ long long int" if __x86_64__ is
56048         defined.
56049         (mcontext_t): Replace "unsigned long" with "unsigned long long".
56051         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
56052         include <bits/wordsize.h>.  Check __x86_64__ instead of
56053         __WORDSIZE.
56054         (user_regs_struct): Use "__extension__ unsigned long long"
56055         instead of "unsigned long" if __x86_64__ is defined.
56056         (user): Likewise.  Pad after pointer field if __ILP32__ is
56057         defined.
56059 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
56061         * configure.in (makeinfo): Require version 4.5 or later.  Allow
56062         versions 5 to 9.
56063         * configure: Regenerated.
56064         * manual/install.texi (texinfo): Increase version requirement to
56065         4.5 or later.
56066         * INSTALL: Regenerated.
56068         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
56070 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56072         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
56074         * sysdeps/x86_64/x32/ffs.c: New file.
56076         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
56077         __syscall_ulong_t.
56078         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
56079         defined.  Use __syscall_ulong_t.
56080         (shminfo): Use __syscall_ulong_t.
56081         (shm_info): Likewise.
56083         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
56084         __syscall_ulong_t.
56086         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
56087         <bits/wordsize.h>.
56088         (msgqnum_t): Use __syscall_ulong_t.
56089         (msglen_t): Likewise.
56090         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
56091         __syscall_ulong_t.
56093         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
56094         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
56096         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
56098         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
56099         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
56101         * sysvipc/sys/msg.h (msgbuf): Replace long int with
56102         __syscall_slong_t.
56104         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
56105         include <bits/wordsize.h>.  Check __x86_64__ instead of
56106         __WORDSIZE.
56108         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
56109         "unsigned long long int" if __x86_64__ is defined.
56110         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
56112         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
56113         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
56114         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
56116         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
56117         <stdint.h>.
56118         (GET_PC): Cast to uintptr_t first.
56119         (GET_FRAME): Likewise.
56120         (GET_STACK): Likewise.
56122         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
56123         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
56124         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
56125         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
56126         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
56127         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
56128         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
56129         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
56130         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
56131         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
56132         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
56133         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
56134         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
56135         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
56136         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
56137         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
56138         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
56139         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
56140         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
56141         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
56142         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
56143         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
56144         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
56145         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
56146         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
56147         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
56148         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
56149         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
56150         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
56152 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
56154         * Makerules (+depfiles): Also collect depfiles from .oS in
56155         $(extra-objs).
56156         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
56157         .oS, $(libnldbl-routines)).
56159         * Makerules (native-compile-mkdep-flags): Define.
56160         * sunrpc/Makefile (extra-objs): Add $(addprefix
56161         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
56162         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
56163         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
56164         calling $(make-target-directory).
56166 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56168         * bits/types.h (__snseconds_t): Removed.
56169         * time/time.h (struct timespec): Replace __snseconds_t with
56170         __syscall_slong_t.
56171         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
56172         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
56173         Likewise.
56174         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56175         (__SNSECONDS_T_TYPE): Likewise.
56176         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
56177         (__SNSECONDS_T_TYPE): Likewise.
56178         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56179         (__SNSECONDS_T_TYPE): Likewise.
56181 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56183         * sysdeps/mach/hurd/bits/typesizes.h
56184         (__SYSCALL_SLONG_TYPE): New macro.
56185         (__SYSCALL_ULONG_TYPE): Likewise.
56187 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56189         * bits/types.h (__syscall_slong_t): New type.
56190         (__syscall_ulong_t): Likewise.
56192         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
56193         (__SYSCALL_ULONG_TYPE): Likewise.
56194         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56195         (__SYSCALL_SLONG_TYPE): Likewise.
56196         (__SYSCALL_ULONG_TYPE): Likewise.
56197         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
56198         (__SYSCALL_SLONG_TYPE): Likewise.
56199         (__SYSCALL_ULONG_TYPE): Likewise.
56200         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56201         (__SYSCALL_SLONG_TYPE): Likewise.
56202         (__SYSCALL_ULONG_TYPE): Likewise.
56204 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56206         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
56207         Add sigaltstack-offsets.sym.
56208         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
56209         <sigaltstack-offsets.h>.
56210         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
56211         longjmp_msg pointer.
56212         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
56213         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
56214         signal stack.
56215         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
56217 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
56219         * elf/stackguard-macros.h: Remove file.
56220         * sysdeps/generic/stackguard-macros.h: New file.
56221         * sysdeps/i386/stackguard-macros.h: Likewise.
56222         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
56223         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
56224         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
56225         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
56226         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
56227         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
56228         * sysdeps/x86_64/stackguard-macros.h: Likewise.
56229         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
56230         <elf/stackguard-macros.h>.
56232         [BZ #14109]
56233         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
56234         __aligned__ in attribute.
56235         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
56236         (gregset_t): Likewise.
56238 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56240         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
56241         * sysdeps/x86_64/64/Implies-after: Here.  New file.
56242         * sysdeps/x86_64/x32/Implies-after: New file.
56244 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56246         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
56247         and access return value for _dl_profile_fixup.  Use R10_LP to
56248         load frame size.
56250 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56252         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
56254 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56256         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
56257         * sysdeps/x86_64/x32/sysdep.h: New file.
56259 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56261         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
56262         * sysdeps/x86_64/setjmp.S: Likewise.
56264 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56266         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
56267         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
56268         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
56269         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
56270         remove unused global constant.
56272 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
56274         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
56275         include of <not-cancel.h>.
56277 2012-05-15  Roland McGrath  <roland@hack.frob.com>
56279         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
56281 2012-05-15  Jeff Law  <law@redhat.com>
56282             Andreas Jaeger  <aj@suse.de>
56284         [BZ #13594]
56285         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
56286         out from...
56287         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
56288         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
56289         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
56290         code changing __hst_map_handle.map.
56292 2012-05-15  Roland McGrath  <roland@hack.frob.com>
56294         * configure.in (sysnames): Look for Implies-before and Implies-after
56295         files.
56296         * configure: Regenerated.
56298 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56300         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
56301         8-byte data alignment with LP_SIZE alignment.
56303 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56305         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
56306         into R10_LP.
56308 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56310         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
56312 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56314         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
56315         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
56316         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
56317         Likewise.
56318         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
56320 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56322         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
56323         (stackinfo_sub_sp): Likewise.
56325 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56327         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
56328         RAX_LP.
56330 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56332         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
56333         into R*_LP.
56335 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56337         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
56338         sizes into R*_LP.
56340 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56342         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
56344 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56346         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
56347         into R11_LP and load __x86_64_shared_cache_size_half into
56348         R8_LP.
56350 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56352         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
56353         R8_LP.
56355 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56357         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
56358         logb for POWER7.
56359         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
56360         logbf for POWER7.
56361         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
56362         logbl for POWER7.
56363         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
56364         powerpc32/power7/fpu/s_logb.c via #include.
56365         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
56366         powerpc32/power7/fpu/s_logbf.c via #include.
56367         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
56368         powerpc32/power7/fpu/s_logbl.c via #include.
56370 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
56372         * README.libm: Remove file.
56374 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56376         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
56377         count for x32.  Use R*_LP and omit operand-size suffix.
56379 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56381         * shlib-versions: Move x86_64-.*-linux.* entries to ...
56382         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
56383         * sysdeps/x86_64/x32/shlib-versions: New file.
56385 2012-05-14  Roland McGrath  <roland@hack.frob.com>
56387         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
56388         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
56389         Use _dl_fatal_printf instead.
56391 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
56393         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
56394         set if not set by the user.  Do not allow for being unset.
56395         * sysdeps/unix/sysv/linux/configure: Regenerated.
56397 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56399         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
56400         the `q' suffix from lea and replace .quad with ASM_ADDR.
56402 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56404         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
56405         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
56406         instead of $17.
56407         (PTR_DEMANGLE): Likewise.
56409 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56411         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
56412         (LP_OP): Likewise.
56413         (ASM_ADDR): Likewise.
56414         (RAX_LP): Likewise.
56415         (RBP_LP): Likewise.
56416         (RBX_LP): Likewise.
56417         (RCX_LP): Likewise.
56418         (RDI_LP): Likewise.
56419         (RSI_LP): Likewise.
56420         (RSP_LP): Likewise.
56421         (R8_LP): Likewise.
56422         (R9_LP): Likewise.
56423         (R10_LP): Likewise.
56424         (R10_LP): Likewise.
56425         (R11_LP): Likewise.
56426         (R12_LP): Likewise.
56427         (R13_LP): Likewise.
56428         (R14_LP): Likewise.
56429         (R15_LP): Likewise.
56431 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56433         * sysdeps/x86_64/x32/dl-machine.h: New file.
56435 2012-05-14  Andreas Jaeger  <aj@suse.de>
56437         * manual/Makefile (subdir): Remove export of subdir.
56438         (all): Remove target.
56439         (.PHONY): Remove all from list.
56440         (mkinstalldirs): Remove.
56441         (.PHONY): Remove installdirs from list.
56442         ($(inst_infodir)/libc.info): Use make-target-directory.
56443         (installdirs): Remove.
56444         (subdir_%): Remove.
56445         (glibc-targets): Remove.
56446         (lib): Remove.
56447         (stubs): Remove.
56448         ($(objpfx)stubs ../po/manual.pot): Remove.
56449         ($(objpfx)stamp%): Remove.
56450         (make-target-directory): Remove.
56451         (subdir_install): Remove.
56452         (routines): Remove.
56453         (aux): Remove.
56454         (sources): Remove.
56455         (objects): Remove.
56456         (headers): Remove.
56458         [BZ #13750]
56459         * manual/.gitignore: Remove, it's not needed anymore.
56460         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
56461         all files in it.
56462         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
56463         directory.
56464         (texis): Renamed to $(objpfx)texis.
56465         (texis-path): New, contains path to generated files.
56466         (chapters.%): Use texis-path for complete path, add extra argument
56467         libc-texinfo.sh.
56468         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
56469         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
56470         (summary,texi, stamp-summary): Use complete path of
56471         files. Generate files in build dir.
56472         (dir-add.texi): Build in build dir.
56473         (libm-err.texi,stamp-libm-err): Likewise.
56474         (version.texi, stamp-version): Likewise.
56475         (.%c.texi): Likewise.
56476         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
56477         (mostlyclean): Remove target.
56478         (realclean): Remove target.
56479         (generated): Add new variable with contents from mostlyclean and
56480         realclean, remove entries duplicated in common-mostlyclean, add
56481         stamp-libm-err and stamp-version.
56482         (generated-dirs): Add libc directory.
56483         ($(inst_infodir)/libc.info): Install files from build dir.
56485         * manual/install.texi (Configuring and compiling): Adjust since
56486         the info files are not part of the tar ball anymore.
56488 2012-05-14  Andreas Jaeger  <aj@suse.de>
56490         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
56491         variable.
56493 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
56495         [BZ #13717]
56496         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
56497         to 2.2.0 where earlier.
56498         * sysdeps/unix/sysv/linux/configure: Regenerated.
56499         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
56500         Remove conditional code.
56501         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
56502         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
56503         Remove conditional code.
56504         [!__NR_lchown]: Likewise.
56505         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
56506         [__NR_lchown]: Likewise.
56507         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
56508         comment referencing __ASSUME_LCHOWN_SYSCALL.
56509         * sysdeps/unix/sysv/linux/i386/sigaction.c
56510         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
56511         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
56512         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
56513         Remove conditional code.
56514         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
56515         (__protocol_available): Remove #if 0 code.
56516         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
56517         conditional code.
56518         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
56519         * sysdeps/unix/sysv/linux/kernel-features.h
56520         (__ASSUME_GETCWD_SYSCALL): Don't define.
56521         (__ASSUME_REALTIME_SIGNALS): Likewise.
56522         (__ASSUME_PREAD_SYSCALL): Likewise.
56523         (__ASSUME_PWRITE_SYSCALL): Likewise.
56524         (__ASSUME_POLL_SYSCALL): Likewise.
56525         (__ASSUME_LCHOWN_SYSCALL): Likewise.
56526         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
56527         non-SPARC.
56528         (__ASSUME_SIOCGIFNAME): Don't define.
56529         (__ASSUME_MSG_NOSIGNAL): Likewise.
56530         (__ASSUME_SENDFILE): Define unconditionally.
56531         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
56532         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
56533         conditional code.
56534         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
56535         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
56536         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
56537         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
56538         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
56539         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
56540         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
56541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
56542         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
56543         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
56545         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
56546         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
56548         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56549         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
56551         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56552         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
56554         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
56555         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
56557         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
56558         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
56560         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56561         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
56563         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56564         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56565         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
56566         Remove conditional code.
56567         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56568         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
56569         Remove conditional code.
56570         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56571         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
56572         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
56573         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
56574         Remove conditional code.
56575         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56576         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
56577         Remove conditional code.
56578         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56579         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
56580         Remove conditional code.
56581         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56582         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
56583         Remove conditional code.
56584         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56585         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
56586         Remove conditional code.
56587         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56588         * sysdeps/unix/sysv/linux/sh/pwrite64.c
56589         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56590         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56591         * sysdeps/unix/sysv/linux/sigaction.c
56592         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
56593         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
56594         * sysdeps/unix/sysv/linux/sigpending.c
56595         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
56596         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
56597         * sysdeps/unix/sysv/linux/sigprocmask.c
56598         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
56599         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
56600         * sysdeps/unix/sysv/linux/sigsuspend.c
56601         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
56602         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
56603         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
56604         (__libc_missing_rt_sigs): Remove.
56605         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
56606         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
56607         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
56608         Remove conditional code.
56609         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
56610         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
56611         return 1.
56612         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
56613         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
56614         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
56615         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
56617 2012-05-14  Andreas Jaeger  <aj@suse.de>
56619         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
56620         it's not used in glibc.
56621         (__coshm1): Likewise.
56622         (__acosh1p): Likewise.
56623         (__sgn): Likewise.
56625         * manual/string.texi (Copying and Concatenation): Add missing
56626         variable in concat example.
56627         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
56629 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56631         [BZ #14103]
56632         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
56633         __builtin_clzl with __builtin_clzll.
56635 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56637         [BZ #14104]
56638         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
56639         libc_freeres_ptr.
56641 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56643         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
56644         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
56645         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
56646         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
56648 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
56650         * NEWS: Update ia64 info.
56652 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
56654         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
56655         used as bcopy.
56657 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
56659         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
56660         * sysdeps/unix/syscalls.list (dup3): Likewise.
56661         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
56662         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
56664 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
56666         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
56667         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
56669 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
56671         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
56672         thread pointer.
56673         (TLS_IE): Use mov/add instead of movq/addq to load thread
56674         pointer.
56675         (TLS_GD_PREFIX): New.
56676         (TLS_GD): Use it.
56678 2012-05-11  David S. Miller  <davem@davemloft.net>
56680         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
56681         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
56682         (_FPU_SETCW): Likewise.
56684 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
56686         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
56687         is 32-byte aligned.
56689 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
56691         [BZ #11837]
56692         * iconvdata/gb18030.c: Update tables.
56693         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
56694         characters specially.
56695         (BODY for TO_LOOP): Add encoding of missing ranges.
56697 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
56699         [BZ #13673]
56700         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
56701         * sysdeps/mach/hurd/dup3.c: Likewise.
56702         * sysdeps/mach/hurd/readlinkat.c: Likewise.
56703         * sysdeps/powerpc/memmove.c:: Likewise.
56705 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
56707         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
56708         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
56710 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
56712         * elf/elf.h (R_X86_64_RELATIVE64): New.
56713         (R_X86_64_NUM): Updated.
56714         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
56715         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
56716         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
56717         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
56718         tst-quad1pie tst-quad2pie
56719         (modules-names): Add tst-quadmod1 tst-quadmod2.
56720         ($(objpfx)tst-quad1): New dependency.
56721         ($(objpfx)tst-quad2): Likewise.
56722         ($(objpfx)tst-quad1pie): Likewise.
56723         ($(objpfx)tst-quad2pie): Likewise.
56724         * sysdeps/x86_64/tst-quad1.c: New file.
56725         * sysdeps/x86_64/tst-quad1pie.c: New file.
56726         * sysdeps/x86_64/tst-quad2.c: Likewise.
56727         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
56728         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
56729         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
56730         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
56731         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
56733 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56735         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
56736         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
56737         * streams/stropts.h (t_scalar_t): Define type.
56739         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
56740         (_PATH_PRESERVE): Set to "/var/lib".
56741         (_PATH_RWHODIR): Set to "/var/spool/rwho".
56743         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
56744         instead of int.
56746         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
56747         if __dir_mkfile succeeded.
56749         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
56750         checking for _hurd_dtablesize.  Unlock it right after having
56751         finished _hurd_dtable allocation.
56753 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56755         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
56756         * sysdeps/mach/hurd/configure: Regenerated.
56757         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
56758         special-casing to...
56759         * sysdeps/gnu/configure.in: ... this new file.
56760         * sysdeps/unix/sysv/linux/configure: Regenerated.
56761         * sysdeps/gnu/configure: New generated file.
56763         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
56764         for Linux: use nsec instead of usec, as well as:
56765         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
56766         members of type struct timespec.
56767         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
56768         New macros.
56769         (struct stat64): Likewise.
56770         (_STATBUF_ST_NSEC): New macro.
56771         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
56773         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
56774         __strtoul_internal rather than strtoul.
56776 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
56778         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
56779         and reject them.
56781 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56783         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
56784         which preserves existing values.
56785         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
56787 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
56789         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
56790         TIMEOUT values.  Return EINVAL for NFDS values either negative or
56791         greater than FD_SETSIZE.
56793 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56795         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
56796         allocated, call __vm_protect to finish enabling the existing space, and
56797         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
56798         allocate the remainder.
56800 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
56802         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
56803         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
56805 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56807         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
56808         sysdeps/mach/hurd/readlink.c.
56810         * posix/tst-sysconf.c (posix_options): Only use
56811         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
56812         _POSIX_SYNCHRONIZED_IO when they are defined
56813         * sysdeps/mach/hurd/bits/posix_opt.h:
56814         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
56815         (_XOPEN_REALTIME): Undefine macro.
56816         (_XOPEN_REALTIME_THREADS): Undefine macro.
56817         (_XOPEN_SHM): Undefine macro.
56818         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
56819         macro to -1.
56820         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
56821         macro to -1.
56822         (_POSIX_ASYNC_IO): Undefine macro.
56823         (_POSIX_PRIORITIZED_IO): Undefine macro.
56824         (_POSIX_SPIN_LOCKS): Define macro to -1.
56826         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
56827         SA_NODEFER, SA_RESETHAND.
56828         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
56829         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
56830         F_DUPFD_CLOEXEC.
56832 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56834         * elf/Makefile (pldd-modules): Define unconditionally.
56836 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56838         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
56840 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56842         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
56843         Return ENOENT when name is empty.
56844         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
56846 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56848         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
56850         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
56852 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56854         Fix mlock in all cases except non-readable pages.
56855         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
56856         instead of VM_PROT_ALL as parameter to __vm_wire function.
56858         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
56859         (__mkdir): When path is `/', just fail with EEXIST.
56860         * sysdeps/mach/hurd/mkdirat.c: Likewise.
56862 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56864         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
56865         <sys/uio.h> (for writev).
56866         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
56867         and <sys/param.h> (for MIN).
56869 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
56871         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
56872         REQUESTED_TIME.  Properly set the remaining time and return EINTR
56873         if interrupted.
56875 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56877         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
56878         Depend on against $(link-rpcuserlibs).
56880 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56882         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
56883         (__libc_stack_end): Do not use attribute_relro.
56884         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
56885         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
56886         to libthread-provided value.
56887         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
56888         attribute_relro.
56890 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56892         [BZ #3748]
56893         * bits/libc-lock.h (__libc_once_get): New macro.
56894         * sysdeps/mach/bits/libc-lock.h: Likewise.
56895         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
56896         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
56897         instead of using implementation details.
56899         * libio/fileops.c: Unconditionally include <kernel-features.h>.
56900         * libio/freopen.c: Likewise.
56901         * libio/freopen64.c: Likewise.
56902         * misc/syslog.c: Likewise.
56903         * nscd/connections.c: Likewise.
56904         * nscd/netgroupcache.c: Likewise.
56905         * sysdeps/posix/getcwd.c: Likewise.
56907 2012-05-10  Roland McGrath  <roland@hack.frob.com>
56909         * math/w_ilogbf.c: Add #include <limits.h>.
56911 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56913         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
56914         path instead of returning without unlocking.
56916         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
56917         immediate-write ioctls.
56918         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
56920 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56922         * sysdeps/mach/hurd/i386/init-first.c (init): Use
56923         __builtin_frame_address instead of making assumptions about the
56924         location of the return address relative to DATA.  Force early load of
56925         the return address.
56926         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
56927         __builtin_frame_address.
56929         dup3 for GNU Hurd.
56930         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
56931         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
56932         implement dup3 and do some further code clean-ups.
56933         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
56934         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
56936 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56938         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
56940         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
56941         HURD_CRITICAL_END around holding _hurd_dtable_lock.
56942         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
56943         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
56944         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
56945         d->port.lock.
56947         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
56948         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
56949         when handler == SIG_ERR, not when handler != SIG_ERR.
56951 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56953         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
56954         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
56955         definitions.
56957         accept4 for GNU Hurd.
56958         * include/sys/socket.h (__libc_accept4): New prototype.
56959         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
56960         to implement __libc_accept4.
56961         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
56962         __libc_accept4.
56963         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
56965         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
56966         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
56967         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
56968         signal-defines.sym.
56970 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56972         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
56974 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56976         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
56977         assertion on O_CLOEXEC flag.
56978         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
56979         * hurd/intern-fd.c: Likewise.
56980         * hurd/port2fd.c: Likewise.
56982 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56984         [BZ #3906]
56985         * bits/in.h (IPV6_PKTINFO): Define new macro.
56986         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
56988 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56990         [BZ #13954]
56991         [BZ #13955]
56992         [BZ #13956]
56993         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
56994         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
56995         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
56996         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
56997         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56998         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
56999         * math/libm-test.inc (logb_test) : Additional logb tests.
57001 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
57002             Andreas Jaeger  <aj@suse.de>
57004         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
57005         * configure: Regenerated.
57006         * config.h.in (LINK_OBSOLETE_RPC): New macro.
57007         * config.make.in (link-obsolete-rpc): New substituted variable.
57008         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
57009         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
57010         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
57011         (shared-only-routines): Don't set it under [link-obsolete-rpc],
57012         so that libc.a contains the symbols.
57013         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
57014         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
57015         * sunrpc/auth_none.c: Likewise.
57016         * sunrpc/auth_unix.c: Likewise.
57017         * sunrpc/authdes_prot.c: Likewise.
57018         * sunrpc/authuxprot.c: Likewise.
57019         * sunrpc/clnt_gen.c: Likewise.
57020         * sunrpc/clnt_perr.c: Likewise.
57021         * sunrpc/clnt_raw.c: Likewise.
57022         * sunrpc/clnt_simp.c: Likewise.
57023         * sunrpc/clnt_tcp.c: Likewise.
57024         * sunrpc/clnt_udp.c: Likewise.
57025         * sunrpc/clnt_unix.c: Likewise.
57026         * sunrpc/des_crypt.c: Likewise.
57027         * sunrpc/des_soft.c: Likewise.
57028         * sunrpc/get_myaddr.c: Likewise.
57029         * sunrpc/key_call.c: Likewise.
57030         * sunrpc/key_prot.c: Likewise.
57031         * sunrpc/netname.c: Likewise.
57032         * sunrpc/pm_getmaps.c: Likewise.
57033         * sunrpc/pm_getport.c: Likewise.
57034         * sunrpc/pmap_clnt.c: Likewise.
57035         * sunrpc/pmap_prot.c: Likewise.
57036         * sunrpc/pmap_prot2.c: Likewise.
57037         * sunrpc/pmap_rmt.c: Likewise.
57038         * sunrpc/publickey.c: Likewise.
57039         * sunrpc/rpc_cmsg.c: Likewise.
57040         * sunrpc/rpc_common.c: Likewise.
57041         * sunrpc/rpc_dtable.c: Likewise.
57042         * sunrpc/rpc_prot.c: Likewise.
57043         * sunrpc/rpc_thread.c: Likewise.
57044         * sunrpc/rtime.c: Likewise.
57045         * sunrpc/svc.c: Likewise.
57046         * sunrpc/svc_auth.c: Likewise.
57047         * sunrpc/svc_raw.c: Likewise.
57048         * sunrpc/svc_run.c: Likewise.
57049         * sunrpc/svc_tcp.c: Likewise.
57050         * sunrpc/svc_udp.c: Likewise.
57051         * sunrpc/svc_unix.c: Likewise.
57052         * sunrpc/svcauth_des.c: Likewise.
57053         * sunrpc/xcrypt.c: Likewise.
57054         * sunrpc/xdr.c: Likewise.
57055         * sunrpc/xdr_array.c: Likewise.
57056         * sunrpc/xdr_float.c: Likewise.
57057         * sunrpc/xdr_intXX_t.c: Likewise.
57058         * sunrpc/xdr_mem.c: Likewise.
57059         * sunrpc/xdr_rec.c: Likewise.
57060         * sunrpc/xdr_ref.c: Likewise.
57061         * sunrpc/xdr_sizeof.c: Likewise.
57062         * sunrpc/xdr_stdio.c: Likewise.
57064 2012-05-10  Roland McGrath  <roland@hack.frob.com>
57066         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
57067         change.  Update copyright years.
57069 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
57071         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
57073 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
57074             Joseph Myers  <joseph@codesourcery.com>
57075             Paul Pluzhnikov  <ppluzhnikov@google.com>
57077         [BZ #14012]
57078         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
57079         requiring rpcgen.
57080         [cross-compiling] (extra-libs): Likewise.
57081         [cross-compiling] (extra-libs-others): Likewise.
57082         [cross-compiling] (librpcsvc-routines): Likewise.
57083         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
57084         [cross-compiling] (omit-deps): Likewise.
57085         (sunrpc-CPPFLAGS): New variable.
57086         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
57087         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
57088         (cross-rpcgen-objs): New variable.
57089         (extra-objs): Append $(cross-rpcgen-objs).
57090         ($(cross-rpcgen-objs)): New rule.
57091         ($(objpfx)cross-rpcgen): Likewise.
57092         (rpcgen-cmd): Define to use $(built-program-file).  Expand
57093         comment.
57094         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
57095         ($(objpfx)x%.stmp): Likewise.
57096         * sunrpc/proto.h [IS_IN_build] (_): Define.
57097         [IS_IN_build] (_libc_intl_domainname): Likewise.
57099 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
57101         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
57102         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
57103         and R_X86_64_TPOFF64.
57105 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
57107         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
57108         sysdeps/unix/sysv/syscalls.list.
57109         (stime): Likewise.
57110         (utime): Likewise.
57111         * sysdeps/unix/sysv/syscalls.list: Remove file.
57113 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
57115         [BZ #3440]
57116         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
57117         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
57118         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
57119         (__LC_IDENTIFICATION): Make these macros useful in #if
57120         expressions, as required by C99.
57122 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
57124         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
57125         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
57126         after this.
57128 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
57130         * stdlib/longlong.h: Updated from GCC.
57132 2012-05-09  Andreas Jaeger  <aj@suse.de>
57134         * nscd/nscd.c (run_modes): Make named enum, reorder so that
57135         default is first entry.
57136         (run_mode): Set type.
57137         (main): Remove informal message about syslog.
57138         (options): Fix typo.
57140         [BZ #14053]
57141         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
57142         to asm.
57143         (lrint): Likewise.
57144         (llrintf): Likewise.
57145         (llrint): Likewise.
57146         (rint): Likewise.
57147         (rintf): Likewise.
57148         (nearbyint): Likewise.
57149         (nearbyintf): Likewise.
57151 2012-05-09  Andreas Jaeger  <aj@suse.de>
57152             Pedro Alves  <palves@redhat.com>
57154         * nscd/nscd.c (run_mode): Use enum.
57155         (main): Cleanup coding style issue.
57157 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
57158             Andreas Jaeger  <aj@suse.de>
57160         * nscd/nscd.c (go_background): Replaced with...
57161         (run_mode): ... this.
57162         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
57163         (options): Add -F --foreground.
57164         (main): Implement it.
57165         (parse_opt): Parse it.
57167 2012-05-09  Andreas Jaeger  <aj@suse.de>
57169         [BZ #14083]
57170         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
57171         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
57172         -Wconversion warning.
57173         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
57174         Likewise.
57176 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
57178         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
57179         == 0.
57180         (LC_ALL): Use macro-int-constant.
57181         (LC_COLLATE): Likewise.
57182         (LC_CTYPE): Likewise.
57183         (LC_MESSAGES): Likewise.
57184         (LC_MONETARY): Likewise.
57185         (LC_NUMERIC): Likewise.
57186         (LC_TIME): Likewise.
57187         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
57188         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
57189         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57190         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
57191         Specify type.
57192         [C99-based standards] (float_t): Expect type.
57193         [C99-based standards] (double_t): Expect type.
57194         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
57195         type.
57196         [C99-based standards] (HUGE_VALL): Likewise.
57197         [C99-based standards] (INFINITY): Likewise.
57198         [C99-based standards] (NAN): Likewise.
57199         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
57200         [C99-based standards] (FP_NAN): Likewise.
57201         [C99-based standards] (FP_NORMAL): Likewise.
57202         [C99-based standards] (FP_SUBNORMAL): Likewise.
57203         [C99-based standards] (FP_ZERO): Likewise.
57204         [C99-based standards] (FP_FAST_FMA): Use
57205         optional-macro-int-constant.  Specify type.  Require == 1.
57206         [C99-based standards] (FP_FAST_FMAF): Likewise.
57207         [C99-based standards] (FP_FAST_FMAL): Likewise.
57208         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
57209         [C99-based standards] (FP_ILOGBNAN): Likewise.
57210         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
57211         Specify type.
57212         [C99-based standards] (MATH_ERREXCEPT): Likewise.
57213         [C99-based standards] (math_errhandling): Specify type.
57214         [ISO99 || ISO11] (signgam): Do not allow.
57215         [non-C99-based standards] (copysignf): Do not allow.
57216         [non-C99-based standards] (exp2f): Likewise.
57217         [non-C99-based standards] (log2f): Likewise.
57218         [non-C99-based standards] (modff): Allow.
57219         [non-C99-based standards] (erff): Do not allow.
57220         [non-C99-based standards] (erfcf): Likewise.
57221         [non-C99-based standards] (gammaf): Likewise.
57222         [non-C99-based standards] (hypotf): Likewise.
57223         [non-C99-based standards] (j0f): Likewise.
57224         [non-C99-based standards] (j1f): Likewise.
57225         [non-C99-based standards] (jnf): Likewise.
57226         [non-C99-based standards] (lgammaf): Likewise.
57227         [non-C99-based standards] (tgammaf): Likewise.
57228         [non-C99-based standards] (y0f): Likewise.
57229         [non-C99-based standards] (y1f): Likewise.
57230         [non-C99-based standards] (ynf): Likewise.
57231         [non-C99-based standards] (isnanf): Likewise.
57232         [non-C99-based standards] (acoshf): Likewise.
57233         [non-C99-based standards] (asinhf): Likewise.
57234         [non-C99-based standards] (atanhf): Likewise.
57235         [non-C99-based standards] (cbrtf): Likewise.
57236         [non-C99-based standards] (expm1f): Likewise.
57237         [non-C99-based standards] (ilogbf): Likewise.
57238         [non-C99-based standards] (log1pf): Likewise.
57239         [non-C99-based standards] (logbf): Likewise.
57240         [non-C99-based standards] (nextafterf): Likewise.
57241         [non-C99-based standards] (remainderf): Likewise.
57242         [non-C99-based standards] (rintf): Likewise.
57243         [non-C99-based standards] (scalbf): Likewise.
57244         [non-C99-based standards] (copysignl): Likewise.
57245         [non-C99-based standards] (exp2l): Likewise.
57246         [non-C99-based standards] (log2l): Likewise.
57247         [non-C99-based standards] (modfl): Allow.
57248         [non-C99-based standards] (erfl): Do not allow.
57249         [non-C99-based standards] (erfcl): Likewise.
57250         [non-C99-based standards] (gammal): Likewise.
57251         [non-C99-based standards] (hypotl): Likewise.
57252         [non-C99-based standards] (j0l): Likewise.
57253         [non-C99-based standards] (j1l): Likewise.
57254         [non-C99-based standards] (jnl): Likewise.
57255         [non-C99-based standards] (lgammal): Likewise.
57256         [non-C99-based standards] (tgammal): Likewise.
57257         [non-C99-based standards] (y0l): Likewise.
57258         [non-C99-based standards] (y1l): Likewise.
57259         [non-C99-based standards] (ynl): Likewise.
57260         [non-C99-based standards] (isnanl): Likewise.
57261         [non-C99-based standards] (acoshl): Likewise.
57262         [non-C99-based standards] (asinhl): Likewise.
57263         [non-C99-based standards] (atanhl): Likewise.
57264         [non-C99-based standards] (cbrtl): Likewise.
57265         [non-C99-based standards] (expm1l): Likewise.
57266         [non-C99-based standards] (ilogbl): Likewise.
57267         [non-C99-based standards] (log1pl): Likewise.
57268         [non-C99-based standards] (logbl): Likewise.
57269         [non-C99-based standards] (nextafterl): Likewise.
57270         [non-C99-based standards] (remainderl): Likewise.
57271         [non-C99-based standards] (rintl): Likewise.
57272         [non-C99-based standards] (scalbl): Likewise.
57273         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57274         [non-C99-based standards] (FP_*): Do not allow.
57275         [C99-based standards] (FP_*): Change to
57276         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
57277         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
57278         allow.
57279         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
57280         (SIG_ERR): Likewise.
57281         [X/Open-based standards] (SIG_HOLD): Likewise.
57282         (SIG_IGN): Likewise.
57283         (SIGABRT): Use macro-int-constant.  Specify type.  Require
57284         positive value.
57285         (SIGFPE): Likewise.
57286         (SIGILL): Likewise.
57287         (SIGINT): Likewise.
57288         (SIGSEGV): Likewise.
57289         (SIGTER): Likewise.
57290         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
57291         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
57292         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
57293         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
57294         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
57295         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
57296         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
57297         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
57298         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
57299         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
57300         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
57301         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
57302         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
57303         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
57304         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
57305         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
57306         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
57307         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
57308         [X/Open-based standards] (SIGTRAP): Likewise.
57309         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
57310         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
57311         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
57312         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
57313         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
57314         allow.
57316 2012-05-08  Ian Wienand  <ianw@vmware.com>
57318         [BZ #14080]
57319         * time/tzset.c (__tzset_parse_tz): Update default rules for
57320         daylight time changes in the Energy Policy Act of 2005.
57322 2012-05-09  Andreas Jaeger  <aj@suse.de>
57324         [BZ #13983]
57325         * elf/ldconfig.c (parse_conf): Change string to make clear that
57326         ldconfig only issued a warning if ld.so.conf does not exist.
57328 2012-05-08  David S. Miller  <davem@davemloft.net>
57330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
57331         movxtod instead of popping the value on the stack.
57333         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57335 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
57337         * config.h.in: Add HAVE_ARM_PCS_VFP.
57339 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
57341         [BZ #13979]
57342         * include/features.h: Warn if user requests __FORTIFY_SOURCE
57343         checking but the checks are disabled for any reason.
57345 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
57347         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
57348         and ELF64_R_TYPE with ELFW(R_TYPE).
57350 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
57352         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
57353         (ulimit): Likewise.
57355         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
57356         (settimeofday): Likewise.
57358 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
57360         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
57361         a struct th_u2 inside the union, and move tu_block/tu_code into
57362         a new th_u3 union of tu_block/tu_code inside of that.  Move
57363         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
57364         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
57365         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
57366         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
57367         (th_stuff): Change to th_u1.tu_stuff.
57368         (th_data): Define.
57369         (th_msg): Change to th_u1.th_u2.tu_data.
57371 2012-05-07  David S. Miller  <davem@davemloft.net>
57373         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57375         [BZ #14074]
57376         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
57377         (SETUP_PIC_REG): Use it.
57378         (SETUP_PIC_REG_LEAF): Use it.
57380 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
57382         [BZ #13885]
57383         [BZ #13923]
57384         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
57385         USE_AS_EXPM1L.
57386         (EXPL_FINITE): Likewise.
57387         (FLDLOG): Likewise.
57388         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
57389         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
57390         e_expl.S.
57391         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
57392         USE_AS_EXPM1L.
57393         (EXPL_FINITE): Likewise.
57394         (FLDLOG): Likewise.
57395         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
57396         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
57397         e_expl.S.
57398         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
57399         test of -max_value argument for long double.
57400         * sysdeps/i386/fpu/libm-test-ulps: Update.
57401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57403 2012-05-06  David S. Miller  <davem@davemloft.net>
57405         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
57406         quad soft-float symbols whose references which are compiler
57407         generated.
57408         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
57410 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
57412         [BZ #13884]
57413         [BZ #13914]
57414         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
57415         USE_AS_EXP10L.
57416         (EXPL_FINITE): Likewise.
57417         (FLDLOG): Likewise.
57418         (c0): Likewise.
57419         (c1): Likewise.
57420         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
57421         Adjust comments for base varying.
57422         (__expl_finite): Change alias to EXPL_FINITE.
57423         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
57424         e_expl.S.
57425         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
57426         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
57427         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
57428         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
57429         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
57430         USE_AS_EXP10L.
57431         (EXPL_FINITE): Likewise.
57432         (FLDLOG): Likewise.
57433         (c0): Likewise.
57434         (c1): Likewise.
57435         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
57436         Adjust comments for base varying.
57437         (__expl_finite): Change alias to EXPL_FINITE.
57438         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
57439         tests for bugs.
57440         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57442         [BZ #14064]
57443         * math/libm-test.inc (check_float_internal): Correct ulp
57444         calculation for subnormal expected results.
57446 2012-05-06  Andreas Jaeger  <aj@suse.de>
57448         * Makeconfig (+math-flags): New, set to -frounding-math.
57449         (+cflags): Add +math-flags so that all of glibc gets compiled with
57450         it.
57452         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
57454 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
57456         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
57457         Disable one test.
57459         [BZ #13787]
57460         [BZ #13922]
57461         [BZ #14036]
57462         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
57463         (__ieee754_expl): Allow for and saturate large arguments.
57464         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
57465         (u_threshold): Likewise.
57466         (__exp): Call __ieee754_exp before checking for overflow and
57467         underflow.
57468         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
57469         (u_threshold): Likewise.
57470         (__expf): Call __ieee754_expf before checking for overflow and
57471         underflow.
57472         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
57473         (u_threshold): Likewise.
57474         (__expl): Call __ieee754_expl before checking for overflow and
57475         underflow.
57476         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
57477         (__ieee754_expl): Allow for and saturate large arguments.
57478         * math/libm-test.inc (exp_test): Add another test.  Do not allow
57479         missing overflow exception on overflow.
57480         (expm1_test): Do not allow missing overflow exception on overflow.
57482         * sysdeps/i386/fpu/e_expl.c: Move to ...
57483         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
57484         rather than using inline asm.
57485         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
57486         * sysdeps/x86_64/fpu/e_expl.S: Copy from
57487         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
57489         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
57490         (nice): Likewise.
57491         (poll): Likewise.
57492         (signal): Likewise.
57493         (time): Likewise.
57494         (times): Likewise.
57496 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
57498         * sysdeps/unix/syscalls.list (adjtime): Add entry from
57499         sysdeps/unix/common/syscalls.list.
57500         (fchmod): Likewise.
57501         (fchown): Likewise.
57502         (ftruncate): Likewise.
57503         (getrusage): Likewise.
57504         (gettimeofday): Likewise.
57505         (setpgid): Likewise.
57506         (setregid): Likewise.
57507         (setreuid): Likewise.
57508         (sigaction): Likewise.
57509         (truncate): Likewise.
57510         (vhangup): Likewise.
57511         * sysdeps/unix/common/syscalls.list: Remove file.
57512         * sysdeps/unix/bsd/Implies: Don't include unix/common.
57513         * sysdeps/unix/sysv/linux/Implies: Likewise.
57515 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
57517         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
57518         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
57519         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
57520         Moved to ...
57521         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
57522         Here.
57523         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
57524         to ...
57525         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
57526         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
57527         to ...
57528         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
57529         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
57530         to ...
57531         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
57532         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
57533         to ...
57534         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
57535         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
57536         to ...
57537         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
57538         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
57539         to ...
57540         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
57541         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
57542         to ...
57543         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
57544         Here.
57545         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
57546         to ...
57547         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
57548         Here.
57549         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
57550         to ...
57551         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
57552         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
57553         Moved to ...
57554         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
57555         Here.
57556         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
57557         to ...
57558         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
57560 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
57562         * sysdeps/unix/common/bits/dirent.h: Remove file.
57563         * sysdeps/unix/common/bits/fcntl.h: Likewise.
57565         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
57566         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
57567         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
57568         * sysdeps/unix/bsd/isatty.c: Likewise.
57569         * sysdeps/unix/bsd/tcdrain.c: Likewise.
57570         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
57571         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
57573 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57575         [BZ #13563]
57576         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
57577         long double comparison inaccuracies.
57578         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
57579         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57581 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
57583         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
57584         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
57586 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
57588         [BZ #14049]
57589         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
57590         nonzero digits before rounding a hex value.
57591         * stdlib/tst-strtod.c (tests): Add another test.
57593 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57595         * sysdeps/s390/fpu/libm-test-ulps: Update.
57597 2012-05-03  Andreas Jaeger  <aj@suse.de>
57599         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
57600         does not get optimized out.
57601         (malloc_opt_barrier): New.
57603 2012-05-03  Andreas Jaeger  <aj@suse.de>
57604             Roland McGrath  <roland@hack.frob.com>
57606         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
57607         intermediate file deletion.
57608         (generated): Add .symlist files.
57610 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
57612         [BZ #13775]
57613         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
57614         Redirect under this condition.
57615         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
57616         [__USE_GNU] (__dprintf_chk): Not under this condition.
57617         [__USE_GNU] (__vdprintf_chk): Likewise.
57618         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
57619         under this condition.
57620         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
57621         [__USE_XOPEN2K8] (dprintf): Define under this condition.
57622         [__USE_XOPEN2K8] (vdprintf): Likewise.
57623         [__USE_GNU] (__dprintf_chk): Not under this condition.
57624         [__USE_GNU] (__vdprintf_chk): Likewise.
57625         [__USE_GNU] (dprintf): Likewise.
57626         [__USE_GNU] (vdprintf): Likewise.
57628 2012-05-03  Roland McGrath  <roland@hack.frob.com>
57630         * elf/Makefile (common-generated): Set this instead of generated for
57631         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
57632         $(all-built-dso)-derived lists.
57634 2012-05-03  Andreas Jaeger  <aj@suse.de>
57636         * sysdeps/i386/fpu/libm-test-ulps: Update.
57638         * FAQ: Removed.
57639         * FAQ.in: Likewise.
57640         * scripts/gen-FAQ.pl: Likewise.
57641         * manual/install.texi (Installation): Point to online location of
57642         FAQ.
57643         * Makefile (files-for-dist): Remove FAQ.
57644         (FAQ): Remove.
57646 2012-05-02  Allan McRae  <allan@archlinux.org>
57648         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
57649         (LDFLAGS-reldepmod5.so): Likewise.
57650         (LDFLAGS-reldep6mod1.so): Likewise.
57651         (LDFLAGS-reldep6mod4.so): Likewise.
57652         (LDFLAGS-reldep8mod3.so): Likewise.
57653         (LDFLAGS-unload4mod1.so): Likewise.
57654         (LDFLAGS-unload4mod2.so): Likewise.
57655         (LDFLAGS-tst-initorder): Likewise.
57656         (LDFLAGS-tst-initordera2.so): Likewise.
57657         (LDFLAGS-tst-initordera3.so): Likewise.
57658         (LDFLAGS-tst-initordera4.so): Likewise.
57659         (LDFLAGS-tst-initorderb2.so): Likewise.
57660         (LDFLAGS-noload): Likewise.
57661         (LDFLAGS-next): Likewise.
57662         (LDFLAGS-order2mod1.so): Likewise.
57663         (LDFLAGS-order2mod2.so): Likewise.
57664         (LDFLAGS-tst-initorder2): Likewise.
57665         (LDFLAGS-tst-initorder2a.so): Likewise.
57666         (LDFLAGS-tst-initorder2b.so): Likewise.
57667         (LDFLAGS-tst-initorder2c.so): Likewise.
57668         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
57670 2012-05-02  David S. Miller  <davem@davemloft.net>
57672         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57674 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
57676         [BZ #14055]
57677         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
57679 2012-05-02  Andreas Jaeger  <aj@suse.de>
57681         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
57682         since we manipulate rounding mode.
57683         (CPPFLAGS-test-idouble.c): Likewise.
57684         (CPPFLAGS-test-ifloat.c): Likewise.
57685         (CFLAGS-test-ldouble.c): Likewise.
57686         (CFLAGS-test-double.c): Likewise.
57687         (CFLAGS-test-float.c): Likewise.
57688         (CFLAGS-test-misc.c): Likewise.
57689         (CFLAGS-test-test-fenv.c): Likewise.
57691 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57693         [BZ #2550]
57694         [BZ #2570]
57695         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
57696         comparisons to determine direction to adjust input.
57698 2012-05-01  Roland McGrath  <roland@hack.frob.com>
57700         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
57701         output to the target.
57703         * scripts/localplt.awk: New file.
57704         * elf/Makefile ($(objpfx)check-localplt): Target removed.
57705         (check-localplt-CFLAGS): Variable removed.
57706         ($(all-built-dso:=.jmprel)): New static pattern rule.
57707         (generated): Add those targets.
57708         (localplt-built-dso): New variable.
57709         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
57711         * elf/check-localplt.c: File removed.
57713         * scripts/check-execstack.awk: New file.
57714         * elf/Makefile ($(objpfx)check-execstack): Target removed.
57715         (check-execstack-CFLAGS): Variable removed.
57716         ($(objpfx)check-execstack.h): Target removed.
57717         ($(objpfx)execstack-default): New target.
57718         (generated): Add that instead of check-execstack.h.
57719         ($(all-built-dso:=.phdr)): New static pattern rule.
57720         (generated): Add those targets.
57721         * elf/check-execstack.c: File removed.
57723         * scripts/check-textrel.awk: New file.
57724         * elf/Makefile ($(objpfx)check-textrel): Target removed.
57725         (check-textrel-CFLAGS): Variable removed.
57726         (all-built-dso): Use := to define.o
57727         ($(all-built-dso:=.dyn)): New static pattern rule.
57728         (generated): Add those targets.
57729         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
57730         * config.make.in (READELF): New substituted variable.
57731         * elf/check-textrel.c: File removed.
57733 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
57735         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
57736         allow.
57737         * conform/data/ctype.h-data [C99-based standards] (isblank):
57738         Expect function.
57739         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
57740         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
57741         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57742         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
57743         Specify type.  Require positive value.
57744         (EILSEQ): Likewise.
57745         (ERANGE): Likewise.
57746         [ISO || POSIX] (EILSEQ): Do not expect.
57747         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
57748         Specify type.  Require positive value.
57749         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
57750         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
57751         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
57752         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
57753         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
57754         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
57755         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
57756         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
57757         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
57758         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
57759         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
57760         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
57761         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
57762         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
57763         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
57764         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
57765         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
57766         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
57767         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
57768         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
57769         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
57770         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
57771         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
57772         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
57773         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
57774         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
57775         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
57776         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
57777         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
57778         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
57779         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
57780         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
57781         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
57782         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
57783         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
57784         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
57785         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
57786         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
57787         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
57788         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
57789         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
57790         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
57791         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
57792         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
57793         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
57794         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
57795         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
57796         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
57797         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
57798         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
57799         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
57800         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
57801         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
57802         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
57803         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
57804         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
57805         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
57806         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
57807         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
57808         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
57809         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
57810         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
57811         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
57812         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
57813         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
57814         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
57815         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
57816         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
57817         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
57818         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
57819         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
57820         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
57821         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
57822         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
57823         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
57824         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
57825         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
57826         Require >= 2.
57827         (FLT_ROUNDS): Expect as macro, not constant.
57828         (FLT_MANT_DIG): Use macro-int-constant.
57829         (DBL_MANT_DIG): Likewise.
57830         (LDBL_MANT_DIG): Likewise.
57831         (FLT_DIG): Likewise.
57832         (DBL_DIG): Likewise.
57833         (LDBL_DIG): Likewise.
57834         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
57835         (DBL_MIN_EXP): Likewise.
57836         (LDBL_MIN_EXP): Likewise.
57837         (FLT_MAX_EXP): Use macro-int-constant.
57838         (DBL_MAX_EXP): Likewise.
57839         (LDBL_MAX_EXP): Likewise.
57840         (FLT_MAX_10_EXP): Likewise.
57841         (DBL_MAX_10_EXP): Likewise.
57842         (LDBL_MAX_10_EXP): Likewise.
57843         (FLT_MAX): Use macro-constant.
57844         (DBL_MAX): Likewise.
57845         (LDBL_MAX): Likewise.
57846         (FLT_EPSILON): Use macro-constant.  Give upper bound.
57847         (DBL_EPSILON): Likewise.
57848         (LDBL_EPSILON): Likewise.
57849         (FLT_MIN): Likewise.
57850         (DBL_MIN): Likewise.
57851         (LDBL_MIN): Likewise.
57852         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
57853         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
57854         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
57855         [ISO11] (FLT_HAS_SUBNORM): Likewise.
57856         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
57857         [ISO11] (DBL_DECIMAL_DIG): Likewise.
57858         [ISO11] (FLT_DECIMAL_DIG): Likewise.
57859         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
57860         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
57861         [ISO11] (FLT_TRUE_MIN): Likewise.
57862         [ISO11] (LDBL_TRUE_MIN): Likewise.
57863         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57864         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
57865         (SCHAR_MIN): Use macro-int-constant.  Specify type.
57866         (SCHAR_MAX): Likewise.
57867         (UCHAR_MAX): Likewise.
57868         (CHAR_MIN): Likewise.
57869         (CHAR_MAX): Likewise.
57870         (MB_LEN_MAX): Use macro-int-constant.
57871         (SHRT_MIN): Use macro-int-constant.  Specify type.
57872         (SHRT_MAX): Likewise.
57873         (USHRT_MAX): Likewise.
57874         (INT_MAX): Likewise.
57875         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
57876         bound negative.
57877         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
57878         bound with "U".
57879         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
57880         bound with "L".
57881         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
57882         bound negative.  Suffix upper bound with "L".
57883         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
57884         bound with "UL".
57885         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
57886         Specify type.
57887         [C99-based standards] (LLONG_MAX): Likewise.
57888         [C99-based standards] (ULLONG_MAX): Likewise.
57889         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
57890         == 0.
57891         [ISO11] (max_align_t): Require type.
57892         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57894         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
57895         from $CFLAGS, without defining away __attribute__ calls.
57896         (checknamespace): Use $CFLAGS_namespace.
57898         * conform/conformtest.pl (@keywords): Only include C99 keywords
57899         for standards based on C99 or C11.
57901         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
57902         Disable tests.
57903         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
57904         UNIX98]: Likewise.
57906         * conform/conformtest.pl: Handle "macro-int-constant" and test for
57907         usability of symbols in #if.
57909         * conform/conformtest.pl: If macro or constant types start
57910         "promoted:", expect the symbol to be of the following type
57911         promoted by the integer promotions.
57913         * conform/conformtest.pl: Parse all "constant" and "macro" lines
57914         in one place.  Also handle "macro-constant".
57916         * conform/conformtest.pl: Only accept expected macro values with
57917         "==".  Parse all "macro" lines in one place.
57918         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
57920         * conform/conformtest.pl: Handle braced types on "constant" lines
57921         instead of handling "typed-constant".
57922         * conform/data/signal.h-data: Use "constant" instead of
57923         "typed-constant".
57925         * conform/conformtest.pl: Handle "optional-" at start of lines in
57926         one place rather than duplicating several cases.  Handle each
57927         format of "macro" line with initial "optional-".
57929         * conform/conformtest.pl: Only accept expected constant or
57930         optional-constant values with "==".  Parse all "constant" lines in
57931         one place.  Parse all "optional-constant" lines in one place.
57932         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
57933         * conform/data/fmtmsg.h-data: Likewise.
57934         * conform/data/netinet/in.h-data: Likewise.
57935         * conform/data/tar.h-data: Likewise.
57936         * conform/data/limits.h-data: Use "==" form on "constant" and
57937         "optional-constant" lines.
57939         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
57940         Use -std=c99 for XOPEN2K.
57941         (@knownproblems): Remove.
57942         (newtoken): Don't check %isknown.
57944         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
57945         Do not expect macro.
57946         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
57947         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
57948         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
57949         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
57950         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
57951         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
57952         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
57953         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
57954         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
57955         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
57956         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
57957         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
57958         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
57959         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
57960         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
57961         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
57962         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
57963         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
57964         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
57965         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
57966         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
57967         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
57968         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
57969         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
57970         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
57971         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
57972         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
57973         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
57974         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
57975         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
57976         [XPG3] (acosh): Likewise.
57977         [XPG3] (asinh): Likewise.
57978         [XPG3] (atanh): Likewise.
57979         [XPG3] (cbrt): Likewise.
57980         [XPG3] (expm1): Likewise.
57981         [XPG3] (ilogb): Likewise.
57982         [XPG3] (log1p): Likewise.
57983         [XPG3] (logb): Likewise.
57984         [XPG3] (nextafter): Likewise.
57985         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
57986         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
57987         [XPG3] (remainder): Likewise.
57988         [XPG3] (rint): Likewise.
57989         [XPG3 || XPG4 || UNIX98] (round): Likewise.
57990         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
57991         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
57992         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
57993         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
57994         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
57995         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
57996         [UNIX98 || XOPEN2K] (scalb): Expect.
57997         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
57998         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
57999         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
58000         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
58001         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
58002         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
58003         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
58004         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
58005         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
58006         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
58007         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
58008         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
58009         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
58010         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
58011         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
58012         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
58013         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
58014         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
58015         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
58016         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
58017         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
58018         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
58019         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
58020         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
58021         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
58022         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
58023         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
58024         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
58025         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
58026         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
58027         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
58028         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
58029         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
58030         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
58031         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
58032         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
58033         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
58034         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
58035         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
58036         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
58037         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
58038         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
58039         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
58040         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
58041         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
58042         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
58043         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
58044         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
58045         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
58046         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
58047         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
58048         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
58049         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
58050         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
58051         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
58052         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
58053         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
58054         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
58055         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
58056         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
58057         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
58058         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
58059         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
58060         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
58061         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
58062         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
58063         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
58064         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
58065         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
58066         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
58067         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
58068         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
58069         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
58070         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
58071         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
58072         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
58073         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
58074         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
58075         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
58076         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
58077         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
58078         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
58079         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
58080         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
58081         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
58082         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
58083         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
58084         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
58085         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
58086         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
58087         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
58088         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
58089         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
58090         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
58091         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
58092         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
58093         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
58094         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
58095         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
58096         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
58097         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
58098         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
58099         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
58100         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
58101         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
58102         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
58103         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
58104         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
58105         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
58106         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
58107         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
58108         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
58109         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
58110         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
58111         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
58112         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
58113         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
58114         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
58115         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
58116         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
58117         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
58118         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
58119         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
58120         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
58121         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
58122         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
58123         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
58124         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
58125         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
58126         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
58127         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
58128         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
58129         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
58130         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
58131         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
58132         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
58133         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
58135         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
58136         _XOPEN_SOURCE_EXTENDED for XPG4.
58138         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
58140         * Makeconfig (localtime): Remove variable.
58141         (inst_localtime-file): Likewise.
58143 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
58145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
58146         Update.
58147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58148         Update.
58149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
58150         Update.
58151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
58152         Update.
58153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
58154         Update.
58155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
58156         Update.
58157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58158         Update.
58159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
58160         Update.
58161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
58162         Update.
58164 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
58166         [BZ #2550]
58167         [BZ #2570]
58168         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
58169         comparisons to determine direction to adjust input.
58170         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
58171         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
58172         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
58173         Likewise.
58174         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
58175         Likewise.
58176         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
58177         Likewise.
58178         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
58179         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
58180         Likewise.
58181         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
58182         Likewise.
58183         * math/libm-test.inc (nexttoward_test): Add more tests.
58185 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
58187         [BZ #14040]
58188         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
58189         in version GLIBC_2.1, not GLIBC_2.0.
58190         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
58191         Likewise.
58193 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
58195         [BZ #13942]
58196         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
58197         (1 - x) * (1 + x).
58198         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
58199         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
58200         * math/libm-test.inc (acos_test): Add more tests.
58201         (asin_test): Likewise.
58202         * sysdeps/i386/fpu/libm-test-ulps: Update.
58203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58205         [BZ #14034]
58206         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
58207         of square root.
58208         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
58209         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
58210         * math/libm-test.inc (acos_test_tonearest): New function.
58211         (acos_test_towardzero): Likewise.
58212         (acos_test_downward): Likewise.
58213         (acos_test_upward): Likewise.
58214         (asin_test_tonearest): Likewise.
58215         (asin_test_towardzero): Likewise.
58216         (asin_test_downward): Likewise.
58217         (asin_test_upward): Likewise.
58218         (main): Call the new functions.
58219         * sysdeps/i386/fpu/libm-test-ulps: Update.
58220         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58222         [BZ #13884]
58223         [BZ #13924]
58224         * math/e_exp10.c: Include <float.h>.
58225         (__ieee754_exp10): Handle underflow here rather than multiplying
58226         large negative argument by M_LN10.
58227         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
58228         of __ieee754_expf.
58229         * math/e_exp10l.c: Include <float.h>.
58230         (__ieee754_exp10l): Handle underflow here rather than multiplying
58231         large negative argument by M_LN10l.
58232         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
58233         spurious overflow exception on underflow.
58235 2012-04-29  Marek Polacek  <polacek@redhat.com>
58237         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
58238         (__fortify_function): New macro.
58239         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
58240         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
58241         __extern_always_inline.
58242         * libio/bits/stdio2.h: Likewise.
58243         * libio/bits/stdio.h: Likewise.
58244         * string/string.h: Likewise.
58245         * string/bits/string3.h: Likewise.
58246         * include/stdio.h: Likewise.
58247         * stdlib/bits/stdlib.h: Likewise.
58248         * stdlib/stdlib.h: Likewise.
58249         * rt/bits/mqueue2.h: Likewise.
58250         * rt/mqueue.h: Likewise.
58251         * posix/bits/unistd.h: Likewise.
58252         * posix/unistd.h: Likewise.
58253         * io/bits/poll2.h: Likewise.
58254         * io/bits/fcntl2.h: Likewise.
58255         * io/fcntl.h: Likewise.
58256         * io/sys/poll.h: Likewise.
58257         * misc/bits/syslog.h: Likewise.
58258         * misc/bits/syslog-ldbl.h: Likewise.
58259         * misc/sys/syslog.h: Likewise.
58260         * socket/bits/socket2.h: Likewise.
58261         * socket/sys/socket.h: Likewise.
58262         * debug/tst-chk1.c: Likewise.
58263         * wcsmbs/bits/wchar2.h: Likewise.
58264         * wcsmbs/bits/wchar-ldbl.h: Likewise.
58265         * wcsmbs/wchar.h: Likewise.
58267 2012-04-29  Andreas Jaeger  <aj@suse.de>
58269         * Makerules (tests): Remove enable-check-abi protection.
58270         (check-abi-warn): Remove.
58271         (check-abi-%): Remove check-abi-warn usage.
58273         * configure.in: Remove check-abi configure option.
58274         * configure: Regenerated.
58275         * config.make.in (enable-check-abi): Remove.
58277 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
58279         [BZ #14033]
58280         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
58281         double functions to double *_finite functions.
58283         [BZ #13941]
58284         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
58285         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
58286         LDBL_MIN_EXP.
58287         * stdio-common/Makefile (tests): Add tst-sprintf3.
58288         * stdio-common/tst-sprintf3.c: New file.
58290         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
58291         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
58293 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
58295         * conform/conformtest.pl: Remove duplicate typed-constant
58296         handling.
58298 2012-04-28  David S. Miller  <davem@davemloft.net>
58300         * Makerules (%.abilist): Add vpath on sysdep_dirs.
58301         (check-abi-%): Remove AWK script prerequisite and explicit
58302         abilist directory.
58303         (check-abi): Rewrite to just diff the symlist with the abilist.
58304         (config-tls, config-abi-config): Delete, no longer used.
58305         (update-abi-%): Remove AWK script and explicit abilist directory.
58306         (update-abi): Rewrite to simply compare and conditionally copy the
58307         symlist and the sysdep abilist file.  Remove update-abi-config
58308         checks.
58309         * abilist/ld.abilist: Remove.
58310         * abilist/libBrokenLocale.abilist: Remove.
58311         * abilist/libanl.abilist: Remove.
58312         * abilist/libcrypt.abilist: Remove.
58313         * abilist/libdl.abilist: Remove.
58314         * abilist/librt.abilist: Remove.
58315         * abilist/libthread_db.abilist: Remove.
58316         * abilist/libutil.abilist: Remove.
58317         * scripts/extract-abilist.awk: Remove.
58318         * scripts/merge-abilist.awk: Remove.
58319         * sysdeps/generic/libcidn.abilist: New file.
58320         * sysdeps/generic/libnss_compat.abilist: New file.
58321         * sysdeps/generic/libnss_db.abilist: New file.
58322         * sysdeps/generic/libnss_dns.abilist: New file.
58323         * sysdeps/generic/libnss_files.abilist: New file.
58324         * sysdeps/generic/libnss_hesiod.abilist: New file.
58325         * sysdeps/generic/libnss_nis.abilist: New file.
58326         * sysdeps/generic/libnss_nisplus.abilist: New file.
58327         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
58328         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
58329         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
58330         file.
58331         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
58332         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
58333         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
58334         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
58335         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
58336         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
58337         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
58338         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
58339         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
58340         file.
58341         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
58342         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
58343         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
58344         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
58345         file.
58346         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
58347         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
58348         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
58349         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
58350         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
58351         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
58352         file.
58353         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
58354         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
58355         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
58356         file.
58357         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
58358         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
58359         New file.
58360         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
58361         New file.
58362         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
58363         New file.
58364         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
58365         New file.
58366         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
58367         New file.
58368         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
58369         New file.
58370         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
58371         New file.
58372         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
58373         New file.
58374         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
58375         New file.
58376         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
58377         New file.
58378         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
58379         New file.
58380         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
58381         New file.
58382         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
58383         New file.
58384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
58385         file.
58386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
58387         New file.
58388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
58389         New file.
58390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
58391         file.
58392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
58393         New file.
58394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
58395         New file.
58396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
58397         file.
58398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
58399         New file.
58400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
58401         New file.
58402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
58403         New file.
58404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
58405         New file.
58406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
58407         New file.
58408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
58409         New file.
58410         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
58411         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
58412         file.
58413         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
58414         New file.
58415         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
58416         file.
58417         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
58418         file.
58419         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
58420         file.
58421         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
58422         file.
58423         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
58424         file.
58425         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
58426         New file.
58427         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
58428         file.
58429         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
58430         file.
58431         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
58432         New file.
58433         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
58434         file.
58435         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
58436         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
58437         file.
58438         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
58439         New file.
58440         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
58441         file.
58442         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
58443         file.
58444         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
58445         file.
58446         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
58447         file.
58448         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
58449         file.
58450         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
58451         New file.
58452         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
58453         file.
58454         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
58455         file.
58456         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
58457         New file.
58458         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
58459         file.
58460         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
58461         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
58462         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
58463         file.
58464         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
58465         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
58466         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
58467         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
58468         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
58469         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
58470         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
58471         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
58472         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
58473         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
58474         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
58475         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
58476         file.
58477         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
58478         New file.
58479         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
58480         file.
58481         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
58482         file.
58483         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
58484         file.
58485         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
58486         file.
58487         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
58488         file.
58489         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
58490         New file.
58491         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
58492         New file.
58493         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
58494         file.
58495         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
58496         New file.
58497         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
58498         file.
58499         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
58500         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
58501         file.
58502         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
58503         New file.
58504         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
58505         file.
58506         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
58507         file.
58508         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
58509         file.
58510         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
58511         file.
58512         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
58513         file.
58514         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
58515         New file.
58516         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
58517         New file.
58518         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
58519         file.
58520         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
58521         New file.
58522         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
58523         file.
58525 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
58527         * conform/conformtest.pl: Fix typo in handling typed-constant from
58528         allow-header.
58530 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
58532         * README: Cut down references to pre-2.6 Linux kernels and
58533         Linuxthreads.  Update lists of configurations in libc and ports
58534         and sort alphabetically.  Say "or newer" with Linux kernel version
58535         requirements.
58537         * config.h.in [IS_IN_build]: Allow compiling without optimization.
58539 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58541         [BZ #887]
58542         * math/libm-test.inc (logb_test_downward): New test to expose
58543         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
58544         rounding mode.
58546 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
58548         [BZ #14027]
58549         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
58550         to be done.
58551         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
58552         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
58554 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
58556         * sysdeps/unix/i386/brk.S: Remove file.
58557         * sysdeps/unix/i386/dl-brk.S: Likewise.
58558         * sysdeps/unix/i386/pipe.S: Likewise.
58559         * sysdeps/unix/i386/sigreturn.S: Likewise.
58560         * sysdeps/unix/i386/syscall.S: Likewise.
58561         * sysdeps/unix/i386/vfork.S: Likewise.
58562         * sysdeps/unix/i386/wait.S: Likewise.
58564         * sysdeps/unix/common/tcsendbrk.c: Move to ...
58565         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
58567         * configure.in (arm*-none*): Do not allow without
58568         --enable-hacker-mode.
58569         (netbsd*): Remove case setting base_os.
58570         (386bsd*): Likewise.
58571         (freebsd*): Likewise.
58572         (bsdi*): Likewise.
58573         (osf*): Likewise.
58574         (sunos*): Likewise.
58575         (ultrix*): Likewise.
58576         (newsos*): Likewise.
58577         (dynix*): Likewise.
58578         (*bsd*): Likewise.
58579         (sysv*): Likewise.
58580         (isc*): Likewise.
58581         (esix*): Likewise.
58582         (sco*): Likewise.
58583         (minix*): Likewise.
58584         (irix4*): Likewise.
58585         (irix6*): Likewise.
58586         (solaris[2-9]*): Likewise.
58587         (none): Likewise.
58588         * configure: Regenerated.
58590 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58592         [BZ #11521]
58593         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
58594         overflow or cancellation in calculating denominator.
58595         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
58596         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
58597         down expression to avoid unexpected rounding in newer GCCs.
58598         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
58600 2012-04-26  David S. Miller  <davem@davemloft.net>
58602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
58603         long-double compat symbols.
58604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
58605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
58606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
58607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
58608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
58609         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
58610         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
58611         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
58612         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
58613         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
58614         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
58615         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
58616         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
58618 2012-04-25  David S. Miller  <davem@davemloft.net>
58620         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
58621         HWCAP_* values only after the memory barriers have been defined.
58622         (atomic_full_barrier): Define.
58623         (atomic_read_barrier): Define.
58624         (atomic_write_barrier): Define.
58626 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58628         * shlib-versions: Add libgcc_s version information.
58629         * sysdeps/generic/libgcc_s.h: Remove.
58630         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
58631         libgcc_s.h.
58632         * sysdeps/gnu/unwind-resume.c: Likewise.
58633         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
58635 2012-04-25  David S. Miller  <davem@davemloft.net>
58637         * sysdeps/unix/sparc/brk.S: Delete.
58638         * sysdeps/unix/sparc/dl-brk.S: Delete.
58639         * sysdeps/unix/sparc/pipe.S: Delete.
58640         * sysdeps/unix/sparc/sysdep.S: Delete.
58641         * sysdeps/unix/sparc/sysdep.h: Delete.
58642         * sysdeps/unix/sparc/vfork.S: Delete.
58643         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
58644         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
58645         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
58646         (ret_ERRVAL, r0, r1, MOVE): Define.
58647         (JUMPTARGET): Remove.
58648         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
58649         sysdeps/unix/sparc/sysdep.h
58650         (ENTRY, END): Remove.
58651         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
58653 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
58655         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
58656         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
58657         -DIS_IN_build.
58659         * timezone/README: Update upstream location and email address for
58660         tzcode and tzdata.
58661         * timezone/zdump.c: Update from tzcode 2012b.
58662         * timezone/zic.c: Likewise.
58664         * configure.in (libc_cv_as_needed): Remove test.
58665         * configure: Regenerated.
58666         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
58667         conditional definition.
58668         [$(have-as-needed) != yes] (no-as-needed): Likewise.
58669         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
58670         * config.make.in (have-as-needed): Remove variable.
58672 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
58673             Paul Pluzhnikov  <ppluzhnikov@google.com>
58675         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
58676         strings correctly.
58678 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
58680         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
58681         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
58682         * sysdeps/sh/strlen.S: Likewise.
58684 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
58686         * sysdeps/unix/fork.S: Remove file.
58687         * sysdeps/unix/i386/fork.S: Likewise.
58688         * sysdeps/unix/sparc/fork.S: Likewise.
58690         * sysdeps/unix/system.c: Remove file.
58691         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
58693         * sysdeps/unix/getegid.S: Remove file.
58694         * sysdeps/unix/geteuid.S: Likewise.
58696 2012-04-24  Roland McGrath  <roland@hack.frob.com>
58698         * scripts/check-localplt.awk: New file.
58699         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
58700         of diff.
58701         * scripts/data/localplt-generic.data: Add a comment.
58703         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
58704         NODE when __dir_mkfile failed.
58705         * sysdeps/mach/hurd/symlinkat.c: Likewise.
58706         Reported by Ludovic Courtès <ludo@gnu.org>.
58708 2012-04-24  Andreas Jaeger  <aj@suse.de>
58710         * Makerules (common-clean): Also remove gen-as-const-headers
58711         files.
58713 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
58715         * Makerules (native-compile): Do not change working directory for
58716         build.  Use $(OUTPUT_OPTION) in command.
58717         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
58719 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58721         [BZ #13886]
58722         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
58723         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
58724         * math/libm-test.inc (floor_test): Add more tests.
58725         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
58727 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
58729         * sysdeps/unix/getdents.c: Remove file.
58730         * sysdeps/unix/sysv/getdents.c: Likewise.
58731         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
58733         * sysdeps/unix/syscalls.list (madvise): Add syscall from
58734         sysdeps/unix/mman/syscalls.list.
58735         (mmap): Likewise.
58736         (mprotect): Likewise.
58737         (msync): Likewise.
58738         (munmap): Likewise.
58739         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
58740         * sysdeps/unix/mman/syscalls.list: Remove.
58741         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
58743         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
58744         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
58745         * configure: Regenerated.
58746         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
58747         $(libgcc_s_suffix).
58748         * config.make.in (libgcc_s_suffix): Remove variable.
58750 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
58752         * sysdeps/unix/sysv/gethostname.c: Move to ...
58753         * sysdeps/posix/gethostname.c: ... here.
58755         * sysdeps/unix/execve.S: Remove file.
58757         * sysdeps/unix/_exit.S: Remove file.
58759 2012-04-23  Andreas Jaeger  <aj@suse.de>
58761         [BZ #13739]
58762         * manual/Makefile: Remove make dist support, there's no
58763         need for a stand-alone documentation tar ball.
58764         (TEXI2DVI): Define always, it's not in Makeconfig.
58765         (dist): Removed.
58766         (tar-it): Removed.
58767         (edition): Removed.
58768         (glibc-doc-$(edition).tar): Removed
58769         (%.Z): Removed.
58770         (%.gz): Removed.
58771         (%.uu): Removed.
58772         (ETAGS): Remove, it's in Makeconfig.
58773         (move-if-change): Remove, it's in Makeconfig.
58775 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
58777         [BZ #13970]
58778         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
58779         (strtod, strtof, strtold, strtol, strtoul, strtoq)
58780         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
58781         (strtod_l, strtof_l, strtold_l): Remove __wur.
58782         It is not necessarily an error to ignore strtol's return value.
58783         One can reliably look at the stored endptr to decide whether
58784         the number had valid syntax.
58786 2012-04-21  Andreas Jaeger  <aj@suse.de>
58788         [BZ #13739]
58789         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
58791 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
58793         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
58794         * sysdeps/unix/sysv/Versions: Remove file.
58796 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
58798         [BZ #13927]
58799         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58801 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
58803         [BZ #7064]
58804         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
58805         version from __vm86.
58807 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
58809         * sysdeps/unix/common/lxstat.c: Remove file.
58810         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
58812         * sysdeps/unix/sysv/Makefile: Remove file.
58814         * sysdeps/unix/sysv/direct.h: Remove file.
58816         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
58817         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
58818         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
58819         * sysdeps/unix/sysv/bits/signum.h: Likewise.
58820         * sysdeps/unix/sysv/bits/stat.h: Likewise.
58821         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
58822         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
58824         * sysdeps/unix/sysv/setrlimit.c: Remove file.
58826         * sysdeps/unix/xmknod.c: Remove file.
58827         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
58829         * sysdeps/unix/sysv/settimeofday.c: Remove file.
58831         * sysdeps/unix/sysv/i386/time.S: Remove file.
58833         * sysdeps/unix/fxstat.c: Remove file.
58834         * sysdeps/unix/xstat.c: Likewise.
58835         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
58837         * sysdeps/unix/sysv/sigaction.c: Remove file.
58839         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
58840         (sysdep_headers): Remove variable.
58841         [termio.h not in sysdep_headers] (generated): Likewise.
58842         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
58843         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
58844         * sysdeps/unix/sysv/tcdrain.c: Likewise.
58845         * sysdeps/unix/sysv/tcflow.c: Likewise.
58846         * sysdeps/unix/sysv/tcflush.c: Likewise.
58847         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
58848         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
58849         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
58850         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
58851         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
58853         * sysdeps/unix/siglist.c: Remove file.
58855         * sysdeps/unix/getppid.S: Remove file.
58857         * sysdeps/unix/mkdir.c: Remove file.
58858         * sysdeps/unix/rmdir.c: Likewise.
58860 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
58862         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
58863         ERR_MAX value.
58864         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
58865         errlist-compat value.
58867 2012-04-18  David S. Miller  <davem@davemloft.net>
58869         * sysdeps/generic/memcopy.h (reg_char): Delete.
58870         * debug/strcat_chk.c: Use char, not reg_char.
58871         * debug/strcpy_chk.c: Likewise.
58872         * debug/strncat_chk.c: Likewise.
58873         * debug/strncpy_chk.c: Likewise.
58874         * string/memchr.c: Likewise.
58875         * string/memrchr.c: Likewise.
58876         * string/rawmemchr.c: Likewise.
58877         * string/strcat.c: Likewise.
58878         * string/strchr.c: Likewise.
58879         * string/strchrnul.c: Likewise.
58880         * string/strcmp.c: Likewise.
58881         * string/strcpy.c: Likewise.
58882         * string/strncat.c: Likewise.
58883         * string/strncmp.c: Likewise.
58884         * string/strncpy.c: Likewise.
58886 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
58888         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
58889         __builtin_memcopy is called when src and dest ranges are known to not
58890         overlap.
58892 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
58894         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
58895         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
58896         fwd_align_merge macro call.
58897         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
58898         bwd_align_merge macro call.
58899         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
58901 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
58903         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
58904         bwd_align_merge macros.
58905         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
58906         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
58907         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
58909 2012-04-18  David S. Miller  <davem@davemloft.net>
58911         * sysdeps/sparc/sparc64/memcopy.h: Delete.
58913 2012-04-18  Andreas Jaeger  <aj@suse.de>
58915         [BZ# 6794]
58916         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
58917         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
58918         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
58920         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
58921         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
58922         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
58924         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
58925         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
58926         Adjust for changed ldbl-128 files.
58928         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
58929         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
58930         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
58932 2012-04-17  David S. Miller  <davem@davemloft.net>
58934         * sysdeps/sparc/sparc32/memcopy.h: Delete.
58936 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
58938         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
58939         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
58940         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
58941         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
58942         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
58943         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
58945 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58947         [BZ #6794]
58948         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
58949         * math/libm-test.inc: Add ilogb errno and exception tests.
58950         * math/w_ilogb.c: New file: ilogb wrapper.
58951         * math/w_ilogbf.c: New file: ilogbf wrapper.
58952         * math/w_ilogbl.c: New file: ilogbl wrapper.
58953         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
58954         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
58955         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
58956         exception being thrown with 0.0 as argument.
58957         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
58958         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
58959         exception being thrown with 0.0 as argument.
58960         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
58961         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
58962         exception being thrown with 0.0 as argument.
58963         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
58964         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
58965         exception being thrown with 0.0 as argument.
58966         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
58967         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
58968         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
58969         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
58970         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
58971         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
58972         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
58973         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
58974         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
58976 2012-04-17  Petr Baudis  <pasky@ucw.cz>
58978         * include/sys/uio.h: Change __vector to __iovec to avoid clash
58979         with altivec.
58981 2012-04-16  Marek Polacek  <polacek@redhat.com>
58983         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
58985 2012-04-16  Marek Polacek  <polacek@redhat.com>
58987         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
58988         operands of fdivp instruction.
58990 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
58992         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
58993         * elf/tst-auditmod3b.c: Likewise.
58994         * elf/tst-auditmod4b.c: Likewise.
58995         * elf/tst-auditmod5b.c: Likewise.
58996         * elf/tst-auditmod6b.c: Likewise.
58997         * elf/tst-auditmod6c.c: Likewise.
58998         * elf/tst-auditmod7b.c: Likewise.
58999         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
59000         * sysdeps/x86_64/preconfigure.in: Likewise.
59001         * sysdeps/x86_64/preconfigure: Regenerated.
59003 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
59005         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
59006         __ILP32__.
59008 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
59010         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59011         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
59013 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
59015         [BZ #13973]
59016         * locale/iso-639.def: Fix gl language name. Spotted by
59017         Yaron Shahrabani.
59019 2012-04-12  Roland McGrath  <roland@hack.frob.com>
59021         [BZ #2074]
59022         * libio/libio.h (__io_write_fn): Update comment.
59024 2012-04-12  Petr Baudis  <pasky@ucw.cz>
59026         [BZ #2074]
59027         * stdio.texi (Hook Functions): The user provided writer function
59028         is not allowed to return -1.
59030 2012-04-11  David S. Miller  <davem@davemloft.net>
59032         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59034 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
59036         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
59037         Add a leading slash to rtkaio.
59039 2012-04-11  Jim Meyering  <meyering@redhat.com>
59041         [BZ #11959]
59042         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
59043         It is not necessarily an error to ignore fwrite's return
59044         value.  One can reliably use ferror to test for errors after
59045         the fact.
59047 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
59049         * bits/types.h (__snseconds_t): New type.
59050         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
59052         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
59053         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59054         (__SNSECONDS_T_TYPE): Likewise.
59055         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59056         (__SNSECONDS_T_TYPE): Likewise.
59057         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59058         (__SNSECONDS_T_TYPE): Likewise.
59060 2012-04-10  Andreas Jaeger  <aj@suse.de>
59062         [BZ #2636]
59063         * manual/time.texi (Processor Time): Return type of times is
59064         elapsed real time since an arbitrary point in the past.
59065         (CPU Time): Move CLK_TCK from here...
59066         (Processor Time): ...to here.  Correct description.
59067         * manual/conf.texi (Constants for Sysconf): Correct description of
59068         _SC_CLK_TCK.
59070 2012-04-10  David S. Miller  <davem@davemloft.net>
59072         [BZ #13967]
59073         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
59074         where the is a gap between DT_REL(A) and DT_JMPREL.
59076 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
59078         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
59079         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
59080         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
59082 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59084         * elf/dl-support.c (_dl_inhibit_cache): New variable.
59085         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
59086         (dl_main): Handle --inhibit-cache.
59087         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
59088         _dl_inhibit_cache.
59089         * elf/dl-load.c (_dl_map_object): Use it.
59090         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
59092 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
59094         [BZ #13872]
59095         * sysdeps/i386/fpu/e_powl.S (p78): New object.
59096         (__ieee754_powl): Saturate large exponents rather than testing for
59097         overflow of y*log2(x).
59098         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
59099         * math/libm-test.inc (pow_test): Do not permit spurious overflow
59100         exceptions.
59102         [BZ #11521]
59103         * math/s_ctan.c: Include <float.h>.
59104         (__ctan): Avoid internal overflow or cancellation in calculating
59105         denominator.
59106         * math/s_ctanf.c: Likewise.
59107         * math/s_ctanl.c: Likewise.
59108         * math/s_ctanh.c: Likewise.
59109         * math/s_ctanhf.c: Likewise.
59110         * math/s_ctanhl.c: Likewise.
59111         * math/libm-test.inc (ctan_test): Add more tests.
59112         (ctanh_test): Likewise.
59113         * sysdeps/i386/fpu/libm-test-ulps: Update.
59114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59116 2012-04-09  Andreas Jaeger  <aj@suse.de>
59118         [BZ #6894]
59119         * manual/filesys.texi (Directory Entries): Mention that d_namlen
59120         is an optional BSD extension.
59122         [BZ #10254]
59123         * manual/stdio.texi (Opening Streams): Document additional fopen
59124         parameters.
59126 2012-04-09  Roland McGrath  <roland@hack.frob.com>
59128         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
59129         %eax without telling the compiler.
59131 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
59133         [BZ # 13963]
59134         * manual/install.texi: Use sourceware.org.
59136 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
59138         [BZ #13873]
59139         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
59140         (__ieee754_pow): Generate overflow and underflow using huge*huge
59141         and tiny*tiny rather than just returning constant infinity or zero
59142         for large exponents.
59143         * math/libm-test.inc (pow_test): Require overflow exceptions for
59144         applicable cases of large exponents.
59146         [BZ #706]
59147         * sysdeps/i386/fpu/e_pow.S (p10): New object.
59148         (__ieee754_pow): Use iterative multiplication algorithm only for
59149         integer exponents with absolute value below 1024.  Check for odd
59150         integer exponents when using algorithm for real exponents.
59151         * math/libm-test.inc (pow_test): Add more tests.
59152         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59154 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
59156         [BZ #13705]
59157         * math/libm-test.inc (exp_test): Do not allow overflow exception
59158         on underflow test.
59160 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
59162         [BZ #13705]
59163         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
59164         instead of __kernel_standard_f.
59166 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
59168         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
59169         * sysdeps/x86_64/memset_chk.S: Likewise.
59171 2012-04-08  Andreas Jaeger  <aj@suse.de>
59173         [BZ #10153]
59174         * manual/startup.texi (Environment Access): Describe return value
59175         for putenv and setenv.
59177         [BZ #6895]
59178         * manual/filesys.texi (Directory Entries): Add description for
59179         DT_LNK.
59181         [BZ #6890]
59182         * manual/filesys.texi (Directory Entries): Clarify that it's file
59183         system not operating system in the description of DT_UNKNOWN.
59185         [BZ #6578]
59186         * manual/syslog.texi (closelog): Fix reference, it's openlog.
59188 2012-04-08  Stephen Compall  <s11@member.fsf.org>
59190         [BZ #6649]
59191         * manual/llio.texi (Opening and Closing Files): Add cross
59192         reference to explain mode argument.
59194 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
59196         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
59197         * sysdeps/x86_64/memset_chk.S: Likewise.
59199 2012-04-07  David S. Miller  <davem@davemloft.net>
59201         * elf/elf.h (R_SPARC_WDISP10): Define.
59202         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
59203         R_SPARC_SIZE32.
59204         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
59205         R_SPARC_SIZE64 and R_SPARC_H34.
59207 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
59209         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
59210         conditions and remove no longer applicable assertion.
59212 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
59214         * bits/byteswap.h: Include <features.h>.
59215         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
59216         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
59218 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
59220         * bits/byteswap.h (__bswap_16): Removed.
59221         Include <bits/byteswap-16.h> to get __bswap_16.
59222         * sysdeps/i386/bits/byteswap.h: Likewise.
59223         * sysdeps/s390/bits/byteswap.h: Likewise.
59224         * sysdeps/x86_64/bits/byteswap.h: Likewise.
59225         * bits/byteswap-16.h: New file.
59226         * sysdeps/i386/bits/byteswap-16.h: Likewise.
59227         * sysdeps/s390/bits/byteswap-16.h: Likewise.
59228         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
59229         * string/Makefile (headers): Add bits/byteswap-16.h.
59231 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
59233         [BZ #13895]
59234         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
59235         extra indirection.
59236         * nss/Makefile (tests-static, tests): Add tst-nss-static.
59237         * nss/tst-nss-static.c: New.
59239 2012-04-06  Robert Millan  <rmh@gnu.org>
59241         [BZ #6486]
59242         * manual/llio.texi (File Position Primitive): lseek
59243         refers to WHENCE when it really means OFFSET.
59245 2012-04-06  Andreas Jaeger  <aj@suse.de>
59247         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
59248         strncmp declarations.
59250         * abilist/libc.abilist: Add __poll and __ppoll.
59252 2012-04-05  David S. Miller  <davem@davemloft.net>
59254         * scripts/check-local-headers.sh: Accept a host triplet in the
59255         path matched by the exclude regexp.
59257         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
59258         definition.
59259         * sysdeps/powerpc/powerpc32/dl-machine.h
59260         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
59261         * sysdeps/s390/s390-32/dl-machine.h
59262         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
59263         * sysdeps/sparc/sparc32/dl-machine.h
59264         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
59265         * sysdeps/sparc/sparc64/dl-machine.h
59266         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
59268         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
59269         lazy binding.
59270         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
59271         undefined symbol errors.
59273         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
59274         DT_NEEDED entries.
59276 2012-04-05  Michael Matz  <matz@suse.de>
59278         [BZ #13592]
59279         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
59281 2012-04-05  Andreas Jaeger  <aj@suse.de>
59283         [BZ #13908]
59284         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
59285         comment.
59287 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59289         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
59290         which ROUND is no valid rounding mode.
59292 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59294         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
59295         read again.
59296         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
59298 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59300         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
59301         an exception using FPU order intentionally.
59303 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59305         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
59306         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
59307         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
59308         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
59310 2012-04-05  Simon Josefsson  <simon@josefsson.org>
59312         [BZ #12340]
59313         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
59314         EINVAL when BUFLEN is too smal.
59316 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
59318         [BZ #13553]
59319         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
59320         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
59322 2012-04-03  Andreas Jaeger  <aj@suse.de>
59324         [BZ #13938]
59325         * manual/setjmp.texi (System V contexts): Fix sentence.
59327         [BZ #13926]
59328         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
59329         New macro for this case.
59330         [!__GNUC__] (__bswap_64): New inline function for this case.
59331         * sysdeps/x86_64/bits/byteswap.h: Likewise.
59332         * bits/byteswap.h: Likewise.
59333         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
59334         ull, guard with __GLIBC_HAVE_LONG_LONG.
59336         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
59337         __GLIBC_HAVE_LONG_LONG.
59339         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
59340         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
59342 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
59344         [BZ #13691]
59345         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
59346         inptr and inend, rather than using last_ch.
59348 2012-04-02  David S. Miller  <davem@davemloft.net>
59350         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
59351         * stdio-common/printf-parse.h (read_int): Change return type to
59352         'int', return -1 on INT_MAX overflow.
59353         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
59354         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
59355         overflows INT_MAX.  Check for overflow of in-format-string precision
59356         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
59357         SIZE_MAX not INT_MAX for integer overflow test.
59358         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
59359         skip the construct in the format string but do not record anything.
59360         * stdio-common/bug22.c: Adjust to test both width/prevision
59361         INT_MAX overflow as well as total length INT_MAX overflow.  Check
59362         explicitly for proper errno values.
59364 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
59366         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
59367         CHAR_MAX.
59368         * string/test-strcmp.c [! WIDE]: Likewise.
59369         * time/tst-mktime2.c: Likewise for INT_MAX.
59370         * string/test-string.h: #include <sys/param.h> for MIN.
59372         * csu/init-first.c (__libc_init_first): Call __ctype_init.
59373         * sysdeps/i386/init-first.c (init): Likewise.
59374         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
59375         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
59376         * sysdeps/sh/init-first.c (init): Likewise.
59378 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
59380         * po/ru.po: Update from translation team.
59381         * po/vi.po: Likewise.
59383 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
59385         * resolv/nss_dns/dns-host.c: Merge copyright years.
59387 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59389         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
59390         Optimize memcpy with prefetch if
59391         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
59392         src, dst pointers have unequal 16 byte alignments.
59394 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
59396         [BZ #13928]
59397         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
59398         from a CNAME entry and return the minimum ttl for the query.
59399         (gaih_getanswer_slice): Likewise.
59401 2012-03-30  Jeff Law  <law@redhat.com>
59403         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
59404         due to long keys.
59405         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
59406         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
59408         * resolv/nss_dns/dns-host.c: Update copyright year.
59410 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
59412         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
59413         requests to save a system call.  Fix check that all bytes are sent.
59415         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
59416         comments for sendmmsg.
59418 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59420         [BZ #13691]
59421         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
59422         with only 1 character between 0x0041 and 0x01b0.
59423         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
59424         * wcsmbs/tst-mbsnrtowcs.c: New file.
59426 2012-03-29  David S. Miller  <davem@davemloft.net>
59428         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
59429         small copies by hand.
59431 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59433         [BZ #13761]
59434         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
59435         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
59436         group memberships.
59438 2012-03-28  David S. Miller  <davem@davemloft.net>
59440         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
59441         that branches into memcpy.
59442         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
59443         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
59444         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
59445         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
59446         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
59447         bits.
59448         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
59449         implementation too.
59450         * sysdeps/sparc/mempcpy.S: New file.
59452         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
59453         the IFUNC routine in the libc case.
59454         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
59456         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
59457         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
59458         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
59459         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
59460         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
59461         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
59462         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
59463         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
59465         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
59466         loop to 256 bytes instead of 64 bytes and fix test signedness.
59468         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
59469         * sysdeps/sparc/sparc32/Makefile: rather than here...
59470         * sysdeps/sparc/sparc64/Makefile: and here.
59472 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
59474         * malloc/mallocbug.c: Avoid warnings about unused variables.
59476 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
59478         [BZ #13760]
59479         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
59480         in the right place. Discard and retry query if response is
59481         larger than input buffer size.
59483 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
59485         [BZ #369]
59486         [BZ #2678]
59487         [BZ #3866]
59488         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
59489         x for large integer exponent.
59490         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
59491         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
59492         sign of result as needed afterwards.
59493         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
59494         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
59495         result for underflowing pow the same as for overflow.
59496         (__kernel_standard_l): Handle powl overflow and underflow here
59497         rather than calling __kernel_standard.
59498         * math/libm-test.inc (pow_test): Add more tests.
59500         [BZ #3868]
59501         [BZ #13879]
59502         [BZ #13910]
59503         [BZ #13911]
59504         [BZ #13912]
59505         [BZ #13913]
59506         [BZ #13915]
59507         [BZ #13916]
59508         [BZ #13917]
59509         [BZ #13918]
59510         [BZ #13919]
59511         [BZ #13920]
59512         [BZ #13921]
59513         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
59514         * sysdeps/ieee754/k_standard.c: Include <float.h>.
59515         (__kernel_standard_l): New function.
59516         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
59517         __kernel_standard.
59518         * math/w_acosl.c (__acosl): Likewise.
59519         * math/w_asinl.c (__asinl): Likewise.
59520         * math/w_atan2l.c (__atan2l): Likewise.
59521         * math/w_atanhl.c (__atanhl): Likewise.
59522         * math/w_coshl.c (__coshl): Likewise.
59523         * math/w_exp10l.c (__exp10l): Likewise.
59524         * math/w_exp2l.c (__exp2l): Likewise.
59525         * math/w_fmodl.c (__fmodl): Likewise.
59526         * math/w_hypotl.c (__hypotl): Likewise.
59527         * math/w_j0l.c (__j0l, __y0l): Likewise.
59528         * math/w_j1l.c (__j1l, __y1l): Likewise.
59529         * math/w_jnl.c (__jnl, __ynl): Likewise.
59530         * math/w_lgammal.c (__lgammal): Likewise.
59531         * math/w_log10l.c (__log10l): Likewise.
59532         * math/w_log2l.c (__log2l): Likewise.
59533         * math/w_logl.c (__logl): Likewise.
59534         * math/w_powl.c (__powl): Likewise.
59535         * math/w_remainderl.c (__remainderl): Likewise.
59536         * math/w_scalbl.c (sysv_scalbl): Likewise.
59537         * math/w_sinhl.c (__sinhl): Likewise.
59538         * math/w_sqrtl.c (__sqrtl): Likewise.
59539         * math/w_tgammal.c (__tgammal): Likewise.
59540         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
59541         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
59542         * math/libm-test.inc (acos_test): Add more tests.
59543         (acosh_test): Likewise.
59544         (asin_test): Likewise.
59545         (atanh_test): Likewise.
59546         (exp_test): Likewise.
59547         (exp10_test): Likewise.
59548         (exp2_test): Likewise.
59549         (expm1_test): Likewise.
59550         (lgamma_test): Likewise.
59551         (log_test): Likewise.
59552         (log10_test): Likewise.
59553         (log1p_test): Likewise.
59554         (log2_test): Likewise.
59555         (pow_test): Do not allow some spurious overflow exceptions.
59556         (sqrt_test): Add more tests.
59557         (tgamma_test): Likewise.
59558         (y0_test): Likewise.
59559         (y1_test): Likewise.
59560         (yn_test): Likewise.
59562 2012-03-27  Anton Blanchard  <anton@samba.org>
59564         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
59565         MAP_HUGETLB.
59566         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
59567         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
59568         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
59570 2012-03-27  David S. Miller  <davem@davemloft.net>
59572         * conform/Makefile: Run run-conformtest.sh using $(BASH).
59574         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
59575         have-as-vis3 check.
59577 2012-03-27  Andreas Jaeger  <aj@suse.de>
59579         * sysdeps/x86_64/elf/configure.in: Moved to ...
59580         * sysdeps/x86_64/configure.in: ... here.
59581         * sysdeps/x86_64/elf/start.S: Moved to ...
59582         * sysdeps/x86_64/start.S: ... here.
59583         * sysdeps/x86_64/elf/configure: Delete.
59585         * sysdeps/x86_64/configure.in: Merge contents from
59586         sysdeps/i386/configure.in (without i686 check).
59588         * sysdeps/i386/elf/Versions: Merge into ...
59589         * sysdeps/i386/Versions: ... this.
59590         * sysdeps/i386/elf/Versions: Delete file.
59591         * sysdeps/i386/elf/start.S: Moved to ...
59592         * sysdeps/i386/start.S: ...here.
59593         * sysdeps/i386/elf/configure.in: Merge into...
59594         * sysdeps/i386/configure.in: ...here.
59595         * sysdeps/i386/elf/configure.in: Delete file.
59596         * sysdeps/i386/elf/configure: Delete file.
59598         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
59599         * debug/backtracesyms.c: ... here.
59600         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
59601         * debug/backtracesymsfd.c: ... here.
59602         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
59603         * sysdeps/generic/ifunc-sel.h: ... here.
59605         * sysdeps/unix/i386/start.c: Delete file.
59606         * sysdeps/unix/sparc/start.c: Delete file.
59607         * sysdeps/unix/start.c: Delete file.
59609         * sysdeps/sh/elf/configure.in: Moved to ...
59610         * sysdeps/sh/configure.in: ... here.
59611         * sysdeps/sh/elf/start.S: Moved to ...
59612         * sysdeps/sh/start.S: ... here.
59613         * sysdeps/sh/elf/configure: Delete file.
59615         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
59616         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
59617         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
59618         * sysdeps/powerpc/powerpc64/entry.h: ... here.
59619         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
59620         * sysdeps/powerpc/powerpc64/start.S: here.
59621         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
59622         * sysdeps/powerpc/powerpc64/Makefile: ... this.
59623         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
59624         * sysdeps/powerpc/powerpc64/configure.in: ... this.
59625         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
59627         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
59628         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
59629         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
59630         * sysdeps/powerpc/powerpc32/start.S: ... here.
59631         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
59632         * sysdeps/powerpc/powerpc32/configure.in: ... this.
59633         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
59635         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
59636         * sysdeps/powerpc/ifunc-sel.h: ... here.
59637         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
59638         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
59640         * sysdeps/sparc/elf/configure.in: Moved to ...
59641         * sysdeps/sparc/configure.in: ... here.
59642         * sysdeps/sparc/elf/configure: Delete file.
59643         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
59644         * sysdeps/sparc/sparc32/start.S: ... here.
59645         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
59646         * sysdeps/sparc/sparc64/start.S: ... here.
59647         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
59648         * sysdeps/sparc/sparc32/Makefile: ... this.
59649         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
59650         * sysdeps/sparc/sparc64/Makefile: ... this.
59652         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
59653         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
59654         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
59655         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
59656         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
59657         * sysdeps/s390/s390-32/setjmp.S: ... here.
59658         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
59659         * sysdeps/s390/s390-32/configure.in: ... here.
59660         * sysdeps/s390/s390-32/elf/configure: Delete file.
59661         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
59662         * sysdeps/s390/s390-32/start.S: ... here.
59664         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
59665         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
59666         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
59667         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
59668         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
59669         * sysdeps/s390/s390-64/setjmp.S: ... here.
59670         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
59671         * sysdeps/s390/s390-64/configure.in: ... here
59672         * sysdeps/s390/s390-64/elf/configure: Delete file.
59673         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
59674         * sysdeps/s390/s390-64/start.S: ... here.
59675         * sysdeps/s390/s390-64/elf/configure: Delete.
59677         * configure.in: Remove support for elf directories in sysdeps.
59679         * configure: Regenerated.
59680         * sysdeps/i386/configure: Regenerated.
59681         * sysdeps/powerpc/powerpc32/configure: Regenerated.
59682         * sysdeps/powerpc/powerpc64/configure: Regenerated.
59683         * sysdeps/s390/s390-32/configure: Regenerated.
59684         * sysdeps/s390/s390-64/configure: Regenerated.
59685         * sysdeps/sh/configure: Regenerated.
59686         * sysdeps/sparc/configure: Regenerated.
59687         * sysdeps/x86_64/configure: Regenerated.
59689 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
59691         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59693         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
59694         denormal result into account.
59696 2012-03-25  Roland McGrath  <roland@hack.frob.com>
59698         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
59699         Reported by Allan McRae <allan@archlinux.org>.
59701 2012-03-23  Jeff Law  <law@redhat.com>
59703         * nss/getnssent.c (__nss_getent): Fix typo.
59705 2012-03-23  David S. Miller  <davem@davemloft.net>
59707         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59709 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
59711         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
59712         to pad to uint64_t for each field.
59713         (dl_tls_index): Replace unsigned long with uint64_t.
59715 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
59716         Paul Pluzhnikov  <ppluzhnikov@google.com>
59718         [BZ #6528]
59719         * grp/Makefile (otherlibs): Don't set it.
59720         * inet/Makefile (otherlibs): Likewise.
59721         * login/Makefile (otherlibs): Likewise.
59722         * nscd/Makefile (otherlibs): Likewise.
59723         * posix/Makefile (otherlibs): Likewise.
59724         * pwd/Makefile (otherlibs): Likewise.
59725         * rt/Makefile (otherlibs): Likewise.
59726         * sunrpc/Makefile (otherlibs): Likewise.
59727         * nss/Makefile (otherlibs): Likewise.
59728         Add libnss_files to routines and static-only-routines.
59729         ($(objpfx)getent): Remove rule.
59730         * resolv/Makefile: Add libnss_dns and libresolv to routines and
59731         static-only-routines.
59733 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
59735         [BZ #13892]
59736         * math/s_cexp.c: Include <float.h>.
59737         (__cexp): Handle exp result overflowing not necessarily
59738         overflowing both real and imaginary parts of result.
59739         * math/s_cexpf.c: Likewise.
59740         * math/s_cexpl.c: Likewise.
59741         * math/libm-test.inc (cexp_test): Add more tests.
59742         * sysdeps/i386/fpu/libm-test-ulps: Update.
59743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59745 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
59747         * include/link.h (ELFW): New macro.
59748         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
59749         Replace ELF64_R_TYPE with ELFW(R_TYPE).
59751 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
59753         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
59754         with uint64_t.
59756 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
59758         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
59759         declaration.
59760         (struct La_x32_retval): Likewise.
59762 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
59764         * sysdeps/x86_64/preconfigure.in: New file.
59765         * sysdeps/x86_64/preconfigure: New generated file.
59767 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
59769         [BZ #13824]
59770         * math/e_exp2l.c: Include <float.h>.
59771         (__ieee754_exp2l): Handle overflow and underflow cases
59772         separately.  Only pass fractional part of argument to
59773         __ieee754_expl.
59774         * math/libm-test.inc (exp2_test): Add more tests.
59776         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
59777         negating x to take absolute value.
59778         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
59779         Likewise.
59780         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
59781         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
59782         Likewise.
59783         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
59784         computing low part if x was negated.
59785         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
59787 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
59789         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
59790         la_x32_gnu_pltexit.
59791         (pltexit): Cast int_retval to ptrdiff_t.
59792         * elf/tst-auditmod3b.c: Likewise.
59793         * elf/tst-auditmod4b.c: Likewise.
59794         * elf/tst-auditmod5b.c: Likewise.
59795         * elf/tst-auditmod6b.c: Likewise.
59796         * elf/tst-auditmod6c.c: Likewise.
59797         * elf/tst-auditmod7b.c: Likewise.
59799         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
59800         and x32_gnu_pltexit.
59802         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
59803         __ELF_NATIVE_CLASS.
59804         (La_x32_regs): New macro.
59805         (La_x32_retval): Likewise.
59806         (la_x32_gnu_pltenter): New function prototype.
59807         (la_x32_gnu_pltexit): Likewise.
59809 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
59811         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
59812         exponent.
59814         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59816         * configure.in (libc_cv_cc_nofma): Check for option to disable
59817         generation of FMA instructions.
59818         * configure: Regenerate.
59819         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
59820         * sysdeps/ieee754/dbl-64/Makefile: New file.
59821         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
59822         Remove brandred-fma4.
59823         (CFLAGS-brandred-fma4.c): Remove.
59824         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
59825         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
59826         define.
59827         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
59828         define.
59830 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
59832         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
59833         LLONG_MAX != LONG_MAX.
59834         (_itoa_word): Use _ITOA_WORD_TYPE on value.
59835         (_fitoa_word): Likewise.
59836         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
59837         LLONG_MAX != LONG_MAX.
59838         * stdio-common/_itowa.h: Include <_itoa.h>.
59839         (_itowa_word): Use _ITOA_WORD_TYPE on value.
59840         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
59841         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
59842         only if not defined.
59843         (_ITOA_WORD_TYPE): Likewise.
59844         (_itoa_word): Use _ITOA_WORD_TYPE on value.
59845         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
59847 2012-03-21  David S. Miller  <davem@davemloft.net>
59849         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59851 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
59853         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
59854         of x86_64 when setting libc_cv_slibdir, libdir and
59855         libc_cv_localedir.
59856         * sysdeps/unix/sysv/linux/configure: Regenerated.
59858 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
59860         * manual/lang.texi (Old Varargs): Remove section.
59861         (How Variadic): Update menu.
59862         (va_start): Do not mention varargs.h.
59864 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
59865             Joseph Myers  <joseph@codesourcery.com>
59867         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
59868         link test.
59869         * configure: Regenerated.
59871 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
59873         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
59874         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
59875         conformtest.pl
59877 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
59879         * NOTES: Remove.
59880         * Makefile (files-for-dist): Remove NOTES.
59881         (NOTES): Remove rule.
59882         * README: Don't refer to NOTES.
59883         * manual/creature.texi: Don't include macros.texi.
59884         * manual/intro.texi (creature.texi): Remove comment referring to
59885         NOTES.
59887         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
59888         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
59889         * configure: Regenerated.
59890         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
59891         LIBC_TRY_CC_OPTION.
59892         (libc_cv_as_i686): Likewise.
59893         (libc_cv_cc_avx): Likewise.
59894         (libc_cv_cc_sse2avx): Likewise.
59895         (libc_cv_cc_fma4): Likewise.
59896         (libc_cv_cc_novzeroupper): Likewise.
59897         * sysdeps/i386/configure: Regenerated.
59899         [BZ #13883]
59900         * sysdeps/i386/fpu/s_cexp.S: Remove.
59901         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
59902         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
59903         * math/libm-test.inc (cexp_test): Add more tests.
59904         * sysdeps/i386/fpu/libm-test-ulps: Update.
59905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59907 2012-03-21  Allan McRae  <allan@archlinux.org>
59909         * timezone/Makefile: Do not install iso3166.tab and zone.tab
59911 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
59913         [BZ #13871]
59914         * math/w_exp2.c: Do not include <float.h>.
59915         (o_threshold, u_threshold): Remove.
59916         (__exp2): Calculate result before checking finiteness and calling
59917         __kernel_standard.
59918         * math/w_exp2f.c: Likewise.
59919         * math/w_exp2l.c: Likewise.
59920         * math/libm-test.inc (exp2_test): Require overflow exception for
59921         1e6 input.
59923         [BZ #3866]
59924         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
59925         range of signed 64-bit integers before using fistpll.  Remove
59926         checks for whether integers fit in mantissa bits.
59927         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
59928         the range of signed 32-bit integers before using fistpl.  Remove
59929         checks for whether integers fit in mantissa bits.
59930         * sysdeps/i386/fpu/e_powl.S (p64): New object.
59931         (__ieee754_powl): Test for y outside the range of signed 64-bit
59932         integers before using fistpll.  Reduce 64-bit values to 63-bit
59933         ones as needed.
59934         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
59935         divide-by-zero is raised for zero to large negative powers.
59936         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
59937         (__ieee754_powl): Test for y outside the range of signed 64-bit
59938         integers before using fistpll.  Reduce 64-bit values to 63-bit
59939         ones as needed.
59940         * math/libm-test.inc (pow_test): Add more tests.
59942 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
59944         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
59945         <stdio-common/_itoa.h>.
59946         * debug/segfault.c: Likewise.
59947         * elf/dl-cache.c: Likewise.
59948         * elf/dl-minimal.c: Likewise.
59949         * elf/dl-misc.c: Likewise.
59950         * elf/dl-sysdep.c: Likewise.
59951         * elf/dl-version.c: Likewise.
59952         * elf/rtld.c: Likewise.
59953         * hurd/hurdsock.c: Likewise.
59954         * hurd/lookup-retry.c: Likewise.
59955         * malloc/malloc.c: Likewise.
59956         * malloc/mtrace.c: Likewise.
59957         * nscd/nscd_getgr_r.c: Likewise.
59958         * nscd/nscd_getpw_r.c: Likewise.
59959         * nscd/nscd_getserv_r.c: Likewise.
59960         * posix/getopt_init.c: Likewise.
59961         * posix/wordexp.c: Likewise.
59962         * stdio-common/_itoa.c: Likewise.
59963         * stdio-common/printf_fphex.c: Likewise.
59964         * stdio-common/vfprintf.c: Likewise.
59965         * string/_strerror.c: Likewise.
59966         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
59967         * sysdeps/i386/i686/hp-timing.h: Likewise.
59968         * sysdeps/mach/_strerror.c: Likewise.
59969         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
59970         * sysdeps/mach/hurd/sethostid.c: Likewise.
59971         * sysdeps/mach/hurd/xmknodat.c: Likewise.
59972         * sysdeps/mach/xpg-strerror.c: Likewise.
59973         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
59974         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
59975         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
59976         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
59977         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
59978         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
59979         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
59980         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
59981         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
59982         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
59983         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
59984         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
59985         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
59986         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
59987         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
59988         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
59989         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
59990         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
59991         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
59992         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
59993         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
59995         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
59997         * stdio-common/_itoa.h: Moved to ...
59998         * sysdeps/generic/_itoa.h: Here.
60000         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
60002         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
60003         instead of "_itoa.h" and "_itowa.h".
60004         * stdio-common/vfprintf.: Likewise.
60006 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
60008         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
60009         <bits/wordsize.h>.
60010         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
60011         (__signbit): Likwise.
60012         (llrintf): Likwise.
60013         (llrint): Likwise.
60015 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
60017         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
60018         __WORDSIZE != 64.
60020 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
60022         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
60023         OVERFLOW_EXCEPTION_OK.
60024         * math/libm-test.inc ("Philosophy"): Update comment about
60025         exception testing.
60026         (OVERFLOW_EXCEPTION): Define.
60027         (OVERFLOW_EXCEPTION_OK): Likewise.
60028         (INVALID_EXCEPTION_OK): Renumber.
60029         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
60030         (IGNORE_ZERO_INF_SIGN): Likewise.
60031         (test_exceptions): Handle FE_OVERFLOW.
60032         (exp10_test): Expect overflow exceptions.
60033         (exp2_test): Likewise.
60034         (expm1_test): Likewise.
60035         (nextafter_test): Likewise.
60036         (pow_test): Likewise.
60037         (scalbn_test): Likewise.
60038         (scalbln_test): Likewise.
60040 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60042         * sysdeps/x86_64/bits/atomic.h
60043         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
60044         64bit integer.
60045         (atomic_exchange_acq): Likewise.
60046         (__arch_exchange_and_add_body): Likewise.
60047         (__arch_add_body): Likewise.
60048         (atomic_add_negative): Likewise.
60049         (atomic_add_zero): Likewise.
60051 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60053         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
60054         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
60056 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60058         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
60059         Check __x86_64__ instead of __WORDSIZE.
60061 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60063         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
60065 2012-03-19  David S. Miller  <davem@davemloft.net>
60067         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60069         * sysdeps/sparc/fpu/fenv_private.h: New file.
60070         * sysdeps/sparc/fpu/math_private.h: Use it.
60071         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
60072         Remove.
60073         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
60074         (libc_feholdexcept_setroundl): Remove.
60075         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
60076         Remove.
60077         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
60078         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
60080 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60082         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
60083         int64_t instead of long int.
60084         (INSERT_WORDS64): Likwise.
60086 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60088         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
60089         _Unwind_GetCFA return to _Unwind_Ptr first.
60091 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
60093         [BZ #13629]
60094         * math/s_clog.c: Include <float.h>.
60095         (__clog): Scale large or subnormal inputs.
60096         * math/s_clogf.c: Likewise.
60097         * math/s_clogl.c: Likewise.
60098         * math/s_clog10.c: Include <float.h>.
60099         (M_LOG10_2): Define.
60100         (__clog10): Scale large or subnormal inputs.
60101         * math/s_clog10f.c: Likewise.
60102         * math/s_clog10l.c: Likewise.
60103         * math/libm-test.inc (clog_test): Add more tests.
60104         (clog10_test): Likewise.
60105         * sysdeps/i386/fpu/libm-test-ulps: Update.
60106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60108         [BZ #11451]
60109         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
60110         x and y.
60111         * math/libm-test.inc (atan2_test): Add another test.
60113         * Makerules (common-objdir-compile): Remove.
60114         * sysdeps/unix/Makefile (config-generated): Do not add
60115         $(unix-generated) to variable.
60116         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
60117         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
60118         Remove rule.
60119         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
60120         Likewise.
60121         [generic bits/local_lim.h] (before-compile): Do not append to
60122         variable.
60123         [generic bits/local_lim.h] (common-generated): Likewise.
60124         [generic sys/param.h] (before-compile): Do not append to variable.
60125         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
60126         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
60127         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
60128         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
60129         include.
60130         [generic sys/param.h] (sys/param.h-includes): Remove variable.
60131         [generic sys/param.h] (sys/param.h-includes): Remove rule.
60132         [generic sys/param.h] ($(addprefix
60133         $(common-objpfx),$(sys/param.h-includes))): Likewise.
60134         [generic sys/param.h] (common-generated): Do not append to
60135         variable.
60136         [generic sys/param.h] (sysdep_headers): Likewise.
60137         [generic bits/errno.h] (before-compile): Do not append to
60138         variable.
60139         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
60140         rule.
60141         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
60142         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
60143         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
60144         [generic bits/errno.h] (common-generated): Do not append to
60145         variable.
60146         [generic bits/ioctls.h] (before-compile): Do not append to
60147         variable.
60148         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
60149         rule.
60150         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
60151         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
60152         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
60153         rule.
60154         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
60155         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
60156         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
60157         [generic bits/ioctls.h] (common-generated): Do not append to
60158         variable.
60159         [generic sys/syscall.h] (syscall.h): Remove variable.
60160         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
60161         rule.
60162         [generic sys/syscall.h] (before-compile): Do not append to
60163         variable.
60164         [generic sys/syscall.h] (common-generated): Likewise.
60165         * sysdeps/unix/errnos-tmpl.c: Remove file.
60166         * sysdeps/unix/errnos.awk: Likewise.
60167         * sysdeps/unix/ioctls-tmpl.c: Likewise.
60168         * sysdeps/unix/ioctls.awk: Likewise.
60169         * sysdeps/unix/mk-local_lim.c: Likewise.
60170         * sysdeps/unix/snarf-ioctls: Likewise.
60172 2012-03-19  Richard Henderson  <rth@twiddle.net>
60174         * sysdeps/i386/fpu/fenv_private.h: New file.
60175         * sysdeps/i386/fpu/math_private.h: Use it.
60176         (math_opt_barrier, math_force_eval): Remove.
60177         (libc_feholdexcept_setround_53bit): Remove.
60178         (libc_feupdateenv_53bit): Remove.
60179         * sysdeps/x86_64/fpu/math_private.h: Likewise.
60180         (math_opt_barrier, math_force_eval): Remove.
60181         (libc_feholdexcept): Remove.
60182         (libc_feholdexcept_setround): Remove.
60183         (libc_fetestexcept, libc_fesetenv): Remove.
60184         (libc_feupdateenv_test): Remove.
60185         (libc_feupdateenv, libc_feholdsetround): Remove.
60186         (libc_feresetround): Remove.
60188         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
60189         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
60191         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
60192         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
60193         (libc_feupdateenv_testl): New.
60194         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
60195         (libc_feupdateenv_testf): New.
60196         (libc_feupdateenv): Use libc_feupdateenv_test.
60197         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
60198         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
60200         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
60201         (libc_feholdsetroundf, libc_feholdsetroundl): New.
60202         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
60203         (libc_feresetround_noex): New.
60204         (libc_feresetround_noexf): New.
60205         (libc_feresetround_noexl): New.
60206         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
60207         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
60208         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
60209         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
60210         SET_RESTORE_ROUND.
60211         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
60212         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
60213         (__cos): Likewise.
60214         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
60215         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
60216         SET_RESTORE_ROUND_NOEX.
60217         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
60218         SET_RESTORE_ROUND_NOEXF.
60219         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
60220         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
60221         (libc_feholdsetroundf): New.
60222         (libc_feresetround, libc_feresetroundf): New.
60224         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
60225         (libc_feholdexcept_setround_53bit): Convert from macro to function.
60226         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
60228         * sysdeps/generic/math_private.h: Include <fenv.h>.
60229         (default_libc_feholdexcept): New.
60230         (default_libc_feholdexcept_setround): New.
60231         (default_libc_fesetenv, default_libc_feupdateenv): New.
60232         (libc_feholdexcept): Only define if undefined.
60233         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
60234         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
60235         (libc_feholdexcept_setroundl): Likewise.
60236         (libc_feholdexcept_setround_53bit): Likewise.
60237         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
60238         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
60239         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
60240         (libc_feupdateenv_53bit): Likewise.
60241         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
60242         (libc_feholdexcept): Convert from macro to inline function.
60243         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
60244         (libc_fesetenv, libc_feupdateenv): Likewise.
60246         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
60247         not previously defined.
60248         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
60249         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
60250         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
60251         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
60252         * sysdeps/ieee754/flt-32/math_private.h: New file.
60253         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
60254         math_private.h below SET_FLOAT_WORD.
60255         (__isnan, __isinf_ns, __finite): Remove.
60256         (__isnanf, __isinf_nsf, __finitef): Remove.
60258 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
60260         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60262 2012-03-17  David S. Miller  <davem@davemloft.net>
60264         [BZ #6471]
60265         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
60266         for 2.16.
60268 2012-03-16  David S. Miller  <davem@davemloft.net>
60270         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
60271         warnings.
60273         [BZ #6471]
60274         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
60275         properly.
60276         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
60277         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
60278         sysdep_routines when subdir is sysvipc.
60279         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
60280         __getshmlba helper.
60282         * sysdeps/sparc/fpu/libm-test/ulps: Update.
60284 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60286         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
60287         [__LP64__].
60289 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60291         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
60292         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
60293         (__lround): Renamed to ...
60294         (__llround): This.  Replace long int with long long int.
60295         Define lround functions as aliases of llround functions.
60296         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
60298 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60300         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
60301         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
60302         adresses to uintptr_t.  Replace "long int" and "unsigned long
60303         int" with "greg_t" on va_arg.
60305 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60307         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
60308         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
60310         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
60311         Move e_machine check before EI_CLASS check.  Handle x32
60312         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
60313         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
60314         SKIP_EM_IA_64 and include
60315         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
60317         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
60318         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
60319         (add_system_dir): New macro.
60321         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
60322         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
60324 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
60326         [BZ #2551]
60327         [BZ #2552]
60328         [BZ #2553]
60329         [BZ #2554]
60330         [BZ #2562]
60331         [BZ #2563]
60332         [BZ #2565]
60333         [BZ #2566]
60334         [BZ #2576]
60335         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
60336         (y0): Likewise.
60337         * math/w_j0f.c (j0f): Likewise.
60338         (y0f): Likewise.
60339         * math/w_j0l.c (__j0l): Likewise.
60340         (__y0l): Likewise.
60341         * math/w_j1.c (j1): Likewise.
60342         (y1): Likewise.
60343         * math/w_j1f.c (j1f): Likewise.
60344         (y1f): Likewise.
60345         * math/w_j1l.c (__j1l): Likewise.
60346         (__y1l): Likewise.
60347         * math/w_jn.c (jn): Likewise.
60348         (yn): Likewise.
60349         * math/w_jnf.c (jnf): Likewise.
60350         (ynf): Likewise.
60351         * math/w_jnl.c (__jnl): Likewise.
60352         (__ynl): Likewise.
60353         * math/libm-test.inc (j0_test): Add more tests.
60354         (j1_test): Likewise.
60355         (jn_test): Likewise.  Add trailing semicolon to existing test.
60356         (y0_test): Likewise.
60357         (y1_test): Likewise.
60358         * sysdeps/i386/fpu/libm-test-ulps: Update.
60359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60361         [BZ #13851]
60362         [BZ #13854]
60363         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
60364         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
60365         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
60366         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
60367         (__tanl): Set errno for infinite argument.
60368         * sysdeps/i386/fpu/mptan.c: Remove.
60369         * sysdeps/i386/fpu/s_tan.S: Likewise.
60370         * sysdeps/i386/fpu/s_tanl.S: Likewise.
60371         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
60372         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
60373         * math/libm-test.inc (tan_test): Add more tests and enable more
60374         tests for double and long double.
60375         * sysdeps/i386/fpu/libm-test-ulps: Update.
60376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60378 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
60380         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
60381         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
60383 2012-03-16  Roland McGrath  <roland@hack.frob.com>
60385         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
60386         * configure.in: Use it for both main tree and add-ons.
60387         * configure: Regenerated.
60389 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60391         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
60393 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
60395         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
60396         in comment.
60398         [BZ #13851]
60399         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
60400         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
60401         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
60402         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
60403         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
60404         infinite argument.
60405         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
60406         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
60407         != 0 for prec == 2.
60408         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
60409         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
60410         * sysdeps/i386/fpu/s_cosl.S: Likewise.
60411         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
60412         * sysdeps/i386/fpu/s_sinl.S: Likewise.
60413         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
60414         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
60415         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
60416         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
60417         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
60418         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
60419         * math/libm-test.inc (cos_test): Add more tests and enable more
60420         tests for long double.
60421         (sin_test): Likewise.
60422         (sincos_test): Likewise.
60423         * sysdeps/i386/fpu/libm-test-ulps: Update.
60424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60426 2012-03-16  David S. Miller  <davem@davemloft.net>
60428         * sysdeps/sparc/fpu/math_private.h: New file.
60430 2012-03-15  David S. Miller  <davem@davemloft.net>
60432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
60433         file.
60434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
60435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
60436         file.
60437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
60438         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
60439         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
60440         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
60441         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
60442         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
60443         sysdep routines.
60444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
60446         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
60447         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
60449         * sysdeps/sparc/sparc-ifunc.h: New file.
60450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
60451         sparc-ifunc.h
60452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
60453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
60454         Likewise.
60455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
60456         Likewise.
60457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
60458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
60459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
60460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
60461         Likewise.
60462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
60463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
60464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
60465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
60466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
60467         Likewise.
60468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
60469         Likewise.
60470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
60471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
60472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
60473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
60474         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
60475         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
60476         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
60477         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
60478         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
60479         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
60480         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
60481         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
60482         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
60483         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
60484         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
60485         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
60486         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
60487         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
60488         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
60489         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
60490         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
60491         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
60492         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
60493         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
60495 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
60497         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
60498         scaling.
60499         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60501 2012-03-15  Andreas Jaeger  <aj@suse.de>
60503         [BZ #13852]
60504         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
60505         ieee754/flt-32 implementation for sin, cos and sincos.
60506         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
60507         * sysdeps/i386/fpu/s_cosf.S: Likewise.
60508         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
60509         * sysdeps/i386/fpu/s_sinf.S: Likewise.
60510         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
60511         ieee754/flt-32 implementation for tan.
60513         * math/libm-test.inc (cos_test): Enable some large input tests for
60514         float as well
60515         (sin_test): Likewise.
60516         (sincos_test): Likewise.
60517         (tan_test): Add tests for large input.
60519         * sysdeps/i386/fpu/libm-test-ulps: Update.
60521 2012-03-15  Andreas Jaeger  <aj@suse.de>
60523         [BZ #13658]
60524         * math/libm-test.inc (cos_test): Add more test cases.
60525         (sin_test): Likewise.
60526         (sincos_test): Likewise.
60528 2012-03-15  Andreas Jaeger  <aj@suse.de>
60530         [BZ #13837]
60531         * math/libm-test.inc (cos_test): Add a test case for large input
60532         value.
60533         (sin_test): Likewise.
60534         (sincos_test): Likewise.
60536 2012-03-15  Andreas Jaeger  <aj@suse.de>
60537             Joseph Myers  <joseph@codesourcery.com>
60539         [BZ #13658]
60540         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
60541         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
60542         * sysdeps/i386/fpu/branred.c: Likewise.
60543         * sysdeps/i386/fpu/dosincos.c: Likewise.
60544         * sysdeps/i386/fpu/mpa.c: Likewise.
60545         * sysdeps/i386/fpu/s_cos.S: Likewise.
60546         * sysdeps/i386/fpu/s_sin.S: Likewise.
60547         * sysdeps/i386/fpu/s_sincos.S: Likewise.
60548         * sysdeps/i386/fpu/sincos32.c: Likewise.
60550         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
60551         Define.
60552         (libc_feupdateenv_53bit): Define.
60553         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
60554         Define.
60555         (libc_feupdateenv_53bit): Define.
60557         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
60558         53 bit (without extend i386 double precision).
60560         * math/libm-test.inc (sincos_test): Add tests for large input.
60561         (sin): Likewise.
60562         (cos): Likewise.
60564         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
60566 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
60568         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60570 2012-03-15  David S. Miller  <davem@davemloft.net>
60572         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
60573         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
60574         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
60575         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
60576         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
60577         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
60578         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
60579         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
60580         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
60581         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
60582         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
60583         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
60584         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
60585         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
60586         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
60587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
60588         file.
60589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
60590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
60591         file.
60592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
60593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
60594         file.
60595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
60596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
60597         file.
60598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
60599         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
60600         fmin/fmax sysdep routines.
60601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
60603 2012-03-14  David S. Miller  <davem@davemloft.net>
60605         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
60606         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
60607         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
60608         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
60609         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
60610         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
60611         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
60612         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
60613         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
60614         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
60615         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
60616         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
60617         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
60618         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
60619         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
60620         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
60621         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
60622         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
60623         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
60624         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
60625         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
60626         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
60627         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
60628         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
60629         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
60630         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
60631         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
60632         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
60633         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
60634         routines.
60635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
60636         file.
60637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
60638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
60639         file.
60640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
60641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
60642         file.
60643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
60644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
60645         file.
60646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
60647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
60648         file.
60649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
60650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
60651         file.
60652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
60653         file.
60654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
60655         file.
60656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
60657         file.
60658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
60659         New file.
60660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
60661         file.
60662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
60663         file.
60664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
60665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
60666         file.
60667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
60668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
60669         file.
60670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
60671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
60672         file.
60673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
60674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
60675         VIS3 routines.
60677         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
60678         New file.
60680         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60682         * sysdeps/sparc/configure.in: New file.
60683         * sysdeps/sparc/configure: Generate.
60684         * configure.in (libc_cv_sparc_as_vis3): Substitute.
60685         * configure: Regenerate.
60686         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
60687         * config.make.in (have-as-vis3): New.
60688         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
60689         available use -Av9d instead of -Av9a.
60690         * sysdeps/sparc/sparc64/Makefile: Likewise.
60691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
60692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
60693         New file.
60694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
60695         file.
60696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
60697         New file.
60698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
60699         file.
60700         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
60701         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
60702         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
60703         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
60704         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
60706         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
60707         fzeros/fnegs to load 0x80000000 into a float register instead of
60708         using the stack.
60709         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
60711 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
60713         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60714         bits/syscall.h.
60715         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
60716         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
60717         ($(inst_includedir)/bits/syscall.h): Remove rule.
60718         ($(objpfx)bits/syscall.d): Include instead of
60719         $(objpfx)syscall-list.d.
60720         (generated): Change syscall-list.h and syscall-list.d to
60721         bits/syscall.h and bits/syscall.d.
60723 2012-03-14  Roland McGrath  <roland@hack.frob.com>
60725         [BZ #13846]
60726         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
60728 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
60730         [BZ #13841]
60731         * math/s_csqrt.c: Include <float.h>.
60732         (__csqrt): Scale large or subnormal inputs.
60733         * math/s_csqrtf.c: Likewise.
60734         * math/s_csqrtl.c: Likewise.
60735         * math/libm-test.inc (csqrt_test): Add more tests.
60736         * sysdeps/i386/fpu/libm-test-ulps: Update.
60737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60739         [BZ #13840]
60740         * math/libm-test.inc (hypot_test): Add more tests.
60742 2012-03-13  David S. Miller  <davem@davemloft.net>
60744         [BZ #13840]
60745         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
60746         double-precision for the calculation instead of scaling.
60748 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
60750         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
60751         manipulate bits before adding and subtracting TWO52[sx].
60752         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
60753         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
60754         Likewise.
60755         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
60757 2012-03-13  David S. Miller  <davem@davemloft.net>
60759         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
60760         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
60761         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
60762         rtld-global-offsets.h
60763         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60765         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
60766         large parameters.
60768         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
60770         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
60771         'err' in the ifdef scope in which it is actually used.
60773         * nss/nss_db/db-init.c: Include string.h
60775 2012-03-12  David S. Miller  <davem@davemloft.net>
60777         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
60778         masking out of the most significant byte of random value used.
60779         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60780         Fix coding style in previous change.
60782         * sysdeps/unix/sysv/linux/kernel-features.h
60783         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
60784         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
60785         expression.
60786         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
60787         later.
60789 2012-03-11  David S. Miller  <davem@davemloft.net>
60791         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
60792         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
60793         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
60794         for 'resultvar' otherwise things get truncated on 64-bit.
60796         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60797         Fix masking out of the most significant byte of random value used.
60799         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60801 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
60803         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60805 2012-03-09  David S. Miller  <davem@davemloft.net>
60807         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
60808         variables with appropriate CPP guards.
60809         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
60810         from the frame pointer, not the stack pointer.  Correct layout
60811         comments.  Fix test on resulting framesize and the management of
60812         the outregs buffer for pltexit.  Preserve floating point return
60813         values across _dl_call_pltexit call.
60814         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
60815         framesize and the management of the outregs buffer for pltexit.
60816         Preserve floating point return values across _dl_call_pltexit
60817         call.
60818         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
60819         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
60820         (la_sparc64_gnu_pltexit): New functions.
60821         (print_exit): Fix format string for return register value.
60823 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
60825         * sunrpc/Makefile (others): Add rpcgen.
60826         ($(objpfx)rpcgen): Remove special build rule and dependency on
60827         libc.
60828         * sunrpc/rpcgen.c: New file.
60830 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
60832         [BZ #13673]
60833         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
60834         * stdio-common/bug-vfprintf-nargs.c: Likewise.
60835         * sysdeps/i386/crti.S: Likewise.
60836         * sysdeps/i386/crtn.S: Likewise.
60837         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
60838         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
60839         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
60840         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
60841         * sysdeps/sh/crti.S: Likewise.
60842         * sysdeps/sh/crtn.S: Likewise.
60843         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
60845         [BZ #13673]
60846         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
60847         with URL.
60848         * locale/programs/locfile-kw.gperf: Likewise.
60849         * locale/programs/charmap-kw.h: Regenerated.
60850         * locale/programs/locfile-kw.h: Likewise.
60852         [BZ #13673]
60853         * intl/plural.y: Replace FSF snail mail address with URL.
60854         * intl/plural.c: Regenerated.
60856 2012-03-09  Richard Henderson  <rth@twiddle.net>
60858         * include/math_private.h: Remove file.
60859         * math/math_private.h: Move file ...
60860         * sysdeps/generic/math_private.h: ... here.
60862         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
60863         * sysdeps/powerpc/fpu/math_private.h: Likewise.
60864         * sysdeps/x86_64/fpu/math_private.h: Likewise.
60866         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
60867         and <math_private.h>.
60868         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
60869         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
60870         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
60871         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
60872         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
60873         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
60874         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
60875         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60876         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
60877         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60878         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60879         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
60880         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
60881         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60882         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
60883         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
60884         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60885         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
60886         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
60887         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
60888         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60889         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
60890         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
60891         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60892         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
60893         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
60894         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
60895         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60896         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60897         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
60898         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
60899         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60900         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
60901         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
60902         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
60903         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
60904         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
60905         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
60906         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
60907         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60908         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
60909         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
60910         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
60911         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
60912         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
60913         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
60914         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
60915         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
60916         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
60917         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
60918         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
60919         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
60920         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
60921         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
60922         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
60923         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
60924         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
60925         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
60926         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
60927         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
60928         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60929         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
60930         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60931         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
60932         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
60933         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
60934         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
60935         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
60936         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
60937         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
60938         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
60939         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
60940         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
60941         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
60942         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
60943         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
60944         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
60945         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
60946         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
60947         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
60948         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
60949         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
60950         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
60951         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
60952         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
60953         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
60954         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
60955         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
60956         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
60957         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
60958         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
60959         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
60960         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
60961         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
60962         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
60963         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
60964         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
60965         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
60966         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
60967         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
60968         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
60969         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
60970         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
60971         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
60972         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
60973         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
60974         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
60975         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
60976         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
60977         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
60978         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
60979         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
60980         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
60981         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
60982         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
60983         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
60984         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
60985         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
60986         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
60987         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
60988         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
60989         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
60990         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
60991         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
60992         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
60993         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
60994         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
60995         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
60996         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
60997         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
60998         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
60999         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
61000         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
61001         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
61002         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
61003         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
61004         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
61005         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
61006         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
61007         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
61008         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
61009         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
61010         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
61011         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
61012         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
61013         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
61014         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
61015         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
61016         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
61017         * sysdeps/ieee754/k_standard.c: Likewise.
61018         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
61019         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
61020         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
61021         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
61022         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
61023         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
61024         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
61025         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
61026         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
61027         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
61028         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
61029         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
61030         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
61031         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
61032         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
61033         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
61034         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
61035         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
61036         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
61037         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
61038         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
61039         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
61040         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
61041         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
61042         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
61043         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
61044         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
61045         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
61046         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
61047         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
61048         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
61049         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
61050         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
61051         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
61052         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
61053         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
61054         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
61055         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
61056         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
61057         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
61058         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
61059         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
61060         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
61061         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
61062         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
61063         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
61064         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
61065         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
61066         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
61067         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
61068         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
61069         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
61070         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
61071         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
61072         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
61073         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
61074         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
61075         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
61076         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
61077         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
61078         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
61079         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
61080         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
61081         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
61082         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
61083         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
61084         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
61085         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
61086         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
61087         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
61088         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
61089         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
61090         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
61091         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
61092         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
61093         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
61094         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
61095         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
61096         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
61097         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
61098         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
61099         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
61100         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
61101         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
61102         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
61103         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
61104         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
61105         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
61106         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
61107         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
61108         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
61109         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
61110         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
61111         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
61112         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
61113         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
61114         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
61115         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
61116         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
61117         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
61118         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
61119         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
61120         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
61121         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
61122         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
61123         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
61124         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
61125         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
61126         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
61127         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
61128         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
61129         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
61130         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
61131         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
61132         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
61133         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
61134         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
61135         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
61136         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
61137         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
61138         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
61139         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
61140         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
61141         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
61142         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
61143         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
61144         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
61145         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
61146         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
61147         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
61148         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
61149         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
61150         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
61151         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
61152         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
61153         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
61154         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
61155         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
61156         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
61157         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
61158         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
61159         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
61160         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
61161         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
61162         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
61163         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
61164         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
61165         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
61166         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
61167         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
61168         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
61169         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
61170         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
61171         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
61172         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
61173         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
61174         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
61175         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
61176         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
61177         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
61178         * sysdeps/ieee754/s_lib_version.c: Likewise.
61179         * sysdeps/ieee754/s_matherr.c: Likewise.
61180         * sysdeps/ieee754/s_signgam.c: Likewise.
61181         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
61182         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
61183         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
61184         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
61185         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
61186         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
61187         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
61188         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
61189         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
61190         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
61191         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
61192         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
61193         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
61194         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
61195         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
61196         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
61197         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
61198         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
61199         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
61200         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
61201         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
61203 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
61205         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
61206         * sunrpc/rpc_main.c: Likewise.
61207         * sunrpc/rpc_svcout.c: Likewise.
61209 2012-03-09  David S. Miller  <davem@davemloft.net>
61211         * include/math_private.h: New file.
61213 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
61215         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
61216         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
61217         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
61218         from <bits/socket_type.h>.
61219         (enum __socket_type): Don't define here.
61220         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
61221         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61222         bits/socket_type.h.
61224         [BZ #13566]
61225         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
61226         checking __USE_GNU.
61228         * Makerules ($(inst_includedir)/%.h): New rule.
61229         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
61230         (install-others): Remove variable setting.
61231         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
61233 2012-03-08  Richard Henderson  <rth@twiddle.net>
61235         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
61236         from macro to inline function; merge with the
61237         !__LIBC_INTERNAL_MATH_INLINES version.
61238         (__ieee754_sqrtf): Likewise.
61240         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
61241         to inline function.
61242         (__rintf, __floor, __floorf): Likewise.
61244         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
61245         macro to inline function.
61246         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
61248         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
61249         not <math/math_private.h>.
61251 2012-03-08  David S. Miller  <davem@davemloft.net>
61253         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
61254         copyright year.
61255         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
61257 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
61259         * resolv/gai_misc.c (handle_requests): Fix struct timespec
61260         normalization.
61261         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
61262         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
61264 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
61266         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
61267         be defined individually, they must be defined as a block.  Define
61268         S for printing a string instead of hidint the different by using a
61269         macro for adding the 'l'.
61270         * stdio-common/tst-fphex-wide.c: Adjust.
61272 2012-03-07  Marek Polacek  <polacek@redhat.com>
61274         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
61276 2012-03-08  Marek Polacek  <polacek@redhat.com>
61278         [BZ #13806]
61279         * stdio-common/Makefile (tests): Add tst-fphex-wide.
61280         * stdio-common/tst-fphex.c: Define a few macros to make the
61281         test reusable.  Use them.
61282         * stdio-common/tst-fphex-wide.c: New file.
61284 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
61286         [BZ #6911]
61287         * manual/macros.texi (gnusystems): New macro.
61288         (nongnusystems): Likewise.
61289         (gnulinuxhurdsystems): Likewise.
61290         (gnuhurdsystems): Likewise..
61291         (gnulinuxsystems): Likewise.
61292         * manual/charset.texi: Use new macros or @theglibc{} to refer to
61293         variants of the GNU system, not "GNU system".
61294         * manual/conf.texi: Likewise.
61295         * manual/errno.texi: Likewise.  Update example of errno macro
61296         expansion.
61297         * manual/filesys.texi: Likewise.
61298         (getumask): Document as specific to GNU/Hurd.
61299         * manual/install.texi: Likewise.  Reword some references to
61300         GNU/Linux.
61301         * manual/intro.texi: Likewise.
61302         * manual/io.texi: Likewise.
61303         (File Name Portability): Detail which constraints are inapplicable
61304         to all GNU systems and which are only inapplicable to GNU/Hurd.
61305         * manual/job.texi: Likewise.
61306         * manual/llio.texi: Likewise.
61307         (O_NOCTTY): Document as present on GNU/Linux.
61308         * manual/maint.texi: Likewise.
61309         * manual/memory.texi: Likewise.
61310         * manual/pattern.texi: Likewise.
61311         * manual/pipe.texi: Likewise.
61312         * manual/process.texi: Likewise.
61313         * manual/resource.texi: Likewise.
61314         (RUSAGE_CHILDREN): Remove statement about specifying a particular
61315         child on GNU/Hurd.
61316         * manual/setjmp.texi: Likewise.
61317         * manual/signal.texi: Likewise.
61318         * manual/startup.texi: Likewise.
61319         * manual/stdio.texi: Likewise.
61320         * manual/terminal.texi: Likewise.
61321         (ONLCR): Document as POSIX.
61322         (OXTABS): Document availability on GNU/Linux as XTABS.
61323         (ONOEOT): Document availability separately from other bits.
61324         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
61325         * manual/time.texi: Likewise.
61326         * manual/users.texi: Likewise.
61327         * INSTALL: Regenerated.
61328         * sysdeps/gnu/errlist.c: Regenerated.
61330         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
61331         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
61332         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
61333         puts.
61334         * configure: Regenerated.
61336 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
61338         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
61339         default includes instead of AC_HEADER_CHECK.
61340         * sysdeps/i386/configure: Regenerated.
61342         [BZ #10716]
61343         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
61344         * math/s_cacoshf.c (__cacoshf): Likewise.
61345         * math/s_cacoshl.c (__cacoshl): Likewise.
61346         * math/s_casinh.c (__casinh): Set signs of result from argument.
61347         * math/s_casinhf.c (__casinhf): Likewise.
61348         * math/s_casinhl.c (__casinhl): Likewise.
61349         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
61350         (casinh_test): Add more tests.
61351         * sysdeps/i386/fpu/libm-test-ulps: Update.
61352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61354 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
61356         * po/zh_TW.po: Update from translation team.
61358         * login/Makefile (distribute): Remove variable.
61359         * catgets/Makefile: Likewise.
61360         * mach/Makefile: Likewise.
61361         * malloc/Makefile: Likewise.
61362         * misc/Makefile: Likewise.
61363         * iconv/Makefile: Likewise.
61364         * nscd/Makefile: Likewise.
61365         * hurd/Makefile: Likewise.
61366         * manual/Makefile: Likewise.
61367         * locale/Makefile: Likewise.
61368         * intl/Makefile: Likewise.
61369         * conform/Makefile: Likewise.
61370         * nss/Makefile: Likewise.
61371         * time/Makefile: Likewise.
61372         * soft-fp/Makefile: Likewise.
61373         * dirent/Makefile: Likewise.
61374         * gmon/Makefile: Likewise.
61375         * po/Makefile: Likewise.
61376         * rt/Makefile: Likewise.
61377         * socket/Makefile: Likewise.
61378         * math/Makefile: Likewise.
61379         * signal/Makefile: Likewise.
61380         * debug/Makefile: Likewise.
61381         * elf/Makefile: Likewise.
61382         * timezone/Makefile: Likewise.
61383         * stdlib/Makefile: Likewise.
61384         * iconvdata/Makefile: Likewise.
61385         * sunrpc/Makefile: Likewise.
61386         * io/Makefile: Likewise.
61387         * argp/Makefile: Likewise.
61388         * inet/Makefile: Likewise.
61389         * hesiod/Makefile: Likewise.
61390         * grp/Makefile: Likewise.
61391         * csu/Makefile: Likewise.
61392         * wctype/Makefile: Likewise.
61393         * crypt/Makefile: Likewise.
61394         * libio/Makefile: Likewise.
61395         * string/Makefile: Likewise.
61396         * nis/Makefile: Likewise.
61397         * resolv/Makefile: Likewise.
61398         * stdio-common/Makefile: Likewise.
61399         * wcsmbs/Makefile: Likewise.
61400         * dlfcn/Makefile: Likewise.
61401         * posix/Makefile: Likewise.
61403         [BZ #6959]
61404         * timezone/Makefile: Don't install timezone files, just the programs
61405         and scripts.
61407 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
61409         * nss/databases.def: Add missing gshadow entry.
61411         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
61413 2012-03-06  Marek Polacek  <polacek@redhat.com>
61415         [BZ #13726]
61416         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
61417         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
61418         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
61419         * stdio-common/tst-long-dbl-fphex.c: New file.
61421 2012-03-06  David S. Miller  <davem@davemloft.net>
61423         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61424         (set_obp_int): New function.
61425         (get_obp_int): New function.
61426         (__get_clockfreq_via_dev_openprom): Likewise.
61427         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
61428         Avoid unused variable warnings on 'val' and use builtin_expect.
61429         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
61430         __builtin_expect.
61431         (INLINE_CLONE_SYSCALL): Likewise.
61433 2012-03-05  David S. Miller  <davem@davemloft.net>
61435         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61437 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
61439         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61441         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
61442         only for |x| >= 40.
61443         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
61445 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
61447         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
61448         Replace gettimeofday with __vdso_gettimeofday.
61450         * sysdeps/unix/sysv/linux/x86_64/init-first.c
61451         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
61452         __vdso_clock_gettime and __vdso_getcpu.
61454         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
61455         time with __vdso_time.
61457 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
61459         * manual/lang.texi (size_t): Note types to which size_t may be
61460         equivalent with the GNU C Library, but do not describe when
61461         differences between them are significant.
61463 2012-03-05  Andreas Jaeger  <aj@suse.de>
61465         * sysdeps/i386/fpu/libm-test-ulps: Update.
61467 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
61469         [BZ #3976]
61470         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
61471         (__ieee754_pow): Save and restore rounding mode and use
61472         round-to-nearest for main computations.
61473         * math/libm-test.inc (pow_test_tonearest): New function.
61474         (pow_test_towardzero): Likewise.
61475         (pow_test_downward): Likewise.
61476         (pow_test_upward): Likewise.
61477         (main): Call the new functions.
61478         * sysdeps/i386/fpu/libm-test-ulps: Update.
61479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61481         [BZ #3976]
61482         * math/libm-test.inc (cosh_test_tonearest): New function.
61483         (cosh_test_towardzero): Likewise.
61484         (cosh_test_downward): Likewise.
61485         (cosh_test_upward): Likewise.
61486         (sinh_test_tonearest): Likewise.
61487         (sinh_test_towardzero): Likewise.
61488         (sinh_test_downward): Likewise.
61489         (sinh_test_upward): Likewise.
61490         (main): Call the new functions.
61491         * sysdeps/i386/fpu/libm-test-ulps: Update.
61492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61494 2012-03-05  Tom de Vries  <tom@codesourcery.com>
61496         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
61497         default stack guard is set in last bytes.
61498         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
61500 2012-03-05  Kees Cook  <keescook@chromium.org>
61502         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
61504         [BZ #13656]
61505         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
61506         possibly allocate from heap instead of stack.
61507         * stdio-common/bug-vfprintf-nargs.c: New file.
61508         * stdio-common/Makefile (tests): Add nargs overflow test.
61510 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
61512         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61514 2012-03-03  Marek Polacek  <polacek@redhat.com>
61516         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
61517         * math/math_private.h: Likewise.
61518         * stdlib/tst-strtod.c: Likewise.
61519         * sysdeps/i386/i486/bits/atomic.h: Likewise.
61520         * sysdeps/x86_64/bits/atomic.h: Likewise.
61522 2012-03-02  David S. Miller  <davem@davemloft.net>
61524         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
61525         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
61526         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
61527         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
61528         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
61529         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
61530         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
61531         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
61533 2012-03-02  Roland McGrath  <roland@hack.frob.com>
61535         [BZ #13792]
61536         * manual/examples/README: New file, says the example source files
61537         can be used under GPL>=2.
61538         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
61539         line containing just "*/".
61540         * manual/examples/add.c: Add copyright header (GPL>=2).
61541         * manual/examples/argp-ex1.c: Likewise.
61542         * manual/examples/argp-ex2.c: Likewise.
61543         * manual/examples/argp-ex3.c: Likewise.
61544         * manual/examples/argp-ex4.c: Likewise.
61545         * manual/examples/atexit.c: Likewise.
61546         * manual/examples/db.c: Likewise.
61547         * manual/examples/dir.c: Likewise.
61548         * manual/examples/dir2.c: Likewise.
61549         * manual/examples/execinfo.c: Likewise.
61550         * manual/examples/filecli.c: Likewise.
61551         * manual/examples/filesrv.c: Likewise.
61552         * manual/examples/fmtmsgexpl.c: Likewise.
61553         * manual/examples/genpass.c: Likewise.
61554         * manual/examples/inetcli.c: Likewise.
61555         * manual/examples/inetsrv.c: Likewise.
61556         * manual/examples/isockad.c: Likewise.
61557         * manual/examples/longopt.c: Likewise.
61558         * manual/examples/memopen.c: Likewise.
61559         * manual/examples/memstrm.c: Likewise.
61560         * manual/examples/mkfsock.c: Likewise.
61561         * manual/examples/mkisock.c: Likewise.
61562         * manual/examples/mygetpass.c: Likewise.
61563         * manual/examples/pipe.c: Likewise.
61564         * manual/examples/popen.c: Likewise.
61565         * manual/examples/rprintf.c: Likewise.
61566         * manual/examples/search.c: Likewise.
61567         * manual/examples/select.c: Likewise.
61568         * manual/examples/setjmp.c: Likewise.
61569         * manual/examples/sigh1.c: Likewise.
61570         * manual/examples/sigusr.c: Likewise.
61571         * manual/examples/stpcpy.c: Likewise.
61572         * manual/examples/strdupa.c: Likewise.
61573         * manual/examples/strftim.c: Likewise.
61574         * manual/examples/strncat.c: Likewise.
61575         * manual/examples/subopt.c: Likewise.
61576         * manual/examples/swapcontext.c: Likewise.
61577         * manual/examples/termios.c: Likewise.
61578         * manual/examples/testopt.c: Likewise.
61579         * manual/examples/testpass.c: Likewise.
61580         * manual/examples/timeval_subtract.c: Likewise.
61582         [BZ #13792]
61583         * manual/time.texi (Elapsed Time): Move timeval_subtract example
61584         function to ...
61585         * manual/timeval_subtract.c.texi: ... here, new file.
61587 2012-03-02  David S. Miller  <davem@davemloft.net>
61589         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
61591 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
61593         [BZ #3976]
61594         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
61595         (__sin): Save and restore rounding mode and use round-to-nearest
61596         for all computations.
61597         (__cos): Save and restore rounding mode and use round-to-nearest
61598         for all computations.
61599         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
61600         <fenv.h>.
61601         (tan): Save and restore rounding mode and use round-to-nearest for
61602         all computations.
61603         * math/libm-test.inc (cos_test_tonearest): New function.
61604         (cos_test_towardzero): Likewise.
61605         (cos_test_downward): Likewise.
61606         (cos_test_upward): Likewise.
61607         (sin_test_tonearest): Likewise.
61608         (sin_test_towardzero): Likewise.
61609         (sin_test_downward): Likewise.
61610         (sin_test_upward): Likewise.
61611         (tan_test_tonearest): Likewise.
61612         (tan_test_towardzero): Likewise.
61613         (tan_test_downward): Likewise.
61614         (tan_test_upward): Likewise.
61615         (main): Call the new functions.
61616         * sysdeps/i386/fpu/libm-test-ulps: Update.
61617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61619         [BZ #10135]
61620         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
61621         small n, then large n, before computing and testing k+n.
61622         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
61623         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
61624         Likewise.
61625         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
61626         Likewise.
61627         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
61628         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
61629         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
61630         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
61631         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
61632         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
61633         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
61634         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
61635         * math/libm-test.inc (scalbn_test): Add more tests.
61636         (scalbln_test): Likewise.
61638         * manual/filesys.texi (mode_t): Describe constraints on size and
61639         signedness, not exact equivalence to a particular type.
61640         (ino_t): Likewise.
61641         (ino64_t): Likewise.
61642         (dev_t): Likewise.
61643         (nlink_t): Likewise.
61644         (blkcnt_t): Likewise.
61645         (blkcnt64_t): Likewise.
61646         * manual/llio.texi (off_t): Likewise.
61648         [BZ #3976]
61649         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
61650         (__ieee754_exp): Save and restore rounding mode and use
61651         round-to-nearest for all computations.
61652         * math/libm-test.inc (exp_test_tonearest): New function.
61653         (exp_test_towardzero): Likewise.
61654         (exp_test_downward): Likewise.
61655         (exp_test_upward): Likewise.
61656         (main): Call the new functions.
61657         * sysdeps/i386/fpu/libm-test-ulps: Update.
61658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61660 2012-03-01  Chris Demetriou  <cgd@google.com>
61662         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
61663         have predictable order.
61665 2012-03-01  David S. Miller  <davem@davemloft.net>
61667         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
61669         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
61670         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
61671         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
61672         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
61674         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
61675         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
61676         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
61677         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
61678         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
61679         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
61680         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
61681         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
61682         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
61684         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61686         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
61687         * sysdeps/sparc/fpu/libm-test-ulps: to here.
61688         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
61690         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
61691         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
61692         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
61693         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
61694         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
61695         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
61696         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
61697         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
61698         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
61699         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
61700         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
61701         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
61702         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
61703         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
61704         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
61705         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
61706         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
61707         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
61708         * sysdeps/sparc/elf/configure: Regenerated.
61710 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
61712         * configure.in (AS, LD): Require binutils 2.20 or later.
61713         * configure: Regenerated.
61714         * manual/install.texi (Tools for Compilation): Give binutils 2.20
61715         as required minimum version.
61716         * INSTALL: Regenerated.
61718         [BZ #2541]
61719         [BZ #4108]
61720         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
61721         before squaring exponent.
61722         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
61723         bottom long double and 27 bits of top long double before squaring
61724         exponent.
61725         * math/libm-test.inc (erfc_test): Add more tests.
61726         * sysdeps/i386/fpu/libm-test-ulps: Update.
61727         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
61728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61730 2012-03-01  Kai Tietz  <ktietz@redhat.com>
61732         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
61733         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
61734         containing bit-fields.
61735         * soft-fp/extended.h (_FP_UNION_E): Likewise.
61736         * soft-fp/single.h (_FP_UNION_S): Likewise.
61737         * soft-fp/double.h (_FP_UNION_D): Likewise.
61739 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
61741         [BZ #13786]
61742         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
61743         not include ../strcmp.S.
61744         [USE_AS_STRNCASECMP_L]: Likewise.
61745         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
61746         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
61747         * sysdeps/i386/i686/multiarch/strncase_l-c.c
61748         (__strncasecmp_l_ia32): Define as alias to
61749         __strncasecmp_l_nonascii.
61751         [BZ #5794]
61752         * math/libm-test.inc (expm1_test): Add test for bug 5794.
61753         * sysdeps/i386/fpu/libm-test-ulps: Update.
61754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61756         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
61757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61759 2012-02-29  Jeff Law  <law@redhat.com>
61761         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
61762         out of bounds read.
61764 2012-02-29  Marek Polacek  <polacek@redhat.com>
61766         [BZ #13706]
61767         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
61768         * elf/Makefile: Add rules to run tst-unused-dep.out.
61770 2012-02-28  David S. Miller  <davem@davemloft.net>
61772         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
61773         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
61774         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
61775         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
61776         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
61777         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
61779 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
61781         * math/libm-test.inc (llround_test): Move one test from
61782         lround_test.  Use TEST_f_L in moved test.
61783         (lround_test): Move misplaced test to llround_test.  Add testcase
61784         from bug 2561.
61786 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
61788         * sysdeps/x86_64/fpu/e_expf.S: New file.
61789         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
61791 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
61793         [BZ #13637]
61794         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
61795         of remain_len that may cause incomplete multi-byte character and
61796         false match.
61797         * posix/bug-regex33.c: New file.
61798         * posix/Makefile (tests): Add bug-regex33.
61800 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
61802         * manual/macros.texi: New file.
61803         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
61804         * manual/libc.texinfo: Include macros.texi.
61805         * manual/creatute.texi: Likewise.
61806         * manual/install.texi: Likewise.
61807         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
61808         @glibcadj{} in references to the GNU C Library.
61809         * manual/charset.texi: Likewise.
61810         * manual/conf.texi: Likewise.
61811         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
61812         when not using those macros.
61813         * manual/creature.texi: Likewise.
61814         * manual/crypt.texi: Likewise.
61815         * manual/errno.texi: Likewise.
61816         * manual/filesys.texi: Likewise.
61817         * manual/header.texi: Likewise.
61818         * manual/install.texi: Likewise.
61819         * manual/intro.texi: Likewise.
61820         * manual/io.texi: Likewise.
61821         * manual/job.texi: Likewise.
61822         * manual/lang.texi: Likewise.
61823         * manual/libc.texiinfo: Likewise.
61824         * manual/llio.texi: Likewise.
61825         * manual/locale.texi: Likewise.
61826         * manual/maint.texi: Likewise.
61827         * manual/math.texi: Likewise.
61828         * manual/memory.texi: Likewise.
61829         * manual/message.texi: Likewise.
61830         * manual/nss.texi: Likewise.
61831         * manual/pattern.texi: Likewise.
61832         * manual/process.texi: Likewise.
61833         * manual/resource.texi: Likewise.
61834         * manual/search.texi: Likewise.
61835         * manual/setjmp.texi: Likewise.
61836         * manual/signal.texi: Likewise.
61837         * manual/socket.texi: Likewise.
61838         * manual/startup.texi: Likewise.
61839         * manual/stdio.texi: Likewise.
61840         * manual/string.texi: Likewise.
61841         * manual/sysinfo.texi: Likewise.
61842         * manual/syslog.texi: Likewise.
61843         * manual/terminal.texi: Likewise.
61844         * manual/time.texi: Likewise.
61845         * manual/users.texi: Likewise.
61846         * INSTALL: Regenerated.
61847         * NOTES: Regenerated.
61848         * sysdeps/gnu/errlist.c: Regenerated.
61850 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
61852         * include/dirent.h: Include <dirstream.h> before
61853         <dirent/dirent.h>.
61855 2012-02-28  David S. Miller  <davem@davemloft.net>
61857         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
61858         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
61859         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
61860         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
61862 2012-02-27  David S. Miller  <davem@davemloft.net>
61864         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
61865         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
61866         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
61867         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
61869         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
61870         frame pointer instead of stack pointer relative arg slot.
61871         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
61872         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
61873         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
61875 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
61877         [BZ #3992]
61878         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
61880 2012-02-27  David S. Miller  <davem@davemloft.net>
61882         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
61883         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
61884         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
61885         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
61886         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
61887         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
61888         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
61889         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
61891 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
61893         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
61894         later.  Allow versions 5-9.
61895         * configure: Regenerated.
61896         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
61897         required minimum version and 4.6 as recommended version.  Do not
61898         mention bugs in GCC 2.7 and 2.8.
61899         * INSTALL: Regenerated.
61901 2012-02-27  David S. Miller  <davem@davemloft.net>
61903         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
61904         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
61905         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
61906         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
61907         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
61908         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
61909         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
61910         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
61912         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
61913         manipulate bits before adding and subtracting TWO112[sx].
61914         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
61916 2012-02-27  Roland McGrath  <roland@hack.frob.com>
61918         [BZ #13775]
61919         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
61920         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
61921         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
61922         being in POSIX, because they are in 1003.1-2008.
61924         * rt/tst-aio.c: Include <fcntl.h>.
61925         * rt/tst-aio7.c: Likewise.
61926         * rt/tst-aio64.c: Likewise.
61928         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
61930 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
61932         * manual/install.texi (--with-headers): Describe headers as
61933         interface headers, not private headers.
61934         (Specific advice for GNU/Linux systems): Describe use of headers
61935         from "make headers_install", not private headers from older
61936         kernels.
61937         * INSTALL: Regenerated.
61938         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
61939         Change to 2.6.19.
61940         * sysdeps/unix/sysv/linux/configure: Regenerated.
61942         * manual/llio.texi (fclean): Remove documentation.
61944         * manual/Makefile (libc-texi-generated): New variable.  Include
61945         version.texi.
61946         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
61947         $(libc-texi-generated), not duplicated list of files.
61948         (version.texi, stamp-version): New rules.
61949         (realclean): Remove $(libc-texi-generated), not individual files
61950         from that list.  Do not remove dir-add.texinfo.
61951         * manual/libc.texinfo: Comment out uses of edition numbers and
61952         references to printed manual.  Remove last-updated dates.
61953         (EDITION): Comment out.
61954         (ISBN): Likewise.
61955         (VERSION, UPDATED): Remove.
61956         (version.texi): Include.
61958 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
61960         * sysdeps/posix/spawni.c: Include <signal.h>.
61961         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
61962         * sysdeps/pthread/aio_fsync.c: Likewise.
61964 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
61966         * conform/Makefile (tests): Run only when not cross-compiling and
61967         when fast-check is not defined.
61969         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
61970         * conform/data/limits.h-data: Fixes for POSIX2008.
61971         * conform/run-conformtest.sh: Run all tests.
61972         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
61973         headers.
61974         * include/bits/dlfcn.h: Likewise.
61975         * include/langinfo.h: Likewise.
61976         * include/monetary.h: Likewise.
61977         * include/sys/poll.h: Likewise.
61979         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
61980         for __USE_GNU.
61981         * posix/spawn.h: Define __need_sigset_t.
61982         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
61983         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
61984         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
61985         to get sigevent_t only.
61986         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
61987         only for __USE_GNU.
61988         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61989         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
61990         process_vm_writev only for __USE_GNU.
61991         * termios/termios.h: Declare tcgetsid also for POSIX2008.
61993         * conform/Makefile: For now ignore errors from run-conformtest.
61994         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
61995         POSIX to avoid namespace pollution.  Don't prepend headers.
61996         * conform/data/aio.h-data: Fixes for POSIX testing.
61997         * conform/data/fcntl.h-data: Likewise.
61998         * conform/data/glob.h-data: Likewise.
61999         * conform/data/grp.h-data: Likewise.
62000         * conform/data/pthread.h-data: Likewise.
62001         * conform/data/pwd.h-data: Likewise.
62002         * conform/data/signal.h-data: Likewise.
62003         * conform/data/spawn.h-data: Likewise.
62004         * conform/data/stdio.h-data: Likewise.
62005         * conform/data/stdlib.h-data: Likewise.
62006         * conform/data/stropts.h-data: Likewise.
62007         * conform/data/sys/mman.h-data: Likewise.
62008         * conform/data/sys/stat.h-data: Likewise.
62009         * conform/data/sys/types.h-data: Likewise.
62010         * conform/data/sys/wait.h-data: Likewise.
62011         * conform/data/time.h-data: Likewise.
62012         * conform/data/unistd.h-data: Likewise.
62013         * conform/data/utime.h-data: Likewise.
62015         * io/sys/stat.h: fchmod was always in POSIX.
62016         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
62017         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
62018         * rt/aio.h: Define __need_timespec before including <time.h>.
62019         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
62020         struct.  Add forward declaration of pthread_attr_t and use it in
62021         sigevent.
62022         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
62023         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
62024         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
62025         always remove CLK_TCK definition.
62027 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
62029         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
62031 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
62033         * conform/run-conformtest.sh: New file.
62034         * conform/Makefile: Run run-conformtest for tests.
62035         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
62036         support.
62038         * conform/data/uchar.h-data: New file.
62039         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
62040         * conform/data/arpa/inet.h-data: Likewise.
62041         * conform/data/assert.h-data: Likewise.
62042         * conform/data/complex.h-data: Likewise.
62043         * conform/data/cpio.h-data: Likewise.
62044         * conform/data/ctype.h-data: Likewise.
62045         * conform/data/dirent.h-data: Likewise.
62046         * conform/data/dlfcn.h-data: Likewise.
62047         * conform/data/errno.h-data: Likewise.
62048         * conform/data/fcntl.h-data: Likewise.
62049         * conform/data/float.h-data: Likewise.
62050         * conform/data/fmtmsg.h-data: Likewise.
62051         * conform/data/fnmatch.h-data: Likewise.
62052         * conform/data/ftw.h-data: Likewise.
62053         * conform/data/glob.h-data: Likewise.
62054         * conform/data/grp.h-data: Likewise.
62055         * conform/data/iconv.h-data: Likewise.
62056         * conform/data/inttypes.h-data: Likewise.
62057         * conform/data/langinfo.h-data: Likewise.
62058         * conform/data/libgen.h-data: Likewise.
62059         * conform/data/limits.h-data: Likewise.
62060         * conform/data/locale.h-data: Likewise.
62061         * conform/data/math.h-data: Likewise.
62062         * conform/data/monetary.h-data: Likewise.
62063         * conform/data/mqueue.h-data: Likewise.
62064         * conform/data/ndbm.h-data: Likewise.
62065         * conform/data/net/if.h-data: Likewise.
62066         * conform/data/netdb.h-data: Likewise.
62067         * conform/data/netinet/in.h-data: Likewise.
62068         * conform/data/nl_types.h-data: Likewise.
62069         * conform/data/poll.h-data: Likewise.
62070         * conform/data/pthread.h-data: Likewise.
62071         * conform/data/pwd.h-data: Likewise.
62072         * conform/data/regex.h-data: Likewise.
62073         * conform/data/sched.h-data: Likewise.
62074         * conform/data/search.h-data: Likewise.
62075         * conform/data/semaphore.h-data: Likewise.
62076         * conform/data/setjmp.h-data: Likewise.
62077         * conform/data/signal.h-data: Likewise.
62078         * conform/data/spawn.h-data: Likewise.
62079         * conform/data/stdarg.h-data: Likewise.
62080         * conform/data/stdio.h-data: Likewise.
62081         * conform/data/stdlib.h-data: Likewise.
62082         * conform/data/string.h-data: Likewise.
62083         * conform/data/strings.h-data: Likewise.
62084         * conform/data/stropts.h-data: Likewise.
62085         * conform/data/sys/ipc.h-data: Likewise.
62086         * conform/data/sys/mman.h-data: Likewise.
62087         * conform/data/sys/msg.h-data: Likewise.
62088         * conform/data/sys/resource.h-data: Likewise.
62089         * conform/data/sys/select.h-data: Likewise.
62090         * conform/data/sys/sem.h-data: Likewise.
62091         * conform/data/sys/shm.h-data: Likewise.
62092         * conform/data/sys/socket.h-data: Likewise.
62093         * conform/data/sys/stat.h-data: Likewise.
62094         * conform/data/sys/statvfs.h-data: Likewise.
62095         * conform/data/sys/time.h-data: Likewise.
62096         * conform/data/sys/timeb.h-data: Likewise.
62097         * conform/data/sys/times.h-data: Likewise.
62098         * conform/data/sys/types.h-data: Likewise.
62099         * conform/data/sys/uio.h-data: Likewise.
62100         * conform/data/sys/un.h-data: Likewise.
62101         * conform/data/sys/utsname.h-data: Likewise.
62102         * conform/data/sys/wait.h-data: Likewise.
62103         * conform/data/syslog.h-data: Likewise.
62104         * conform/data/tar.h-data: Likewise.
62105         * conform/data/termios.h-data: Likewise.
62106         * conform/data/utime.h-data: Likewise.
62107         * conform/data/utmpx.h-data: Likewise.
62108         * conform/data/varargs.h-data: Likewise.
62109         * conform/data/wchar.h-data: Likewise.
62110         * conform/data/wctype.h-data: Likewise.
62111         * conform/data/wordexp.h-data: Likewise.
62113         * include/stropts.h: New file.
62114         * include/uchar.h: New file.
62115         * include/aio.h: Changes to allow conformtest.pl to use the headers.
62116         * include/assert.h: Likewise.
62117         * include/ctype.h: Likewise.
62118         * include/dirent.h: Likewise.
62119         * include/dlfcn.h: Likewise.
62120         * include/fcntl.h: Likewise.
62121         * include/fnmatch.h: Likewise.
62122         * include/glob.h: Likewise.
62123         * include/grp.h: Likewise.
62124         * include/libio.h: Likewise.
62125         * include/locale.h: Likewise.
62126         * include/math.h: Likewise.
62127         * include/net/if.h: Likewise.
62128         * include/netdb.h: Likewise.
62129         * include/netinet/in.h: Likewise.
62130         * include/pthread.h: Likewise.
62131         * include/pwd.h: Likewise.
62132         * include/regex.h: Likewise.
62133         * include/sched.h: Likewise.
62134         * include/search.h: Likewise.
62135         * include/setjmp.h: Likewise.
62136         * include/signal.h: Likewise.
62137         * include/stdio.h: Likewise.
62138         * include/stdlib.h: Likewise.
62139         * include/string.h: Likewise.
62140         * include/sys/cdefs.h: Likewise.
62141         * include/sys/mman.h: Likewise.
62142         * include/sys/msg.h: Likewise.
62143         * include/sys/resource.h: Likewise.
62144         * include/sys/select.h: Likewise.
62145         * include/sys/socket.h: Likewise.
62146         * include/sys/stat.h: Likewise.
62147         * include/sys/statvfs.h: Likewise.
62148         * include/sys/time.h: Likewise.
62149         * include/sys/times.h: Likewise.
62150         * include/sys/uio.h: Likewise.
62151         * include/sys/utsname.h: Likewise.
62152         * include/sys/wait.h: Likewise.
62153         * include/termios.h: Likewise.
62154         * include/time.h: Likewise.
62155         * include/ulimit.h: Likewise.
62156         * include/unistd.h: Likewise.
62157         * include/utime.h: Likewise.
62158         * include/wchar.h: Likewise.
62159         * include/wctype.h: Likewise.
62160         * include/wordexp.h: Likewise.
62162         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
62164         * time/time.h: TIME_UTC must be a macro.
62165         Make timespec_get available for ISO C11 only as well.
62167 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
62169         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
62170         Reported by Peng Haitao <penght@cn.fujitsu.com>.
62172 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
62174         * configure.in: Use -o not -a in test for unsupported multi-arch.
62176 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
62178         * manual/texinfo.tex: Update to version 2012-01-19.16.
62180 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
62182         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
62184 2012-02-24  Roland McGrath  <roland@hack.frob.com>
62186         [BZ #13738]
62187         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
62188         * manual/fdl-1.3.texi: New file.
62189         * manual/fdl-1.1.texi: File removed.
62191         [BZ #13738]
62192         * manual/libc.texinfo (FDL_VERSION): New @set.
62193         Use it for mention of FDL in cover text.
62194         (Documentation License): Use it in @include file name.
62196 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62197             Roland McGrath  <roland@hack.frob.com>
62199         [BZ #5461]
62200         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
62201         (not LONG_LONG_MAX and LONG_LONG_MIN.
62202         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
62203         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
62204         name.
62205         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
62207 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62209         [BZ #2547]
62210         [BZ #11365]
62211         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
62212         manipulate bits before adding and subtracting TWO23[sx].
62213         * math/libm-test.inc (nearbyint_test): Add more tests.
62215 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62217         [BZ #2548]
62218         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
62219         bits before adding and subtracting TWO23[sx].
62220         * math/libm-test.inc (rint_test): Add more tests.
62221         (rint_test_tonearest): Likewise.
62222         (rint_test_towardzero): Likewise.
62223         (rint_test_downward): Likewise.
62224         (rint_test_upward: Likewise.
62226 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62228         [BZ #10110]
62229         * include/stdc-predef.h: New file.  Extracted from features.h.
62230         * include/features.h: Include stdc-predef.h.
62231         * Makefile (headers): Add stdc-predef.h.
62232         * CONFORMANCE (Compiler limitations): Update.
62234 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62236         * manual/libc.texinfo (VERSION, UPDATED): Revert.
62238 2012-02-21  David S. Miller  <davem@davemloft.net>
62240         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
62241         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
62243 2012-02-20  David S. Miller  <davem@davemloft.net>
62245         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
62246         using a normal save/restore sequence, rather than allocating a
62247         dummy stack frame just to store a frame pointer and restore.
62248         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
62250 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
62252         * manual/install.texi: Fix stray word in line-wrapped comment.
62254 2012-02-20  David S. Miller  <davem@davemloft.net>
62256         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
62257         both binutils and gcc support GOTDATA.
62259         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
62260         "rd %pc" in the PIC register setup sequences.
62262         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
62263         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
62264         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
62265         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
62266         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
62267         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
62268         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62269         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
62270         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
62271         (SYSCALL_ERROR_HANDLER): Likewise.
62272         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
62273         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
62274         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
62275         (SYSCALL_ERROR_HANDLER): Likewise.
62277         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
62278         (HAVE_GCC_GOTDATA): New.
62279         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
62280         relocation support in both binutils and gcc.
62281         * sysdeps/sparc/elf/configure: Regenerate.
62283         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
62284         * sysdeps/sparc/sparc32/elf/configure: Delete.
62285         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
62286         * sysdeps/sparc/sparc64/elf/configure: Delete.
62287         * sysdeps/sparc/elf/configure.in: New file.
62288         * sysdeps/sparc/elf/configure: Generate.
62290         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
62291         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
62292         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
62293         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
62294         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
62296 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
62298         * manual/install.texi: Do not mention specific glibc version
62299         numbers.
62300         * manual/libc.texinfo (VERSION, UPDATED): Update.
62301         (@copying): Use @copyright{} and range of years.
62303 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
62305         [BZ #13695]
62306         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
62307         [crti.S not in sysdirs] (generated): Do not append.
62308         [crti.S not in sysdirs] (omit-deps): Likewise.
62309         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
62310         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
62311         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
62312         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
62313         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
62314         Likewise.
62315         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
62316         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
62317         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
62318         * csu/defs.awk: Remove file.
62319         * sysdeps/generic/initfini.c: Likewise.
62320         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
62321         variable.
62322         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
62323         Likewise.
62325 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
62327         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
62328         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
62329         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
62330         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
62331         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
62332         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
62333         <bits/epoll.h>.
62334         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
62335         (__EPOLL_PACKED): Define to empty if not defined by
62336         <bits/epoll.h>.
62337         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
62338         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62339         bits/epoll.h.
62341 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
62343         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
62344         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
62345         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
62346         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
62347         <bits/timerfd.h>.
62348         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
62349         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62350         bits/timerfd.h.
62352 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
62354         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
62355         in C locale.
62356         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62357         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
62358         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
62359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62361 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
62363         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
62364         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
62366 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
62368         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
62369         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
62370         defined.
62371         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
62372         Likewise.
62373         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
62374         entry for 2.16.
62376 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
62378         * math/w_acos.c: Use non-signaling floating-point comparisons.
62379         * math/w_acosf.c: Likewise.
62380         * math/w_acosh.c: Likewise.
62381         * math/w_acoshf.c: Likewise.
62382         * math/w_acoshl.c: Likewise.
62383         * math/w_acosl.c: Likewise.
62384         * math/w_asin.c: Likewise.
62385         * math/w_asinf.c: Likewise.
62386         * math/w_asinl.c: Likewise.
62387         * math/w_atanh.c: Likewise.
62388         * math/w_atanhf.c: Likewise.
62389         * math/w_atanhl.c: Likewise.
62390         * math/w_exp2.c: Likewise.
62391         * math/w_exp2f.c: Likewise.
62392         * math/w_exp2l.c: Likewise.
62393         * math/w_j0.c: Likewise.
62394         * math/w_j0f.c: Likewise.
62395         * math/w_j0l.c: Likewise.
62396         * math/w_j1.c: Likewise.
62397         * math/w_j1f.c: Likewise.
62398         * math/w_j1l.c: Likewise.
62399         * math/w_jn.c: Likewise.
62400         * math/w_jnf.c: Likewise.
62401         * math/w_log.c: Likewise.
62402         * math/w_log10.c: Likewise.
62403         * math/w_log10f.c: Likewise.
62404         * math/w_log10l.c: Likewise.
62405         * math/w_log2.c: Likewise.
62406         * math/w_log2f.c: Likewise.
62407         * math/w_log2l.c: Likewise.
62408         * math/w_logf.c: Likewise.
62409         * math/w_logl.c: Likewise.
62410         * math/w_sqrt.c: Likewise.
62411         * math/w_sqrtf.c: Likewise.
62412         * math/w_sqrtl.c: Likewise.
62413         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
62414         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
62415         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
62416         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
62417         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
62419 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
62421         [BZ #9739]
62422         * manual/string.texi (strnlen): Use correct parameter name in
62423         equivalent expression.
62425 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
62427         [BZ #11174]
62428         * manual/users.texi (seteuid): Consistently use neweuid for
62429         argument name.
62431 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
62433         [BZ #13704]
62434         * manual/nss.texi (Services in the NSS configuration): Correct
62435         list of services in example configuration file.
62437 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
62439         [BZ #11322]
62440         * manual/arith.texi: Remove statements about negative zero
62441         behaving identically to zero.
62443 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
62445         [BZ #5993]
62446         * manual/install.texi: Do not document upgrading from libc5.
62448 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
62450         [BZ #4596]
62451         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
62453 2012-02-18  David S. Miller  <davem@davemloft.net>
62455         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
62456         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
62457         %o7 across the call.
62458         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
62459         instead.
62460         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
62461         SETUP_PIC_REG_LEAF.
62462         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
62463         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
62464         * sysdeps/sparc/crtn.S: Likewise.
62466 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
62468         * aout/Makefile: Remove.
62470 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
62472         [BZ #13058]
62473         * manual/examples/argp-ex1.c (main): Format definition in GNU
62474         style.
62475         * manual/examples/argp-ex2.c (main): Likewise.
62476         * manual/examples/argp-ex3.c (main): Likewise.
62477         * manual/examples/argp-ex4.c (main): Likewise.
62478         * manual/examples/longopt.c (main): Use new-style prototype
62479         definition.
62480         * manual/examples/strncat.c (main): Specify return type and use
62481         (void) for arguments.
62482         * manual/examples/subopt.c (main): Use char **argv argument.
62484 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
62486         [BZ #5077]
62487         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
62488         rounding modes.
62490 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
62492         [BZ #6907]
62493         * manual/string.texi (strchr): Change when strchrnul is
62494         recommended.
62496 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
62498         [BZ #174]
62499         * manual/locale.texi (setlocale): Document LOCPATH.
62501 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
62503         [BZ #10210]
62504         * manual/process.texi (execle): Move @dots{} before last argument.
62506 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
62508         [BZ #12047]
62509         * manual/charset.texi (Generic Charset Conversion): Fix typo
62510         (LC_TYPE -> LC_CTYPE).
62512 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
62514         [BZ #5805]
62515         * manual/arith.texi (scalbn): Use @var{} on parameter names.
62516         (scalbnf): Likewise.
62517         (scalbnl): Likewise.
62518         (scalbln): Likewise.
62519         (scalblnf): Likewise.
62520         (scalblnl): Likewise.
62521         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
62522         (vwarnx): Likewise.
62523         (verr): Likewise.
62524         (verrx): Likewise.
62525         * manual/filesys.texi (telldir): Use braces around return type.
62526         * manual/llio.texi (mmap): Add space after comma.
62527         (mmap64): Likewise.
62528         * manual/math.texi (jn): Use @var{} on parameter names.
62529         (jnf): Likewise.
62530         (jnl): Likewise.
62531         (yn): Likewise.
62532         (ynf): Likewise.
62533         (ynl): Likewise.
62534         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
62535         line.
62536         * manual/resource.texi (ulimit): Use @dots{} instead of literal
62537         "...".
62538         (sched_get_priority_min): Remove semicolon on @deftypefun line.
62539         (sched_get_priority_max): Likewise.
62540         * manual/signal.texi (sigvec): Add space after comma.
62541         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
62542         names.
62543         (if_indextoname): Likewise.
62544         (if_freenameindex): Likewise.
62545         (sendto): Use ',' instead of '.' in prototype.
62546         * manual/startup.texi (syscall): Use @dots{} instead of literal
62547         "...".
62548         * manual/stdio.texi (__fpending): Separate initial words of
62549         paragraph from @deftypefun line.
62550         * manual/syslog.texi (syslog): Use @dots{} instead of literal
62551         "...".
62552         (vsyslog): Use @var{} on parameter names.
62553         * manual/terminal.texi (stty): Use @var{} on parameter names.
62554         * manual/users.texi (getutmp): Use @var{} on parameter names.
62555         (getutmpx): Likewise.
62557 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
62559         [BZ #6884]
62560         * manual/stdio.texi (fopen): Fix typos in description of
62561         ",ccs=STRING".
62563 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
62565         [BZ #4026]
62566         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
62567         get clock_id definition.
62569 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
62571         [BZ #4822]
62572         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
62573         (madvise): Cast every argument to void on its own.
62575 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
62577         [BZ #9902]
62578         * manual/startup.texi (Exit Status): Fix typo.
62580 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
62582         [BZ #10140]
62583         * manual/examples/argp-ex1.c: Include <stdlib.h>.
62584         * manual/examples/argp-ex2.c: Likewise.
62585         * manual/examples/argp-ex3.c: Likewise.
62587 2012-02-16  Richard Henderson  <rth@redhat.com>
62589         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
62590         * sysdeps/s390/s390-32/initfini.c: Remove.
62591         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
62592         * sysdeps/s390/s390-64/initfini.c: Remove.
62594 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62596         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
62597         compiler output for sysdeps/generic/initfini.c.
62598         * sysdeps/sh/elf/initfini.c: Remove file.
62600 2012-02-16  David S. Miller  <davem@davemloft.net>
62602         [BZ #11494]
62603         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
62605         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
62606         * sysdeps/sparc/crti.S: New file.
62607         * sysdeps/sparc/crtn.S: New file.
62608         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
62609         * sysdeps/sparc/sparc64/Makefile: Likewise.
62611 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
62613         [BZ #3335]
62614         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
62616 2012-02-15  Roland McGrath  <roland@hack.frob.com>
62618         [BZ #4822]
62619         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
62621         * mach/devstream.c (cookie_io_functions_t): Macro removed.
62622         (write, read, close): Likewise.
62623         Patch by Aurelien Jarno <aurelien@aurel32.net>.
62625 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
62627         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
62628         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
62629         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
62630         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
62631         <bits/signalfd.h>.
62632         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
62633         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62634         bits/signalfd.h.
62636 2012-02-14  Marek Polacek  <polacek@redhat.com>
62638         * sysdeps/x86_64/crti.S: New file.
62639         * sysdeps/x86_64/crtn.S: New file.
62640         * sysdeps/x86_64/elf/initfini.c: Remove file.
62642 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
62644         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
62645         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
62646         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
62647         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
62648         <bits/inotify.h>.
62649         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
62650         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62651         bits/inotify.h.
62653 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
62655         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
62656         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
62657         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
62658         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
62659         <bits/eventfd.h>.
62660         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
62661         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62662         bits/eventfd.h.
62664 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
62666         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
62667         __feraiseexcept instead of feraiseexcept.
62669         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
62670         nanosleep invocations.
62671         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
62672         strings, and add error checking for a nanosleep invocations.
62674 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
62676         Replace FSF snail mail address with URLs, as per GNU coding standards.
62677         Most of the snail mail addresses were wrong anyway, and omitting
62678         them makes the source code easier to maintain.  Almost all of the
62679         changes are to license notices and to locale LC_IDENTIFICATION
62680         addresses, except for this one:
62681         * manual/libc.texinfo: In "Published by", give the FSF's URL,
62682         not its snail mail address.
62684 2012-02-09  Richard Henderson  <rth@twiddle.net>
62686         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
62687         of kernel-features.h.
62689         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
62691 2012-02-08  Marek Polacek  <polacek@redhat.com>
62693         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
62694         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
62695         * sysdeps/gnu/_G_config.h: Likewise.
62696         * sysdeps/generic/_G_config.h: Likewise.
62698 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
62700         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
62701         tests.
62702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62704         * sysdeps/powerpc/powerpc32/crti.S: New file.
62705         * sysdeps/powerpc/powerpc32/crtn.S: New file.
62706         * sysdeps/powerpc/powerpc64/crti.S: New file.
62707         * sysdeps/powerpc/powerpc64/crtn.S: New file.
62709         * Makeconfig (have-initfini): Don't set.
62710         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
62711         * configure.in (nopic_initfini): Don't substitute.
62712         * config.h.in (HAVE_INITFINI): Don't #undef.
62713         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
62714         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
62716 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
62718         Support crti.S and crtn.S provided directly by architectures.
62719         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
62720         [crti.S in sysdirs] (omit-deps): Likewise.
62721         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
62722         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
62723         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
62724         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
62725         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
62726         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
62727         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
62728         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
62729         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
62730         compiler output for sysdeps/generic/initfini.c.
62731         * sysdeps/i386/elf/Makefile: Remove file.
62732         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
62734 2012-02-07  Marek Polacek  <polacek@redhat.com>
62736         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
62737         * sysdeps/gnu/_G_config.h: Likewise.
62738         * sysdeps/mach/hurd/_G_config.h: Likewise.
62740 2012-02-07  Marek Polacek  <polacek@redhat.com>
62742         * math/Makefile (tests): Add tst-CMPLX2.
62743         * math/tst-CMPLX2.c: New file.
62745 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
62747         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
62749         * math/libm-test.inc (jn_test): Add missing L suffix.
62751 2012-02-06  Marek Polacek  <polacek@redhat.com>
62753         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
62754         * sysdeps/i386/fpu/e_powf.S: Likewise.
62755         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
62756         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
62757         * sysdeps/i386/fpu/e_acosh.S: Likewise.
62758         * sysdeps/i386/fpu/e_pow.S: Likewise.
62759         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
62760         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
62761         * sysdeps/i386/fpu/s_expm1.S: Likewise.
62762         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
62763         * sysdeps/i386/fpu/e_log2.S: Likewise.
62764         * sysdeps/i386/fpu/e_log2l.S: Likewise.
62765         * sysdeps/i386/fpu/e_scalb.S: Likewise.
62766         * sysdeps/i386/fpu/e_powl.S: Likewise.
62767         * sysdeps/i386/fpu/s_log1p.S: Likewise.
62768         * sysdeps/i386/fpu/e_log10f.S: Likewise.
62769         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
62770         * sysdeps/i386/fpu/e_logl.S: Likewise.
62771         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
62772         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
62773         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
62774         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
62775         * sysdeps/i386/fpu/e_log2f.S: Likewise.
62776         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
62777         * sysdeps/i386/fpu/e_log.S: Likewise.
62778         * sysdeps/i386/fpu/s_cexp.S: Likewise.
62779         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
62780         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
62781         * sysdeps/i386/fpu/e_logf.S: Likewise.
62782         * sysdeps/i386/fpu/e_log10l.S: Likewise.
62783         * sysdeps/i386/fpu/e_atanh.S: Likewise.
62784         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
62785         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
62786         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
62787         * sysdeps/i386/fpu/e_log10.S: Likewise.
62788         * sysdeps/i386/fpu/s_frexp.S: Likewise.
62789         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
62790         * sysdeps/i386/fpu/s_asinh.S: Likewise.
62791         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
62792         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
62793         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
62794         * sysdeps/i386/asm-syntax.h: Likewise.
62795         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
62796         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
62797         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
62798         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
62799         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
62800         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
62801         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
62802         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
62803         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
62804         * sysdeps/powerpc/sysdep.h: Likewise.
62805         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
62806         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
62808 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
62810         [BZ #411]
62811         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
62813 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
62815         * sysdeps/i386/sysdep.h: Include <features.h>.
62816         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
62817         version.
62819 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
62821         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
62822         Define.
62823         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
62824         LOAD_PIC_REG_STR.
62826 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
62828         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
62829         (SETUP_PIC_REG): Use GET_PC_THUNK.
62830         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
62831         macro.
62833 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
62835         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
62836         for non-PIC compilation.
62837         (SETUP_PIC_REG): Add .p2align directive.
62838         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
62839         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
62840         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
62841         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
62842         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
62843         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
62844         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
62845         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
62846         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
62847         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
62848         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
62849         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
62850         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
62851         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
62852         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
62853         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
62854         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
62855         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
62856         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
62857         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
62858         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
62859         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
62860         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
62861         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
62862         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
62863         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
62864         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
62865         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
62866         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
62867         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
62868         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
62869         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
62870         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
62871         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
62872         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
62873         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
62874         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
62875         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
62876         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
62877         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
62878         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
62880 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
62882         * math/tst-CMPLX.c: Include <stdio.h>.
62884 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
62886         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
62887         float.
62888         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
62889         * sysdeps/sparc/bits/mathdef.h: Likewise.
62891 2012-01-31  Marek Polacek  <polacek@redhat.com>
62893         * libio/libio.h: Don't define _PARAMS.
62894         * locale/programs/config.h: Don't define PARAMS.
62895         * stdlib/strtol_l.c: Likewise.
62896         (__strtol_l): Remove PARAMS from the prototype.
62898 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
62900         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
62901         names.  Just use the correct names.  Remove unnecessary wrapper
62902         functions.
62903         * malloc/arena.c: Likewise.
62904         * malloc/hooks.c: Likewise.
62906         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
62907         ARENA_TEST says not to.  Simplify test for creation of a new arena.
62908         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
62910 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
62912         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
62913         into tail calls.
62914         (update_get_addr): New function.
62915         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
62916         GET_ADDR_MODULE parameter.
62918 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
62920         * crypt/cert.c: Remove __STDC__ conditionals.
62921         * crypt/crypt-entry.c: Likewise.
62922         * crypt/crypt_util.c: Likewise.
62923         * libio/filedoalloc.c: Likewise.
62924         * libio/fileops.c: Likewise.
62925         * libio/genops.c: Likewise.
62926         * libio/iofclose.c: Likewise.
62927         * libio/iofdopen.c: Likewise.
62928         * libio/iofopen.c: Likewise.
62929         * libio/iofopen64.c: Likewise.
62930         * libio/iogetdelim.c: Likewise.
62931         * libio/iopopen.c: Likewise.
62932         * libio/obprintf.c: Likewise.
62933         * libio/oldfileops.c: Likewise.
62934         * libio/oldiofclose.c: Likewise.
62935         * libio/oldiofdopen.c: Likewise.
62936         * libio/oldiofopen.c: Likewise.
62937         * libio/oldiopopen.c: Likewise.
62938         * libio/wfiledoalloc.c: Likewise.
62939         * libio/wgenops.c: Likewise.
62940         * locale/programs/xmalloc.c: Likewise.
62941         * misc/syslog.c: Likewise.
62942         * stdio-common/xbug.c: Likewise.
62943         * string/memchr.c: Likewise.
62944         * string/memcmp.c: Likewise.
62945         * string/memrchr.c: Likewise.
62946         * string/rawmemchr.c: Likewise.
62947         * sysdeps/posix/getcwd.c: Likewise.
62948         * time/strftime_l.c: Likewise.
62950 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
62952         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
62953         * config.make.in (config-cflags-sse2avx): Define.
62954         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
62955         Fix typo.
62957 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
62959         * scripts/config.guess: Update from upstream config git repository.
62960         * scripts/config.sub: Likewise.
62962 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
62964         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
62965         (EM_NUM): Update.
62966         (R_TILEPRO_*, R_TILEGX_*): New macros.
62968         * scripts/firstversions.awk: Fix bug in version range handling.
62970         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
62972         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
62974         * include/sys/epoll.h: New file.
62975         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
62976         libc_hidden_def.
62978 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
62980         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
62981         Avoid unnecessary __WORDSIZE == 64 test.
62982         (fmaxf): Use VEX format if possible.
62983         (fmax): Likewise.
62984         (fminf): Likewise.
62985         (fmin): Likewise.
62987         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
62988         * math/math_private.h: Remove libc_fegetround* and
62989         libc_fesetround*.
62990         * sysdeps/i386/configure.in: Check for -msse2avx.
62991         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
62992         also if SSE2AVX is defined.
62993         Remove libc_fegetround* and libc_fesetround*.
62994         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
62995         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
62996         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
62997         of HAS_YMM_USABLE.
62998         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
62999         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
63000         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
63001         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
63002         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
63004         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
63006 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63008         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
63009         size is not set.
63010         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
63012 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
63014         [BZ #13618]
63015         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
63016         relocation.
63017         * Makeconfig (libm): Define.
63018         * elf/Makefile: Add rules to build and run tst-relsort1.
63019         * elf/tst-relsort1.c: New file.
63020         * elf/tst-relsort1mod1.c: New file.
63021         * elf/tst-relsort1mod2.c: New file.
63023 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
63025         * math/s_ldexp.c: Remove __STDC__ conditionals.
63026         * math/s_ldexpf.c: Likewise.
63027         * math/s_ldexpl.c: Likewise.
63028         * math/s_nextafter.c: Likewise.
63029         * math/s_nexttowardf.c: Likewise.
63030         * math/s_significand.c: Likewise.
63031         * math/s_significandf.c: Likewise.
63032         * math/s_significandl.c: Likewise.
63033         * math/w_jnl.c: Likewise.
63034         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
63035         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
63036         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
63037         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
63038         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
63039         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
63040         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
63041         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
63042         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
63043         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
63044         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
63045         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
63046         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
63047         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
63048         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
63049         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
63050         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
63051         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
63052         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
63053         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
63054         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
63055         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
63056         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
63057         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
63058         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
63059         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
63060         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
63061         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
63062         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
63063         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
63064         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
63065         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
63066         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
63067         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
63068         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
63069         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
63070         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
63071         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
63072         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
63073         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
63074         * sysdeps/ieee754/k_standard.c: Likewise.
63075         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
63076         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
63077         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
63078         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
63079         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
63080         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
63081         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
63082         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
63083         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
63084         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
63085         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
63086         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
63087         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
63088         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
63089         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
63090         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
63091         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
63092         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
63093         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
63094         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
63095         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
63096         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
63097         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
63098         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
63099         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
63100         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
63101         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
63102         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
63103         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
63104         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
63105         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
63106         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
63107         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
63108         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
63109         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
63110         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
63111         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
63112         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
63113         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
63114         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
63115         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
63116         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
63117         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
63118         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
63119         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
63120         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
63121         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
63122         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
63123         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
63124         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
63125         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
63126         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
63127         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
63128         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
63129         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
63130         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
63131         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
63132         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
63133         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
63134         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
63135         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
63136         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
63137         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
63138         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
63139         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
63140         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
63141         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
63142         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
63143         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
63144         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
63145         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
63146         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
63147         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
63148         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
63149         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
63150         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
63151         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
63152         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
63153         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
63154         * sysdeps/ieee754/s_matherr.c: Likewise.
63155         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
63156         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
63157         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
63158         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
63160 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
63162         * crypt/md5.h: Remove __STDC__ conditionals.
63163         * libio/libioP.h: Likewise.
63164         * locale/programs/config.h: Likewise.
63165         * sysdeps/generic/sysdep.h: Likewise.
63166         * sysdeps/i386/asm-syntax.h: Likewise.
63167         * sysdeps/s390/asm-syntax.h: Likewise.
63168         * sysdeps/unix/sysdep.h: Likewise.
63169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
63170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
63172 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
63174         * libio/libio.h: Remove __STDC__ conditionals.
63175         * malloc/obstack.h: Likewise.
63176         * math/complex.h: Likewise.
63177         * math/math.h: Likewise.
63178         * sysdeps/generic/_G_config.h: Likewise.
63179         * sysdeps/gnu/_G_config.h: Likewise.
63180         * sysdeps/mach/hurd/_G_config.h: Likewise.
63181         * sysdeps/powerpc/bits/mathdef.h: Likewise.
63182         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
63183         * sysdeps/sparc/bits/mathdef.h: Likewise.
63185 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
63187         [BZ #13583]
63188         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
63189         Clean up HAS_* macros.
63190         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
63191         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
63192         possible.
63193         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
63194         HAS_AVX.
63195         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
63196         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
63197         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
63198         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
63199         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
63201 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
63203         * elf/tst-unique3.cc (gets): Remove declaration.
63204         * elf/tst-unique3lib.cc (gets): Likewise.
63205         * elf/tst-unique3lib2.cc (gets): Likewise.
63206         * elf/tst-unique4.cc (gets): Likewise.
63208 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
63210         * include/stdio.h: Add C++ protection.  Add gets declarations and
63211         definitions.
63212         * debug/tst-chk1.c: Don't declare gets here.
63213         * stdio-common/tst-gets.c: Likewise.
63215 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
63217         * posix/glob: Remove directory.
63219 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
63221         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
63223 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
63225         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
63226         of the non-standard EPFNOSUPPORT.
63228 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63230         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
63231         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
63232         ANYWHERE set to 1 only on KERN_NO_SPACE error.
63234 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
63236         * wcsmbs/uchar.h: Test __STDC_VERSION__.
63238 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
63240         * nscd/aicache.c (addhstaiX): Do not cache negative results of
63241         transient errors.
63242         * nscd/grpcache.c (cache_addgr): Likewise.
63243         * nscd/hstcache.c (cache_addhst): Likewise.
63244         * nscd/initgrcache.c (addinitgroupsX): Likewise.
63245         * nscd/pwdcache.c (cache_addpw): Likewise.
63246         * nscd/servicescache.c (cache_addserv): Likewise.
63248 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
63250         * malloc/malloc.c: Various cleanups.
63251         * malloc/hooks.c: Likewise.
63253         * stdlib/Makefile (tests): Add bug-fmtmsg1.
63254         * stdlib/bug-fmtmsg1.c: New file.
63256         * stdlib/fmtmsg.c (init): Add missing unlock.
63257         Patch by Peng Haitao <penght@cn.fujitsu.com>.
63259 2012-01-12  Marek Polacek  <polacek@redhat.com>
63261         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
63262         and _GNU_SOURCE.
63264 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
63266         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
63267         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
63268         macro to ensure uniqueness of label name.
63269         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
63270         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
63272 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
63274         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
63276         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
63277         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
63278         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
63279         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
63281 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
63283         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
63285         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
63286         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
63287         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
63289         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
63291         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
63292         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
63293         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
63294         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
63296         * math/bits/math-finite.h: Add ldexp support.
63298 2012-01-10  Marek Polacek  <polacek@redhat.com>
63300         * locale/programs/localedef.h (show_archive_content): Add noreturn
63301         attribute.
63303 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
63305         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
63307 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
63309         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
63311         * io/Makefile (headers): Add bits/poll2.h.
63313 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
63315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
63316         typo #include statement.
63318 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
63320         * include/sys/cdefs.h: Define __attribute_alloc_size.
63321         * catgets/gencat.c: Add alloc_size attribute and apply consistently
63322         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
63323         * elf/pldd.c: Likewise.
63324         * iconv/iconv_charmap.c: Likewise.
63325         * iconv/iconvconfig.c: Likewise.
63326         * iconv/strtab.c: Likewise.
63327         * locale/programs/locale.c: Likewise.
63328         * locale/programs/localedef.h: Likewise.
63329         * locale/programs/simple-hash.c: Likewise.
63330         * nscd/nscd.h: Likewise.
63331         * nss/makedb.c: Likewise.
63332         * sysdeps/generic/ldconfig.h: Likewise.
63333         * locale/programs/localedef.c: Remove xmalloc prototype.
63334         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
63336 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
63338         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
63339         appropriate.
63341 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
63343         * math/Makefile (tests): Add tst-CMPLX.
63344         * math/tst-CMPLX.c: New file.
63346         * math/complex.h (CMPLXL): Fix typo.
63348         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
63349         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
63350         GLIBC_2.16.
63351         * debug/tst-chk1.c: Add poll and ppoll tests.
63352         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
63353         * include/sys/poll.h: Add hidden proto for ppoll.
63354         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
63355         * sysdeps/mach/hurd/ppoll.c: Likewise.
63356         * io/ppoll.c: Likewise.
63357         * debug/poll_chk.c: New file.
63358         * debug/ppoll_chk.c: New file.
63359         * include/bits/poll2.h: New file.
63360         * io/bits/poll2.h: New file.
63362         [BZ #1350]
63363         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
63365         * configure.in: static is always set to yes.  Remove.
63366         * config.make.in: Don't set build-static.
63367         * Makeconfig: Remove use of build-static.
63368         * dlfcn/Makefile: Likewise.
63369         * elf/Makefile: Likewise.
63370         * math/Makefile: Likewise.
63371         * misc/Makefile: Likewise.
63372         * nptl/Makefile: Likewise.
63373         * sysdeps/mach/hurd/Makefile: Likewise.
63375         * configure.in: PWD_P is not used anymore.
63376         * config.make.in: Remove PWD_P entry.
63378         * configure.in: Remove last remnants of RANLIB.
63379         No need to check for signed size_t anymore.
63380         Don't set libc_commonpagesize and libc_relro_required here for Alpha
63381         and IA-64.
63382         Remove __builtin_expect test because we require at least gcc 3.4.
63383         * aclocal.m4: Likewise.
63385         * wcsmbs/mbrtoc16.c: Implement using towc function.
63386         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
63387         * wcsmbs/wcsmbsload.c: Likewise.
63388         * iconv/gconv_simple.c: Likewise.
63389         * iconv/gconv_int.h: Likewise.
63390         * iconv/gconv_builtin.h: Likewise.
63391         * iconv/iconv_prog.c: Remove CHAR16 handling.
63393         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
63395         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
63397         * configure.in: Remove --with-elf and --enable-bounded options.
63398         Dont set base_machine for ia64.  More non-ELF conditions removed.
63399         Remove testing and setting of leading underscore information.
63400         * config.make.in (build-bounded): Set to no.
63401         * config.h.in: Remove NO_UNDERSCORES entry.
63402         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
63403         them.
63404         * csu/start.c: Remove !NO_UNDERSCORE code.
63405         * locale/localeinfo.h: Likewise.
63406         * sysdeps/generic/machine-gmon.h: Likewise.
63407         * sysdeps/generic/sysdep.h: Likewise.
63408         * sysdeps/i386/sysdep.h: Likewise.
63409         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
63410         * sysdeps/mach/sysdep.h: Likewise.
63411         * sysdeps/s390/s390-32/sysdep.h: Likewise.
63412         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63413         * sysdeps/sh/sysdep.h: Likewise.
63414         * sysdeps/sparc/sparc32/alloca.S: Likewise.
63415         * sysdeps/unix/i386/sysdep.S: Likewise.
63416         * sysdeps/unix/sparc/start.c: Likewise.
63417         * sysdeps/unix/sparc/sysdep.S: Likewise.
63418         * sysdeps/unix/sparc/sysdep.h: Likewise.
63419         * sysdeps/unix/start.c: Likewise.
63420         * sysdeps/unix/x86_64/sysdep.S: Likewise.
63421         * sysdeps/x86_64/sysdep.h: Likewise.
63423 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
63425         [BZ #13553]
63426         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
63427         for non-gcc.
63428         * argp/argp-fmtstream.h: Use const instead __const.
63429         * argp/argp.h: Likewise.
63430         * assert/assert.h: Likewise.
63431         * bits/fenv.h: Likewise.
63432         * bits/sched.h: Likewise.
63433         * bits/sigset.h: Likewise.
63434         * bits/sigthread.h: Likewise.
63435         * catgets/nl_types.h: Likewise.
63436         * conform/data/pthread.h-data: Likewise.
63437         * crypt/crypt-private.h: Likewise.
63438         * crypt/crypt.h: Likewise.
63439         * crypt/crypt_util.c: Likewise.
63440         * ctype/ctype.h: Likewise.
63441         * debug/execinfo.h: Likewise.
63442         * debug/mbsnrtowcs_chk.c: Likewise.
63443         * debug/mbsrtowcs_chk.c: Likewise.
63444         * debug/wcsnrtombs_chk.c: Likewise.
63445         * debug/wcsrtombs_chk.c: Likewise.
63446         * debug/wcstombs_chk.c: Likewise.
63447         * dirent/dirent.h: Likewise.
63448         * dlfcn/dlfcn.h: Likewise.
63449         * elf/neededtest4.c: Likewise.
63450         * grp/grp.h: Likewise.
63451         * gshadow/gshadow.h: Likewise.
63452         * iconv/gconv.h: Likewise.
63453         * iconv/gconv_int.h: Likewise.
63454         * iconv/gconv_simple.c: Likewise.
63455         * iconv/iconv.h: Likewise.
63456         * iconv/loop.c: Likewise.
63457         * iconv/skeleton.c: Likewise.
63458         * include/aio.h: Likewise.
63459         * include/aliases.h: Likewise.
63460         * include/argz.h: Likewise.
63461         * include/arpa/inet.h: Likewise.
63462         * include/assert.h: Likewise.
63463         * include/dirent.h: Likewise.
63464         * include/dlfcn.h: Likewise.
63465         * include/execinfo.h: Likewise.
63466         * include/fcntl.h: Likewise.
63467         * include/fenv.h: Likewise.
63468         * include/glob.h: Likewise.
63469         * include/grp.h: Likewise.
63470         * include/libintl.h: Likewise.
63471         * include/mntent.h: Likewise.
63472         * include/netdb.h: Likewise.
63473         * include/pwd.h: Likewise.
63474         * include/rpc/netdb.h: Likewise.
63475         * include/sched.h: Likewise.
63476         * include/search.h: Likewise.
63477         * include/shadow.h: Likewise.
63478         * include/signal.h: Likewise.
63479         * include/stdio.h: Likewise.
63480         * include/stdlib.h: Likewise.
63481         * include/string.h: Likewise.
63482         * include/sys/socket.h: Likewise.
63483         * include/sys/stat.h: Likewise.
63484         * include/sys/statfs.h: Likewise.
63485         * include/sys/statvfs.h: Likewise.
63486         * include/sys/syslog.h: Likewise.
63487         * include/sys/time.h: Likewise.
63488         * include/sys/uio.h: Likewise.
63489         * include/time.h: Likewise.
63490         * include/unistd.h: Likewise.
63491         * include/utmp.h: Likewise.
63492         * include/wchar.h: Likewise.
63493         * include/wctype.h: Likewise.
63494         * inet/aliases.h: Likewise.
63495         * inet/arpa/inet.h: Likewise.
63496         * inet/netinet/ether.h: Likewise.
63497         * inet/netinet/in.h: Likewise.
63498         * intl/libintl.h: Likewise.
63499         * io/bits/fcntl2.h: Likewise.
63500         * io/fcntl.h: Likewise.
63501         * io/ftw.h: Likewise.
63502         * io/sys/poll.h: Likewise.
63503         * io/sys/stat.h: Likewise.
63504         * io/sys/statfs.h: Likewise.
63505         * io/sys/statvfs.h: Likewise.
63506         * io/utime.h: Likewise.
63507         * libio/bits/stdio.h: Likewise.
63508         * libio/bits/stdio2.h: Likewise.
63509         * libio/libio.h: Likewise.
63510         * libio/libioP.h: Likewise.
63511         * libio/stdio.h: Likewise.
63512         * locale/lc-ctype.c: Likewise.
63513         * locale/locale.h: Likewise.
63514         * login/utmp.h: Likewise.
63515         * malloc/arena.c: Likewise.
63516         * malloc/malloc.c: Likewise.
63517         * malloc/malloc.h: Likewise.
63518         * malloc/mcheck.c: Likewise.
63519         * malloc/mtrace.c: Likewise.
63520         * math/bits/mathcalls.h: Likewise.
63521         * math/fenv.h: Likewise.
63522         * math/math_private.h: Likewise.
63523         * misc/bits/error.h: Likewise.
63524         * misc/bits/syslog.h: Likewise.
63525         * misc/err.h: Likewise.
63526         * misc/error.h: Likewise.
63527         * misc/fstab.h: Likewise.
63528         * misc/mntent.h: Likewise.
63529         * misc/regexp.h: Likewise.
63530         * misc/search.h: Likewise.
63531         * misc/sgtty.h: Likewise.
63532         * misc/sys/mman.h: Likewise.
63533         * misc/sys/syslog.h: Likewise.
63534         * misc/sys/uio.h: Likewise.
63535         * misc/sys/xattr.h: Likewise.
63536         * misc/ttyent.h: Likewise.
63537         * nis/rpcsvc/ypclnt.h: Likewise.
63538         * nss/nss.h: Likewise.
63539         * posix/bits/unistd.h: Likewise.
63540         * posix/fnmatch.h: Likewise.
63541         * posix/glob.h: Likewise.
63542         * posix/sched.h: Likewise.
63543         * posix/spawn.h: Likewise.
63544         * posix/sys/wait.h: Likewise.
63545         * posix/unistd.h: Likewise.
63546         * posix/wordexp.h: Likewise.
63547         * pwd/pwd.h: Likewise.
63548         * resolv/netdb.h: Likewise.
63549         * resource/sys/resource.h: Likewise.
63550         * rt/aio.h: Likewise.
63551         * rt/bits/mqueue2.h: Likewise.
63552         * rt/mqueue.h: Likewise.
63553         * shadow/shadow.h: Likewise.
63554         * signal/signal.h: Likewise.
63555         * socket/send.c: Likewise.
63556         * socket/sendto.c: Likewise.
63557         * socket/sys/socket.h: Likewise.
63558         * stdio-common/printf.h: Likewise.
63559         * stdlib/bits/stdlib.h: Likewise.
63560         * stdlib/fmtmsg.h: Likewise.
63561         * stdlib/monetary.h: Likewise.
63562         * stdlib/stdlib.h: Likewise.
63563         * stdlib/ucontext.h: Likewise.
63564         * streams/stropts.h: Likewise.
63565         * string/argz.h: Likewise.
63566         * string/bits/string2.h: Likewise.
63567         * string/string.h: Likewise.
63568         * string/strings.h: Likewise.
63569         * sunrpc/rpc/auth.h: Likewise.
63570         * sunrpc/rpc/auth_des.h: Likewise.
63571         * sunrpc/rpc/clnt.h: Likewise.
63572         * sunrpc/rpc/netdb.h: Likewise.
63573         * sunrpc/rpc/pmap_clnt.h: Likewise.
63574         * sunrpc/rpc/xdr.h: Likewise.
63575         * sysdeps/generic/inttypes.h: Likewise.
63576         * sysdeps/generic/net/if.h: Likewise.
63577         * sysdeps/generic/sys/swap.h: Likewise.
63578         * sysdeps/gnu/net/if.h: Likewise.
63579         * sysdeps/gnu/utmpx.h: Likewise.
63580         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
63581         * sysdeps/i386/i486/bits/string.h: Likewise.
63582         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
63583         * sysdeps/s390/bits/string.h: Likewise.
63584         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
63585         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
63586         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
63587         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
63588         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
63589         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
63590         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
63591         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
63592         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
63593         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
63594         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
63595         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
63596         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
63597         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
63598         * sysdeps/unix/sysv/linux/readv.c: Likewise.
63599         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
63600         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
63601         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
63602         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
63603         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
63604         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
63605         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
63606         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
63607         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
63608         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
63609         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
63610         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
63611         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
63612         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
63613         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
63614         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
63615         * sysvipc/sys/ipc.h: Likewise.
63616         * sysvipc/sys/msg.h: Likewise.
63617         * sysvipc/sys/sem.h: Likewise.
63618         * sysvipc/sys/shm.h: Likewise.
63619         * termios/termios.h: Likewise.
63620         * time/sys/time.h: Likewise.
63621         * time/time.h: Likewise.
63622         * wcsmbs/bits/wchar2.h: Likewise.
63623         * wcsmbs/uchar.h: Likewise.
63624         * wcsmbs/wchar.h: Likewise.
63625         * wctype/wctype.h: Likewise.
63627         [BZ #13551]
63628         * Makeconfig: Remove all but ELF support including AIX support.
63629         * Makerules: Likewise.
63630         * config.h.in: Likewise.
63631         * config.make.in: Likewise.
63632         * configure: Likewise.
63633         * configure.in: Likewise.
63634         * csu/Makefile: Likewise.
63635         * csu/version.c: Likewise.
63636         * debug/Makefile: Likewise.
63637         * dlfcn/Makefile: Likewise.
63638         * elf/Makefile: Likewise.
63639         * extra-lib.mk: Likewise.
63640         * iconv/Makefile: Likewise.
63641         * include/libc-symbols.h: Likewise.
63642         * include/shlib-compat.h: Likewise.
63643         * resolv/Makefile: Likewise.
63644         * resolv/res_libc.c: Likewise.
63645         * rt/Makefile: Likewise.
63646         * sysdeps/i386/asm-syntax.h: Likewise.
63647         * sysdeps/i386/sysdep.h: Likewise.
63648         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
63649         * sysdeps/mach/sysdep.h: Likewise.
63650         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
63651         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
63652         * sysdeps/s390/asm-syntax.h: Likewise.
63653         * sysdeps/s390/s390-32/sysdep.h: Likewise.
63654         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63655         * sysdeps/sh/sysdep.h: Likewise.
63656         * sysdeps/unix/sparc/sysdep.h: Likewise.
63657         * sysdeps/wordsize-32/divdi3.c: Likewise.
63658         * sysdeps/x86_64/sysdep.h: Likewise.
63660         * argp/Versions: Remove _argp_unlock_xxx.
63662         [BZ #13559]
63663         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
63664         * abilist/libBrokenLocale.abilist: Likewise.
63665         * abilist/libanl.abilist: Likewise.
63666         * abilist/libc.abilist: Likewise.
63667         * abilist/libcrypt.abilist: Likewise.
63668         * abilist/libdl.abilist: Likewise.
63669         * abilist/libm.abilist: Likewise.
63670         * abilist/libnsl.abilist: Likewise.
63671         * abilist/libpthread.abilist: Likewise.
63672         * abilist/libresolv.abilist: Likewise.
63673         * abilist/librt.abilist: Likewise.
63674         * abilist/libthread_db.abilist: Likewise.
63675         * abilist/libutil.abilist: Likewise.
63676         * abilist/libnss_db.abilist: New file.
63678         * scripts/abilist.awk: Add support for indirect functions.
63680         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
63682         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
63684         * shlib-versions: Remove entries for ports architectures.
63686         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
63687         files in ports.
63688         * elf/stackguard-macros.h: Remove support for IA-64.
63689         * elf/tst-auditmod1.c: Likewise.
63690         * sysdeps/generic/ldsodefs.h: Likewise.
63692         * sysdeps/unix/sysv/linux/configure.in: Ports should define
63693         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
63694         configure files.
63696         [BZ #13552]
63697         * configure.in: Remove --enable-omitfp support.
63698         * FAQ.in: Adjust.
63699         * config.make.in: Likewise.
63700         * Makeconfig: Likewise.
63701         * manual/install.texi: Likewise.
63703         In case anyone cares, the IA-64 architecture could move to ports.
63704         * sysdeps/ia64/*: Removed.
63705         * sysdeps/unix/sysv/linux/ia64/*: Removed.
63706         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
63708         [BZ #13555]
63709         * configure.in: Remove entries for unsupported architectures.
63711         [BZ #13533]
63712         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
63713         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
63714         routines.
63715         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
63716         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
63717         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
63718         fall back to using wcrtomb.
63719         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
63720         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
63721         renaming.
63722         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
63723         * wcsmbs/tst-c16c32-1.c: New file.
63725         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
63726         local variable.
63728         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
63730         * elf/tst-unique3.cc: Add explicit declaration of gets.
63731         * elf/tst-unique3lib.cc: Likewise.
63732         * elf/tst-unique3lib2.cc: Likewise.
63733         * elf/tst-unique4.cc: Likewise.
63735         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
63737 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
63739         [BZ #13566]
63740         * assert/assert.h (static_assert): Don't define for C++.
63741         * libio/stdio.h (gets): Do declare for C++ <= C++11.
63742         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
63744 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
63746         * iconv/loop.c (single loop): Fix assertion in storing of
63747         remaining bytes.
63749         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
63751 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
63753         * posix/getconf.c: Update copyright year.
63754         * nss/getent.c: Likewise.
63755         * nss/makedb.c: Likewise.
63756         * iconv/iconvconfig.c: Likewise.
63757         * iconv/iconv_prog.c: Likewise.
63758         * elf/ldconfig.c: Likewise.
63759         * elf/pldd.c: Likewise.
63760         * elf/sotruss.ksh: Likewise.
63761         * catgets/gencat.c: Likewise.
63762         * csu/version.c: Likewise.
63763         * elf/ldd.bash.in: Likewise.
63764         * elf/sprof.c (print_version): Likewise.
63765         * locale/programs/locale.c: Likewise.
63766         * locale/programs/localedef.c: Likewise.
63767         * login/programs/pt_chown.c: Likewise.
63768         * nscd/nscd.c (print_version): Likewise.
63769         * debug/xtrace.sh: Likewise.
63770         * malloc/memusage.sh: Likewise.
63771         * malloc/mtrace.pl: Likewise.
63772         * debug/catchsegv.sh: Likewise.
63774 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
63776         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
63777         pure attribute.
63779 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
63781         [BZ #13533]
63782         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
63783         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
63784         transformations.
63785         * iconv/gconv_int.h: Likewise.
63786         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
63787         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
63788         from libc for GLIBC_2.16.
63789         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
63790         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
63791         * wcsmbs/uchar.h: Really define mbstate_t.
63792         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
63793         * wcsmbs/c16rtomb.c: New file.
63794         * wcsmbs/mbrtoc16.c: New file.
63795         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
63796         for C/POSIX locale.
63797         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
63798         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
63800         * wcsmbs/wchar.h: Add missing __restrict.
63802 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
63804         [BZ #13532]
63805         * time/Makefile (routines): Add timespec_get.
63806         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
63807         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
63808         timespec for ISO C11.
63809         * time/timespec_get.c: New file.
63810         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
63811         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
63813         [BZ #13531]
63814         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
63815         * stdlib/stdlib.h: Declare aligned_alloc.
63816         * Versions.def: Add GLIBC_2.16 for libc.
63817         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
63819         [BZ 13527]
63820         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
63821         ISO C11.
63823         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
63824         code.
63826         [BZ #13528]
63827         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
63829         [BZ #13529]
63830         * assert/assert.h (static_assert): Define.
63832         * version.h: Update for 2.16 development version.
63834         [BZ #13526]
63835         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
63836         _ISOC11_SOURCE.
63838         * version.h (RELEASE): Bump for 2.15 release.
63839         * include/features.h (__GLIBC_MINOR__): Bump to 15.
63841         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
63842         Patch by Marek Polacek <mpolacek@redhat.com>.
63844         * bits/byteswap.h: Protect long long constants with __extension__.
63845         * sysdeps/i386/bits/byteswap.h: Likewise.
63846         * sysdeps/ia64/bits/byteswap.h: Likewise.
63847         * sysdeps/s390/bits/byteswap.h: Likewise.
63848         * sysdeps/x86_64/bits/byteswap.h: Likewise.
63850 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63852         [BZ #13540]
63853         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
63854         destination buffer.
63855         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
63857 2011-12-23  Marek Polacek  <polacek@redhat.com>
63859         * elf/dl-addr.c (determine_info): Add inline keyword.
63860         * elf/tst-auditmod4b.c (check_avx): Likewise.
63861         * elf/tst-auditmod6b.c (check_avx): Likewise.
63862         * elf/tst-auditmod6c.c (check_avx): Likewise.
63863         * elf/tst-auditmod7b.c (check_avx): Likewise.
63865 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
63867         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
63868         !__SSE_MATH__.
63870 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63872         [BZ #13540]
63873         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
63874         processing for last bytes.
63876 2011-08-06  Bruno Haible  <bruno@clisp.org>
63878         [BZ #13061]
63879         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
63880         U+0385, not to U+1FEE.
63882         [BZ #13062]
63883         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
63884         entry for U+00A5 U+0301.
63886 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
63888         [BZ #13166]
63889         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
63890         buffer for the output is too small.
63892         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
63893         optimization.
63895         [BZ #13185]
63896         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
63897         SSE flags if possible.
63899 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63901         [BZ #13540]
63902         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
63903         processing for last bytes.
63905 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
63907         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
63908         (syscall-list-default-options, syscall-list-default-condition)
63909         (syscall-list-includes): Define.
63910         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
63911         list of ABIs and options and #if conditions for each ABI.  Do not
63912         handle common syscalls between ABIs specially.
63913         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
63914         Remove.
63915         (syscall-list-variants, syscall-list-32bit-options)
63916         (syscall-list-32bit-condition, syscall-list-64bit-options)
63917         (syscall-list-64bit-condition): Define.
63918         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
63919         (syscall-list-variants, syscall-list-32bit-options)
63920         (syscall-list-32bit-condition, syscall-list-64bit-options)
63921         (syscall-list-64bit-condition): Define.
63922         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
63923         Remove.
63924         (syscall-list-variants, syscall-list-32bit-options)
63925         (syscall-list-32bit-condition, syscall-list-64bit-options)
63926         (syscall-list-64bit-condition): Define.
63927         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
63928         Remove.
63929         (syscall-list-variants, syscall-list-32bit-options)
63930         (syscall-list-32bit-condition, syscall-list-64bit-options)
63931         (syscall-list-64bit-condition): Define.
63933 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
63935         * locale/iso-639.def: Add brx entry.
63937         [BZ #13328]
63938         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
63939         Proposed by Mariusz_Cukr <marcukr@op.pl>.
63941         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
63942         __feraiseexcept_renamed.
63944 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
63946         [BZ #13538]
63947         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
63948         EPOLLET with unsigned values.
63949         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
63950         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
63952         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
63953         to large cancellation.
63954         * math/s_cacoshf.c: Likewise.
63955         * math/s_cacoshl.c: Likewise.
63957 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
63959         [BZ #13305]
63960         [BZ #12786]
63961         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
63962         * math/s_cacoshf.c: Likewise.
63963         * math/s_cacoshl.c: Likewise.
63965 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
63967         [BZ #13439]
63968         * iconv/gconv.h: Define __GCONV_SWAP.
63969         * iconvdata/unicode.c: The swap bit must be stored in __flags.
63970         * iconvdata/utf-16.c: Likewise.
63971         * iconvdata/utf-32.c: Likewise.
63973 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
63975         [BZ #13524]
63976         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
63977         numerator after shifting it by one limb.
63979 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
63981         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
63982         under [__USE_EXTERN_INLINES].
63984 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
63986         [BZ #13446]
63987         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
63989 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63991         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
63992         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
63993         optimized code.
63994         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
63995         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
63996         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
63997         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
63998         for strncasecmp/strncasecmp_l compilation.
63999         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
64000         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
64002 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
64004         [BZ #13484]
64005         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
64006         of __asm__.
64008 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
64010         [BZ #13506]
64011         * time/tzfile.c (__tzfile_read): Check values from file header.
64013 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
64015         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
64016         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
64017         * powerpc/powerpc32/dl-start.S: Likewise.
64018         * powerpc/powerpc32/elf/start.S: Likewise.
64019         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
64020         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
64021         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
64022         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
64023         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
64024         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
64025         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
64026         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
64027         * powerpc/powerpc32/fpu/s_round.S: Likewise.
64028         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
64029         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
64030         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
64031         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
64032         * powerpc/powerpc32/memset.S: Likewise.
64033         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
64034         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
64035         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
64036         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
64037         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
64038         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
64039         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
64040         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
64041         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
64042         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
64043         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
64044         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
64045         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
64047 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64049         * math/libm-test.inc: Added more nearbyint tests.
64050         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
64051         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
64052         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
64053         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
64055 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
64057         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
64058         FD_CLOEXEC.
64060 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64062         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
64063         Add wcscpy-ssse3 wcscpy-c.
64064         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
64065         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
64066         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
64067         * sysdeps/x86_64/wcschr.S: New file.
64068         * sysdeps/x86_64/wcsrchr.S: New file.
64069         * string/test-strcmp.c: Remove checking of wcscmp function for
64070         wrong alignments.
64071         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
64072         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
64073         wcsrchr-sse2 wcsrchr-c.
64074         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
64075         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
64076         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
64077         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
64078         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
64079         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
64080         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
64081         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
64082         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
64083         * wcsmbc/wcschr.c (WCSCHR): New macro.
64085 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64087         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
64088         * wcsmbs/test-wcsrchr.c: New file.
64089         * string/test-strrchr.c: Add wcsrchr support.
64090         (WIDE): New macro.
64091         * wcsmbs/test-wcscpy.c: New file.
64092         * string/test-strcpy.c: Add wcscpy support.
64093         (WIDE): New macro.
64095 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
64097         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
64098         the inner loop.
64100 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
64102         [BZ #13472]
64103         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
64105 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
64107         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
64108         Minor optimizations.
64110         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
64111         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
64112         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
64114 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
64116         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
64117         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
64118         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
64119         for gcc to avoid warnings.
64120         * inet/Makefile (tests): Add tst-checks.
64121         * inet/tst-checks.c: New file.
64123         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
64124         warning.
64126         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
64127         __wmemcmp_sse2.
64129         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
64130         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
64132         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
64134 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
64136         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
64137         problem.
64139         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
64141 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
64143         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
64144         conditional on GCC version.
64145         (__arch_compare_and_exchange_val_8_acq)
64146         (__arch_compare_and_exchange_val_16_acq)
64147         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
64148         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
64149         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
64151 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
64153         * sysdeps/sh/backtrace.c: New file.
64155 2011-12-02  Andreas Schwab  <schwab@redhat.com>
64157         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
64158         parenthesis.
64160 2011-12-01  Andreas Schwab  <schwab@redhat.com>
64162         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
64163         falling back to utime.
64165 2011-11-30  Andreas Schwab  <schwab@redhat.com>
64167         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
64168         expectations for float.
64170 2011-11-29  Andreas Schwab  <schwab@redhat.com>
64172         * locale/weight.h (findidx): Add parameter len.
64173         * locale/weightwc.h (findidx): Likewise.
64174         * posix/fnmatch_loop.c (FCT): Adjust caller.
64175         * posix/regcomp.c (build_equiv_class): Likewise.
64176         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
64177         * posix/regexec.c (check_node_accept_bytes): Likewise.
64178         * string/strcoll_l.c (STRCOLL): Likewise.
64179         * string/strxfrm_l.c (STRXFRM): Likewise.
64181 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
64183         * Makefile.in: Remove CVSOPT handling.
64184         * configure.in: Remove use of AC_REVISION.
64185         * iconvdata/Makefile (distribute): No need to filter out CVS.
64186         * scripts/list-sources.sh: Remove CVS, subversion and monotone
64187         handling.
64189 2011-11-16  Andreas Schwab  <schwab@redhat.com>
64191         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
64192         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
64193         [USE_AS_STRNCASECMP_L]: Likewise.
64194         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
64195         NO_TLS_DIRECT_SEG_REFS.
64196         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
64197         Fix argument offsets for non-PIC.
64198         [USE_AS_STRNCASECMP_L]: Likewise.
64199         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
64200         NO_TLS_DIRECT_SEG_REFS.
64202 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
64204         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
64205         O_CLOEXEC.
64206         * locale/loadlocale.c (_nl_load_locale): Likewise.
64208 2011-11-15  Andreas Schwab  <schwab@redhat.com>
64210         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
64211         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
64212         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
64213         (SYSCALL_GETTIME): Set errno on error.
64215         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
64216         count references to noai6ai_cached.
64218 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
64220         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
64222         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
64223         FD_CLOEXEC for /proc/self/maps.
64225         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
64226         FD_CLOEXEC for /proc/meminfo.
64228         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
64229         gai.conf.
64231         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
64232         FD_CLOEXEC for given file.
64234         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
64236         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
64237         FD_CLOEXEC for /etc/hosts.
64238         (_gethtent): Likewise.
64240         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
64242         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
64243         cancellation and set FD_CLOEXEC for /etc/netgroup.
64245         * nss/nss_files/files-key.c (search): Don't allow cancellation when
64246         reading /etc/publickey.
64248         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
64249         allow cancellation when reading /etc/group.
64251         * nss/nss_files/files-alias.c (internal_setent): Don't allow
64252         cancellation.
64253         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
64255         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
64256         when using data file.
64258         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
64260         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
64261         (write_nis_obj): Use "c" and "e" in fopen.
64263         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
64265         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
64267         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
64269         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
64271         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
64272         locale.alias.
64274         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
64276         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
64278         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
64280         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
64281         file parsing and set FD_CLOEXEC.
64283 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
64285         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
64287 2011-11-14  Andreas Schwab  <schwab@redhat.com>
64289         * malloc/arena.c (arena_get2): Don't call reused_arena when
64290         _int_new_arena failed.
64292 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
64294         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
64295         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
64296         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
64297         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
64298         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
64299         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
64300         to compile strcasecmp and strncasecmp.
64301         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
64302         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
64304         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
64306 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
64308         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
64309         locale-defines.sym to gen-as-const-headers.
64310         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
64311         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
64312         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
64313         to compile strcasecmp and strncasecmp.
64314         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
64315         strcasecmp_l and strncasecmp_l.
64316         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
64317         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
64318         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
64319         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
64320         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
64321         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
64322         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
64323         * sysdeps/i386/i686/multiarch/strncase.S: New file.
64324         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
64325         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
64326         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
64328 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
64330         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
64331         result of SYSDEP_GETTIME_CPU to retval.
64332         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
64333         parameter list to macro.  Remove trailing semicolon.  Adjust users.
64335         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
64336         variable.
64338         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
64339         mantissa words.
64340         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
64342         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
64343         from unused variable.
64345         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
64346         DWARF definitions.
64347         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
64348         for assembling.
64350         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
64351         over namespaces.
64353         * sunrpc/rpc_prot.c (rejected): Fix case value.
64355         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
64356         unsigned long long int to avoid warnings in shift.
64358         * posix/regex_internal.c (re_string_reconstruct): Actually use result
64359         of use of trans.
64360         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
64361         variable tmp.
64363         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
64364         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
64365         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
64367         * nis/nis_table.c (nis_list): Use variable of correct type for
64368         result of __follow_path call.
64370 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64372         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
64373         of math functions ceil, trunc, floor, round, and sqrt, when
64374         avaliable on the platform.
64375         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
64376         name clash.
64377         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
64378         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
64379         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
64381 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
64383         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
64384         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
64386 2011-11-11  Roland McGrath  <roland@hack.frob.com>
64388         * include/unistd.h: Fix __readlink return type.
64389         Reported by Chris Metcalf <cmetcalf@tilera.com>.
64391 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
64393         * stdlib/ucontext.h: Undo last change for makecontext.
64395 2011-11-11  Andreas Schwab  <schwab@redhat.com>
64397         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
64399         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
64400         * setjmp/setjmp.h: Mark functions as non-leaf.
64401         * setjmp/bits/setjmp2.h: Likewise.
64402         * stdlib/ucontext.h: Likewise.
64404 2011-11-10  Andreas Schwab  <schwab@redhat.com>
64406         * malloc/arena.c (_int_new_arena): Don't increment narenas.
64407         (reused_arena): Don't check arena limit.
64408         (arena_get2): Atomically check arena limit.
64410 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
64412         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
64413         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
64415         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
64416         instructions.
64418 2011-11-07  Andreas Schwab  <schwab@redhat.com>
64420         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
64421         handler when locking.
64423         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
64424         Fix size of allocated buffer.
64426 2011-11-04  Andreas Schwab  <schwab@redhat.com>
64428         [BZ #10103]
64429         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
64430         declarations for long double functions.
64431         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
64433         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
64435 2011-11-03  Andreas Schwab  <schwab@redhat.com>
64437         * nscd/nscd.c (main): Don't start AVC thread until credentials are
64438         installed.
64440         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
64441         is disabled.
64443 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64445         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
64447 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
64449         * include/alloca.h (stackinfo_alloca_round): Define.
64450         (extend_alloca): Use it.
64451         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
64452         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
64453         here.
64455         * scripts/check-local-headers.sh: Ignore libaudit.h.
64457         * nscd/Makefile (extra-objs): Make recursively expanded.
64459 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
64461         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
64462         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
64464         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
64465         * posix/tst-rfc3484-2.c: Likewise.
64466         * posix/tst-rfc3484-3.c: Likewise.
64468         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
64469         process_vm_writev.
64470         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
64471         process_vm_writev.
64472         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
64473         process_vm_writev from libc using GLIBC_2.15 version.
64475         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
64477 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
64479         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
64480         stack usage.
64482 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
64484         [BZ #13367]
64485         * nss/getent.c (initgroups_keys): Show error message in case no group
64486         names are given.
64488         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
64489         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
64490         __bump_nl_timestamp.
64491         * nscd/connections (nscd_init): When host database is served open
64492         netlink socket and request notification about configuration changes.
64493         (main_loop_poll): Track netlink file descriptor and bump timestamp
64494         in case data becomes available.
64495         (main_loop_epoll): Likewise.
64496         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
64497         (database_pers_head): Add extra_data fileds.
64498         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
64499         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
64500         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
64501         Adjust caller.
64502         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
64503         in6ai data, call __free_in6ai.
64504         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
64505         Add -DHAVE_NETLINK.
64506         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
64507         interface information.  Reuse previous data if netlink timestamp
64508         is not changed.
64509         (__bump_nl_timestamp): New function.
64510         (__free_in6ai): New function.
64512 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
64514         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
64515         close_not_cancel_no_status here.
64516         (__check_pf): Reorganize code a bit to not call close twice if OOM.
64518 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
64520         [BZ #13276]
64521         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
64522         return value.
64524         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
64525         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
64526         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
64528 2011-07-03  Andreas Jaeger  <aj@suse.de>
64530         [BZ #10709]
64531         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
64532         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
64533         * math/libm-test.inc (sin_test): Add test case.
64535 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
64537         [BZ #13337]
64538         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
64539         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
64541         * elf/chroot_canon.c (chroot_canon): Cleanups.
64543         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
64545         [BZ #13335]
64546         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
64547         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
64549         * string/test-strchr.c: Make usable for strchrnul testing.
64550         * string/test-strchrnul.c: New file.
64551         * string/Makefile (strop-tests): Add strchrnul.
64553         * po/it.po: Update from translation team.
64554         * po/es.po: Likewise.
64556 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
64558         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
64559         the three constants needed as parameters.  Drop the others.
64560         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
64561         __m128i_strloadu_tolower.
64562         Create and initialize variable zero and use it in all the places
64563         where _mm_setzero_si128 was used.
64565         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
64566         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
64567         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
64568         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
64569         anymore.
64570         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
64571         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
64572         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
64573         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
64574         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
64575         __mpranred, __mptan.
64576         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
64577         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
64578         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
64579         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
64580         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
64581         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
64582         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
64583         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
64584         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
64586 2011-10-28  Andreas Schwab  <schwab@redhat.com>
64588         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
64589         redefine if SHARED.
64590         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
64592         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
64593         wide char related routines to wcsmbs subdir.
64595 2011-10-27  Andreas Schwab  <schwab@redhat.com>
64597         [BZ #13344]
64598         * misc/sys/cdefs.h (__THROWNL): Define.
64599         * posix/unistd.h: Use __THREADNL instead of __THREAD
64600         for memory synchronization functions.
64602 2011-10-26  Roland McGrath  <roland@hack.frob.com>
64604         [BZ #13349]
64605         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
64606         doesn't exist.
64607         * manual/stdio.texi (Obstack Streams): Node removed.
64609 2011-10-26  Andreas Schwab  <schwab@redhat.com>
64611         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
64612         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
64613         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
64615         * math/math_private.h (math_force_eval): Allow non-addressable
64616         arguments.
64617         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
64619 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
64621         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
64622         file is not needed.
64624         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
64625         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
64626         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
64627         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
64628         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
64629         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
64630         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
64631         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
64632         Add AVX variants.
64633         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
64634         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
64635         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
64636         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
64637         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
64638         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
64639         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
64640         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
64641         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
64642         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
64643         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
64644         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
64645         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
64646         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
64647         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
64648         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
64649         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
64650         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
64651         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
64653         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
64654         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
64656         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
64657         place.  Use VEX encoding when compiling for AVX.
64659 2011-10-25  Andreas Schwab  <schwab@redhat.com>
64661         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
64662         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
64664         * string/test-strchr.c (do_test): Don't generate NUL bytes.
64666 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
64668         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
64669         useless if() expression.
64670         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
64671         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
64672         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
64673         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
64674         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
64675         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
64676         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
64677         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
64678         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
64679         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
64680         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
64681         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
64682         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
64683         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
64684         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
64685         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
64686         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
64687         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
64688         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
64690         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
64692 2011-10-25  Andreas Schwab  <schwab@redhat.com>
64694         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
64695         condition.
64696         * elf/dl-fini.c (_dl_sort_fini): Likewise.
64698 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
64700         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
64701         .text section.  Avoid duplicate constants.
64702         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
64703         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64704         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
64705         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64706         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
64707         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64708         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64709         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64710         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
64711         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
64712         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
64713         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
64714         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
64715         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
64716         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
64717         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
64718         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
64719         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
64720         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
64721         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64722         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
64723         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
64724         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
64725         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
64726         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
64727         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
64728         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
64729         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
64730         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
64731         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
64732         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
64733         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
64734         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
64735         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
64736         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
64737         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
64738         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
64739         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
64740         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
64741         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
64742         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
64743         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
64744         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
64745         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
64746         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
64748 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
64750         * sysdeps/x86_64/dla.h: Move to ...
64751         * sysdeps/x86_64/fpu/dla.h: ...here.
64752         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
64753         situations.  Use __builtin_fma only for gcc 4.6 and up.
64755         * config.make.in: Add have-mfma4 entry.
64756         * configure.in: Substitute libc_cv_cc_fma4.
64757         * math/Makefile (dbl-only-routines): Add sincostab.
64758         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
64759         Use __sincostab not sincos.
64760         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
64761         name is a macro.
64762         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
64763         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64764         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64765         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
64766         using __copysign.
64767         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
64768         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
64769         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
64770         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
64771         and __inv.
64772         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
64773         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
64774         __copysign.
64775         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
64776         define aliases when function name is a macro.
64777         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
64778         sysdeps/ieee754/dbl-64/sincos.tbl.
64779         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
64780         fma4-enabled routines.
64781         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
64782         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
64783         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
64784         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
64785         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
64786         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
64787         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
64788         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
64789         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
64790         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
64791         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
64792         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
64793         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
64794         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
64795         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
64796         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
64797         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
64798         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
64799         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
64800         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
64801         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
64802         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
64803         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
64804         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
64805         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
64806         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
64807         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
64808         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
64809         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
64810         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
64812         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
64813         rename.
64814         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64815         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64816         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64817         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64818         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64819         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64820         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
64821         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64823 2011-10-24  Andreas Schwab  <schwab@redhat.com>
64825         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
64827 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
64829         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
64831         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
64832         prediction.
64833         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
64835         * string/strnlen.c: Don't define STRNLEN, reverse logic.
64836         Remove unused variable magic_bits.
64837         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
64839         * string/strnlen.c: Define and use STRNLEN macro.
64840         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
64841         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
64842         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
64843         * wcsmbs/wcslen.c: Define and use WCSLEN.
64844         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
64845         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
64846         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
64847         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
64848         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
64849         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
64850         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
64852 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64854         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64855         strnlen-sse2-no-bsf.
64856         Rename strlen-no-bsf to strlen-sse2-no-bsf.
64857         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
64858         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
64859         Add strnlen support.
64860         (USE_AS_STRNLEN): New macro.
64861         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
64862         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
64863         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
64864         * sysdeps/x86_64/wcslen.S: New file.
64866 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
64868         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
64869         XMM-moves are used for copying on small sizes.
64871 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64873         * wcsmbs/Makefile (strop-tests): Add wcschr.
64874         * wcsmbs/test-wcschr.c: New file.
64875         * string/test-strchr.c: Update.
64876         Add wcschr support.
64877         (WIDE): New macro.
64879 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64881         * wcsmbs/Makefile (strop-tests): Add wcslen.
64882         * wcsmbs/test-wcslen.c: New file.
64883         * string/test-strlen.c: Update.
64884         Add wcslen support.
64885         (WIDE): New macro.
64887 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
64889         * po/it.po: Update from translation team.
64891 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64893         * sysdeps/x86_64/wcscmp.S: Update.
64894         Fix wrong comparison semantics.
64895         wcscmp shall use signed comparison not unsigned.
64896         Don't use substraction to avoid overflow bug.
64897         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
64898         * wcsmbc/wcscmp.c: Likewise.
64899         * string/test-strcmp.c: Likewise.
64900         Add new tests to check cases with negative values.
64902 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
64904         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
64905         * sysdeps/x86_64/dla.h: ...here.  New file.
64906         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
64907         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64908         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64909         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64910         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64911         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
64912         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64913         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
64914         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64916 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
64918         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
64919         __ynl_finite aliases.
64921 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
64923         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64925         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
64926         define DLA_FMA.
64927         [DLA_FMA] (EMULV): Use DLA_FMA.
64928         [DLA_FMA] (MUL12): Use EMULV.
64929         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
64930         that are not needed.
64931         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64932         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64933         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64934         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64935         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64936         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
64937         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64939 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
64941         * math/s_nan.c: Undef __nan.
64942         * math/s_nanf.c: Undef __nanf.
64943         * math/s_nanl.c: Undef __nanl.
64944         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
64945         "math_private.h".
64947 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
64949         * math/s_catan.c: Add branch predictions.
64950         * math/s_catanf.c: Likewise.
64951         * math/s_catanh.c: Likewise.
64952         * math/s_catanhf.c: Likewise.
64953         * math/s_catanhl.c: Likewise.
64954         * math/s_catanl.c: Likewise.
64955         * math/s_cexp.c: Likewise.
64956         * math/s_cexpf.c: Likewise.
64957         * math/s_cexpl.c: Likewise.
64958         * math/s_clog.c: Likewise.
64959         * math/s_clog10.c: Likewise.
64960         * math/s_clog10f.c: Likewise.
64961         * math/s_clog10l.c: Likewise.
64962         * math/s_clogf.c: Likewise.
64963         * math/s_clogl.c: Likewise.
64964         * math/s_csqrt.c: Likewise.
64965         * math/s_csqrtf.c: Likewise.
64966         * math/s_csqrtl.c: Likewise.
64967         * math/s_ctanf.c: Likewise.
64968         * math/s_ctanh.c: Likewise.
64969         * math/s_ctanhf.c: Likewise.
64970         * math/s_ctanhl.c: Likewise.
64971         * math/s_ctanl.c: Likewise.
64973         * math/math_private.h: Define __nan, __nanf, __nanl.
64974         * math/s_cacosh.c: Include <math_private.h>.
64975         * math/s_cacoshl.c: Likewise.
64976         * math/s_casinh.c: Likewise.
64977         * math/s_casinhf.c: Likewise.
64978         * math/s_casinhl.c: Likewise.
64979         * math/s_ccos.c: Rely entire on ccosh.
64980         * math/s_ccosf.c: Rely entire on ccoshf.
64981         * math/s_ccosl.c: Rely entirely on ccoshl.
64982         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
64983         Remove tests for FE_INVALID.
64984         * math/s_ccoshf.c: Likewise.
64985         * math/s_ccoshl.c: Likewise.
64986         * math/s_csin.c: Likewise.
64987         * math/s_csinf.c: Likewise.
64988         * math/s_csinh.c Likewise.
64989         * math/s_csinhf.c: Likewise.
64990         * math/s_csinhl.c: Likewise.
64991         * math/s_csinl.c: Likewise.
64992         * math/s_ctan.c: Likewise.
64993         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
64994         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
64995         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
64997 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
64999         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
65000         compilation problems.
65002         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
65003         __builtin_expect.
65005 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
65007         * sysdeps/i386/configure.in: Test for -mfma4 option.
65008         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
65009         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
65010         COMMON_CPUID_INDEX_80000001.
65011         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
65012         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
65013         use it if FMA3 is not supported.
65014         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
65016         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
65017         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
65019 2011-10-20  Andreas Schwab  <schwab@redhat.com>
65021         [BZ #12892]
65022         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
65023         it would create a cycle with a link time dependency.
65025 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
65027         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
65028         instruction.
65029         * string/Makefile (strop-tests): Add rawmemchr.
65030         * string/test-rawmemchr.c: New file.
65032         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
65033         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
65034         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
65035         when compiling str{,n}casecmp and when AVX is available.  Hook up
65036         new optimized code in initializers.
65038 2011-10-19  Andreas Schwab  <schwab@redhat.com>
65040         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
65041         __feraiseexcept instead of feraiseexcept.
65043 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
65045         * math/math_private.h: Define defaults for libc_fetestexcept and
65046         libc_feupdateenv.
65047         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
65048         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
65049         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
65050         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
65051         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
65052         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
65053         libc_fetestexcept and libc_feupdateenv.
65055         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
65056         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
65057         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
65058         * sysdeps/x86_64/fpu/math_private.h: Define special version of
65059         libc_feholdexcept_setround.
65061         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
65062         Add s_nearbyint-c and s_nearbyintf-c.
65063         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
65064         nearbyintf inlines.
65065         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
65066         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
65067         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
65068         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
65070         * math/math_private.h: Define defaults for libc_fegetround,
65071         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
65072         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
65073         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
65074         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
65075         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
65076         standard functions.
65077         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
65078         Remove comments and hacks for old compiler versions.
65079         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
65080         libc_fegetround, libc_fesetround, libc_feholdexcept, and
65081         libc_feholdexceptl.
65083 2011-10-18  Andreas Schwab  <schwab@redhat.com>
65085         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
65086         (__feraiseexcept_renamed): Add __NTH.
65087         (feraiseexcept): Add __NTH.  Rename local variables to fix
65088         namespace violations.
65090 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
65092         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
65094         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
65096         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
65097         recently added interfaces.
65098         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
65100         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
65101         about macro parameter expansion.
65103         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
65104         __NO_MATH_INLINES is defined.  Cleanups.
65106         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
65107         and __floorf is target has SSE4.1.
65108         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
65109         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
65110         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
65111         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
65113         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
65114         name.
65115         (floorf): Likewise.
65117         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
65119 2011-10-17  Andreas Schwab  <schwab@redhat.com>
65121         * misc/sys/cdefs.h: Fix last change.
65123         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
65124         database lookup.
65126 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
65128         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
65130         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
65131         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
65132         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
65133         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
65134         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
65135         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
65136         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
65137         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
65138         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
65139         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
65140         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
65141         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
65142         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
65143         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
65144         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
65145         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
65146         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
65147         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
65148         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
65149         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
65150         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
65151         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
65153         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
65154         ceil, ceilf, floor, floorf.
65156         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
65157         Perform IRELATIVE relocations last.
65159         * elf/do-rel.h: Add another parameter nrelative, replacing the
65160         local variable with the same name.  Change name of the function
65161         to end in Rel or Rela (uppercase).
65162         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
65163         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
65164         elf_dynamic_do_##reloc function.
65166 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
65168         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
65169         is sufficient, at least on modern CPUs.
65171         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
65173         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
65174         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
65176         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
65177         __expl_finite.
65178         * math/bits/math-finite.h: Add entries for exp.
65179         * math/e_expl.c: Add __*_finite alias.
65180         * sysdeps/i386/fpu/e_exp.S: Likewise.
65181         * sysdeps/i386/fpu/e_expf.S: Likewise.
65182         * sysdeps/i386/fpu/e_expl.c: Likewise.
65183         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65184         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
65185         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
65186         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
65187         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
65188         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
65189         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
65191         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
65192         is sufficient, at least on modern CPUs.
65194         * ctype/ctype-info.c (__ctype_init): Define.
65195         * include/ctype.h (__ctype_init): Declare.
65196         (__ctype_b_loc): The variable is always initialized.
65197         (__ctype_toupper_loc): Likewise.
65198         (__ctype_tolower_loc): Likewise.
65199         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
65200         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
65202 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
65204         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
65206         * configure.in: Also look in $cxxmachine/include for C++ system
65207         headers.
65209 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65211         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
65212         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
65213         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
65214         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
65215         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
65216         (USE_AS_WMEMCMP): New macro.
65217         Fixing indents.
65218         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
65219         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
65220         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
65221         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
65222         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65223         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
65224         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
65225         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
65226         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
65227         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
65228         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
65229         (USE_AS_WMEMCMP): New macro.
65230         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
65231         * sysdeps/string/test-memcmp.c: Update.
65232         Fix simple_wmemcmp.
65233         Add new tests.
65234         * wcsmbs/wmemcmp.c: Update.
65235         (WMEMCMP): New macro.
65236         Fix overflow bug.
65238 2011-10-12  Andreas Jaeger  <aj@suse.de>
65240         [BZ #13268]
65241         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
65243 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
65245         * libio/iofwide.c (do_length): Avoid warning.
65247         * ctype/ctype.h (__isctype_f): Add missing __THROW.
65249 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
65251         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
65253         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
65254         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
65255         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
65256         * sysdeps/i386/i686/fpu/e_log.S: New file.
65257         * sysdeps/i386/i686/fpu/e_logf.S: New file.
65258         * sysdeps/i386/i686/fpu/e_logl.S: New file.
65260         * ctype/ctype.h: Add support for inlined isXXX functions when
65261         compiling C++ code.
65263 2011-10-14  Andreas Schwab  <schwab@redhat.com>
65265         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65267         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
65269 2011-10-13  Roland McGrath  <roland@hack.frob.com>
65271         [BZ #13291]
65272         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
65274 2011-10-13  Andreas Schwab  <schwab@redhat.com>
65276         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
65277         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
65278         feraiseexcept.
65280         * sysdeps/x86_64/memrchr.S: Check for zero size.
65282         * string/stratcliff.c: Add memrchr tests.
65284 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65286         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65287         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
65288         rawmemchr-sse2 rawmemchr-sse2-bsf.
65289         * sysdeps/i386/i686/multiarch/memchr.S: New file.
65290         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
65291         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
65292         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
65293         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
65294         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
65295         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
65296         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
65297         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
65298         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
65299         * string/memrchr.c (MEMRCHR): New macro.
65301 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
65303         Add integration with gcc's -ffinite-math-only and optimize wrapper
65304         functions in libm.
65305         * Versions.def: Define GLIBC_2.15 version for libm.
65306         * math/Makefile (headers): Add bits/math-finite.h.
65307         * math/bits/math-finite.h: New file.
65308         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
65309         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
65310         * math/e_acoshl.c: Add __*_finite alias.
65311         * math/e_acosl.c: Likewise.
65312         * math/e_asinl.c: Likewise.
65313         * math/e_atan2l.c: Likewise.
65314         * math/e_atanhl.c: Likewise.
65315         * math/e_coshl.c: Likewise.
65316         * math/e_exp10.c: Likewise.
65317         * math/e_exp10f.c: Likewise.
65318         * math/e_exp10l.c: Likewise.
65319         * math/e_exp2l.c: Likewise.
65320         * math/e_fmodl.c: Likewise.
65321         * math/e_gammal_r.c: Likewise.
65322         * math/e_hypotl.c: Likewise.
65323         * math/e_j0l.c: Likewise.
65324         * math/e_j1l.c: Likewise.
65325         * math/e_jnl.c: Likewise.
65326         * math/e_lgammal_r.c: Likewise.
65327         * math/e_log10l.c: Likewise.
65328         * math/e_log2l.c: Likewise.
65329         * math/e_logl.c: Likewise.
65330         * math/e_powl.c: Likewise.
65331         * math/e_sinhl.c: Likewise.
65332         * math/e_sqrtl.c: Likewise.
65333         * math/e_scalb.c: Completely rewritten and optimized.
65334         * math/e_scalbf.c: Likewise.
65335         * math/e_scalbl.c: Likewise.
65336         * math/w_acos.c: Likewise.
65337         * math/w_acosf.c: Likewise.
65338         * math/w_acosl.c: Likewise.
65339         * math/w_acosh.c: Likewise.
65340         * math/w_acoshf.c: Likewise.
65341         * math/w_acoshl.c: Likewise.
65342         * math/w_asin.c: Likewise.
65343         * math/w_asinf.c: Likewise.
65344         * math/w_asinl.c: Likewise.
65345         * math/w_atan2.c: Likewise.
65346         * math/w_atan2f.c: Likewise.
65347         * math/w_atan2l.c: Likewise.
65348         * math/w_atanh.c: Likewise.
65349         * math/w_atanhf.c: Likewise.
65350         * math/w_atanhl.c: Likewise.
65351         * math/w_exp10.c: Likewise.
65352         * math/w_exp10f.c: Likewise.
65353         * math/w_exp10l.c: Likewise.
65354         * math/w_fmod.c: Likewise.
65355         * math/w_fmodf.c: Likewise.
65356         * math/w_fmodl.c: Likewise.
65357         * math/w_j0.c: Likewise.
65358         * math/w_j0f.c: Likewise.
65359         * math/w_j0l.c: Likewise.
65360         * math/w_j1.c: Likewise.
65361         * math/w_j1f.c: Likewise.
65362         * math/w_j1l.c: Likewise.
65363         * math/w_jn.c: Likewise.
65364         * math/w_jnf.c: Likewise.
65365         * math/w_log.c: Likewise.
65366         * math/w_logf.c: Likewise.
65367         * math/w_logl.c: Likewise.
65368         * math/w_log10.c: Likewise.
65369         * math/w_log10f.c: Likewise.
65370         * math/w_log10l.c: Likewise.
65371         * math/w_log2.c: Likewise.
65372         * math/w_log2f.c: Likewise.
65373         * math/w_log2l.c: Likewise.
65374         * math/w_pow.c: Likewise.
65375         * math/w_powf.c: Likewise.
65376         * math/w_powl.c: Likewise.
65377         * math/w_remainder.c: Likewise.
65378         * math/w_remainderf.c: Likewise.
65379         * math/w_remainderl.c: Likewise.
65380         * math/w_scalb.c: Likewise.
65381         * math/w_scalbf.c: Likewise.
65382         * math/w_scalbl.c: Likewise.
65383         * math/w_sqrt.c: Likewise.
65384         * math/w_sqrtf.c: Likewise.
65385         * math/w_sqrtl.c: Likewise.
65386         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
65387         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
65388         used.
65389         * math/math_private.h: Declare __kernel_standard_f.
65390         * math/w_cosh.c: Remove cruft and optimize a bit.
65391         * math/w_coshf.c: Likewise.
65392         * math/w_coshl.c: Likewise.
65393         * math/w_exp2.c: Likewise.
65394         * math/w_exp2f.c: Likewise.
65395         * math/w_exp2l.c: Likewise.
65396         * math/w_hypot.c: Likewise.
65397         * math/w_hypotf.c: Likewise.
65398         * math/w_hypotl.c: Likewise.
65399         * math/w_lgamma.c: Likewise.
65400         * math/w_lgamma_r.c: Likewise.
65401         * math/w_lgammaf.c: Likewise.
65402         * math/w_lgammaf_r.c: Likewise.
65403         * math/w_lgammal.c: Likewise.
65404         * math/w_lgammal_r.c: Likewise.
65405         * math/w_sinh.c: Likewise.
65406         * math/w_sinhf.c: Likewise.
65407         * math/w_sinhl.c: Likewise.
65408         * math/w_tgamma.c: Likewise.
65409         * math/w_tgammaf.c: Likewise.
65410         * math/w_tgammal.c: Likewise.
65411         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
65412         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
65413         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
65414         Minor optimizations.  Pretty printing.  Remove cruft.
65415         * sysdeps/i386/fpu/e_acosf.S: Likewise.
65416         * sysdeps/i386/fpu/e_acosh.S: Likewise.
65417         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
65418         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
65419         * sysdeps/i386/fpu/e_acosl.c: Likewise.
65420         * sysdeps/i386/fpu/e_asin.S: Likewise.
65421         * sysdeps/i386/fpu/e_asinf.S: Likewise.
65422         * sysdeps/i386/fpu/e_atan2.S: Likewise.
65423         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
65424         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
65425         * sysdeps/i386/fpu/e_atanh.S: Likewise.
65426         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
65427         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
65428         * sysdeps/i386/fpu/e_exp10.S: Likewise.
65429         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
65430         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
65431         * sysdeps/i386/fpu/e_exp2.S: Likewise.
65432         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
65433         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
65434         * sysdeps/i386/fpu/e_fmod.S: Likewise.
65435         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
65436         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
65437         * sysdeps/i386/fpu/e_hypot.S: Likewise.
65438         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
65439         * sysdeps/i386/fpu/e_log.S: Likewise.
65440         * sysdeps/i386/fpu/e_log10.S: Likewise.
65441         * sysdeps/i386/fpu/e_log10f.S: Likewise.
65442         * sysdeps/i386/fpu/e_log10l.S: Likewise.
65443         * sysdeps/i386/fpu/e_log2.S: Likewise.
65444         * sysdeps/i386/fpu/e_log2f.S: Likewise.
65445         * sysdeps/i386/fpu/e_log2l.S: Likewise.
65446         * sysdeps/i386/fpu/e_logf.S: Likewise.
65447         * sysdeps/i386/fpu/e_logl.S: Likewise.
65448         * sysdeps/i386/fpu/e_pow.S: Likewise.
65449         * sysdeps/i386/fpu/e_powf.S: Likewise.
65450         * sysdeps/i386/fpu/e_powl.S: Likewise.
65451         * sysdeps/i386/fpu/e_remainder.S: Likewise.
65452         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
65453         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
65454         * sysdeps/i386/fpu/e_scalb.S: Likewise.
65455         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
65456         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
65457         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
65458         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
65459         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
65460         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
65461         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
65462         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65463         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
65464         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
65465         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
65466         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
65467         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
65468         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
65469         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
65470         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
65471         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
65472         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65473         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
65474         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
65475         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65476         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
65477         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
65478         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
65479         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65480         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
65481         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
65482         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
65483         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
65484         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
65485         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
65486         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
65487         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
65488         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
65489         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
65490         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
65491         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
65492         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
65493         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
65494         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
65495         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
65496         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
65497         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
65498         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
65499         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
65500         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
65501         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
65502         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
65503         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
65504         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
65505         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
65506         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
65507         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
65508         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
65509         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
65510         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
65511         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
65512         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
65513         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
65514         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
65515         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
65516         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
65517         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
65518         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
65519         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
65520         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
65521         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
65522         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
65523         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
65524         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
65525         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
65526         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
65527         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
65528         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
65529         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
65530         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
65531         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
65532         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
65533         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
65534         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
65535         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
65536         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
65537         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
65538         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
65539         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
65540         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
65541         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
65542         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
65543         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
65544         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
65545         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
65546         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
65547         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
65548         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
65549         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
65550         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
65551         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
65552         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
65553         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
65554         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
65555         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
65556         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
65557         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
65558         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
65559         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
65560         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
65561         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
65562         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
65563         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
65564         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
65565         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
65566         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
65567         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65568         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
65569         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
65570         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
65571         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
65572         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
65573         (__isnanf): Likewise.
65574         (__isinf_ns): Likewise.
65575         (__isinf_nsf): Likewise.
65576         (__finite): Likewise.
65577         (__finitef): Likewise.
65578         (__ieee754_sqrt): Define as macro.
65579         (__ieee754_sqrtf): Define as macro.
65580         (__ieee754_sqrtl): Define as macro.
65581         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
65582         inlined copy.
65583         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
65584         __FINITE_MATH_ONLY__ consistent.
65585         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
65587 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
65589         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
65590         of rawmemchr.
65592         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
65594 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
65596         * po/ja.po: Update from translation team.
65598 2011-10-08  Roland McGrath  <roland@hack.frob.com>
65600         * locale/programs/locarchive.c (prepare_address_space): New function.
65601         (create_archive, enlarge_archive, open_archive): Use it.
65603         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
65604         inside [SHARED], where it is used.
65606         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
65608         * nss/getent.c (netgroup_keys): Remove unused variable.
65609         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
65611 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
65613         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
65614         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
65615         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
65616         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
65617         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
65618         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
65619         * math/Makefile (libm-calls): Add s_isinf_ns.
65620         * math/divtc3.c: Use __isinf_nsl instead of isinf.
65621         * math/multc3.c: Likewise.
65622         * math/s_casin.c: Likewise.
65623         * math/s_casinf.c: Likewise.
65624         * math/s_casinl.c: Likewise.
65625         * math/s_ccos.c: Likewise.
65626         * math/s_ccosf.c: Likewise.
65627         * math/s_ccosl.c: Likewise.
65628         * math/s_ctan.c: Likewise.
65629         * math/s_ctanf.c: Likewise.
65630         * math/s_ctanh.c: Likewise.
65631         * math/s_ctanhf.c: Likewise.
65632         * math/s_ctanhl.c: Likewise.
65633         * math/s_ctanl.c: Likewise.
65634         * math/w_fmod.c: Likewise.
65635         * math/w_fmodf.c: Likewise.
65636         * math/w_fmodl.c: Likewise.
65637         * math/w_remainder.c: Likewise.
65638         * math/w_remainderf.c: Likewise.
65639         * math/w_remainderl.c: Likewise.
65640         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
65641         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
65642         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
65643         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
65644         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
65645         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
65646         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
65647         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
65649         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
65650         of the number.
65651         * stdio-common/printf_fphex.c: Likewise.
65652         * stdio-common/printf_size.c: Likewise.
65654         * math/e_exp10.c: Include math_private.h using <...> not "...".
65655         * math/e_exp10f.c: Likewise.
65656         * math/e_exp10l.c: Likewise.
65657         * math/e_exp2l.c: Likewise.
65658         * math/e_j0l.c: Likewise.
65659         * math/e_j1l.c: Likewise.
65660         * math/e_jnl.c: Likewise.
65661         * math/e_lgammal_r.c: Likewise.
65662         * math/e_rem_pio2l.c: Likewise.
65663         * math/e_scalb.c: Likewise.
65664         * math/e_scalbf.c: Likewise.
65665         * math/e_scalbl.c: Likewise.
65666         * math/k_cosl.c: Likewise.
65667         * math/k_sinl.c: Likewise.
65668         * math/k_tanl.c: Likewise.
65669         * math/s_cacoshf.c: Likewise.
65670         * math/s_catan.c: Likewise.
65671         * math/s_catanf.c: Likewise.
65672         * math/s_catanh.c: Likewise.
65673         * math/s_catanhf.c: Likewise.
65674         * math/s_catanhl.c: Likewise.
65675         * math/s_catanl.c: Likewise.
65676         * math/s_ccosh.c: Likewise.
65677         * math/s_ccoshf.c: Likewise.
65678         * math/s_ccoshl.c: Likewise.
65679         * math/s_cexp.c: Likewise.
65680         * math/s_cexpf.c: Likewise.
65681         * math/s_cexpl.c: Likewise.
65682         * math/s_clog.c: Likewise.
65683         * math/s_clog10.c: Likewise.
65684         * math/s_clog10f.c: Likewise.
65685         * math/s_clog10l.c: Likewise.
65686         * math/s_clogf.c: Likewise.
65687         * math/s_clogl.c: Likewise.
65688         * math/s_csin.c: Likewise.
65689         * math/s_csinf.c: Likewise.
65690         * math/s_csinh.c: Likewise.
65691         * math/s_csinhf.c: Likewise.
65692         * math/s_csinhl.c: Likewise.
65693         * math/s_csinl.c: Likewise.
65694         * math/s_csqrt.c: Likewise.
65695         * math/s_csqrtf.c: Likewise.
65696         * math/s_csqrtl.c: Likewise.
65697         * math/s_ctan.c: Likewise.
65698         * math/s_ctanf.c: Likewise.
65699         * math/s_ctanh.c: Likewise.
65700         * math/s_ctanhf.c: Likewise.
65701         * math/s_ctanhl.c: Likewise.
65702         * math/s_ctanl.c: Likewise.
65703         * math/s_ldexp.c: Likewise.
65704         * math/s_ldexpf.c: Likewise.
65705         * math/s_ldexpl.c: Likewise.
65706         * math/s_significand.c: Likewise.
65707         * math/s_significandf.c: Likewise.
65708         * math/s_significandl.c: Likewise.
65709         * math/w_acos.c: Likewise.
65710         * math/w_acosf.c: Likewise.
65711         * math/w_acosh.c: Likewise.
65712         * math/w_acoshf.c: Likewise.
65713         * math/w_acoshl.c: Likewise.
65714         * math/w_acosl.c: Likewise.
65715         * math/w_asin.c: Likewise.
65716         * math/w_asinf.c: Likewise.
65717         * math/w_asinl.c: Likewise.
65718         * math/w_atan2.c: Likewise.
65719         * math/w_atan2f.c: Likewise.
65720         * math/w_atan2l.c: Likewise.
65721         * math/w_atanh.c: Likewise.
65722         * math/w_atanhf.c: Likewise.
65723         * math/w_atanhl.c: Likewise.
65724         * math/w_cosh.c: Likewise.
65725         * math/w_coshf.c: Likewise.
65726         * math/w_coshl.c: Likewise.
65727         * math/w_dremf.c: Likewise.
65728         * math/w_exp10.c: Likewise.
65729         * math/w_exp10f.c: Likewise.
65730         * math/w_exp10l.c: Likewise.
65731         * math/w_exp2.c: Likewise.
65732         * math/w_exp2f.c: Likewise.
65733         * math/w_fmod.c: Likewise.
65734         * math/w_fmodf.c: Likewise.
65735         * math/w_fmodl.c: Likewise.
65736         * math/w_hypot.c: Likewise.
65737         * math/w_hypotf.c: Likewise.
65738         * math/w_hypotl.c: Likewise.
65739         * math/w_j0.c: Likewise.
65740         * math/w_j0f.c: Likewise.
65741         * math/w_j0l.c: Likewise.
65742         * math/w_j1.c: Likewise.
65743         * math/w_j1f.c: Likewise.
65744         * math/w_j1l.c: Likewise.
65745         * math/w_jn.c: Likewise.
65746         * math/w_jnf.c: Likewise.
65747         * math/w_jnl.c: Likewise.
65748         * math/w_lgamma.c: Likewise.
65749         * math/w_lgamma_r.c: Likewise.
65750         * math/w_lgammaf.c: Likewise.
65751         * math/w_lgammaf_r.c: Likewise.
65752         * math/w_lgammal.c: Likewise.
65753         * math/w_lgammal_r.c: Likewise.
65754         * math/w_log.c: Likewise.
65755         * math/w_log10.c: Likewise.
65756         * math/w_log10f.c: Likewise.
65757         * math/w_log10l.c: Likewise.
65758         * math/w_log2.c: Likewise.
65759         * math/w_log2f.c: Likewise.
65760         * math/w_log2l.c: Likewise.
65761         * math/w_logf.c: Likewise.
65762         * math/w_logl.c: Likewise.
65763         * math/w_pow.c: Likewise.
65764         * math/w_powf.c: Likewise.
65765         * math/w_powl.c: Likewise.
65766         * math/w_remainder.c: Likewise.
65767         * math/w_remainderf.c: Likewise.
65768         * math/w_remainderl.c: Likewise.
65769         * math/w_scalb.c: Likewise.
65770         * math/w_scalbf.c: Likewise.
65771         * math/w_scalbl.c: Likewise.
65772         * math/w_sinh.c: Likewise.
65773         * math/w_sinhf.c: Likewise.
65774         * math/w_sinhl.c: Likewise.
65775         * math/w_sqrt.c: Likewise.
65776         * math/w_sqrtf.c: Likewise.
65777         * math/w_sqrtl.c: Likewise.
65778         * math/w_tgamma.c: Likewise.
65779         * math/w_tgammaf.c: Likewise.
65780         * math/w_tgammal.c: Likewise.
65782         * po/ja.po: Update from translation team.
65784 2011-09-29  Andreas Jaeger  <aj@suse.de>
65786         [BZ #13179]
65787         * sunrpc/netname.c (netname2host): Fix logic.
65789         [BZ #6779]
65790         [BZ #6783]
65791         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
65792         correctly.
65793         * math/w_remainder.c (__remainder): Likewise.
65794         * math/w_remainderf.c (__remainderf): Likewise.
65795         * math/libm-test.inc (remainder_test): Add test cases.
65797 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65799         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
65800         sdiv_qrnnd.
65802 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
65804         * string/test-memcmp.c: Avoid unncessary #defines.
65805         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
65807 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65809         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
65810         Use new sse2 version for core i3 - i7 as it's faster
65811         than sse42 version.
65812         (bit_Prefer_PMINUB_for_stringop): New.
65813         * sysdeps/x86_64/rawmemchr.S: Update.
65814         Replace with faster SSE2 version.
65815         * sysdeps/x86_64/memrchr.S: New file.
65816         * sysdeps/x86_64/memchr.S: Update.
65817         Replace with faster SSE2 version.
65819 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
65821         * elf/dl-load.c (lose): Add cast to avoid warning.
65823 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
65825         * po/ca.po: Update from translation team.
65827         * inet/getnetgrent_r.c: Hook up nscd.
65828         * nscd/Makefile (routines): Add nscd_netgroup.
65829         (nscd-modules): Add netgroupcache.
65830         (CFLAGS-netgroupcache.c): Define.
65831         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
65832         (cache_search): Add const to second parameter.
65833         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
65834         INNETGR.
65835         (dbs): Add netgrdb entry.
65836         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
65837         (verify_persistent_db): Handle netgrdb.
65838         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
65839         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
65840         GETFDNETGR.
65841         (netgroup_response_header): Define.
65842         (innetgroup_response_header): Define.
65843         (datahead): Add netgroup_response_header and innetgroup_response_header
65844         elements.
65845         * nscd/nscd.conf: Add entries for netgroup cache.
65846         * nscd/nscd.h (dbtype): Add netgrdb.
65847         (_PATH_NSCD_NETGROUP_DB): Define.
65848         (netgroup_iov_disabled): Declare.
65849         (xmalloc, xcalloc, xrealloc): Move declarations here.
65850         (cache_search): Adjust prototype.
65851         Add netgroup-related prototypes.
65852         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
65853         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
65854         (__nscd_innetgr): Declare.
65855         * nscd/selinux.c (perms): Use access_vector_t as element type and
65856         add netgroup-related initializers.
65857         * nscd/netgroupcache.c: New file.
65858         * nscd/nscd_netgroup.c: New file.
65859         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
65860         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
65861         For four parameters use innetgr.
65862         * nss/nss_files/files-init.c: Add definition and callback for netgr.
65863         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
65864         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
65865         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
65867         * nscd/connections.c (register_traced_file): Don't register file
65868         for disabled databases.
65870 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
65872         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
65874         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
65875         from tree and freeing node.
65877 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
65879         * nss/nsswitch.c (__nss_database_lookup): Handle
65880         nss_parse_service_list out of memory case.
65882 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
65884         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
65885         out of memory case.
65887 2011-10-04  Andreas Schwab  <schwab@redhat.com>
65889         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
65890         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
65891         pass it down.
65892         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
65893         elf_machine_rela, elf_machine_lazy_rel.
65894         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
65895         (ELF_DYNAMIC_DO_REL): Likewise.
65896         (ELF_DYNAMIC_DO_RELA): Likewise.
65897         (ELF_DYNAMIC_RELOCATE): Likewise.
65898         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
65899         to ELF_DYNAMIC_DO_REL.
65900         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
65901         (dl_main): In trace mode always set __RTLD_NOIFUNC.
65902         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
65903         elf_machine_rela.
65904         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
65905         skip_ifunc, don't call ifunc function if non-zero.
65906         (elf_machine_rela): Likewise.
65907         (elf_machine_lazy_rel): Likewise.
65908         (elf_machine_lazy_rela): Likewise.
65909         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
65910         (elf_machine_lazy_rel): Likewise.
65911         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
65912         Likewise.
65913         (elf_machine_lazy_rel): Likewise.
65914         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
65915         Likewise.
65916         (elf_machine_lazy_rel): Likewise.
65917         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
65918         (elf_machine_lazy_rel): Likewise.
65919         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
65920         (elf_machine_lazy_rel): Likewise.
65921         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
65922         (elf_machine_lazy_rel): Likewise.
65923         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
65924         (elf_machine_lazy_rel): Likewise.
65925         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
65926         (elf_machine_lazy_rel): Likewise.
65927         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
65928         (elf_machine_lazy_rel): Likewise.
65930 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
65932         * nss/nss_files/files-init.c (_nss_files_init): Use static
65933         initialization for all the *_traced_file variables.
65935 2011-09-28  Andreas Schwab  <schwab@redhat.com>
65937         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65939 2011-09-27  Roland McGrath  <roland@hack.frob.com>
65941         [BZ #13226]
65942         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
65944 2011-09-27  Andreas Schwab  <schwab@redhat.com>
65946         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
65947         Reread the line before reparsing it.
65949 2011-09-26  Andreas Schwab  <schwab@redhat.com>
65951         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
65953 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
65954             Maxim Kuvyrkov  <maxim@codesourcery.com>
65955             Joseph Myers  <joseph@codesourcery.com>
65957         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
65958         if needed for __stack_chk_guard.
65960 2011-09-19  Roland McGrath  <roland@hack.frob.com>
65962         * sysdeps/posix/spawni.c (script_execute): Always define it.
65963         It will be optimized away if unused.
65964         (maybe_script_execute): New function.
65965         (__spawni): Call it.
65967         * Makerules: Don't include tls.make.
65968         (config-tls): Always set to thread.
65969         * tls.make.c: File removed.
65971 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
65973         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
65974         * config.make.in (CPPFLAGS-config): New substituted variable.
65976 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
65978         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
65980         [BZ #13192]
65981         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
65982         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
65984 2011-09-15  Roland McGrath  <roland@hack.frob.com>
65986         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
65987         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
65988         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
65989         (CALL_FAIL): Likewise.
65990         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
65991         (CALL_FAIL): Macro removed.
65992         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
65994 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
65996         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
65997         for __FINITE_MATH_ONLY__ == 1.
65999 2011-09-15  Andreas Schwab  <schwab@redhat.com>
66001         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
66002         __ieee754_sqrt instead of sqrt.
66003         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
66004         __ieee754_sqrtf instead of sqrtf.
66005         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
66006         __floorf instead of floorf.
66007         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
66008         __floorf, __truncf instead of floorf, truncf.
66010 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
66012         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
66014         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
66015         __extern_always_inline.
66016         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
66017         32-bit.
66019 2011-09-14  Andreas Schwab  <schwab@redhat.com>
66021         * elf/rtld.c (dl_main): Also relocate in dependency order when
66022         doing symbol dependency testing.
66024 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
66026         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
66027         Always define `refsym'.
66029 2011-09-13  Andreas Schwab  <schwab@redhat.com>
66031         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
66032         (__FD_ELT): Renamed from __FDELT.
66033         * misc/bits/select2.h (__FD_ELT): Likewise.
66034         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
66035         __FD_MASK instead of __FDELT, __FDMASK.
66036         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
66037         Likewise.
66038         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
66039         Likewise.
66041         * elf/Makefile (gen-ldd): Fix pattern.
66043         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
66044         (init_tls): Likewise.
66046 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
66048         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
66050 2011-09-12  Andreas Schwab  <schwab@redhat.com>
66052         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
66053         `struct cmsghdr *' instead of `void *'.
66054         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
66055         Likewise.
66057 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
66059         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
66060         if non-absolute.
66061         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
66062         ldd_rewrite_script.
66064 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
66066         * configure.in: Remove --with-tls option.
66067         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
66068         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
66069         out in case it is missing.
66070         * sysdeps/ia64/elf/configure.in: Likewise.
66071         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
66072         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
66073         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
66074         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
66075         * sysdeps/sh/elf/configure.in: Likewise.
66076         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
66077         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
66078         * sysdeps/x86_64/elf/configure.in: Likewise.
66079         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
66080         * sysdeps/mach/hurd/tls.h: Likewise.
66082         [BZ #13067]
66083         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
66085         [BZ #13090]
66086         * configure.in: Fix use of AC_INIT.
66088         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
66090 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
66092         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
66093         __set_errno.
66094         * malloc/hooks.c: Likewise.
66096         [BZ #11929]
66097         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
66098         variables statically.
66099         (narenas): Initialize.
66100         (list_lock): Initialize.
66101         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
66102         initializtion of main_arena and list_lock.  Small cleanups.
66103         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
66104         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
66105         Add initializers to main_arena and mp_.
66106         (malloc_state): Remove pagesize member.  Change all users to use
66107         GLRO(dl_pagesize).
66109         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
66110         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
66111         is always initialized.
66113         * malloc/malloc.c: Removed unused configurations and dead code.
66114         * malloc/arena.c: Likewise.
66115         * malloc/hooks.c: Likewise.
66116         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
66118         * include/tls.h: Removed.  USE___THREAD must always be defined.
66119         * bits/libc-tsd.h: Don't handle !USE___THREAD.
66120         * elf/dl-libc.c: Likewise.
66121         * elf/dl-tsd.c: Likewise.
66122         * include/errno.h: Likewise.
66123         * include/netdb.h: Likewise.
66124         * include/resolv.h: Likewise.
66125         * inet/herrno-loc.c: Likewise.
66126         * inet/herrno.c: Likewise.
66127         * malloc/arena.c: Likewise.
66128         * malloc/hooks.c: Likewise.
66129         * malloc/malloc.c: Likewise.
66130         * resolv/res-state.c: Likewise.
66131         * resolv/res_libc.c: Likewise.
66132         * sysdeps/i386/dl-machine.h: Likewise.
66133         * sysdeps/ia64/dl-machine.h: Likewise.
66134         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
66135         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
66136         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
66137         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
66138         * sysdeps/sh/dl-machine.h: Likewise.
66139         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
66140         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
66141         * sysdeps/unix/i386/sysdep.S: Likewise.
66142         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
66143         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
66144         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
66145         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
66146         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
66147         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
66148         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
66149         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
66150         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
66151         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
66152         * sysdeps/unix/x86_64/sysdep.S: Likewise.
66153         * sysdeps/x86_64/dl-machine.h: Likewise.
66154         * tls.make.c: Likewise.
66156         * configure.in: Remove --with-__thread option.  Make tests for
66157         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
66158         tls_model attribute fail if no support is available.  Remove
66159         USE_IN_LIBIO.
66160         * Makeconfig: Adjust for dropped configure option.  All features are
66161         now mandatory.
66162         * Makerules: Likewise.
66163         * Versions.def: Likewise.
66164         * argp/argp-fmtstream.c: Likewise.
66165         * argp/argp-fmtstream.h: Likewise.
66166         * argp/argp-help.c: Likewise.
66167         * assert/assert.c: Likewise.
66168         * config.h.in: Likewise.
66169         * config.make.in: Likewise.
66170         * configure: Likewise.
66171         * configure.in: Likewise.
66172         * csu/Versions: Likewise.
66173         * csu/init.c: Likewise.
66174         * elf/tst-audit2.c: Likewise.
66175         * elf/tst-tls10.c: Likewise.
66176         * elf/tst-tls10.h: Likewise.
66177         * elf/tst-tls11.c: Likewise.
66178         * elf/tst-tls12.c: Likewise.
66179         * elf/tst-tls14.c: Likewise.
66180         * elf/tst-tlsmod11.c: Likewise.
66181         * elf/tst-tlsmod12.c: Likewise.
66182         * elf/tst-tlsmod13.c: Likewise.
66183         * elf/tst-tlsmod13a.c: Likewise.
66184         * elf/tst-tlsmod14a.c: Likewise.
66185         * elf/tst-tlsmod15b.c: Likewise.
66186         * elf/tst-tlsmod16a.c: Likewise.
66187         * elf/tst-tlsmod16b.c: Likewise.
66188         * elf/tst-tlsmod7.c: Likewise.
66189         * elf/tst-tlsmod8.c: Likewise.
66190         * elf/tst-tlsmod9.c: Likewise.
66191         * gmon/gmon.c: Likewise.
66192         * grp/fgetgrent_r.c: Likewise.
66193         * grp/putgrent.c: Likewise.
66194         * hurd/fopenport.c: Likewise.
66195         * include/libc-symbols.h: Likewise.
66196         * include/tls.h: Likewise.
66197         * intl/gettextP.h: Likewise.
66198         * intl/loadinfo.h: Likewise.
66199         * locale/global-locale.c: Likewise.
66200         * locale/localeinfo.h: Likewise.
66201         * mach/devstream.c: Likewise.
66202         * malloc/arena.c: Likewise.
66203         * malloc/set-freeres.c: Likewise.
66204         * misc/err.c: Likewise.
66205         * misc/getttyent.c: Likewise.
66206         * misc/mntent_r.c: Likewise.
66207         * posix/getopt.c: Likewise.
66208         * posix/wordexp.c: Likewise.
66209         * pwd/fgetpwent_r.c: Likewise.
66210         * resolv/Versions: Likewise.
66211         * resolv/res_hconf.c: Likewise.
66212         * shadow/fgetspent_r.c: Likewise.
66213         * shadow/putspent.c: Likewise.
66214         * stdio-common/printf_fphex.c: Likewise.
66215         * stdio-common/tmpfile.c: Likewise.
66216         * stdlib/abort.c: Likewise.
66217         * stdlib/fmtmsg.c: Likewise.
66218         * sunrpc/auth_unix.c: Likewise.
66219         * sunrpc/clnt_perr.c: Likewise.
66220         * sunrpc/clnt_tcp.c: Likewise.
66221         * sunrpc/clnt_udp.c: Likewise.
66222         * sunrpc/clnt_unix.c: Likewise.
66223         * sunrpc/openchild.c: Likewise.
66224         * sunrpc/svc_simple.c: Likewise.
66225         * sunrpc/svc_tcp.c: Likewise.
66226         * sunrpc/svc_udp.c: Likewise.
66227         * sunrpc/svc_unix.c: Likewise.
66228         * sunrpc/xdr.c: Likewise.
66229         * sunrpc/xdr_array.c: Likewise.
66230         * sunrpc/xdr_rec.c: Likewise.
66231         * sunrpc/xdr_ref.c: Likewise.
66232         * sunrpc/xdr_stdio.c: Likewise.
66234 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
66236         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66238 2011-07-03  Andreas Jaeger  <aj@suse.de>
66240         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
66241         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
66242         regenerate with gen-libm-tests.pl.
66244 2010-05-12  Petr Baudis  <pasky@suse.cz>
66246         [BZ #11589]
66247         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
66248         around j0() zero points by switching to j1().
66249         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
66250         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
66251         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
66252         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
66254 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
66256         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
66257         instead of 0.
66258         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
66259         instead of 0.
66260         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
66261         Patch in part by Pavel Roskin <proski@gnu.org>.
66263         [BZ #13138]
66264         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
66265         realloc.
66266         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
66267         Free memory block if necessary.
66269         [BZ #12847]
66270         * libio/genops.c (INTDEF): For string streams the _lock pointer can
66271         be NULL.  Don't lock in this case.
66273 2011-09-09  Roland McGrath  <roland@hack.frob.com>
66275         * elf/elf.h (ELFOSABI_GNU): New macro.
66276         (ELFOSABI_LINUX): Define to that.
66278 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
66280         * string/strncat.c (strncat): Undef the symbol in case it has been
66281         defined in bits/string.h.
66283 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
66285         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
66287         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
66288         link map.
66290 2011-08-17  Andreas Jaeger  <aj@suse.de>
66292         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
66294 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
66295             Ian Lance Taylor  <iant@google.com>
66297         * math/libm-test.inc (lround_test): New testcase.
66298         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
66300 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
66302         * Makefile: Remove support for automatic cvs check-ins.
66303         * Makerules: Likewise.
66304         * config.make.in: Likewise.
66305         * configure.in: Likewise.
66306         * intl/Makefile: Likewise.
66307         * locale/Makefile: Likewise.
66308         * po/Makefile: Likewise.
66309         * posix/Makefile: Likewise.
66310         * sysdeps/gnu/Makefile: Likewise.
66311         * sysdeps/mach/hurd/Makefile: Likewise.
66312         * sysdeps/sparc/sparc32/Makefile: Likewise.
66314         [BZ #13118]
66315         * posix/Makefile (bug-regex32-ENV): Define.
66316         Patch by John Stanley <jpsinthemix@verizon.net>.
66318         * misc/Makefile (headers): Add bits/select2.h.
66319         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
66320         * misc/bits/select2.h: New file.
66321         * include/bits/select2.h: New file.
66322         * debug/Makefile (routines): Add fdelt_chk.
66323         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
66324         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
66325         FD_ISSET.
66326         * debug/fdelt_chk.c: New file.
66328         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
66329         * wcsmbs/test-wmemcmp.c: Likewise.
66330         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
66331         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
66333 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66335         * string/Makefile (strop-tests): Add memcmp.
66336         * string/test-wmemcmp.c: New file.
66337         * string/test-memcmp.c: Add wmemcmp support.
66339 2011-09-08  Roland McGrath  <roland@hack.frob.com>
66341         [BZ #13153]
66342         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
66343         2011-07-19 change.
66345         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
66346         garbage value in a __mach_port_mod_refs call in the cases of the
66347         task-self and thread-self ports.
66349 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66351         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
66353 2011-09-08  Andreas Schwab  <schwab@redhat.com>
66355         * elf/dl-load.c (lose): Check for non-null L.
66357 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
66359         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
66361         * elf/dl-libc.c (dlerror_run): Pass back error code from
66362         dl_catch_error.
66364         [BZ #13123]
66365         * elf/dl-load.c (lose): Free l_origin if it is valid.
66367         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
66368         names.
66369         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
66370         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
66371         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
66372         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
66373         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
66374         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
66376 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66378         * sysdeps/powerpc/fpu/e_hypot.c: New file.
66379         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
66380         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
66381         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
66382         * sysdeps/powerpc/fpu/k_cosf.c: New file.
66383         * sysdeps/powerpc/fpu/k_sinf.c: New file.
66384         * sysdeps/powerpc/fpu/s_cosf.c: New file.
66385         * sysdeps/powerpc/fpu/s_sinf.c: New file.
66386         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
66387         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
66389 2011-08-15  Alan Modra  <amodra@gmail.com>
66391         [BZ #13092]
66392         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
66393         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
66394         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
66395         ppc_mcount to static-only-routines.
66396         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
66397         __mcount_internal.
66398         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
66399         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
66401 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
66403         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
66404         for finite and infinity parameters.
66406 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
66408         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
66409         and add nop instructions for throughput optimization.
66410         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
66412 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
66414         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
66415         aligned copy for power7 with vector-scalar instructions.
66416         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
66418 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
66420         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
66421         AVX check.
66423 2011-09-07  Andreas Schwab  <schwab@redhat.com>
66425         [BZ #13144]
66426         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
66427         last change.
66429 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
66431         * sysdeps/unix/sysv/linux/x86_64/init-first.c
66432         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
66433         syscall wrapper around clock_gettime in __vdso_clock_gettime.
66434         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
66435         clock_gettime.
66437 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
66439         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
66440         Forgot to demangle the pointer.
66442         * sysdeps/i386/sysdep.h: Define atom_text_section.
66443         * sysdeps/x86_64/sysdep.h: Likewise.
66444         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
66445         section with atom_text_section.
66446         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
66447         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
66448         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
66449         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
66450         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
66452         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
66453         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
66454         already be defined.  Change to take two parameters and don't assign
66455         result to variable.  Adjust all users.
66456         Define INTERNAL_GETTIME if not already defined.
66457         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
66458         call.
66459         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
66460         HAVE_CLOCK_GETTIME_VSYSCALL.
66461         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
66463         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
66464         gettimeofday vsyscall, just use time.
66466 2011-09-06  Andreas Schwab  <schwab@redhat.com>
66468         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
66469         <errno.h>.
66471 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
66473         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
66474         syscall on x86-64.
66475         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
66476         syscall.
66477         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
66478         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
66479         syscall if possible.
66481 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
66483         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
66484         e_ident.  Don't pass to find_mapsXX.
66485         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
66487 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
66489         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66490         strchr-sse2-no-bsf strrchr-sse2-no-bsf
66491         * sysdeps/x86_64/multiarch/strchr.S: Update.
66492         Check bit_slow_BSF bit.
66493         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
66494         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
66495         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
66497 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
66499         [BZ #13134]
66500         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
66501         before glibc 2.15.
66502         (tryshell): Define.
66503         (__spawni): Change last parameter to be flag.  Test
66504         SPAWN_XFLAGS_USE_PATH flag to use path or not.
66505         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
66506         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
66507         * posix/spawni.c: Likewise.
66508         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
66509         * posix/spawnp.c: Likewise.  Change normal version to use
66510         SPAWN_XFLAGS_USE_PATH.
66511         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
66512         SPAWN_XFLAGS_TRY_SHELL.
66514         [BZ #13150]
66515         * posix/glob.h: Remove gcc 1.x support.
66517         [BZ #13068]
66518         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
66520 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
66522         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66523         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
66524         strrchr-sse2-bsf
66525         * sysdeps/i386/i686/multiarch/strchr.S: New file.
66526         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
66527         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
66528         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
66529         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
66530         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
66532 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66534         * sysdeps/x86_64/wcscmp.S: New file.
66536         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
66537         wcscmp-c wcscmp-sse2
66538         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
66539         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
66540         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
66541         * wcsmbs/wcscmp.c: Allow renaming.
66543 2011-09-05  David S. Miller  <davem@davemloft.net>
66545         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
66546         stack slot, rather than the struct return pointer slot.
66547         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
66548         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
66549         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
66550         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
66552 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
66554         * po/ja.po: Update from translation team.
66556         [BZ #13144]
66557         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
66558         kernel in 64-bit binaries.
66560 2011-09-01  David S. Miller  <davem@davemloft.net>
66562         * elf/elf.h (HWCAP_SPARC_*): Move to..
66563         * sysdeps/sparc/sysdep.h: this new file and add new values.
66564         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
66565         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
66566         _DL_HWCAP_COUNT to 24.
66567         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
66568         entries.
66569         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
66570         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
66571         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
66572         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
66573         instead of magic constants.
66574         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
66576 2011-08-31  David S. Miller  <davem@davemloft.net>
66578         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
66579         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
66580         Reimplement to do errno handling inline.
66581         (SYSCALL_ERROR_HANDLER): New macro.
66582         (__SYSCALL_STRING): Do not do errno handling in asm.
66583         (__CLONE_SYSCALL_STRING): Delete.
66584         (__INTERNAL_SYSCALL_STRING): Delete.
66585         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
66586         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
66587         (PSEUDO): Reimplement to do errno handling inline.
66588         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
66589         (SYSCALL_ERROR_HANDLER): New macro.
66590         (__SYSCALL_STRING): Do not do errno handling in asm.
66591         (__CLONE_SYSCALL_STRING): Delete.
66592         (__INTERNAL_SYSCALL_STRING): Delete.
66593         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
66594         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
66595         i386.
66596         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
66597         (inline_syscall*): Add 'err' argument.
66598         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
66599         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
66600         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
66601         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
66603         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
66604         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
66606 2011-08-30  Andreas Schwab  <schwab@redhat.com>
66608         * elf/rtld.c (dl_main): Relocate objects in dependency order.
66610 2011-08-29  Jiri Olsa <jolsa@redhat.com>
66612         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
66613         directive.
66615 2011-08-24  David S. Miller  <davem@davemloft.net>
66617         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
66619 2011-08-24  Andreas Schwab  <schwab@redhat.com>
66621         * elf/Makefile: Add rules to build and run unload8 test.
66622         * elf/unload8.c: New file.
66623         * elf/unload8mod1.c: New file.
66624         * elf/unload8mod1x.c: New file.
66625         * elf/unload8mod2.c: New file.
66626         * elf/unload8mod3.c: New file.
66628         * elf/dl-close.c (_dl_close_worker): Reset private search list if
66629         it wasn't used.
66631 2011-08-23  David S. Miller  <davem@davemloft.net>
66633         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
66634         subtract stack bias.
66635         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
66636         %sp not %fp in calculations.
66637         (_JMPBUF_UNWINDS_ADJ): Likewise.
66639         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
66640         (aio_suspend): Call it to force an exception region around the
66641         AIO_MISC_WAIT() invocation.
66643 2011-08-23  Andreas Schwab  <schwab@redhat.com>
66645         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
66646         backslash.
66648 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
66650         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
66651         protection macro.
66652         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
66653         and <dl-machine.h>.
66654         (Elf64_FuncDesc): Remove.
66656 2011-08-22  David S. Miller  <davem@davemloft.net>
66658         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
66659         sigaltstack check, add missing cfi directives.
66660         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
66661         missing cfi directives, and sigaltstack handling.
66663 2011-08-16  Andreas Schwab  <schwab@redhat.com>
66665         [BZ #11724]
66666         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
66667         object is seen twice.
66668         * elf/dl-fini.c (_dl_sort_fini): Likewise.
66670         * elf/Makefile (distribute): Add tst-initorder2.c.
66671         (tests): Add tst-initorder2.
66672         (modules-names): Add tst-initorder2a tst-initorder2b
66673         tst-initorder2c tst-initorder2d.  Add rules to build them.
66674         ($(objpfx)tst-initorder2.out): New rule.
66675         * elf/tst-initorder2.c: New file.
66676         * elf/tst-initorder2.exp: New file.
66678 2011-08-22  Andreas Schwab  <schwab@redhat.com>
66680         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
66682         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
66683         dependencies back to end of function.
66685         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
66686         $(elfobjdir)/ld.so.
66688 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
66690         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
66691         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
66692         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
66693         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
66694         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
66695         of __vdso_gettimeofday.
66696         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
66697         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
66698         attribute_hidden.
66699         (_libc_vdso_platform_setup): Remove initialization of
66700         __vdso_gettimeofday and __vdso_time.
66702 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
66704         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
66705         and fgetc_unlocked.
66706         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
66707         getc_unlocked.
66709         * elf/dl-open.c (add_to_global): Report additions to the global scope
66710         for LD_DEBUG=scopes.
66711         (dl_open_worker): Also print scope of newly loaded dependencies.
66712         (_dl_show_scope): Indicate if there is no scope.
66714         [BZ #13114]
66715         * stdio-common/Makefile (tests): Add bug24.
66716         * stdio-common/bug24.c: New file.
66718 2011-08-19  Andreas Jaeger  <aj@suse.de>
66720         [BZ #13114]
66721         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
66722         non-existant file when using close-on-exec mode.
66724 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
66726         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
66727         the very first instruction.
66729         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
66730         the CFI state in the end.
66731         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
66732         inclusion of dl-trampoline.h.
66733         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
66735 2011-08-19  Andreas Schwab  <schwab@redhat.com>
66737         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
66738         expectations for long double.
66740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
66741         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
66743 2011-08-14  David S. Miller  <davem@davemloft.net>
66745         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
66746         artificual limit depends upon the system page size.
66748 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
66750         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
66751         * resolv/Makefile: Define CFLAGS-libresolv.
66753 2011-08-17  Andreas Schwab  <schwab@redhat.com>
66755         * nss/makedb.c (compute_tables): Make variables used in nested
66756         function static.
66758 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
66760         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
66761         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
66762         if buffer was too small.
66764         * elf/pldd.c (main): Attach to all threads in the process.
66765         Rewrite /proc handling to use *at functions.
66767 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
66769         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
66770         specifies first scope to show.
66771         (dl_open_worker): Update callers.  Move printing scope of new
66772         object to before the relocation.
66773         * elf/rtld.c (dl_main): Update _dl_show_scope call.
66774         * sysdeps/generic/ldsodefs.h: Update declaration.
66776         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
66777         string for the scope number.
66779 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
66781         * nscd/servicescache.c (cache_addserv): Make sure written is always
66782         initialized.
66784 2011-08-14  Roland McGrath  <roland@hack.frob.com>
66786         * sysdeps/i386/i486/bits/atomic.h
66787         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
66788         statement expression, so as to suppress "set but not used" warning.
66789         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
66791         * string/strncat.c (STRNCAT): Use prototype definition.
66793         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
66794         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
66795         -Iprograms here.
66796         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
66797         (localedef-modules): Add localedef.
66798         (locale-modules): Add locale.
66800         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
66801         * elf/rtld.c (dl_main): Invert order of assignment in last change,
66802         to avoid a warning.
66804 2011-08-14  David S. Miller  <davem@davemloft.net>
66806         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
66807         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
66809 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
66811         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
66812         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
66813         * elf/rtld.c (dl_main): Set l_name of vDSO.
66814         Call _dl_show_scope when DL_DEBUG_SCOPES.
66815         (process_dl_debug): Recognize scopes flag and also set it for all.
66816         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
66817         Declare _dl_show_scope.
66819         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
66820         (do_dlopen): Pass caller_dlopen to dl_open.
66821         (__libc_dlopen_mode): Initialize caller_dlopen.
66823         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
66824         of libc.  Make tolower call locale-independent.  Optimize a bit by
66825         using isdigit instead of isalnum.
66826         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
66828 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
66830         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
66831         was a dependency or dynamically loaded.
66833 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
66835         * intl/l10nflist.c: Allow architecture-specific pop function.
66836         * sysdeps/x86_64/l10nflist.c: New file.
66838         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
66839         classification.
66841 2011-08-10  Andreas Schwab  <schwab@redhat.com>
66843         * include/dirent.h: Add libc_hidden_proto for scandirat and
66844         scandirat64.  Don't declare __scandirat64.
66845         * dirent/scandirat.c: Add libc_hidden_def.
66846         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
66847         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
66849 2011-08-10  David S. Miller  <davem@davemloft.net>
66851         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
66852         enum.
66853         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
66854         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
66855         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
66857 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
66859         * Versions.def [libc]: Add GLIBC_2.15.
66860         * dirent/Makefile (routines): Add scandirat and scandirat64.
66861         * dirent/Versions [libc]: Export scandirat and scandirat64 for
66862         GLIBC_2.15.
66863         * dirent/dirent.h: Declare scandirat and scandirat64.
66864         * dirent/scandirat.c: New file.
66865         * dirent/scandirat64.c: New file.
66866         * sysdeps/wordsize-64/scandirat.c: New file.
66867         * sysdeps/wordsize-64/scandirat64.c: New file.
66868         * dirent/opendir.c: Define opendirat.
66869         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
66870         using scandirat.
66871         * dirent/scandir64.c: Adjust for scandir.c change.
66872         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
66873         __scandirat64, and __scandir_cancel_handler.
66874         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
66875         additional parameter and use openat instead of open (outside of ld.so).
66876         Add new __opendir as wrapper around __opendirat.
66877         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
66878         here without requiring old scandirat implementation.
66880 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
66882         * dirent/scandir.c (cancel_handler): Renamed to
66883         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
66884         defined.  Adjust users.
66885         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
66886         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
66888 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
66890         * string/test-string.h (IMPL): Use __STRING to expand name and then
66891         stringify it.
66893         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
66894         of cleanups.
66896 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66898         * string/Makefile: Update.
66899         (strop-tests): Append strncat.
66900         * string/test-wcscmp.c: New file.
66901         New comprehensive test for wcscmp.
66902         * string/test-strcmp.c: Update.
66903         (WIDE): New define.
66905 2011-07-22  Andreas Schwab  <schwab@redhat.com>
66907         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
66908         line.
66910 2011-07-26  Andreas Schwab  <schwab@redhat.com>
66912         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
66913         encoding to ACE if AI_IDN.
66915 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
66917         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
66918         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
66920 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
66922         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
66923         Fix overflow bug in strncat.
66924         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
66926         * string/test-strncat.c: Update.
66927         Add new tests for checking overflow bugs.
66929 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
66931         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66932         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
66933         * sysdeps/i386/i686/multiarch/strcat.S: New file.
66934         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
66935         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
66936         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
66937         * sysdeps/i386/i686/multiarch/strncat.S: New file.
66938         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
66939         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
66941         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
66942         (USE_AS_STRCAT): Define.
66943         Add strcat and strncat support.
66944         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
66946 2011-07-25  Andreas Schwab  <schwab@redhat.com>
66948         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
66949         __n bigger than INT_MAX+1.
66950         (__strncmp_g): Likewise.
66952 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
66954         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
66955         * libio/stido.h: Likewise.
66957         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
66958         (AF_NFC): Define.
66959         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
66960         (AF_NFC): Define.
66962         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
66963         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
66964         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
66965         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
66966         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
66968         [BZ #13021]
66969         * scripts/test-installation.pl: Don't expect libnss_test1 to be
66970         installed.
66972         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
66973         typo.
66974         (_dl_x86_64_save_sse): Likewise.
66976 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
66978         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
66979         OSXSAVE.
66980         (_dl_x86_64_save_sse): Likewise.
66982         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
66984         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
66986 2011-07-21  Andreas Schwab  <schwab@redhat.com>
66988         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
66989         change.
66990         (_dl_x86_64_save_sse): Use correct AVX check.
66992 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66994         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
66995         bug in strncpy/strncat.
66996         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
66998 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
67000         * string/tester.c (test_strcat): Add tests for different alignments
67001         of source and destination.
67002         (test_strncat): Likewise.
67004 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
67006         [BZ #12852]
67007         * posix/glob.c (glob): Check passed in values before using them in
67008         expressions to avoid some overflows.
67009         (glob_in_dir): Likewise.
67011         [BZ #13007]
67012         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
67013         check for AVX enablement so that we don't crash with old kernels and
67014         new hardware.
67015         * elf/tst-audit4.c: Add same checks here.
67016         * elf/tst-audit6.c: Likewise.
67018         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
67020 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
67022         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
67024 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
67026         * po/cs.po: Update from translation team.
67027         * po/bg.po: Likewise.
67029 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
67031         * misc/sys/cdefs.h: Add support for const attribute.
67032         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
67033         to gnu_dev_{major,minor,makedev} functions.
67035 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
67037         * intl/dcigettext.c (get_output_charset): Add missing bracket.
67039 2011-07-20  Andreas Schwab  <schwab@redhat.com>
67041         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
67042         strlen results.
67044 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67046         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
67047         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
67048         register in order to avoid conflicts with the soft frame pointer
67049         being held in r11 when necessary.
67050         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
67051         (INTERNAL_VSYSCALL_NCS): Likewise.
67053 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
67055         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
67056         * elf/dl-fini.c (_dl_fini): Adjust caller.
67057         * elf/dl-close.c (_dl_close_worker): Likewise.
67058         * sysdeps/generic/ldsodefs.h: Adjust declaration.
67060 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
67062         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
67063         "aux_cache->nlibs < 0".
67065         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
67066         in the reload-count case.
67068 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67070         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67071         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
67072         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
67073         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
67074         * sysdeps/x86_64/multiarch/strcat.S: New file.
67075         * sysdeps/x86_64/multiarch/strncat.S: New file.
67076         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
67077         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
67078         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
67079         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
67080         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
67081         (USE_AS_STRCAT): Define.
67082         Add strcat and strncat support.
67083         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
67084         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
67085         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
67086         * string/strncat.c: Update.
67087         (USE_AS_STRNCAT): Define.
67088         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67089         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
67090         and i7.
67091         * sysdeps/x86_64/multiarch/init-arch.h
67092         (bit_Prefer_PMINUB_for_stringop): New.
67093         (index_Prefer_PMINUB_for_stringop): Likewise.
67094         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
67095         bit_Prefer_PMINUB_for_stringop.
67097 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
67099         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
67100         buffer64.
67101         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
67102         of casting of buffer.
67103         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
67104         buffer32 and buffer64.
67105         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
67106         writes instead of casting of buffer.
67107         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
67108         buffer32.
67109         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
67110         casting of buffer.
67112 2011-07-19  Andreas Schwab  <schwab@redhat.com>
67114         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
67116 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
67118         * nscd/nscd.c (termination_handler): Don't do anything for a database
67119         if it has not yet been initialized.
67121 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
67123         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
67125 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
67127         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
67129 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
67131         * po/nl.po: Update from translation team.
67132         * po/sv.po: Likewise.
67134 2011-07-16  Roland McGrath  <roland@hack.frob.com>
67136         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
67137         now disallowed by GCC.
67139         * configure.in (use-default-link): Default to yes if a test -shared
67140         link meets our qualifications.
67141         * configure: Regenerated.
67143         * config.make.in (output-format): New variable.
67144         * configure.in: Check for ld --print-output-format support.
67145         * configure: Regenerated.
67146         * Makerules ($(common-objpfx)format.lds)
67147         [$(output-format) != unknown]: Just use $(output-format),
67148         instead of the linker-script munging.
67150 2011-07-14  Roland McGrath  <roland@hack.frob.com>
67152         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
67153         of $(common-objpfx)shlib.lds.
67154         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
67156         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
67157         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
67159         * configure.in (-z relro check): Adjust test code to add a large
67160         writable data section after it.
67161         * configure: Regenerated.
67163 2011-07-11  Roland McGrath  <roland@hack.frob.com>
67165         * configure.in (-z relro check): Fix test code to make the variable
67166         truly const.
67167         * configure: Regenerated.
67169 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
67171         * nscd/nscd.h (struct traced_file): Define.
67172         (struct database_dyn): Remove inotify_descr, reset_res, and filename
67173         elements.  Add traced_files.
67174         (inotify_fd): Declare.
67175         (register_traced_file): Declare.
67176         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
67177         (inotify_fd): Export.
67178         (resolv_conf_descr): Remove.
67179         (nscd_init): Move inotify descriptor creation to main.
67180         Don't register files for notification here.
67181         (register_traced_file): New function.
67182         (invalidate_cache): Don't use reset_res to determine whether to call
67183         res_init, go through the list of registered files.
67184         (main_loop_poll): The inotify descriptors are now stored in the
67185         structures for the traced files.
67186         (main_loop_epoll): Likewise
67187         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
67188         to __nss_disable_nscd.
67189         * nscd/cache.c (prune_cache): There is no single inotify descriptor
67190         for a database anymore.  Check the records for all the registered
67191         files instead.
67192         * nss/Makefile (libnss_files-routines): Add files-init.
67193         (libnss_db-routines): Add db-init.
67194         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
67195         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
67196         * nss/nss_db/db-init.c: New file.
67197         * nss/nss_files/files-init.c: New file.
67198         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
67199         __nss_lookup_function.
67200         (__nss_lookup_function): Call nss_load_library.
67201         (nss_load_all_libraries): New function.
67202         (__nss_disable_nscd): Take parameter with callback function for files
67203         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
67204         used for the cached services.
67205         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
67206         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
67207         options for features to all the files in nscd.
67209         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
67211 2011-07-10  Roland McGrath  <roland@hack.frob.com>
67213         * csu/elf-init.c (__libc_csu_init): Comment typo.
67215 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
67217         * po/pl.po: Update from translation team.
67218         * po/ja.po: Likewise.
67219         * po/ru.po: Likewise.
67220         * po/ko.po: Likewise.
67221         * po/fr.po: Likewise.
67223 2011-07-09  Roland McGrath  <roland@hack.frob.com>
67225         * configure.in (.ctors/.dtors header and trailer check):
67226         Use an empirical test on a built program.
67227         * configure: Regenerated.
67229         * configure.in (-z relro check): Use an empirical test on a built DSO.
67230         Detect, but do not require, on ia64.
67231         * configure: Regenerated.
67233         * configure.in (READELF): Find it with AC_CHECK_TOOL.
67234         Update tests that use readelf to use $READELF instead.
67235         * configure: Regenerated.
67237 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
67239         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
67240         if the result is not used.
67242 2011-07-05  Andreas Jaeger  <aj@suse.de>
67244         [BZ#9696]
67245         * stdlib/tst-strtod.c: Add testcase.
67247 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
67249         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
67250         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
67251         The latter has a higher limit.  Take additional parameter to pass to
67252         the new function.
67253         (__pathconf): Pass file to __statfs_link_max.
67254         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
67255         __statfs_link_max.
67256         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
67257         __statfs_link_max.
67259         [BZ #12868]
67260         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
67261         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
67262         Handle Lustre.
67263         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
67264         (__statfs_filesize_max): Likewise.
67265         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
67267 2011-07-05  Andreas Jaeger  <aj@suse.de>
67269         * resolv/res_comp.c (dn_skipname): Remove unused variable.
67271 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
67273         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
67274         `status' variable.
67275         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
67276         Likewise.
67278 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
67280         * Makefile (strop-tests): Add strncat.
67281         * string/test-strncat.c: New file.
67283 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
67285         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
67287 2011-06-21  Andreas Jaeger  <aj@suse.de>
67289         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
67290         Copy rule from iconvdata/Makefile.
67292 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
67294         [BZ #12922]
67295         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
67296         but no long options are defined, just return 'W'.
67298 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
67300         [BZ #9696]
67301         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
67303 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
67305         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
67306         netgroups to read.
67307         (innetgr): Likewise.
67309 2011-07-05  Roland McGrath  <roland@hack.frob.com>
67311         * config.make.in (install_root): Default to $(DESTDIR).
67313 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
67315         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
67317 2011-07-02  Roland McGrath  <roland@hack.frob.com>
67319         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
67321         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
67322         containing directory rather than embedding absolute directory names.
67324         * scripts/check-local-headers.sh: Rewritten using awk.
67325         Match by word, not by line.  Print error messages for matches.
67326         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
67328         * Makerules [shlib-lds-flags empty]:
67329         ($(common-objpfx)libc_pic.opts): New target.
67330         ($(common-objpfx)libc_pic.os.clean): New target.
67331         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
67333         * config.make.in (OBJCOPY): New variable.
67334         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
67335         * configure: Regenerated.
67337         * config.make.in (use-default-link): New variable.
67338         * configure.in (use_default_link): Grok --with-default-link to set it.
67339         * configure: Regenerated.
67340         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
67341         (shlib-lds, shlib-lds-flags): Define to empty.
67343         * Makerules (shlib-lds): New variable.
67344         (shlib-lds-flags): New variable.
67345         (build-shlib, build-moduile, build-module-asneeded): Use it.
67346         ($(common-objpfx)libc.so): Use $(shlib-lds).
67347         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
67348         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
67350         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
67351         DT_FLAGS/DT_FLAGS_1 with zero flags.
67353         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
67354         linker script munging.
67356 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
67358         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
67359         as 128-bit value.
67360         * crypt/sha512.c (sha512_process_block): Perform total addition using
67361         128-bit if possible.
67362         (__sha512_finish_ctx): Likewise.
67363         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
67364         as 64-bit value.
67365         * crypt/sha256.c (SWAP64): Define.
67366         (sha256_process_block): Perform total addition using 64-bit if
67367         possible.
67368         (__sha256_finish_ctx): Likewise.
67370 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
67372         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
67373         * nscd/initgrcache.c (addinitgroupsX): Likewise.
67374         * nscd/hstcache.c (cache_addhst): Likewise.
67375         * nscd/grpcache.c (cache_addgr): Likewise.
67376         * nscd/aicache.c (addhstaiX): Likewise
67377         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
67379 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
67381         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
67382         * nscd/initgrcache.c (addinitgroupsX): Likewise.
67383         * nscd/hstcache.c (cache_addhst): Likewise.
67384         * nscd/grpcache.c (cache_addgr): Likewise.
67385         * nscd/aicache.c (addhstaiX): Likewise
67387 2011-07-01  Andreas Schwab  <schwab@redhat.com>
67389         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
67390         domain only when needed.
67392 2011-06-30  Andreas Schwab  <schwab@redhat.com>
67394         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
67395         is always restored.
67397 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
67399         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
67400         are re-adding the entry.
67401         * nscd/servicescache.c (cache_addserv): Likewise.
67403 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
67405         * sysdeps/generic/dl-irel.h: fix protection against multiple
67406         inclusions.
67407         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
67409 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
67411         [BZ #12935]
67412         * malloc/memusage.sh: Fix quoting in message.
67413         * debug/xtrace.sh: Likewise.
67415         * configure.in: Remove support for --experimental-malloc option, make
67416         it the default.
67417         * config.make.in: Likewise.
67418         * malloc/Makefile: Likewise.
67420 2011-06-27  Andreas Schwab  <schwab@redhat.com>
67422         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
67423         two-byte characters.
67425 2011-06-27  Roland McGrath  <roland@hack.frob.com>
67427         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
67428         AC_CACHE_CHECK invocation.
67429         * configure: Regenerated.
67431         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
67433 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
67435         [BZ #12350]
67436         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
67437         bit from old_res_options.
67439         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
67441         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
67442         value type for setfct.
67444 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
67446         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
67447         __gettimeofday instead of gettimeofday.
67449 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
67451         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
67453 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
67455         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
67457         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
67458         info.
67460 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
67462         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67463         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
67464         strcpy-sse2-unaligned strncpy-sse2-unaligned
67465         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
67466         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
67467         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
67468         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
67469         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
67470         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
67471         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
67472         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
67473         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
67474         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
67475         (STRCPY): Support SSE2 and SSSE3 versions.
67477 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
67479         [BZ #12874]
67480         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
67481         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
67482         kernels which artificially limit size of requests.
67484 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
67486         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67487         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
67488         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
67489         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
67490         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
67491         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
67492         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
67493         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
67494         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
67495         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
67496         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
67497         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
67498         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
67499         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
67500         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
67501         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67502         Enable unaligned load optimization for Intel Core i3, i5 and i7
67503         processors.
67504         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
67505         Define.
67506         (index_Fast_Unaligned_Load): Define.
67507         (HAS_FAST_UNALIGNED_LOAD): Define.
67509 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
67511         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
67513 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
67515         [BZ #12907]
67516         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
67517         until it is clear that the information is realy needed.
67518         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
67520 2011-06-22  Andreas Schwab  <schwab@redhat.com>
67522         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
67524 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
67526         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
67527         /sys/devices/system/cpu/online if it is usable.
67529         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
67530         reading the information from the /proc filesystem to once a second.
67532 2011-06-21  Andreas Jaeger  <aj@suse.de>
67534         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
67535         NULL after inclusion of kernel headers.
67537 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
67539         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
67540         calls to internal_setent.
67542         [BZ #12885]
67543         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
67544         addresses using gethostbyname4_r ignore IPv4 addresses.
67546         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
67547         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
67549         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
67551 2011-06-20  David S. Miller  <davem@davemloft.net>
67553         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
67554         inclusions.
67555         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
67557         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
67558         (elf_irel): Use it.
67559         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
67560         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
67561         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
67562         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
67563         * sysdeps/x86_64/dl-irel.h: Likewise.
67565         * elf/dl-runtime.c: Use elf_ifunc_invoke.
67566         * elf/dl-sym.c: Likewise.
67568 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
67570         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
67571         need to dereference resplen2.
67573 2011-06-14  Andreas Schwab  <schwab@redhat.com>
67575         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
67577 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
67579         * Makeconfig: Define vardbdir and inst_vardbdir.
67580         * nss/Makefile: Add rules to install db-Makefile.
67582         * nss/nss_db/db-XXX.c: Cleanup.
67584         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
67585         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
67586         GLIBC_PRIVATE.
67587         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
67588         * nss/makedb.c: Implement -g option to specify that value strings
67589         are generated and should not be added to table iterated over for
67590         get*ent calls.
67591         * nss/nss_db/db-initgroups.c: New file.
67593         * nss/getent.c: Add support for initgroups lookups through getgrouplist
67594         interface.
67596         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
67597         (internal_getgrouplist): Adjust to name change.
67598         Update use_initgroups_entry if this is not the first call.
67599         * nss/databases.def: Add initgroups entry.
67601         * nss/makedb.c (compute_tables): Check result of multiple hash table
67602         sizes to minimize maximum chain length.
67604 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
67606         * Versions.def: Add entry for libnss_db.
67607         * shlib-versions: Likewise.
67608         * nss/Makefile: Add rules to build libnss_db.
67609         * nss/Versions: Add libnss_db information.  Organize libnss_files
67610         entries better.
67611         * nss/db-Makefile: Add gshadow support.  Change rules for the new
67612         makedb progra.  Some minor improvements to generate smaller files.
67613         * nss/nss_db/nss_db.h: Move NSS database header data structures to
67614         here from...
67615         * nss/makedb.c: ...here.
67616         Improve database format to be smaller and require less memory at
67617         runtime.
67618         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
67619         db anymore.
67620         * nss/nss_db/db-netgrp.c: Likewise.
67621         * nss/nss_db/db-open.c: Likewise.
67622         * nss/nss_files/flies-XXX.x: Adjust comments.
67623         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
67624         * nss/nss_files/files-grp.c: Likewise.
67625         * nss/nss_files/files-hosts.c: Likewise.
67626         * nss/nss_files/files-network.c: Likewise.
67627         * nss/nss_files/files-proto.c: Likewise.
67628         * nss/nss_files/files-pwd.c: Likewise.
67629         * nss/nss_files/files-rpc.c: Likewise.
67630         * nss/nss_files/files-service.c: Likewise.
67631         * nss/nss_files/files-sgrp.c: Likewise.
67632         * nss/nss_files/files-spwd.c: Likewise.
67633         * nss/nss_db/db-alias.c: Removed.
67634         * nss/nss_db/dummy-db.h: Removed.
67636 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
67638         * nss/makedb.c: Rewritten to not use database library.
67639         * nss/Makefile: Update to build new makedb program.
67641 2011-06-14  Andreas Jaeger  <aj@suse.de>
67643         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
67644         memset declaration.
67646 2011-06-10  Andreas Schwab  <schwab@redhat.com>
67648         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
67649         tmpbuf.
67651 2011-06-10  Roland McGrath  <roland@hack.frob.com>
67653         * Makerules (shlib.lds): Fail if the linker script comes out empty.
67654         * elf/Makefile ($(objpfx)ld.so): Likewise.
67656         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
67657         Don't list ld.so twice in dependencies.
67659         * posix/bug-regex31.c: Include <stdlib.h>.
67661         * nscd/hstcache.c (cache_addhst): Remove unused variable.
67663         * nis/nss_compat/compat-spwd.c
67664         (getspent_next_nss_netgr): Remove unused variable.
67665         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
67667         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
67668         nonmembers" output to use the right array.
67670         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
67672         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
67674         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
67675         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
67676         * catgets/gencat.c (read_input_file): Likewise.
67677         * locale/programs/locarchive.c (enlarge_archive): Likewise.
67679         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
67680         variable definition inside #if's controlling its use.
67682         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
67684         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
67686         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
67688         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
67689         unreachable code.
67691         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
67693         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
67694         * configure: Regenerated.
67696         * Makerules: Revert last change.
67697         * elf/Makefile: Likewise.
67699 2011-06-09  Roland McGrath  <roland@hack.frob.com>
67701         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
67702         * elf/Makefile ($(objpfx)librtld.os): Likewise.
67703         (reloc-link): Likewise.
67705 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
67707         * elf/Makefile: Add rules to build pldd.
67708         * elf/pldd.c: New file.
67709         * elf/pldd-xx.c: New file.
67711 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
67713         * version.h: Update for 2.15 development version.
67715 2011-06-07  David S. Miller  <davem@davemloft.net>
67717         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
67718         ifuncs.
67719         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
67720         elf_machine_lazy_rel): Likewise.
67721         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
67722         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
67723         elf_machine_lazy_rel): Likewise.
67724         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
67725         dl_hwcap via passed in argument.
67726         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
67727         Likewise.
67729 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67731         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
67733 2011-06-06  Roland McGrath  <roland@hack.frob.com>
67735         [BZ #12849]
67736         * manual/fdl-1.1.texi: New file, verbatim from:
67737         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
67738         * manual/lgpl-2.1.texi: New file, verbatim from:
67739         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
67740         * manual/Makefile (licenses): New variable, list those new file names.
67741         (texis): Use it.
67742         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
67744         * manual/fdl.texi: File removed.
67745         * manual/lesser.texi: File removed.
67746         * manual/libc.texinfo (Copying, Documentation License):
67747         Use new @include file names, put @appendix directive before @include.
67749 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
67751         [BZ #12841]
67752         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
67753         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
67754         (mq_open): Add __NTH.
67756 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
67758         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67759         Assume Intel Core i3/i5/i7 processor if AVX is available.
67761 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
67763         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
67764         typo.
67766 2011-05-31  Andreas Schwab  <schwab@redhat.com>
67768         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
67769         memory.  Use alloca_account.  Fix memory leak when retrying.
67771 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
67773         * version.h (RELEASE): Bump for 2.14 release.
67774         * include/features.h (__GLIBC_MINOR__): Bump to 14.
67776         * config.make.in (RANLIB): Remove entry.
67778 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
67780         * po/Makefile (po-sed-cmd): Add ksh to extensions.
67781         (libc.pot): Work around missing support for .ksh extension in xgettext.
67783         [BZ #12684]
67784         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
67785         if both request failed.
67786         (send_dg): In case of server errors clear resplen or *resplen2.
67788         [BZ #12454]
67789         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
67790         when there are multiple maps.
67791         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
67792         (_dl_fini): Remove test here.
67794         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
67796 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
67798         [BZ #12350]
67799         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
67800         bit from old_res_options.
67801         (gaih_inet): Likewise.
67803         [BZ #11099]
67804         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
67805         as signed.
67807         * resolv/res_init.c (res_setoptions): Make the code more compact.
67809         [BZ #11558]
67810         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
67811         set RES_USEVC.
67813         [BZ #11634]
67814         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
67816         * malloc/malloc.h: Mark malloc hook variables as deprecated.
67818         [BZ #11781]
67819         * malloc/malloc.h: Declare malloc hook variables as volatile.
67821         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
67822         in last patch.
67824         [BZ #11799]
67825         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
67826         raise in the comment.
67827         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
67828         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
67829         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
67831 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
67833         [BZ #12811]
67834         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
67835         grow the buffers more if it already has to be sufficient.
67836         (build_wcs_upper_buffer): Likewise.
67837         * posix/regexec.c (check_matching): Likewise.
67838         (clean_state_log_if_needed): Likewise.
67839         (extend_buffers): Don't enlarge buffers beyond size of the input
67840         buffer.
67841         Patches mostly by Emil Wojak <emil@wojak.eu>.
67842         * posix/bug-regex32.c: New file.
67843         * posix/Makefile (tests): Add bug-regex32.
67845         * locale/findlocale.c (_nl_find_locale): Return right away if
67846         _nl_explode_name failed.
67847         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
67849         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
67851         * debug/xtrace.sh: Unify messages.
67852         * malloc/memusage.sh: Likewise.
67854         [BZ #12813]
67855         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
67856         time symbol from vDSO.  Substitute with vsyscall if not available.
67857         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
67858         __vdso_time.
67860         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
67861         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
67862         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
67863         Add sendmmsg and internal_sendmmsg.
67864         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
67865         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
67866         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
67868         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
67869         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
67870         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
67872 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
67874         [BZ #12813]
67875         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
67876         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
67877         available.
67878         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
67879         __vdso_getcpu.
67881         [BZ #12814]
67882         * iconvdata/Makefile (tests): Add bug-iconv9.
67883         * iconvdata/bug-iconv9.c: New file.
67885 2011-05-27  Andreas Schwab  <schwab@redhat.com>
67887         [BZ #12814]
67888         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
67890 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
67892         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
67893         (struct user_regs_struct): Change intcs field back to cs.
67895 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
67897         * po/ja.po: Update from translation team.
67899 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
67901         [BZ #12795]
67902         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
67903         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
67905 2011-05-20  Andreas Schwab  <schwab@redhat.com>
67907         * stdlib/longlong.h: Update from GCC.
67909 2011-05-23  Andreas Schwab  <schwab@redhat.com>
67911         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
67912         parameter name.
67913         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
67914         Add parameter name.
67915         (__sysconf): Pass it down.
67917 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
67919         [BZ #12671]
67920         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
67921         some situations.
67922         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
67923         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
67924         add in in __libc_use_alloca calls.  Adjust callers.
67925         (glob): Use malloc in some situations.
67927         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
67928         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
67929         pltexit.
67931 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
67933         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
67934         and CLOCK_BOOTTIME_ALARM.
67936         [BZ #12782]
67937         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
67938         is returned.
67940         * string/_strerror.c (__strerror_r): Print negative errors as signed
67941         numbers.
67943         [BZ #12777]
67944         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
67945         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
67946         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
67948         * configure.in: Fix typo in redirection and correct removal of test
67949         files in two cases.
67951         [BZ #12788]
67952         * locale/setlocale.c (new_composite_name): Fix test to check for
67953         identical name of all categories.
67955         [BZ #12792]
67956         * libio/filedoalloc.c (local_isatty): New function.
67957         (_IO_file_doallocate): Use local_isatty.
67958         * stdio-common/perror.c (perror): In case a new stream is used
67959         forward the stream error.
67960         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
67961         error flag.
67963 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
67965         [BZ #11869]
67966         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
67967         alloca.
67968         * include/alloca.h (extend_alloca_account): Define.
67970         [BZ #11857]
67971         * posix/regex.h: Fix comments with documentation of user-accessible
67972         fields after compilation and describe correct free'ing of pattern
67973         after re_compile_pattern.
67974         Patch by Reuben Thomas <rrt@sc3d.org>.
67976 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
67978         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
67979         and -mno-altivec to prevent the compiler from using Altivec and/or
67980         VSX instructions when the corresponding registers are not available.
67982 2011-05-19  Andreas Schwab  <schwab@redhat.com>
67984         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
67986 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
67988         * libio/freopen.c (freopen): Use __dup2, not dup2.
67989         * libio/freopen64.c (freopen64): Likewise.
67991 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
67993         [BZ #12775]
67994         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
67995         * math/Makefile (tests): Add test-powl.
67996         (CFLAGS-test-powl.c): Define.
67997         * math/test-powl.c: New file.
67999 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68001         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
68003 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
68005         [BZ #11837]
68006         * iconvdata/gb18030.c: Update to GB18020-2005.
68008 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
68010         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
68011         RE_SYNTAX_POSIX_AWK): Update to match recent development.
68012         Patch by Aharon Robbins <arnold@skeeve.com>.
68014         [BZ #11892]
68015         * stdlib/putenv.c (putenv): Don't always create copy of the variable
68016         on the stack.
68018         [BZ #11895]
68019         * misc/pselect.c (__pselect): Handle timeout value errors hidden
68020         through underflows.
68022         [BZ #12766]
68023         * misc/error.c (error_at_line): Ensure file_name and old_file_name
68024         point to strings before performing equality test for error_one_per_line
68025         mode.
68027         [BZ #11697]
68028         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
68030         [BZ #11820]
68031         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
68032         (struct user_fpregs_struct): Avoid __uint*_t types.
68034         [BZ #6420]
68035         * malloc/mtrace.c (tr_where): Add additional parameter to point to
68036         symbol info.  Use it instead of calling _dl_addr locally.
68037         (lock_and_info): New function.
68038         (tr_freehook): Call lock_and_info and pass symbol info as additional
68039         parameter to tr_where.
68040         (tr_mallochook): Likewise.
68041         (tr_reallochook): Likewise.
68042         (tr_memalignhook): Likewise.
68044         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
68045         used and couldn't be at all thread-safe.
68047 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
68049         * libio/freopen.c (freopen): Don't close old file descriptor
68050         before the new one is opened.  Instead dup the new file descriptor
68051         to the old one after the new stream is created.
68052         * libio/freopen64.c (freopen64): Likewise.
68053         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
68054         * libio/fileops.c (_IO_new_file_close_it): Handle new
68055         _IO_FLAGS2_NOCLOSE flag.
68056         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
68057         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
68058         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
68059         _IO_FLAGS2_NOCLOSE flag.
68060         * include/unistd.h: Add hidden_proto for dup3.
68061         Define __have_dup3.
68062         * io/dup3.c: Define hidden symbol.
68063         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
68065         [BZ #7101]
68066         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
68067         when an incomplete long option is used.
68068         * posix/tst-getopt_long1.c: New file.
68069         * posix/Makefile (tests): Add tst-getopt_long1.
68071         [BZ #10138]
68072         * scripts/config.guess: Update from autoconf-2.68.
68073         * scripts/config.sub: Likewise.
68075         [BZ #10157]
68076         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
68077         tests into ...
68078         (has_cpuclock): ...this.  New function.
68079         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
68080         macro here based on has_cpuclock code.
68082         [BZ #10149]
68083         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68084         First byte (not low byte) is now always NUL.
68085         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
68087         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68088         Use non-cancelable interfaces.
68090         [BZ #9809]
68091         * locale/iso-639.def: Add entry for Sorani.
68093         [BZ #11901]
68094         * include/stdlib.h: Move include protection to the right place.
68095         Define abort_msg_s.  Declare __abort_msg with it.
68096         * stdlib/abort.c (__abort_msg): Adjust type.
68097         * assert/assert.c (__assert_fail_base): New function.  Majority
68098         of code from __assert_fail.  Allocate memory for __abort_msg with
68099         mmap.
68100         (__assert_fail): Now call __assert_fail_base.
68101         * assert/assert-perr.c: Remove bulk of implementation.  Use
68102         __assert_fail_base.
68103         * include/assert.hL Declare __assert_fail_base.
68104         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
68105         mmap.
68106         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
68108 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
68110         [BZ #11952]
68111         [BZ #12453]
68112         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
68113         until all modules are registered in the DTV.
68114         * elf/Makefile: Add rules to build and run tst-tls19.
68115         * elf/tst-tls19.c: New file.
68116         * elf/tst-tls19mod1.c: New file.
68117         * elf/tst-tls19mod2.c: New file.
68118         * elf/tst-tls19mod3.c: New file.
68119         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
68121         [BZ #12083]
68122         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
68123         correctly.
68125         [BZ #12601]
68126         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
68127         two-byte sequence errors.
68128         * iconvdata/Makefile (tests): Add bug-iconv8.
68129         * iconvdata/bug-iconv8.c: New file.
68131         [BZ #12626]
68132         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
68133         buf2 definition.
68135         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
68137         [BZ #12432]
68138         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
68139         (dummy_getcfa): New function.
68140         (init): Get _Unwind_GetCFA address, use dummy if not found.
68141         (backtrace_helper): In recursion check, also check whether CFA changes.
68142         (__backtrace): Completely initialize arg.
68144         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
68145         storing incomplete byte sequence in state object.  Avoid testing for
68146         guaranteed too small input if we know there is enough data available.
68148 2011-05-11  Andreas Schwab  <schwab@redhat.com>
68150         * Makeconfig (+link-pie): Indent.
68151         * Rules (binaries-pie): Define if $(have-fpie) and
68152         $(build-shared).
68153         (binaries-shared): Also filter out $(binaries-pie).
68154         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
68155         * nscd/Makefile (others-pie): Add nscd.
68156         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
68157         ($(objpfx)nscd): Remove command override.
68158         * login/Makefile (others-pie): Add pt_chown.
68159         ($(objpfx)pt_chown): Remove command override.
68160         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
68161         remove command overrides.
68163 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
68165         * libio/tst_putwc.c: Fix error messages.
68167         [BZ #12724]
68168         * libio/fileops.c (_IO_new_file_close_it): Always flush when
68169         currently writing and seek to current position when not.
68170         * libio/Makefile (tests): Add bug-fclose1.
68171         * libio/bug-fclose1.c: New file.
68173 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
68175         [BZ #12511]
68176         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
68177         don't set DF_1_NODELETE here.
68178         (do_lookup_x): When entering new entry test for copy relocation
68179         and if necessary set DF_1_NODELETE flag.
68180         * elf/tst-unique4.cc: New file.
68181         * elf/tst-unique4.h: New file.
68182         * elf/tst-unique4lib.cc: New file.
68183         * elf/Makefile: Add rules to build and run tst-unique4.
68184         Patch by Piotr Bury <pbury@goahead.com>.
68186 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
68188         [BZ #12052]
68189         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
68191         [BZ #12625]
68192         * misc/mntent_r.c (addmntent): Flush the stream after the output
68194         [BZ #12393]
68195         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
68196         (is_trusted_path_normalize): Skip initial colon.  Append slash
68197         to empty buffer.  Duplicate is_trusted_path code but allow
68198         constructed patch to be prefix.
68199         (is_dst): Allow $ORIGIN followed by /.
68200         (_dl_dst_substitute): Correct clearing of check_for_trusted.
68201         Correct testing of result of is_trusted_path_normalize
68202         (decompose_rpath): Fix warning.
68204 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
68206         [BZ #11257]
68207         * grp/initgroups.c (internal_getgrouplist): When we found the service
68208         list through the initgroups entry in nsswitch.conf do not always
68209         continue on a successful lookup.  Don't always use the
68210         __nss_group_database value if it is set.
68211         * nss/nsswitch.conf (initgroups): Change action for successful db
68212         lookup to continue for compatibility.
68214 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
68216         [BZ #11532]
68217         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
68218         and CP774 modules.
68219         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
68220         and CP774 modules.
68221         * iconvdata/tst-tables.sh: Likewise.
68222         * iconvdata/cp770.c: New file.
68223         * iconvdata/cp771.c: New file.
68224         * iconvdata/cp772.c: New file.
68225         * iconvdata/cp773.c: New file.
68226         * iconvdata/cp774.c: New file.
68227         * iconvdata/testdata/CP770: New file.
68228         * iconvdata/testdata/CP770..UTF8: New file.
68229         * iconvdata/testdata/CP771: New file.
68230         * iconvdata/testdata/CP771..UTF8: New file.
68231         * iconvdata/testdata/CP772: New file.
68232         * iconvdata/testdata/CP772..UTF8: New file.
68233         * iconvdata/testdata/CP773: New file.
68234         * iconvdata/testdata/CP773..UTF8: New file.
68235         * iconvdata/testdata/CP774: New file.
68236         * iconvdata/testdata/CP774..UTF8: New file.
68238         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
68239         END CHARMAP line.
68240         * iconvdata/gen-8bit-gap.sh: Likewise.
68241         * iconvdata/gen-8bit.sh: Likewise.
68243         * locale/iso-639.def: Add ary entry.
68245         [BZ #11258]
68246         * locale/C-translit.h.in: Add U20A1 transliteration.
68248         [BZ #12178]
68249         * locale/iso-639.def: Add wae entry.
68250         Patch by Kevin Bortis <bortis@translate-wae.ch>.
68252         [BZ #12545]
68253         * locale/programs/localedef.c (construct_output_path): Use ssize_t
68254         for n.
68256         [BZ #12711]
68257         * locale/C-translit.h.in: Add entry for U20B9.
68258         Patch by pravin.d.s@gmail.com.
68260 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
68262         [BZ #12713]
68263         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
68264         ENAMETOOLONG use generic getcwd.
68265         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
68266         in rtld.  Use *stat64.
68267         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
68268         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
68269         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
68270         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
68271         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
68272         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
68273         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
68274         __fstatat64 macros.
68275         * include/dirent.h: Add libc_hidden_proto for rewinddir.
68276         * dirent/rewinddir.c: Add libc_hidden_def.
68277         * sysdeps/mach/hurd/rewinddir.c: Likewise.
68278         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
68280         * include/dirent.h (__alloc_dir): Add flags parameter.
68281         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
68282         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
68283         __alloc_dir.
68284         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
68285         from fdopendir if O_CLOEXEC is already set.
68287 2011-03-15  Alan Modra  <amodra@gmail.com>
68289         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
68290         l_tls_firstbyte_offset non-zero.  Save padding offset in
68291         l_tls_firstbyte_offset for later use.
68292         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
68293         freeing static tls block.
68295 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
68297         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
68298         where #ifdef was intended.  The intent is to prevent ARG_MAX from
68299         being defined by the kernel headers.
68301 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
68303         [BZ #12734]
68304         * resolv/resolv.h: Define RES_NOTLDQUERY.
68305         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
68306         no-tld-query and set RES_NOTLDQUERY.
68307         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
68308         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
68309         modern BIND to search name as TLD unless forbidden.
68311 2011-05-07  Petr Baudis  <pasky@suse.cz>
68312             Ulrich Drepper  <drepper@gmail.com>
68314         [BZ #12393]
68315         * elf/dl-load.c (fillin_rpath): Move trusted path check...
68316         (is_trusted_path): ...to here.
68317         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
68318         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
68319         using is_trusted_path_normalize() in setuid scripts.
68321 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
68323         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
68324         __BEGIN/__END_DECLS.
68326 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
68328         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
68329         NSS_STATUS_NOTFOUND if no record was found.
68331 2011-05-05  Andreas Schwab  <schwab@redhat.com>
68333         * sunrpc/Makefile (headers): Add rpc/netdb.h.
68334         (headers-not-in-tirpc): Remove rpc/netdb.h
68335         * resolv/netdb.h: Revert last change.
68337 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
68339         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
68340         circular dependency between libgcc.a and libc.a.
68342 2011-05-05  Andreas Schwab  <schwab@redhat.com>
68344         * resolv/netdb.h: Don't include <rpc/netdb.h>.
68345         * nis/Makefile: Don't install rpcsvc/*.
68346         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
68347         instead of <rpc/types.h>.
68348         (MAXHOSTNAMELEN): Define.
68350 2011-05-03  Andreas Schwab  <schwab@redhat.com>
68352         * elf/ldconfig.c (add_dir): Don't crash on empty path.
68354 2011-04-28  Maciej Babinski  <mbabinski@google.com>
68356         [BZ #12714]
68357         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
68358         gethostbyname4_r when IPv6 results are possible.
68360 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
68362         [BZ #12723]
68363         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
68364         _PC_PIPE_BUF handling.
68366 2011-04-30  Bruno Haible  <bruno@clisp.org>
68368         [BZ #12717]
68369         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
68370         * resolv/netdb.h (getnameinfo): Change type of flags parameter
68371         to 'int'.
68372         * inet/getnameinfo.c (getnameinfo): Likewise.
68374 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
68376         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
68377         to groups setting in database lookup.
68378         * nss/nsswitch.conf: Add initgroups entry.
68380 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
68382         [BZ #12685]
68383         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
68384         mode string.
68385         Patch by Eric Blake <eblake@redhat.com>.
68387 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
68389         * sunrpc/Makefile (need-export-routines): Add svc_run.
68390         (routines): Remove svc_run.
68391         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
68392         * sunrpc/clnt_perr.c (clnt_perrno): Export.
68393         * sunrpc/svc_run.c (svc_run): Likewise.
68394         * sunrpc/svc_udp.c (svcudp_create): Likewise.
68396 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
68398         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
68399         problem in reallocation in last patch.
68401 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
68403         * sunrpc/Makefile: Move inclusion of Rules.
68405 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
68407         * nss/nss_files/files-initgroups.c: New file.
68408         * nss/Makefile (libnss_files-routines): Add files-initgroups.
68409         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
68410         _nss_files_initgroups_dyn.
68412 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
68414         * elf/elf.h (R_ARM_IRELATIVE): Define.
68416 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
68418         * po/ru.po: Update from translation team.
68420 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
68422         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
68423         dependencies.
68425 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
68427         [BZ #12653]
68428         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
68429         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
68430         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
68431         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
68432         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
68434 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
68436         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
68437         differing bytes.
68438         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
68439         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
68440         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
68442 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
68444         [BZ #12420]
68445         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
68446         storing it.
68447         * stdlib/bug-getcontext.c: New file.
68448         * stdlib/Makefile: Add rules to build and run bug-getcontext.
68450 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68452         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
68453         instructions into .machine "z9-109".
68454         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
68455         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
68457 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68459         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
68460         between environment variables and auxiliary vector.
68462 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
68464         * Makefile: Add rules to build linkobj/libc.so.
68465         * include/libc-symbols.h: Define libc_hidden_nolink.
68466         * include/rpc/auth.h: Mark functions which are to be hidden.
68467         * include/rpc/auth_des.h: Likewise.
68468         * include/rpc/auth_unix.h: Likewise.
68469         * include/rpc/clnt.h: Likewise.
68470         * include/rpc/des_crypt.h: Likewise.
68471         * include/rpc/key_prot.h: Likewise.
68472         * include/rpc/pmap_clnt.h: Likewise.
68473         * include/rpc/pmap_prot.h: Likewise.
68474         * include/rpc/pmap_rmt.h: Likewise.
68475         * include/rpc/rpc_msg.h: Likewise.
68476         * include/rpc/svc.h: Likewise.
68477         * include/rpc/svc_auth.h: Likewise.
68478         * include/rpc/xdr.h: Likewise.
68479         * nis/Makefile: Link all DSOs against linkobj/libc.so.
68480         * nss/Makefile: Likewise.
68481         * sunrpc/Makefile: Don't install headers.  Build library with normal
68482         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
68483         * sunrpc/auth_des.c: Hide exported symbols by default, export some
68484         for the compat linking library.  Remove use of INTDEF/INTUSE.
68485         * sunrpc/auth_none.c: Likewise.
68486         * sunrpc/auth_unix.c: Likewise.
68487         * sunrpc/authdes_prot.c: Likewise.
68488         * sunrpc/authuxprot.c: Likewise.
68489         * sunrpc/clnt_gen.c: Likewise.
68490         * sunrpc/clnt_perr.c: Likewise.
68491         * sunrpc/clnt_raw.c: Likewise.
68492         * sunrpc/clnt_simp.c: Likewise.
68493         * sunrpc/clnt_tcp.c: Likewise.
68494         * sunrpc/clnt_udp.c: Likewise.
68495         * sunrpc/clnt_unix.c: Likewise.
68496         * sunrpc/des_crypt.c: Likewise.
68497         * sunrpc/des_soft.c: Likewise.
68498         * sunrpc/get_myaddr.c: Likewise.
68499         * sunrpc/key_call.c: Likewise.
68500         * sunrpc/key_prot.c: Likewise.
68501         * sunrpc/netname.c: Likewise.
68502         * sunrpc/pm_getmaps.c: Likewise.
68503         * sunrpc/pm_getport.c: Likewise.
68504         * sunrpc/pmap_clnt.c: Likewise.
68505         * sunrpc/pmap_prot.c: Likewise.
68506         * sunrpc/pmap_prot2.c: Likewise.
68507         * sunrpc/pmap_rmt.c: Likewise.
68508         * sunrpc/publickey.c: Likewise.
68509         * sunrpc/rpc_cmsg.c: Likewise.
68510         * sunrpc/rpc_common.c: Likewise.
68511         * sunrpc/rpc_dtable.c: Likewise.
68512         * sunrpc/rpc_prot.c: Likewise.
68513         * sunrpc/rpc_thread.c: Likewise.
68514         * sunrpc/rtime.c: Likewise.
68515         * sunrpc/svc.c: Likewise.
68516         * sunrpc/svc_auth.c: Likewise.
68517         * sunrpc/svc_authux.c: Likewise.
68518         * sunrpc/svc_raw.c: Likewise.
68519         * sunrpc/svc_run.c: Likewise.
68520         * sunrpc/svc_simple.c: Likewise.
68521         * sunrpc/svc_tcp.c: Likewise.
68522         * sunrpc/svc_udp.c: Likewise.
68523         * sunrpc/svc_unix.c: Likewise.
68524         * sunrpc/svcauth_des.c: Likewise.
68525         * sunrpc/xcrypt.c: Likewise.
68526         * sunrpc/xdr.c: Likewise.
68527         * sunrpc/xdr_array.c: Likewise.
68528         * sunrpc/xdr_float.c: Likewise.
68529         * sunrpc/xdr_intXX_t.c: Likewise.
68530         * sunrpc/xdr_mem.c: Likewise.
68531         * sunrpc/xdr_rec.c: Likewise.
68532         * sunrpc/xdr_ref.c: Likewise.
68533         * sunrpc/xdr_sizeof.c: Likewise.
68534         * sunrpc/xdr_stdio.c: Likewise.
68536 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
68538         [BZ #12650]
68539         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
68540         * sysdeps/ia64/dl-tls.h: Likewise.
68541         * sysdeps/powerpc/dl-tls.h: Likewise.
68542         * sysdeps/s390/dl-tls.h: Likewise.
68543         * sysdeps/sh/dl-tls.h: Likewise.
68544         * sysdeps/sparc/dl-tls.h: Likewise.
68545         * sysdeps/x86_64/dl-tls.h: Likewise.
68546         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
68548 2011-03-14  Andreas Schwab  <schwab@redhat.com>
68550         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
68551         rpath element also skip the following colon.
68552         (expand_dynamic_string_token): Add is_path parameter and pass
68553         down to DL_DST_REQUIRED and _dl_dst_substitute.
68554         (decompose_rpath): Call expand_dynamic_string_token with
68555         non-zero is_path.  Ignore empty rpaths.
68556         (_dl_map_object_from_fd): Call expand_dynamic_string_token
68557         with zero is_path.
68559 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
68561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
68562         Make cancelable.
68564 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
68566         [BZ #12655]
68567         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
68568         Patch by Filipe David Manana <fdmanana@apache.org>.
68570 2011-04-07  Andreas Schwab  <schwab@redhat.com>
68572         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
68573         Maintain aligned stack.
68574         (CHECK_RSP): Remove unused macro.
68576 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
68578         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
68579         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
68581 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
68583         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
68585         * include/features.h: Mention __USE_XOPEN2K8 in comment.
68587 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
68589         [BZ #12518]
68590         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
68591         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
68592         * sysdeps/x86_64/memmove.c: New file.
68593         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
68594         (memcpy): Renamed to ...
68595         (__new_memcpy): This.
68596         (memcpy): Provide GLIBC_2_14 memcpy.
68597         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
68598         (memcpy): Provide GLIBC_2_2_5 memcpy.
68600 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
68602         [BZ #12631]
68603         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
68605 2011-03-30  Andreas Schwab  <schwab@redhat.com>
68607         * misc/syncfs.c: New file.
68608         * misc/Makefile (routines): Add syncfs.
68609         * posix/unistd.h: Declare syncfs.
68610         * sysdeps/unix/syscalls.list: Add syncfs.
68612 2011-04-01  Andreas Schwab  <schwab@redhat.com>
68614         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
68615         open_by_handle_at.
68616         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
68617         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
68618         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
68619         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
68620         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
68621         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
68622         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
68624 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
68626         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
68627         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
68628         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
68629         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
68630         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
68631         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
68632         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
68634         * io/Makefile: Compile fallocate.c, fallocate64.c, and
68635         sync_file_range.c with -fexceptions.
68636         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
68637         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
68638         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
68639         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
68640         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
68641         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
68642         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
68643         sync_file_range as cancellation point
68644         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
68645         now a wrapper around __call_sync_file_range with cancellation handling.
68646         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
68647         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
68648         function name to __call_sync_file_range.
68649         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
68650         Add call_sync_file_range.
68652 2011-04-01  Andreas Schwab  <schwab@redhat.com>
68654         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68655         bits/timex.h.
68657 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
68659         * iconv/iconv.h: Fix typo in comment.
68660         * io/fcntl.h: Likewise.
68661         * libio/stdio.h: Likewise.
68662         * posix/spawn.h: Likewise.
68663         * posix/unistd.h: Likewise.
68664         * stdlib/stdlib.h: Likewise.
68665         * time/time.h: Likewise.
68666         * wcsmbs/wchar.h: Likewise.
68668         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
68669         open_by_handle): Add.
68670         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
68671         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
68672         Augment a few comments.
68673         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
68674         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
68675         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
68676         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
68677         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
68678         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
68679         open_by_handle.
68681         * io/fcntl.h (AT_EMPTY_PATH): Define.
68683 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
68685         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
68686         * sysdeps/unix/sysv/linux/bits/time.h: New file.
68687         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
68688         to...
68689         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
68690         * Versions.def: Add GLIBC_2.14.
68691         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
68692         Export.
68694 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
68696         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
68697         round counter.
68698         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
68700 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
68702         [BZ #12597]
68703         * string/test-strncmp.c (do_page_test): New function.
68704         (check2): Likewise.
68705         (test_main): Call check2.
68706         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
68708 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
68710         [BZ #12587]
68711         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
68712         Handle cache information in CPU leaf 4.
68713         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
68715 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
68717         [BZ #12583]
68718         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
68719         character representation.
68720         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
68722 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
68724         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
68725         END(__isnan) to END(__isnanf) to match function entry point/label
68726         EALIGN(__isnanf,...).
68728 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
68730         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
68732 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
68734         [BZ #12510]
68735         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
68736         copy from the symbol referenced in the relocation to initialize the
68737         used variable.
68738         Patch by Piotr Bury <pbury@goahead.com>.
68739         * elf/Makefile: Add rules to build and tst-unique3.
68740         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
68741         * elf/tst-unique3.cc: New file.
68742         * elf/tst-unique3.h: New file.
68743         * elf/tst-unique3lib.cc: New file.
68744         * elf/tst-unique3lib2.cc: New file.
68746         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
68748 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
68750         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
68751         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
68752         to _start.
68754 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
68756         * elf/dl-load.c (_dl_map_object): If we are looking for the first
68757         to-be-loaded object along a path to loader is ld.so.
68759 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
68760             Ulrich Drepper  <drepper@gmail.com>
68762         * sysdeps/x86_64/memset.S: After aligning destination, code
68763         branches to different locations depending on the value of
68764         misalignment, when multiarch is enabled. Fix this.
68766 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
68768         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
68769         Set _x86_64_preferred_memory_instruction for AMD processsors.
68770         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68771         Set bit_Prefer_SSE_for_memop for AMD processors.
68773 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
68775         * libio/fmemopen.c (fmemopen): Optimize a bit.
68777 2011-03-03  Andreas Schwab  <schwab@redhat.com>
68779         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
68781 2011-03-03  Roland McGrath  <roland@redhat.com>
68783         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
68785 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
68787         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
68788         __bzero_ultra1 instead of __memset_ultra1.
68790 2011-02-23  Andreas Schwab  <schwab@redhat.com>
68791             Ulrich Drepper  <drepper@gmail.com>
68793         [BZ #12509]
68794         * include/link.h (struct link_map): Add l_orig_initfini.
68795         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
68796         returning unsuccessfully.
68797         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
68798         close of a file loaded at startup, restore the original l_initfini
68799         list.
68800         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
68801         list, store the pointer.
68802         * elf/Makefile ($(objpfx)noload-mem): New rule.
68803         (noload-ENV): Define.
68804         (tests): Add $(objpfx)noload-mem.
68805         * elf/noload.c: Include <memcheck.h>.
68806         (main): Call mtrace.  Close all opened handles.
68808 2011-02-17  Andreas Schwab  <schwab@redhat.com>
68810         [BZ #12454]
68811         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
68812         dependencies are missing.
68814 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68816         Fix __if_freereq crash: Unlike the generic version which uses free,
68817         Hurd needs munmap.
68818         * sysdeps/mach/hurd/ifreq.h: New file.
68820 2011-01-27  Petr Baudis  <pasky@suse.cz>
68821             Ulrich Drepper  <drepper@gmail.com>
68823         [BZ 12445]#
68824         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
68825         to extend_alloca().
68826         * stdio-common/bug23.c: New file.
68827         * stdio-common/Makefile (tests): Add bug23.
68829 2010-09-28  Andreas Schwab  <schwab@redhat.com>
68830             Ulrich Drepper  <drepper@gmail.com>
68832         [BZ #12489]
68833         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
68834         before performing relro protection.  At old place add assertion
68835         to make sure nothing changed.
68837 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
68838             Glauber de Oliveira Costa  <glommer@gmail.com>
68840         * elf/elf.h: Add new ARM TLS relocs.
68842 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
68844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
68845         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
68846         cast from r3.
68847         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
68848         'tests' variable.
68849         * sysdeps/wordsize-64/tst-writev.c: New file.
68851 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
68853         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
68854         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
68855         insns in _dl_start to prevent a TOC reference before relocs are
68856         resolved.
68858 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
68860         [BZ #12469]
68861         * Makeconfig: Remove RANLIB definition.
68862         * Makerules: Don't use RANLIB.
68863         * aclocal.m4: Remove ranlib test.
68864         * configure.in: No need to check for ranlib.
68865         * elf/rtld-Rules: Don't use RANLIB.
68867 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68869         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
68870         protection macro.
68871         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
68872         inclusion protection macro.
68874         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
68875         SIGRTMIN and SIGRTMAX and print information in that case only when
68876         SIGRTMIN is defined.
68878 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
68880         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
68881         arginfo fn returning -1.
68883         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
68884         and thousands string is zero terminated.
68886 2011-02-03  Andreas Schwab  <schwab@redhat.com>
68888         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
68889         sysdeps/unix/sysv/linux/bits/socket.h.
68891 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68893         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
68894         (__CPU_COUNT): Remove old macros.
68895         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
68896         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
68897         (__CPU_ALLOC, __CPU_FREE): Add macros.
68898         (__sched_cpualloc, __sched_cpufree): Add declarations.
68900 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
68902         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
68903         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
68904         * nscd/aicache.c (addhstaiX): Return timeout of added value.
68905         (readdhstai): Return value of addhstaiX call.
68906         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
68907         (addgrbyX): Return value returned by cache_addgr.
68908         (readdgrbyname): Return value returned by addgrbyX.
68909         (readdgrbygid): Likewise.
68910         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
68911         (addpwbyX): Return value returned by cache_addpw.
68912         (readdpwbyname): Return value returned by addhstbyX.
68913         (readdpwbyuid): Likewise.
68914         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
68915         (addservbyX): Return value returned by cache_addserv.
68916         (readdservbyname): Return value returned by addservbyX:
68917         (readdservbyport): Likewise.
68918         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
68919         (addhstbyX): Return value returned by cache_addhst.
68920         (readdhstbyname): Return value returned by addhstbyX.
68921         (readdhstbyaddr): Likewise.
68922         (readdhstbynamev6): Likewise.
68923         (readdhstbyaddrv6): Likewise.
68924         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
68925         (readdinitgroups): Return value returned by addinitgroupsX.
68926         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
68927         (prune_cache): Keep track of timeout value of re-added entries.
68928         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
68929         * nscd/nscd.h: Adjust prototypes of readd* functions.
68931 2011-02-04  Roland McGrath  <roland@redhat.com>
68933         * nis/nis_server.c (nis_servstate): Use the right name for 0.
68934         (nis_stats): Likewise.
68935         * nis/nis_modify.c (nis_modify): Likewise.
68936         * nis/nis_remove.c (nis_remove): Likewise.
68937         * nis/nis_add.c (nis_add): Likewise.
68939         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
68941         * posix/fnmatch_loop.c: Add some consts.
68943         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
68945 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
68947         [BZ #12460]
68948         * config.make.in (config-cflags-novzeroupper): Define.
68949         * configure.in: Substitute libc_cv_cc_novzeroupper.
68950         * elf/Makefile (AVX-CFLAGS): Define.
68951         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
68952         (CFLAGS-tst-auditmod4a.c): Likewise.
68953         (CFLAGS-tst-auditmod4b.c): Likewise.
68954         (CFLAGS-tst-auditmod6b.c): Likewise.
68955         (CFLAGS-tst-auditmod6c.c): Likewise.
68956         (CFLAGS-tst-auditmod7b.c): Likewise.
68957         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
68959 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
68961         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
68962         function to the callback.
68963         Patch partly by Jiri Olsa <jolsa@redhat.com>.
68965 2011-02-02  Andreas Schwab  <schwab@redhat.com>
68967         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
68968         of errno.
68970 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
68972         [BZ #11724]
68973         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
68974         of constructors.
68975         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
68976         of destructors.
68977         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
68979         [BZ #11724]
68980         * elf/Makefile: Add rules to build and run new test.
68981         * elf/tst-initorder.c: New file.
68982         * elf/tst-initorder.exp: New file.
68983         * elf/tst-initordera1.c: New file.
68984         * elf/tst-initordera2.c: New file.
68985         * elf/tst-initordera3.c: New file.
68986         * elf/tst-initordera4.c: New file.
68987         * elf/tst-initorderb1.c: New file.
68988         * elf/tst-initorderb2.c: New file.
68989         * elf/tst-order-a1.c: New file.
68990         * elf/tst-order-a2.c: New file.
68991         * elf/tst-order-a3.c: New file.
68992         * elf/tst-order-a4.c: New file.
68993         * elf/tst-order-b1.c: New file.
68994         * elf/tst-order-b2.c: New file.
68995         * elf/tst-order-main.c: New file.
68996         New test case by George Gensure <werkt0@gmail.com>.
68998 2010-10-01  Andreas Schwab  <schwab@redhat.com>
69000         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
69001         decoding ACE if AI_CANONIDN.
69003 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
69005         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
69007 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
69009         * version.h (RELEASE): Bump for 2.13 release.
69010         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
69012         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
69014         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
69015         MADV_NOHUGEPAGE.
69016         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
69017         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
69018         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
69019         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
69020         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
69021         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
69023         * posix/getconf.c: Update copyright year.
69024         * catgets/gencat.c: Likewise.
69025         * csu/version.c: Likewise.
69026         * debug/catchsegv.sh: Likewise.
69027         * debug/xtrace.sh: Likewise.
69028         * elf/ldconfig.c: Likewise.
69029         * elf/ldd.bash.in: Likewise.
69030         * elf/sprof.c (print_version): Likewise.
69031         * iconv/iconv_prog.c: Likewise.
69032         * iconv/iconvconfig.c: Likewise.
69033         * locale/programs/locale.c: Likewise.
69034         * locale/programs/localedef.c: Likewise.
69035         * malloc/memusage.sh: Likewise.
69036         * malloc/mtrace.pl: Likewise.
69037         * nscd/nscd.c (print_version): Likewise.
69038         * nss/getent.c: Likewise.
69040         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
69041         PF_CAIF, and PF_ALG.
69042         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
69044 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
69046         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
69047         (modules-names): Use them.
69048         (ifunc-test-modules, ifunc-pie-tests): Define.
69049         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
69050         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
69051         (test-extras): Likewise.
69052         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
69053         $(compile-command.c).
69054         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
69055         (all-built-dso): Define.
69056         (check-textrel.out, check-execstack.out): Depend on it.
69058         * configure.in: Don't override --enable-multi-arch.
69060 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
69062         [BZ #6812]
69063         * nscd/hstcache.c (tryagain): Define.
69064         (cache_addhst): Return tryagain not notfound for temporary errors.
69065         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
69066         failed.
69068 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
69070         [BZ #10563]
69071         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
69072         to make the syscall.
69073         * sysdeps/unix/sysv/linux/setgroups.c: New file.
69075         [BZ #12378]
69076         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
69077         and fall back to matching as normal character if the string ends before
69078         the matching ']' is found.  This is what POSIX requires.
69079         * posix/testfnm.c: Adjust test result.
69080         * posix/globtest.sh: Adjust test result.  Add new test.
69081         * posix/tst-fnmatch.input: Likewise.
69082         * posix/tst-fnmatch2.c: Add new test.
69084 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
69086         * elf/Makefile (check-execstack): Revert last change.  Depend on
69087         check-execstack.h.
69088         (check-execstack.h): New target.
69089         (generated): Add check-execstack.h.
69090         * elf/check-execstack.c: Include "check-execstack.h".
69091         (main): Revert last change.
69092         (handle_file): Return zero if GNU_STACK is absent and
69093         DEFAULT_STACK_PERMS doesn't include PF_X.
69095 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
69097         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
69098         in child fails because the descriptor is already closed.
69099         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
69100         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
69101         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
69103         [BZ #12397]
69104         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
69105         syscall.
69107         [BZ #10484]
69108         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
69109         temporary buffer used to handle multi lookups locally.
69110         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
69112 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
69114         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
69115         loader is ld.so.
69117 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
69119         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
69120         alignment for SSE2.
69122 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
69124         [BZ #12394]
69125         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
69126         characters.  When rounding increased number of integer digits recompute
69127         number of groups.
69128         * stdio-common/tst-grouping.c: New file.
69129         * stdio-common/Makefile: Add rules to build and run tst-grouping.
69131 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
69133         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
69134         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
69136         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
69137         void.
69138         * bits/select.h: Likewise.
69140 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
69142         * po/ja.po: Update from translation team.
69144 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
69146         [BZ #11155]
69147         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
69148         implementation just like for lxstat, fxstatat, et al.
69150 2010-12-27  Jim Meyering  <meyering@redhat.com>
69152         [BZ #12348]
69153         * posix/regexec.c (build_trtable): Return failure indication upon
69154         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
69156 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
69158         [BZ #12201]
69159         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
69160         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
69161         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
69162         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
69164         [BZ #12207]
69165         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
69167         [BZ #12204]
69168         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
69169         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
69171 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
69173         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
69174         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
69175         script has SORT_BY_INIT_PRIORITY.
69176         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
69177         NO_CTORS_DTORS_SECTIONS is defined.
69178         * elf/soinit.c: Likewise.
69179         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
69180         NO_CTORS_DTORS_SECTIONS is defined.
69181         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
69182         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
69183         * sysdeps/sh/init-first.c: Likewise.
69184         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
69186 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
69188         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
69189         always use the slow path.
69191 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
69193         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
69194         similar rule which adds the sysdep directories to the header search in
69195         order to pick up the correct platform stackinfo.h.
69196         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
69197         perform test if it is, otherwise return successfully without testing.
69198         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
69199         DEFAULT_STACK_PERMS define in stackinfo.h.
69200         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
69201         defined in stackinfo.h.
69202         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
69203         DEFAULT_STACK_PERMS defined in stackinfo.h.
69204         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
69205         * sysdeps/ia64/stackinfo.h: Likewise.
69206         * sysdeps/s390/stackinfo.h: Likewise.
69207         * sysdeps/sh/stackinfo.h: Likewise.
69208         * sysdeps/sparc/stackinfo.h: Likewise.
69209         * sysdeps/x86_64/stackinfo.h: Likewise.
69210         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
69211         PF_X for powerpc64.  Retain PF_X for powerpc32.
69213 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
69215         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
69216         accurately.
69217         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
69218         GETDENTS_64BIT_ALIGNED.
69220 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
69222         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
69224 2010-12-10  Andreas Schwab  <schwab@redhat.com>
69226         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
69227         _GNU_SOURCE.
69229         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
69230         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
69231         Remove __restrict.
69232         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
69233         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
69235 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
69237         [BZ #11655]
69238         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
69239         are initialized.
69241 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
69243         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
69245 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
69247         * po/it.po: Update from translation team.
69249 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
69251         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
69252         unused codes.
69254 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
69256         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
69258 2010-11-24  Andreas Schwab  <schwab@redhat.com>
69260         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
69261         specially.
69262         (gaih_getanswer_slice): Likewise.
69264 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
69266         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
69268 2010-05-31  Petr Baudis  <pasky@suse.cz>
69270         [BZ #11149]
69271         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
69272         silently even in the chroot mode.
69274 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
69276         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
69277         last patch a bit.  Pretty printing
69279 2010-05-31  Petr Baudis <pasky@suse.cz>
69281         [BZ #10085]
69282         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
69283         initialization of skip_initgroups_dyn.
69285 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
69287         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
69288         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
69290 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
69292         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
69294 2010-11-11  Andreas Schwab  <schwab@redhat.com>
69296         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
69297         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
69298         (tst-fnmatch-ENV): Set MALLOC_TRACE.
69299         ($(objpfx)tst-fnmatch-mem): New rule.
69300         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
69301         * posix/tst-fnmatch.c (main): Call mtrace.
69303 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
69305         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69306         Support Intel processor model 6 and model 0x2c.
69308 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
69310         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
69311           signed comparison.
69313 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
69315         [BZ #12205]
69316         * string/test-strncasecmp.c (check_result): New function.
69317         (do_one_test): Use it.
69318         (check1): New function.
69319         (test_main): Use it.
69320         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
69321         Support strcasecmp and strncasecmp.
69323 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
69325         [BZ #12194]
69326         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
69327         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69329 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
69331         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
69332         IFUNC support.
69333         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69334         memset-x86-64.
69335         * sysdeps/x86_64/multiarch/bzero.S: New file.
69336         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
69337         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
69338         * sysdeps/x86_64/multiarch/memset.S: New file.
69339         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
69340         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69341         Set bit_Prefer_SSE_for_memop for Intel processors.
69342         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
69343         Define.
69344         (index_Prefer_SSE_for_memop): Define.
69345         (HAS_PREFER_SSE_FOR_MEMOP): Define.
69347 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
69349         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
69350         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
69352 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
69354         [BZ #12191]
69355         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
69356         (__x86_64_raw_data_cache_size_half): Likewise.
69357         (__x86_64_raw_shared_cache_size): Likewise.
69358         (__x86_64_raw_shared_cache_size_half): Likewise.
69360         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
69361         (__x86_64_raw_data_cache_size_half): Likewise.
69362         (__x86_64_raw_shared_cache_size): Likewise.
69363         (__x86_64_raw_shared_cache_size_half): Likewise.
69364         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
69365         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
69366         and __x86_64_raw_shared_cache_size_half.  Round
69367         __x86_64_data_cache_size_half, __x86_64_data_cache_size
69368         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
69369         to multiple of 256 bytes.
69371 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
69373         [BZ #12167]
69374         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
69375         of inacessible symlinks.  Verify result of symlink before returning it.
69376         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
69377         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
69379 2010-10-28  Erich Ritz  <erichritz@gmail.com>
69381         * math/math.h (isinf): Fix typo in comment.
69383 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
69385         * po/da.po: Update from translation team.
69387 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
69389         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
69390         is added to the list.
69392 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69393             Ulrich Drepper  <drepper@gmail.com>
69395         * elf/dl-object.c (_dl_new_object): Don't append the new object to
69396         the global list here.  Move code to...
69397         (_dl_add_to_namespace_list): ...here.  New function.
69398         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
69399         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
69400         * elf/dl-load.c (lose): Don't remove the element from the list.
69401         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
69402         (_dl_map_object): Likewise.
69404 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
69406         [BZ #12159]
69407         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
69408         into all bytes of SSE register.
69409         Patch by Richard Li <richardpku@gmail.com>.
69411 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
69413         [BZ #12140]
69414         * malloc/malloc.c (_int_free): Fill correct number of bytes when
69415         perturbing.
69417 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
69419         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
69420         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
69421         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
69422         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
69423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
69424         submachine.
69425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
69427 2010-10-22  Andreas Schwab  <schwab@redhat.com>
69429         * include/dlfcn.h (__RTLD_SECURE): Define.
69430         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
69431         mode & __RTLD_SECURE instead.
69432         (open_path): Rename preloaded parameter to secure.
69433         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
69434         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
69435         * elf/dl-deps.c (openaux): Likewise.
69436         * elf/rtld.c (struct map_args): Remove is_preloaded.
69437         (map_doit): Don't use it.
69438         (dl_main): Likewise.
69439         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
69440         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
69442 2010-09-09  Andreas Schwab  <schwab@redhat.com>
69444         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
69445         (sysd-rules-targets): Remove duplicates.
69446         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
69447         rtld-%.$o dependency.
69449 2010-10-18  Andreas Schwab  <schwab@redhat.com>
69451         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
69452         _dl_map_object do it.
69454 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
69456         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
69457         fast fma builtins, define the macros in the C99 standard.
69458         (FP_FAST_FMAF): Likewise.
69459         (FP_FAST_FMAL): Likewise.
69460         * sysdeps/x86_64/bits/mathdef.h: Likewise.
69462         * bits/mathdef.h: Update copyright year.
69463         * sysdeps/powerpc/bits/mathdef.h: Likewise.
69465 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
69467         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
69468         builtins, define the macros in the C99 standard.
69469         (FP_FAST_FMAF): Likewise.
69470         (FP_FAST_FMAL): Likewise.
69471         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
69472         multiply/add.
69473         (FP_FAST_FMAF): Likewise.
69475 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
69477         [BZ #3268]
69478         * math/libm-test.inc (fma_test): Some new testcases.
69479         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
69480         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
69481         y and infinite z.  Do multiplication by C already in long double.
69482         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
69483         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
69484         y and infinite z.  Do bitwise or of inexact bit into u.d.
69485         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
69486         * sysdeps/i386/fpu/s_fmaf.S: Removed.
69487         * sysdeps/i386/fpu/s_fma.S: Removed.
69488         * sysdeps/i386/fpu/s_fmal.S: Removed.
69490 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
69492         [BZ #3268]
69493         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
69494         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
69495         computation is not scheduled after fetestexcept.  Fix value
69496         of minimum denormal long double.
69498 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
69500         [BZ #3268]
69501         * math/libm-test.inc (fma_test): Add some more tests.
69502         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
69503         correctly.
69505 2010-10-15  Andreas Schwab  <schwab@redhat.com>
69507         * scripts/data/localplt-s390-linux-gnu.data: New file.
69508         * scripts/data/localplt-s390x-linux-gnu.data: New file.
69510 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
69512         [BZ #3268]
69513         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
69514         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
69515         instead of dbl-64.
69516         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
69517         inlines.
69518         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
69519         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
69520         if one of x and y is very large and the other is subnormal.
69521         * sysdeps/s390/fpu/s_fmaf.c: New file.
69522         * sysdeps/s390/fpu/s_fma.c: New file.
69523         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
69524         * sysdeps/powerpc/fpu/s_fma.S: New file.
69525         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
69526         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
69527         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
69529 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
69531         [BZ #3268]
69532         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
69533         fma tests.
69534         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
69535         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
69536         * sysdeps/i386/i686/multiarch/s_fma.c: Include
69537         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
69538         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
69539         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
69540         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
69542 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
69544         [BZ #12078]
69545         * posix/regcomp.c (parse_branch): One more memory leak plugged.
69546         * posix/bug-regex31.input: Add test case.
69548 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
69550         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
69551         * posix/bug-regex31.input: New file.
69553         [BZ #12078]
69554         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
69555         (parse_sub_exp): Fix last change, use postorder.
69557         * posix/bug-regex31.c: New file.
69558         * posix/Makefile: Add rules to build and run bug-regex31.
69560         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
69562         [BZ #12078]
69563         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
69565         [BZ #12108]
69566         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
69567         to have entries in sys_siglist.
69569         [BZ #12093]
69570         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
69571         be NULL.
69573 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
69575         [BZ #3268]
69576         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
69577         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
69578         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
69579         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
69580         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
69581         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
69582         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
69583         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
69584         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
69585         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
69586         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
69587         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
69588         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
69589         * math/ftestexcept.c (fetestexcept): Likewise.
69590         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
69591         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
69592         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
69593         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
69594         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
69595         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
69596         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
69598 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
69600         [BZ #12107]
69601         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
69602         newline.
69604 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
69606         * string/bug-strstr1.c: New file.
69607         * string/Makefile: Add rules to build and run bug-strstr1.
69609 2010-10-05  Eric Blake  <eblake@redhat.com>
69611         [BZ #12092]
69612         * string/str-two-way.h (two_way_long_needle): Always clear memory
69613         when skipping input due to the shift table.
69615 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
69617         [BZ #12005]
69618         * malloc/mcheck.c: Handle large requests.
69620         [BZ #12077]
69621         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
69622         for strncmp and strncasecmp.
69623         * string/stratcliff.c: Add tests for strcmp and strncmp.
69624         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
69626 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69628         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
69629         __set_fpscr.
69631 2010-09-30  Andreas Jaeger  <aj@suse.de>
69633         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
69634         (CGROUP_SUPER_MAGIC): Define.
69635         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
69636         Handle btrfs and cgroup file systems.
69637         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
69638         Likewise.
69640 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
69642         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
69643         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
69645 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69647         [BZ #12067]
69648         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
69649         trying to locate the ELF header.
69651 2010-09-27  Andreas Schwab  <schwab@redhat.com>
69653         [BZ #11611]
69654         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
69655         Mask out sign-bit copies when constructing f_fsid.
69657 2010-09-24  Petr Baudis <pasky@suse.cz>
69659         * debug/stack_chk_fail_local.c: Add missing licence exception.
69660         * debug/warning-nop.c: Likewise.
69662 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
69664         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
69665         implementing getdents64 using getdents syscall, set d_type if
69666         __ASSUME_GETDENTS32_D_TYPE.
69668 2010-09-16  Andreas Schwab  <schwab@redhat.com>
69670         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
69671         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
69673 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
69675         [BZ #12037]
69676         * posix/unistd.h: Undo change of feature selection for ftruncate from
69677         2010-01-11.
69679 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
69681         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
69682         detection.
69684 2010-09-20  Andreas Schwab  <schwab@redhat.com>
69686         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
69687         fanotify_mark.
69688         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
69690 2010-09-14  Andreas Schwab  <schwab@redhat.com>
69692         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
69693         variables after CHECK_SP call.
69694         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
69696 2010-09-13  Andreas Schwab  <schwab@redhat.com>
69697             Ulrich Drepper  <drepper@redhat.com>
69699         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
69700         re-relocationg ld.so.
69701         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
69702         _dl_init_paths call.
69703         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
69704         here anymore.
69706 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
69708         * resolv/res_init.c (__res_vinit): Count the default server we added.
69710 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
69711             Ulrich Drepper  <drepper@redhat.com>
69713         [BZ #11968]
69714         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
69715         (____longjmp_chk): Use %ebx for saving value across system call.
69716         Add unwind info.
69718 2010-09-06  Andreas Schwab  <schwab@redhat.com>
69720         * manual/Makefile: Don't mix pattern rules with normal rules.
69722 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
69724         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
69725         operation.
69726         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
69727         * libio/iofopncook.c (_IO_cookie_init): Likewise.
69728         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
69729         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
69730         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
69731         Likewise.
69733 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
69735         [BZ #11979]
69736         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
69737         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
69739 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
69741         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
69742         * sysdeps/x86_64/addmul_1.S: Likewise.
69743         * sysdeps/x86_64/lshift.S: Likewise.
69744         * sysdeps/x86_64/mul_1.S: Likewise.
69745         * sysdeps/x86_64/rshift.S: Likewise.
69746         * sysdeps/x86_64/sub_n.S: Likewise.
69747         * sysdeps/x86_64/submul_1.S: Likewise.
69749 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69751         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
69752         Define __sched_param instead of SCHED_* and sched_param when
69753         <bits/sched.h> is included with __need_schedparam defined.
69754         * bits/sched.h [__need_schedparam]
69755         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
69756         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
69757         (__defined_schedparam): Define to 1.
69758         (__sched_param): New structure, identical to sched_param.
69759         (__need_schedparam): Undefine.
69761 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
69763         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
69764         (epoll_create1): Declare.
69766         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
69768 2010-08-31  Andreas Schwab  <schwab@redhat.com>
69770         [BZ #7066]
69771         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
69772         shifting retval into place.
69774 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
69776         * nis/rpcsvc/nis.h: Update copyright notice.
69777         * nis/rpcsvc/nis.x: Likewise.
69778         * nis/rpcsvc/nis_callback.h: Likewise.
69779         * nis/rpcsvc/nis_callback.x: Likewise.
69780         * nis/rpcsvc/nis_object.x: Likewise.
69781         * nis/rpcsvc/nis_tags.h: Likewise.
69782         * nis/rpcsvc/yp.h: Likewise.
69783         * nis/rpcsvc/yp.x: Likewise.
69784         * nis/rpcsvc/ypupd.h: Likewise.
69785         * nis/yp_xdr.c: Likewise.
69786         * nis/ypupdate_xdr.c: Likewise.
69788         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
69789         mainly the body of pmap_getport.  Add parameters to specify timeouts.
69790         (pmap_getport): Use __libc_rpc_getport.
69791         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
69792         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
69793         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
69795 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
69797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
69798         fanotify_mark.
69800 2010-08-27  Roland McGrath  <roland@redhat.com>
69802         * sysdeps/i386/i686/multiarch/Makefile
69803         (CFLAGS-varshift.c): New variable.
69805 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
69807         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
69808         * sysdeps/i386/i686/multiarch/varshift.c: New file.
69810         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
69812         * sysdeps/x86_64/strlen.S: Minimal code improvement.
69814 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
69816         * sysdeps/x86_64/strlen.S: Unroll the loop.
69817         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69818         strlen-sse2 strlen-sse2-bsf.
69819         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
69820         __strlen_no_bsf if bit_Slow_BSF is set.
69821         (__strlen_sse42): Removed.
69822         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
69823         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
69825 2010-08-25  Roland McGrath  <roland@redhat.com>
69827         * sysdeps/x86_64/multiarch/varshift.S: File removed.
69828         * sysdeps/x86_64/multiarch/varshift.c: New file.
69829         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
69830         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
69831         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
69832         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
69834 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
69836         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69837         strlen-sse2 strlen-sse2-bsf.
69838         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
69839         __strlen_sse2_bsf if bit_Slow_BSF is unset.
69840         (__strlen_sse2): Removed.
69841         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
69842         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
69843         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
69844         bit_Slow_BSF for Atom.
69845         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
69846         (index_Slow_BSF): Define.
69847         (HAS_SLOW_BSF): Define.
69849 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
69851         [BZ #10851]
69852         * resolv/res_init.c (__res_vinit): When no server address at all
69853         is given default to loopback.
69855 2010-08-24  Roland McGrath  <roland@redhat.com>
69857         * configure.in: Remove config-name.h generation.
69858         * configure: Regenerated.
69859         * config-name.in: File removed.
69860         * scripts/config-uname.sh: New file.
69861         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
69862         ($(objdir)config-name.h): New target.
69864         * sunrpc/rpc_parse.h: Avoid nested comment.
69866 2010-08-24  Richard Henderson  <rth@redhat.com>
69867             Ulrich Drepper  <drepper@redhat.com>
69868             H.J. Lu  <hongjiu.lu@intel.com>
69870         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
69871         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
69872         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
69873         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
69874         _mm_alignr_epi8 with _mm_loadu_si128.
69875         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
69876         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
69877         (__m128i_shift_right): Removed.
69878         * sysdeps/i386/i686/multiarch/varshift.h: New file.
69879         * sysdeps/i386/i686/multiarch/varshift.S: New file.
69880         * sysdeps/x86_64/multiarch/varshift.h: New file.
69881         * sysdeps/x86_64/multiarch/varshift.S: New file.
69883 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
69885         * configure.in: Move assembler checks to before sysdep dir checking.
69887 2010-08-20  Petr Baudis  <pasky@suse.cz>
69889         * LICENSES: Sync the sunrpc license.
69891 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
69893         * sunrpc/auth_des.c: Update copyright notice once again.
69894         * sunrpc/auth_none.c: Likewise.
69895         * sunrpc/auth_unix.c: Likewise.
69896         * sunrpc/authdes_prot.c: Likewise.
69897         * sunrpc/authuxprot.c: Likewise.
69898         * sunrpc/bindrsvprt.c: Likewise.
69899         * sunrpc/clnt_gen.c: Likewise.
69900         * sunrpc/clnt_perr.c: Likewise.
69901         * sunrpc/clnt_raw.c: Likewise.
69902         * sunrpc/clnt_simp.c: Likewise.
69903         * sunrpc/clnt_tcp.c: Likewise.
69904         * sunrpc/clnt_udp.c: Likewise.
69905         * sunrpc/clnt_unix.c: Likewise.
69906         * sunrpc/des_crypt.c: Likewise.
69907         * sunrpc/des_soft.c: Likewise.
69908         * sunrpc/get_myaddr.c: Likewise.
69909         * sunrpc/getrpcport.c: Likewise.
69910         * sunrpc/key_call.c: Likewise.
69911         * sunrpc/key_prot.c: Likewise.
69912         * sunrpc/openchild.c: Likewise.
69913         * sunrpc/pm_getmaps.c: Likewise.
69914         * sunrpc/pm_getport.c: Likewise.
69915         * sunrpc/pmap_clnt.c: Likewise.
69916         * sunrpc/pmap_prot.c: Likewise.
69917         * sunrpc/pmap_prot2.c: Likewise.
69918         * sunrpc/pmap_rmt.c: Likewise.
69919         * sunrpc/rpc/auth.h: Likewise.
69920         * sunrpc/rpc/auth_unix.h: Likewise.
69921         * sunrpc/rpc/clnt.h: Likewise.
69922         * sunrpc/rpc/des_crypt.h: Likewise.
69923         * sunrpc/rpc/key_prot.h: Likewise.
69924         * sunrpc/rpc/netdb.h: Likewise.
69925         * sunrpc/rpc/pmap_clnt.h: Likewise.
69926         * sunrpc/rpc/pmap_prot.h: Likewise.
69927         * sunrpc/rpc/pmap_rmt.h: Likewise.
69928         * sunrpc/rpc/rpc.h: Likewise.
69929         * sunrpc/rpc/rpc_des.h: Likewise.
69930         * sunrpc/rpc/rpc_msg.h: Likewise.
69931         * sunrpc/rpc/svc.h: Likewise.
69932         * sunrpc/rpc/svc_auth.h: Likewise.
69933         * sunrpc/rpc/types.h: Likewise.
69934         * sunrpc/rpc/xdr.h: Likewise.
69935         * sunrpc/rpc_clntout.c: Likewise.
69936         * sunrpc/rpc_cmsg.c: Likewise.
69937         * sunrpc/rpc_common.c: Likewise.
69938         * sunrpc/rpc_cout.c: Likewise.
69939         * sunrpc/rpc_dtable.c: Likewise.
69940         * sunrpc/rpc_hout.c: Likewise.
69941         * sunrpc/rpc_main.c: Likewise.
69942         * sunrpc/rpc_parse.c: Likewise.
69943         * sunrpc/rpc_parse.h: Likewise.
69944         * sunrpc/rpc_prot.c: Likewise.
69945         * sunrpc/rpc_sample.c: Likewise.
69946         * sunrpc/rpc_scan.c: Likewise.
69947         * sunrpc/rpc_scan.h: Likewise.
69948         * sunrpc/rpc_svcout.c: Likewise.
69949         * sunrpc/rpc_tblout.c: Likewise.
69950         * sunrpc/rpc_util.c: Likewise.
69951         * sunrpc/rpc_util.h: Likewise.
69952         * sunrpc/rpcinfo.c: Likewise.
69953         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
69954         * sunrpc/rpcsvc/key_prot.x: Likewise.
69955         * sunrpc/rpcsvc/klm_prot.x: Likewise.
69956         * sunrpc/rpcsvc/mount.x: Likewise.
69957         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
69958         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
69959         * sunrpc/rpcsvc/rex.x: Likewise.
69960         * sunrpc/rpcsvc/rstat.x: Likewise.
69961         * sunrpc/rpcsvc/rusers.x: Likewise.
69962         * sunrpc/rpcsvc/sm_inter.x: Likewise.
69963         * sunrpc/rpcsvc/spray.x: Likewise.
69964         * sunrpc/rpcsvc/yppasswd.x: Likewise.
69965         * sunrpc/rtime.c: Likewise.
69966         * sunrpc/svc.c: Likewise.
69967         * sunrpc/svc_auth.c: Likewise.
69968         * sunrpc/svc_authux.c: Likewise.
69969         * sunrpc/svc_raw.c: Likewise.
69970         * sunrpc/svc_run.c: Likewise.
69971         * sunrpc/svc_simple.c: Likewise.
69972         * sunrpc/svc_tcp.c: Likewise.
69973         * sunrpc/svc_udp.c: Likewise.
69974         * sunrpc/svc_unix.c: Likewise.
69975         * sunrpc/svcauth_des.c: Likewise.
69976         * sunrpc/xcrypt.c: Likewise.
69977         * sunrpc/xdr.c: Likewise.
69978         * sunrpc/xdr_array.c: Likewise.
69979         * sunrpc/xdr_float.c: Likewise.
69980         * sunrpc/xdr_mem.c: Likewise.
69981         * sunrpc/xdr_rec.c: Likewise.
69982         * sunrpc/xdr_ref.c: Likewise.
69983         * sunrpc/xdr_sizeof.c: Likewise.
69984         * sunrpc/xdr_stdio.c: Likewise.
69986         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
69987         handling.
69989 2010-08-19  Andreas Schwab  <schwab@redhat.com>
69991         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
69993 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
69995         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
69996         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
69997         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
69998         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
69999         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
70000         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
70001         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
70002         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
70003         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
70004         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
70005         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
70006         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
70007         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
70008         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
70010 2010-07-26  Anton Blanchard  <anton@samba.org>
70012         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
70013         * malloc/arena.c (heap_trim): Likewise.
70015 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
70017         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
70018         here.  Not...
70019         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
70020         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
70022 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
70024         * sysdeps/i386/elf/Makefile: New file.
70026 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
70028         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
70029         from fanotify_init.
70030         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
70031         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
70033 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
70035         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
70036         of strncasecmp_l.
70037         * sysdeps/multiarch/strcmp.S: Likewise.
70039 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
70041         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
70042         strncase_l-nonascii.
70043         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
70044         Add strncase_l-ssse3.
70045         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
70046         * sysdeps/x86_64/strcmp.S: Likewise.
70047         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
70048         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
70049         * sysdeps/x86_64/strncase.S: New file.
70050         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
70051         * sysdeps/x86_64/strncase_l.S: New file.
70052         * string/Makefile (strop-tests): Add strncasecmp.
70053         * string/test-strncasecmp.c: New file.
70055         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
70056         warning.
70058         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
70059         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
70061 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
70063         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
70065 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
70067         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
70068         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
70069         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
70071 2010-05-01  Alan Modra  <amodra@gmail.com>
70073         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
70074         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
70075         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
70076         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
70077         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
70078         tidying.  Don't tail-call __sigjmp_save for static lib.
70079         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
70080         save location.
70081         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
70082         (CALL_MCOUNT): Add eh info, and nop after bl.
70083         (TAIL_CALL_SYSCALL_ERROR): New macro.
70084         (PSEUDO_RET): Use it.
70085         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
70086         Correct save location of integer regs and cr.
70087         (_dl_profile_resolve): Correct cr save location.  Delete nops
70088         after bl when SHARED.  Reduce cfi size a little by better
70089         placement of cfi directives.
70090         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
70091         make a stack frame.  Instead use parm save area as a temp.
70092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
70093         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
70094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
70095         Don't make a stack frame for parent, use parm save area.
70096         Increase child stack frame to 112 bytes.  Don't save unused reg,
70097         and adjust reg usage.  Set up cfi on error recovery and
70098         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
70099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
70100         (__makecontext): Add dummy nop after jump to exit.
70101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
70102         Use correct parm save area and cr save, reduce stack frame.
70103         Correct cfi for possible PSEUDO_RET frame setup.
70104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
70105         Branch to local label emitted by PSEUDO_RET rather than
70106         __syscall_error.
70108 2010-08-12  Andreas Schwab  <schwab@redhat.com>
70110         [BZ #11904]
70111         * locale/programs/locale.c (print_assignment): New function.
70112         (show_locale_vars): Use it.
70114 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
70116         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
70117         field.
70118         (struct statfs64): Likewise.
70119         (_STATFS_F_FLAGS): Define.
70120         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
70121         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
70122         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
70123         (ST_VALID): Define locally.
70124         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
70125         __statvfs_getflags, use the provided value.
70126         * sysdeps/unix/sysv/linux/kernel-features.h: Define
70127         __ASSUME_STATFS_F_FLAGS.
70129         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
70131         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
70132         Add sys/fanotify.h.
70133         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
70134         fanotify_mask for GLIBC_2.13.
70135         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
70136         fanotify_init and fanotify_mark.
70137         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
70138         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
70140         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
70141         Add prlimit.
70142         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
70143         prlimit64 for GLIBC_2.13.
70144         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
70145         prlimit64.
70146         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
70147         syscall.
70148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
70149         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
70150         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
70151         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
70152         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
70153         add prlimit alias.
70154         * sysdeps/unix/sysv/linux/prlimit.c: New file.
70156         [BZ #11903]
70157         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
70158         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
70160         * nss/Makefile: Add rules to build and run tst-nss-test1.
70161         * shlib-versions: Add entry for libnss_test1.
70162         * nss/nss_test1.c: New file.
70163         * nss/tst-nss-test1.c: New file.
70165         * nss/nsswitch.c (__nss_database_custom): Define new variable.
70166         (__nss_configure_lookup): Set appropriate entry in
70167         __nss_configure_lookup to true.
70168         * nss/nsswitch.h: Define enum with indeces of databases in
70169         databases and __nss_database_custom arrays.  Declare
70170         __nss_database_custom.
70171         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
70172         to avoid using nscd when custom rules are installed.
70173         * nss/getXXbyYY_r.c: Likewise.
70174         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
70176         * nss/nss_files/files-parse.c: Whitespace fixes.
70178 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
70180         [BZ #11883]
70181         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
70182         * posix/fnmatch_loop.c: Likewise.
70184 2010-07-17  Andi Kleen  <ak@linux.intel.com>
70186         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
70187         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
70188         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
70189         * Versions.def [GLIBC_2.13]: Add.
70191 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
70193         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
70194         Also fail if tpwd after pwuid call is NULL.
70196 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70198         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
70199         when converting to ms.
70201 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70203         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
70204         EOPNOTSUPP errors with ENOTTY.
70205         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
70206         EOPNOTSUPP errors with ENOTTY.
70208 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
70210         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
70211         Add strcasecmp_l-ssse3.
70212         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
70213         strcasecmp.
70214         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
70215         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
70216         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
70218 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
70220         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
70222         * string/Makefile (strop-tests): Add strcasecmp.
70223         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
70224         strcasecmp_l-nonascii.
70225         (gen-as-const-headers): Add locale-defines.sym.
70226         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
70227         * sysdeps/x86_64/strcasecmp.S: New file.
70228         * sysdeps/x86_64/strcasecmp_l.S: New file.
70229         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
70230         * sysdeps/x86_64/locale-defines.sym: New file.
70231         * string/test-strcasecmp.c: New file.
70233         * string/test-strcasestr.c: Test both ends of the range of characters.
70234         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
70236 2010-07-29  Roland McGrath  <roland@redhat.com>
70238         [BZ #11856]
70239         * manual/locale.texi (Yes-or-No Questions): Fix example code.
70241 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
70243         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
70244         for ld.so.
70246 2010-07-27  Andreas Schwab  <schwab@redhat.com>
70248         * manual/memory.texi (Malloc Tunable Parameters): Document
70249         M_PERTURB.
70251 2010-07-26  Roland McGrath  <roland@redhat.com>
70253         [BZ #11840]
70254         * configure.in (-fgnu89-inline check): Set and substitute
70255         gnu89_inline, not libc_cv_gnu89_inline.
70256         * configure: Regenerated.
70257         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
70259 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
70261         * string/test-strnlen.c: New file.
70262         * string/Makefile (strop-tests): Add strnlen.
70263         * string/tester.c (test_strnlen): Add a few more test cases.
70264         * string/tst-strlen.c: Better error reporting.
70266         * sysdeps/x86_64/strnlen.S: New file.
70268 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
70270         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
70271         lower-latency instructions.
70273 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
70275         * string/test-strcasestr.c: New file.
70276         * string/test-strstr.c: New file.
70277         * string/Makefile (strop-tests): Add strstr and strcasestr.
70278         * string/str-two-way.h: Don't undefine MAX.
70279         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
70281 2010-07-21  Andreas Schwab  <schwab@redhat.com>
70283         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70284         strcasestr-nonascii.
70285         (CFLAGS-strcasestr-nonascii.c): Define.
70286         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
70287         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
70288         Remove unused attribute.
70290 2010-07-20  Roland McGrath  <roland@redhat.com>
70292         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
70293         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
70294         ld.so.cache was broken.  With it, there is no way to disable dsocaps
70295         like LD_HWCAP_MASK can disable hwcaps.
70297 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
70299         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
70301 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
70303         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
70304         call in strcasestr.
70305         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
70306         __strcasestr_sse42_nonascii.
70307         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
70308         strcasestr-nonascii.c.
70309         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
70311 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
70313         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
70314         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
70315         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
70316         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
70318 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
70320         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
70321         fcntl.
70323 2010-07-06  Andreas Schwab  <schwab@redhat.com>
70325         [BZ #11577]
70326         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
70327         dl_signal_cerror.
70329 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
70331         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
70332         _PC_PIPE_BUF using F_GETPIPE_SZ.
70334 2010-07-05  Roland McGrath  <roland@redhat.com>
70336         * manual/arith.texi (Rounding Functions): Fix rint description
70337         implicit in round description.
70339 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
70341         * elf/Makefile: Fix linking for a few tests to make recent linker
70342         happy.
70344 2010-06-30  Andreas Schwab  <schwab@redhat.com>
70346         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
70347         $(common-objpfx)libc_nonshared.a.
70349 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
70351         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
70352         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
70353         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
70354         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
70355         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
70356         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
70357         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
70358         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
70359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
70360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
70361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
70362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
70363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
70364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
70365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
70366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
70367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
70368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
70369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
70370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
70371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
70372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
70373         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
70374         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
70375         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
70376         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
70377         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
70378         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
70379         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
70380         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
70381         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
70382         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
70383         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
70384         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
70385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
70386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
70387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
70388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
70389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
70390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
70391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
70392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
70393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
70394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
70395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
70396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
70397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
70398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
70400 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
70402         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
70403         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
70404         * string/memmove.c (memmove): Renamed to ...
70405         (MEMMOVE): ...this.  Default to memmove.
70406         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
70407         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
70408         (END_CHK): Define.
70409         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70410         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
70411         mempcpy-ssse3-back memmove-ssse3-back.
70412         * sysdeps/x86_64/multiarch/bcopy.S: New file .
70413         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
70414         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
70415         * sysdeps/x86_64/multiarch/memcpy.S: New file.
70416         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
70417         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
70418         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
70419         * sysdeps/x86_64/multiarch/memmove.c: New file.
70420         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
70421         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
70422         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
70423         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
70424         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
70425         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
70426         Define.
70427         (index_Fast_Copy_Backward): Define.
70428         (HAS_ARCH_FEATURE): Define.
70429         (HAS_FAST_REP_STRING): Define.
70430         (HAS_FAST_COPY_BACKWARD): Define.
70432 2010-06-21  Andreas Schwab  <schwab@redhat.com>
70434         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
70435         Restore proper fallback handling.
70437 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
70439         [BZ #11701]
70440         * posix/group_member.c (__group_member): Correct checking loop.
70442         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
70443         OOM in getpwuid_r correctly.  Return error number when the caller
70444         should return, otherwise -1.
70445         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
70446         call returning > 0 value.
70447         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
70449 2010-06-07  Andreas Schwab  <schwab@redhat.com>
70451         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
70452         libc_nonshared.a from targets in modules-names.
70454 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
70456         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
70457         requires it.
70459 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
70461         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
70462         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
70463         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
70464         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
70466 2010-06-02  Andreas Schwab  <schwab@redhat.com>
70468         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
70470 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
70472         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
70473         and F_GETPIPE_SZ.
70474         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
70475         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70476         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70477         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70478         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70479         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
70481 2010-06-14  Roland McGrath  <roland@redhat.com>
70483         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
70485 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
70487         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
70488         __REDIRECT followed by __THROW.
70489         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
70490         * posix/getopt.h (getopt): Likewise.
70492 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
70494         * hurd/lookup-at.c (__file_name_lookup_at): Accept
70495         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
70496         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
70497         in AT_FLAGS.
70498         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
70499         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
70501 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
70503         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
70505 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
70507         [BZ #11640]
70508         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70509         Properly check family and model.
70511 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
70513         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
70515 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
70517         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
70519 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
70521         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
70522         symbol reference.
70524 2010-05-19  Andreas Schwab  <schwab@redhat.com>
70526         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
70527         symbol reference.
70529 2010-05-21  Andreas Schwab  <schwab@redhat.com>
70531         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
70532         and internal_recvmmsg.
70533         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
70534         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
70535         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
70536         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
70538         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
70539         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
70540         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
70542 2010-05-20  Andreas Schwab  <schwab@redhat.com>
70544         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
70546 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
70548         POWER7 optimizations.
70549         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
70550         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
70552 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
70554         * version.h: Update for 2.13 development version.
70556 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
70558         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
70559         exceptions.  Return 0.
70561 2010-05-07  Roland McGrath  <roland@redhat.com>
70563         * elf/ldconfig.c (main): Add a const.
70565 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
70567         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
70568         (args_options): Add no-idn option.
70569         (ahosts_keys_int): Add idn_flags to ai_flags.
70570         (parse_option): Handle 'i' option to clear idn_flags.
70572         * malloc/malloc.c (_int_free): Possible race in the most recently
70573         added check.  Only act on the data if no current modification
70574         happened.
70576 See ChangeLog.17 for earlier changes.